Mercurial > libavcodec.hg
comparison mpegvideo.h @ 1580:628bf341e099 libavcodec
XvMC speedup by removing one memcpy and doing MB packing
author | iive |
---|---|
date | Mon, 27 Oct 2003 23:22:43 +0000 |
parents | 5ebb4ae753d3 |
children | 3d1d0490e5a6 |
comparison
equal
deleted
inserted
replaced
1579:039cb2296de2 | 1580:628bf341e099 |
---|---|
653 /* These are explained on avcodec.h */ | 653 /* These are explained on avcodec.h */ |
654 int rtp_mode; | 654 int rtp_mode; |
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 int swap_uv;//vcr2 codec is mpeg2 varint with UV swaped | |
659 short * pblocks[12]; | |
658 | 660 |
659 DCTELEM (*block)[64]; ///< points to one of the following blocks | 661 DCTELEM (*block)[64]; ///< points to one of the following blocks |
660 DCTELEM (*blocks)[6][64]; // for HQ mode we need to keep the best block | 662 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() | 663 int (*decode_mb)(struct MpegEncContext *s, DCTELEM block[6][64]); // used by some codecs to avoid a switch() |
662 #define SLICE_OK 0 | 664 #define SLICE_OK 0 |