Mercurial > libavcodec.hg
comparison avcodec.h @ 1661:4c9fd29f1606 libavcodec
h263 slice structured mode
slice cleanup
| author | michael |
|---|---|
| date | Sun, 07 Dec 2003 01:33:45 +0000 |
| parents | bdade3baabfc |
| children | 30746f429df6 |
comparison
equal
deleted
inserted
replaced
| 1660:806afb8e9085 | 1661:4c9fd29f1606 |
|---|---|
| 15 #include "rational.h" | 15 #include "rational.h" |
| 16 #include <sys/types.h> /* size_t */ | 16 #include <sys/types.h> /* size_t */ |
| 17 | 17 |
| 18 #define FFMPEG_VERSION_INT 0x000408 | 18 #define FFMPEG_VERSION_INT 0x000408 |
| 19 #define FFMPEG_VERSION "0.4.8" | 19 #define FFMPEG_VERSION "0.4.8" |
| 20 #define LIBAVCODEC_BUILD 4693 | 20 #define LIBAVCODEC_BUILD 4694 |
| 21 | 21 |
| 22 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT | 22 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT |
| 23 #define LIBAVCODEC_VERSION FFMPEG_VERSION | 23 #define LIBAVCODEC_VERSION FFMPEG_VERSION |
| 24 | 24 |
| 25 #define AV_STRINGIFY(s) AV_TOSTRING(s) | 25 #define AV_STRINGIFY(s) AV_TOSTRING(s) |
| 261 #define CODEC_FLAG_CBP_RD 0x04000000 ///< use rate distortion optimization for cbp | 261 #define CODEC_FLAG_CBP_RD 0x04000000 ///< use rate distortion optimization for cbp |
| 262 #define CODEC_FLAG_QP_RD 0x08000000 ///< use rate distortion optimization for qp selectioon | 262 #define CODEC_FLAG_QP_RD 0x08000000 ///< use rate distortion optimization for qp selectioon |
| 263 #define CODEC_FLAG_H263P_AIV 0x00000008 ///< H263 Alternative inter vlc | 263 #define CODEC_FLAG_H263P_AIV 0x00000008 ///< H263 Alternative inter vlc |
| 264 #define CODEC_FLAG_OBMC 0x00000001 ///< OBMC | 264 #define CODEC_FLAG_OBMC 0x00000001 ///< OBMC |
| 265 #define CODEC_FLAG_LOOP_FILTER 0x00000800 ///< loop filter | 265 #define CODEC_FLAG_LOOP_FILTER 0x00000800 ///< loop filter |
| 266 /* For advanced prediction mode, we reuse the 4MV flag */ | 266 #define CODEC_FLAG_H263P_SLICE_STRUCT 0x10000000 |
| 267 /* Unsupported options : | 267 /* Unsupported options : |
| 268 * Syntax Arithmetic coding (SAC) | 268 * Syntax Arithmetic coding (SAC) |
| 269 * Deblocking filter internal loop | |
| 270 * Slice structured | |
| 271 * Reference Picture Selection | 269 * Reference Picture Selection |
| 272 * Independant Segment Decoding | 270 * Independant Segment Decoding */ |
| 273 * Modified Quantization */ | |
| 274 /* /Fx */ | 271 /* /Fx */ |
| 275 /* codec capabilities */ | 272 /* codec capabilities */ |
| 276 | 273 |
| 277 #define CODEC_CAP_DRAW_HORIZ_BAND 0x0001 ///< decoder can use draw_horiz_band callback | 274 #define CODEC_CAP_DRAW_HORIZ_BAND 0x0001 ///< decoder can use draw_horiz_band callback |
| 278 /** | 275 /** |
| 694 | 691 |
| 695 struct AVCodec *codec; | 692 struct AVCodec *codec; |
| 696 | 693 |
| 697 void *priv_data; | 694 void *priv_data; |
| 698 | 695 |
| 699 /* The following data is for RTP friendly coding */ | 696 /* unused, FIXME remove*/ |
| 700 /* By now only H.263/H.263+/MPEG4 coder honours this */ | 697 int rtp_mode; |
| 701 int rtp_mode; /* 1 for activate RTP friendly-mode */ | |
| 702 /* highers numbers represent more error-prone */ | |
| 703 /* enviroments, by now just "1" exist */ | |
| 704 | 698 |
| 705 int rtp_payload_size; /* The size of the RTP payload, the coder will */ | 699 int rtp_payload_size; /* The size of the RTP payload, the coder will */ |
| 706 /* do it's best to deliver a chunk with size */ | 700 /* do it's best to deliver a chunk with size */ |
| 707 /* below rtp_payload_size, the chunk will start */ | 701 /* below rtp_payload_size, the chunk will start */ |
| 708 /* with a start code on some codecs like H.263 */ | 702 /* with a start code on some codecs like H.263 */ |
| 1396 * if pic.data[0] == NULL must behave like get_buffer(). | 1390 * if pic.data[0] == NULL must behave like get_buffer(). |
| 1397 * - encoding: unused | 1391 * - encoding: unused |
| 1398 * - decoding: set by lavc, user can override | 1392 * - decoding: set by lavc, user can override |
| 1399 */ | 1393 */ |
| 1400 int (*reget_buffer)(struct AVCodecContext *c, AVFrame *pic); | 1394 int (*reget_buffer)(struct AVCodecContext *c, AVFrame *pic); |
| 1401 | 1395 |
| 1396 /** | |
| 1397 * number of bits which should be loaded into the rc buffer before decoding starts | |
| 1398 * - encoding: set by user. | |
| 1399 * - decoding: unused | |
| 1400 */ | |
| 1401 int rc_initial_buffer_occupancy; | |
| 1402 | |
| 1403 /** | |
| 1404 * | |
| 1405 * - encoding: set by user. | |
| 1406 * - decoding: unused | |
| 1407 */ | |
| 1408 int inter_threshold; | |
| 1409 | |
| 1410 /** | |
| 1411 * CODEC_FLAG2_*. | |
| 1412 * - encoding: set by user. | |
| 1413 * - decoding: set by user. | |
| 1414 */ | |
| 1415 int flags2; | |
| 1402 } AVCodecContext; | 1416 } AVCodecContext; |
| 1403 | 1417 |
| 1404 | 1418 |
| 1405 /** | 1419 /** |
| 1406 * AVOption. | 1420 * AVOption. |
