comparison libdirac.h @ 6736:56a758caf05c libavcodec

fix checkheaders when libdirac not installed
author mru
date Sat, 03 May 2008 13:29:44 +0000
parents df467cebd0d3
children dcb3b40c7b71
comparison
equal deleted inserted replaced
6735:459fe563a4dc 6736:56a758caf05c
24 */ 24 */
25 25
26 #ifndef FFMPEG_LIBDIRAC_H 26 #ifndef FFMPEG_LIBDIRAC_H
27 #define FFMPEG_LIBDIRAC_H 27 #define FFMPEG_LIBDIRAC_H
28 28
29 #ifdef CONFIG_LIBDIRAC
30
29 #include "avcodec.h" 31 #include "avcodec.h"
30 #include <libdirac_common/dirac_types.h> 32 #include <libdirac_common/dirac_types.h>
31 33
32 /** 34 /**
33 * Table providing a Dirac chroma format to FFmpeg pixel format mapping. 35 * Table providing a Dirac chroma format to FFmpeg pixel format mapping.
39 { PIX_FMT_YUV420P, format420 }, 41 { PIX_FMT_YUV420P, format420 },
40 { PIX_FMT_YUV422P, format422 }, 42 { PIX_FMT_YUV422P, format422 },
41 { PIX_FMT_YUV444P, format444 }, 43 { PIX_FMT_YUV444P, format444 },
42 }; 44 };
43 45
46 #endif /* CONFIG_LIBDIRAC */
44 #endif /* FFMPEG_LIBDIRAC_H */ 47 #endif /* FFMPEG_LIBDIRAC_H */