Mercurial > libavcodec.hg
comparison mpegvideo.h @ 1555:27073c5532dc libavcodec
move blocks away MpegEncContext (7.4 -> 5.8k)
author | michael |
---|---|
date | Wed, 22 Oct 2003 12:01:21 +0000 |
parents | d736e24bf303 |
children | 5ebb4ae753d3 |
comparison
equal
deleted
inserted
replaced
1554:d736e24bf303 | 1555:27073c5532dc |
---|---|
655 int rtp_payload_size; | 655 int rtp_payload_size; |
656 void (*rtp_callback)(void *data, int size, int packet_number); | 656 void (*rtp_callback)(void *data, int size, int packet_number); |
657 uint8_t *ptr_lastgob; | 657 uint8_t *ptr_lastgob; |
658 | 658 |
659 DCTELEM (*block)[64]; ///< points to one of the following blocks | 659 DCTELEM (*block)[64]; ///< points to one of the following blocks |
660 DCTELEM blocks[2][6][64] __align8; // for HQ mode we need to keep the best block | 660 DCTELEM (*blocks)[6][64]; // for HQ mode we need to keep the best block |
661 int (*decode_mb)(struct MpegEncContext *s, DCTELEM block[6][64]); // used by some codecs to avoid a switch() | 661 int (*decode_mb)(struct MpegEncContext *s, DCTELEM block[6][64]); // used by some codecs to avoid a switch() |
662 #define SLICE_OK 0 | 662 #define SLICE_OK 0 |
663 #define SLICE_ERROR -1 | 663 #define SLICE_ERROR -1 |
664 #define SLICE_END -2 ///<end marker found | 664 #define SLICE_END -2 ///<end marker found |
665 #define SLICE_NOEND -3 ///<no end marker or error found but mb count exceeded | 665 #define SLICE_NOEND -3 ///<no end marker or error found but mb count exceeded |