projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8dbd85
)
Unify the transform and quantization process
author
Jingning Han
<jingning@google.com>
Mon, 25 Mar 2019 18:27:14 +0000
(11:27 -0700)
committer
Jingning Han
<jingning@google.com>
Mon, 25 Mar 2019 21:57:15 +0000
(14:57 -0700)
Unify the transform and quantization process for 4x4 - 16x16
transform block sizes. This doesn't affect the encoding speed
visibly. Remove it to reduce the maintenance load.
Change-Id: Ifbf20bf8554ecf7970a6279a2b783b1c58fac6e4
vp9/encoder/vp9_encodemb.c
patch
|
blob
|
history
diff --git
a/vp9/encoder/vp9_encodemb.c
b/vp9/encoder/vp9_encodemb.c
index
2765102
..
83cb37c
100644
(file)
--- a/
vp9/encoder/vp9_encodemb.c
+++ b/
vp9/encoder/vp9_encodemb.c
@@
-404,9
+404,11
@@
void vp9_xform_quant_fp(MACROBLOCK *x, int plane, int block, int row, int col,
scan_order->iscan);
break;
case TX_8X8:
- vp9_fdct8x8_quant(src_diff, diff_stride, coeff, 64, x->skip_block,
- p->round_fp, p->quant_fp, qcoeff, dqcoeff, pd->dequant,
- eob, scan_order->scan, scan_order->iscan);
+ vpx_fdct8x8(src_diff, coeff, diff_stride);
+ vp9_quantize_fp(coeff, 64, x->skip_block, p->round_fp, p->quant_fp,
+ qcoeff, dqcoeff, pd->dequant, eob, scan_order->scan,
+ scan_order->iscan);
+
break;
default:
assert(tx_size == TX_4X4);