comparison mpegvideo.h @ 3312:458b6162fa22 libavcodec

fix mbd bits bug, finally
author bcoudurier
date Fri, 26 May 2006 15:44:29 +0000
parents 5e2c69db0ef7
children 6310389a9688
comparison
equal deleted inserted replaced
3311:91811825348e 3312:458b6162fa22
697 uint8_t *ptr_lastgob; 697 uint8_t *ptr_lastgob;
698 int swap_uv;//vcr2 codec is mpeg2 varint with UV swaped 698 int swap_uv;//vcr2 codec is mpeg2 varint with UV swaped
699 short * pblocks[12]; 699 short * pblocks[12];
700 700
701 DCTELEM (*block)[64]; ///< points to one of the following blocks 701 DCTELEM (*block)[64]; ///< points to one of the following blocks
702 DCTELEM (*blocks)[6][64]; // for HQ mode we need to keep the best block 702 DCTELEM (*blocks)[8][64]; // for HQ mode we need to keep the best block
703 int (*decode_mb)(struct MpegEncContext *s, DCTELEM block[6][64]); // used by some codecs to avoid a switch() 703 int (*decode_mb)(struct MpegEncContext *s, DCTELEM block[6][64]); // used by some codecs to avoid a switch()
704 #define SLICE_OK 0 704 #define SLICE_OK 0
705 #define SLICE_ERROR -1 705 #define SLICE_ERROR -1
706 #define SLICE_END -2 ///<end marker found 706 #define SLICE_END -2 ///<end marker found
707 #define SLICE_NOEND -3 ///<no end marker or error found but mb count exceeded 707 #define SLICE_NOEND -3 ///<no end marker or error found but mb count exceeded