aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264data.h
diff options
context:
space:
mode:
authorJason Garrett-Glaser <darkshikari@gmail.com>2011-01-15 01:10:46 +0000
committerJason Garrett-Glaser <darkshikari@gmail.com>2011-01-15 01:10:46 +0000
commit2a1f431d38ea9c05abb215d70c7dc09cdb6888ab (patch)
treec6e5f1d0b7a3fd2eee950dbb915ef27625644232 /libavcodec/h264data.h
parent290fabc684244b86d47527008020b0b2eb62f836 (diff)
downloadffmpeg-2a1f431d38ea9c05abb215d70c7dc09cdb6888ab.tar.gz
H.264/SVQ3: make chroma DC work the same way as luma DC
No speed improvement, but necessary for some future stuff. Also opens up the possibility of asm chroma dc idct/dequant. Originally committed as revision 26349 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264data.h')
-rw-r--r--libavcodec/h264data.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/h264data.h b/libavcodec/h264data.h
index b3631da93b..73fcc5ce38 100644
--- a/libavcodec/h264data.h
+++ b/libavcodec/h264data.h
@@ -79,8 +79,7 @@ static const uint8_t luma_dc_field_scan[16]={
};
static const uint8_t chroma_dc_scan[4]={
- (0+0*2)*16, (1+0*2)*16,
- (0+1*2)*16, (1+1*2)*16, //FIXME
+ 0,1,2,3
};
// zigzag_scan8x8_cavlc[i] = zigzag_scan8x8[(i/4) + 16*(i%4)]