comparison avcodec.h @ 1382:f23bc5ffb374 libavcodec

initial XvMC support
author iive
date Sat, 26 Jul 2003 01:52:06 +0000
parents f9b088451fb3
children a16990d50fce
comparison
equal deleted inserted replaced
1381:f07e17427140 1382:f23bc5ffb374
13 13
14 #include "common.h" 14 #include "common.h"
15 15
16 #define LIBAVCODEC_VERSION_INT 0x000406 16 #define LIBAVCODEC_VERSION_INT 0x000406
17 #define LIBAVCODEC_VERSION "0.4.6" 17 #define LIBAVCODEC_VERSION "0.4.6"
18 #define LIBAVCODEC_BUILD 4671 18 #define LIBAVCODEC_BUILD 4672
19 #define LIBAVCODEC_BUILD_STR "4671" 19 #define LIBAVCODEC_BUILD_STR "4672"
20 20
21 #define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR 21 #define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR
22 22
23 enum CodecID { 23 enum CodecID {
24 CODEC_ID_NONE, 24 CODEC_ID_NONE,
25 CODEC_ID_MPEG1VIDEO, 25 CODEC_ID_MPEG1VIDEO,
26 CODEC_ID_MPEG2VIDEO_XVMC,
26 CODEC_ID_H263, 27 CODEC_ID_H263,
27 CODEC_ID_RV10, 28 CODEC_ID_RV10,
28 CODEC_ID_MP2, 29 CODEC_ID_MP2,
29 CODEC_ID_MP3LAME, 30 CODEC_ID_MP3LAME,
30 CODEC_ID_VORBIS, 31 CODEC_ID_VORBIS,
111 PIX_FMT_MONOBLACK, ///< 0 is black 112 PIX_FMT_MONOBLACK, ///< 0 is black
112 PIX_FMT_PAL8, ///< 8 bit with RGBA palette 113 PIX_FMT_PAL8, ///< 8 bit with RGBA palette
113 PIX_FMT_YUVJ420P, ///< Planar YUV 4:2:0 full scale (jpeg) 114 PIX_FMT_YUVJ420P, ///< Planar YUV 4:2:0 full scale (jpeg)
114 PIX_FMT_YUVJ422P, ///< Planar YUV 4:2:2 full scale (jpeg) 115 PIX_FMT_YUVJ422P, ///< Planar YUV 4:2:2 full scale (jpeg)
115 PIX_FMT_YUVJ444P, ///< Planar YUV 4:4:4 full scale (jpeg) 116 PIX_FMT_YUVJ444P, ///< Planar YUV 4:4:4 full scale (jpeg)
117 PIX_FMT_XVMC_MPEG2_MC,///< XVideo Motion Acceleration via common packet passing(xvmc_render.h)
118 PIX_FMT_XVMC_MPEG2_IDCT,
116 PIX_FMT_NB, 119 PIX_FMT_NB,
117 }; 120 };
118 121
119 /* currently unused, may be used if 24/32 bits samples ever supported */ 122 /* currently unused, may be used if 24/32 bits samples ever supported */
120 enum SampleFormat { 123 enum SampleFormat {
1161 int slice_flags; 1164 int slice_flags;
1162 #define SLICE_FLAG_CODED_ORDER 0x0001 ///< draw_horiz_band() is called in coded order instead of display 1165 #define SLICE_FLAG_CODED_ORDER 0x0001 ///< draw_horiz_band() is called in coded order instead of display
1163 #define SLICE_FLAG_ALLOW_FIELD 0x0002 ///< allow draw_horiz_band() with field slices (MPEG2 field pics) 1166 #define SLICE_FLAG_ALLOW_FIELD 0x0002 ///< allow draw_horiz_band() with field slices (MPEG2 field pics)
1164 #define SLICE_FLAG_ALLOW_PLANE 0x0004 ///< allow draw_horiz_band() with 1 component at a time (SVQ1) 1167 #define SLICE_FLAG_ALLOW_PLANE 0x0004 ///< allow draw_horiz_band() with 1 component at a time (SVQ1)
1165 1168
1169 /**
1170 * XVideo Motion Acceleration
1171 * - encoding: forbidden
1172 * - decoding: set by decoder
1173 */
1174 int xvmc_acceleration;
1175
1166 } AVCodecContext; 1176 } AVCodecContext;
1167 1177
1168 1178
1169 /** 1179 /**
1170 * AVOption. 1180 * AVOption.
1267 extern AVCodec msmpeg4v2_decoder; 1277 extern AVCodec msmpeg4v2_decoder;
1268 extern AVCodec msmpeg4v3_decoder; 1278 extern AVCodec msmpeg4v3_decoder;
1269 extern AVCodec wmv1_decoder; 1279 extern AVCodec wmv1_decoder;
1270 extern AVCodec wmv2_decoder; 1280 extern AVCodec wmv2_decoder;
1271 extern AVCodec mpeg_decoder; 1281 extern AVCodec mpeg_decoder;
1282 extern AVCodec mpeg_xvmc_decoder;
1272 extern AVCodec h263i_decoder; 1283 extern AVCodec h263i_decoder;
1273 extern AVCodec flv_decoder; 1284 extern AVCodec flv_decoder;
1274 extern AVCodec rv10_decoder; 1285 extern AVCodec rv10_decoder;
1275 extern AVCodec svq1_decoder; 1286 extern AVCodec svq1_decoder;
1276 extern AVCodec svq3_decoder; 1287 extern AVCodec svq3_decoder;