[FFmpeg-cvslog] r17147 - trunk/libavcodec/h264.c
astrange
subversion
Wed Feb 11 07:03:19 CET 2009
Author: astrange
Date: Wed Feb 11 07:03:18 2009
New Revision: 17147
Log:
H264: Change left_block_options to uint8_t from int, saving a little space.
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c Wed Feb 11 03:32:39 2009 (r17146)
+++ trunk/libavcodec/h264.c Wed Feb 11 07:03:18 2009 (r17147)
@@ -96,7 +96,7 @@ static const uint8_t div6[52]={
0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8,
};
-static const int left_block_options[4][8]={
+static const uint8_t left_block_options[4][8]={
{0,1,2,3,7,10,8,11},
{2,2,3,3,8,11,8,11},
{0,0,1,1,7,10,7,10},
@@ -111,7 +111,7 @@ static void fill_caches(H264Context *h,
const int mb_xy= h->mb_xy;
int topleft_xy, top_xy, topright_xy, left_xy[2];
int topleft_type, top_type, topright_type, left_type[2];
- const int * left_block;
+ const uint8_t * left_block;
int topleft_partition= -1;
int i;
More information about the ffmpeg-cvslog
mailing list