diff options
author | Ivan Kalvachev <ikalvachev@gmail.com> | 2003-10-27 23:22:43 +0000 |
---|---|---|
committer | Ivan Kalvachev <ikalvachev@gmail.com> | 2003-10-27 23:22:43 +0000 |
commit | a579db0c4fe026d49c71d1ff64a2d1d07c152d68 (patch) | |
tree | 00c972c3f705b30ec93aef1e10eb798767808485 /libavcodec/mpegvideo.h | |
parent | 6b56c616d9954e1c64efc9d16a579622a06f962c (diff) | |
download | ffmpeg-a579db0c4fe026d49c71d1ff64a2d1d07c152d68.tar.gz |
XvMC speedup by removing one memcpy and doing MB packing
Originally committed as revision 2442 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r-- | libavcodec/mpegvideo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 40a3bdfc04..6552931909 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -655,6 +655,8 @@ typedef struct MpegEncContext { int rtp_payload_size; void (*rtp_callback)(void *data, int size, int packet_number); uint8_t *ptr_lastgob; + int swap_uv;//vcr2 codec is mpeg2 varint with UV swaped + short * pblocks[12]; DCTELEM (*block)[64]; ///< points to one of the following blocks DCTELEM (*blocks)[6][64]; // for HQ mode we need to keep the best block |