summaryrefslogtreecommitdiff
path: root/vp9
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2013-02-19 16:26:27 -0800
committerYaowu Xu <yaowu@google.com>2013-02-19 16:26:27 -0800
commitb13f38d4b30da22025dda3b188fb360780714643 (patch)
tree0b3b260614161d9fe222c8b8504003fe0f426558 /vp9
parent93d6b86cfd6891964de5d1061af45d8ce4671138 (diff)
downloadlibvpx-b13f38d4b30da22025dda3b188fb360780714643.tar
libvpx-b13f38d4b30da22025dda3b188fb360780714643.tar.gz
libvpx-b13f38d4b30da22025dda3b188fb360780714643.tar.bz2
libvpx-b13f38d4b30da22025dda3b188fb360780714643.zip
fixed an enc/dec mis-match issue
The issue was caused by a out-of-order merge, which leads to wrong functions are called at lossless mode. Change-Id: If157729abab62954c729e0377e7f53edb7db22ca
Diffstat (limited to 'vp9')
-rw-r--r--vp9/decoder/vp9_idct_blk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vp9/decoder/vp9_idct_blk.c b/vp9/decoder/vp9_idct_blk.c
index a00ff7306..b2caf4524 100644
--- a/vp9/decoder/vp9_idct_blk.c
+++ b/vp9/decoder/vp9_idct_blk.c
@@ -25,9 +25,9 @@ void vp9_dequant_idct_add_y_block_4x4_inplace_c(int16_t *q,
for (i = 0; i < 4; i++) {
for (j = 0; j < 4; j++) {
if (*eobs++ > 1) {
- vp9_dequant_idct_add_c(q, dq, dst, dst, stride, stride);
+ xd->itxm_add(q, dq, dst, dst, stride, stride);
} else {
- vp9_dc_only_idct_add_c(q[0]*dq[0], dst, dst, stride, stride);
+ xd->dc_only_itxm_add(q[0]*dq[0], dst, dst, stride, stride);
((int *)q)[0] = 0;
}