summaryrefslogtreecommitdiff
path: root/vp9/decoder
diff options
context:
space:
mode:
authorScott LaVarnway <slavarnway@google.com>2013-05-03 07:30:31 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2013-05-03 07:30:31 -0700
commit3041cf8c8bde4ff9d96facbc976beb917c4f306e (patch)
tree1c92fae232a3d443a390a56275b38dad3a7df3b9 /vp9/decoder
parent034928843fb29182dfd5bd5fe02d1603058439a9 (diff)
parent94ed11d89dba858d92aed7f6aabe1ddee10f02e6 (diff)
downloadlibvpx-3041cf8c8bde4ff9d96facbc976beb917c4f306e.tar
libvpx-3041cf8c8bde4ff9d96facbc976beb917c4f306e.tar.gz
libvpx-3041cf8c8bde4ff9d96facbc976beb917c4f306e.tar.bz2
libvpx-3041cf8c8bde4ff9d96facbc976beb917c4f306e.zip
Merge "Reduced y_dequant, uv_dequant size" into experimental
Diffstat (limited to 'vp9/decoder')
-rw-r--r--vp9/decoder/vp9_decodframe.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/vp9/decoder/vp9_decodframe.c b/vp9/decoder/vp9_decodframe.c
index f0948ba3e..c9b65b6d8 100644
--- a/vp9/decoder/vp9_decodframe.c
+++ b/vp9/decoder/vp9_decodframe.c
@@ -164,7 +164,7 @@ static vp9_prob read_prob_diff_update(vp9_reader *r, int oldp) {
}
void vp9_init_dequantizer(VP9_COMMON *pc) {
- int q, i;
+ int q;
for (q = 0; q < QINDEX_RANGE; q++) {
// DC value
@@ -172,12 +172,8 @@ void vp9_init_dequantizer(VP9_COMMON *pc) {
pc->uv_dequant[q][0] = vp9_dc_quant(q, pc->uv_dc_delta_q);
// AC values
- for (i = 1; i < 16; i++) {
- const int rc = vp9_default_zig_zag1d_4x4[i];
-
- pc->y_dequant[q][rc] = vp9_ac_quant(q, 0);
- pc->uv_dequant[q][rc] = vp9_ac_quant(q, pc->uv_ac_delta_q);
- }
+ pc->y_dequant[q][1] = vp9_ac_quant(q, 0);
+ pc->uv_dequant[q][1] = vp9_ac_quant(q, pc->uv_ac_delta_q);
}
}