Mercurial > libavcodec.hg
comparison mpegvideo.h @ 1160:9a5c29575902 libavcodec
mpeg1 slice encoding support
author | michaelni |
---|---|
date | Sun, 30 Mar 2003 19:26:01 +0000 |
parents | 13ea348d4cf2 |
children | 8c15d82c1893 |
comparison
equal
deleted
inserted
replaced
1159:13ea348d4cf2 | 1160:9a5c29575902 |
---|---|
336 int hurry_up; /**< when set to 1 during decoding, b frames will be skiped | 336 int hurry_up; /**< when set to 1 during decoding, b frames will be skiped |
337 when set to 2 idct/dequant will be skipped too */ | 337 when set to 2 idct/dequant will be skipped too */ |
338 | 338 |
339 /* macroblock layer */ | 339 /* macroblock layer */ |
340 int mb_x, mb_y; | 340 int mb_x, mb_y; |
341 int mb_incr; | 341 int mb_skip_run; |
342 int mb_intra; | 342 int mb_intra; |
343 uint8_t *mb_type; ///< Table for MB type | 343 uint8_t *mb_type; ///< Table for MB type |
344 #define MB_TYPE_INTRA 0x01 | 344 #define MB_TYPE_INTRA 0x01 |
345 #define MB_TYPE_INTER 0x02 | 345 #define MB_TYPE_INTER 0x02 |
346 #define MB_TYPE_INTER4V 0x04 | 346 #define MB_TYPE_INTER4V 0x04 |
683 void mpeg1_encode_picture_header(MpegEncContext *s, int picture_number); | 683 void mpeg1_encode_picture_header(MpegEncContext *s, int picture_number); |
684 void mpeg1_encode_mb(MpegEncContext *s, | 684 void mpeg1_encode_mb(MpegEncContext *s, |
685 DCTELEM block[6][64], | 685 DCTELEM block[6][64], |
686 int motion_x, int motion_y); | 686 int motion_x, int motion_y); |
687 void ff_mpeg1_encode_init(MpegEncContext *s); | 687 void ff_mpeg1_encode_init(MpegEncContext *s); |
688 void ff_mpeg1_encode_slice_header(MpegEncContext *s); | |
689 void ff_mpeg1_clean_buffers(MpegEncContext *s); | |
688 | 690 |
689 | 691 |
690 /** RLTable. */ | 692 /** RLTable. */ |
691 typedef struct RLTable { | 693 typedef struct RLTable { |
692 int n; ///< number of entries of table_vlc minus 1 | 694 int n; ///< number of entries of table_vlc minus 1 |