From 64514ee8def11d74362c03bcafc5927dc5577e8d Mon Sep 17 00:00:00 2001 From: Alexander Strange Date: Sun, 11 May 2008 19:16:21 +0000 Subject: Store mb_xy in H264Context and only calculate it once per MB. Originally committed as revision 13125 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/h264.h') diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 622a555299..6b76420ceb 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -414,6 +414,8 @@ typedef struct H264Context{ int last_slice_type; /** @} */ + int mb_xy; + }H264Context; #endif /* FFMPEG_H264_H */ -- cgit v1.2.3