Mercurial > libavcodec.hg
comparison mpegvideo.h @ 1159:13ea348d4cf2 libavcodec
simplify slice encoding (variance of packet size is practically identical)
author | michaelni |
---|---|
date | Sun, 30 Mar 2003 16:22:08 +0000 |
parents | dde68a430ba9 |
children | 9a5c29575902 |
comparison
equal
deleted
inserted
replaced
1158:71d890b5c13b | 1159:13ea348d4cf2 |
---|---|
576 /* These are explained on avcodec.h */ | 576 /* These are explained on avcodec.h */ |
577 int rtp_mode; | 577 int rtp_mode; |
578 int rtp_payload_size; | 578 int rtp_payload_size; |
579 void (*rtp_callback)(void *data, int size, int packet_number); | 579 void (*rtp_callback)(void *data, int size, int packet_number); |
580 uint8_t *ptr_lastgob; | 580 uint8_t *ptr_lastgob; |
581 uint8_t *ptr_last_mb_line; | |
582 uint32_t mb_line_avgsize; | |
583 | 581 |
584 DCTELEM (*block)[64]; ///< points to one of the following blocks | 582 DCTELEM (*block)[64]; ///< points to one of the following blocks |
585 DCTELEM blocks[2][6][64] __align8; // for HQ mode we need to keep the best block | 583 DCTELEM blocks[2][6][64] __align8; // for HQ mode we need to keep the best block |
586 int (*decode_mb)(struct MpegEncContext *s, DCTELEM block[6][64]); // used by some codecs to avoid a switch() | 584 int (*decode_mb)(struct MpegEncContext *s, DCTELEM block[6][64]); // used by some codecs to avoid a switch() |
587 #define SLICE_OK 0 | 585 #define SLICE_OK 0 |