aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/jrevdct.c
diff options
context:
space:
mode:
authorMichael Niedermayer2004-09-26 10:01:40 +0000
committerMichael Niedermayer2004-09-26 10:01:40 +0000
commit1aa8c57b4acc212bc5a3726f18f98922cd39d810 (patch)
treeed592209fc6849e66089685ce46c4719cf9d19d1 /libavcodec/jrevdct.c
parent6aeb03d887b37cc20d0744200742a6fffcbbf99a (diff)
1/8 resolution decoding
Originally committed as revision 3511 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/jrevdct.c')
-rw-r--r--libavcodec/jrevdct.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/jrevdct.c b/libavcodec/jrevdct.c
index 8bc0d1657d..72412fdc14 100644
--- a/libavcodec/jrevdct.c
+++ b/libavcodec/jrevdct.c
@@ -1640,5 +1640,9 @@ void j_rev_dct2(DCTBLOCK data){
data[1+1*DCTSTRIDE]= (d01 - d11)>>3;
}
+void j_rev_dct1(DCTBLOCK data){
+ data[0] = (data[0] + 4)>>3;
+}
+
#undef FIX
#undef CONST_BITS