From fed8a1837fd6b1e4e36495be8210bd63bfb2bb8f Mon Sep 17 00:00:00 2001 From: Daniel Kang Date: Thu, 2 Aug 2012 17:03:14 -0700 Subject: 16x16 DCT blocks. Set on all 16x16 intra/inter modes Features: - Butterfly fDCT/iDCT - Loop filter does not filter internal edges with 16x16 - Optimize coefficient function - Update coefficient probability function - RD - Entropy stats - 16x16 is a config option Have not tested with experiments. hd: 2.60% std-hd: 2.43% yt: 1.32% derf: 0.60% Change-Id: I96fb090517c30c5da84bad4fae602c3ec0c58b1c --- vp8/encoder/ratectrl.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vp8/encoder/ratectrl.c') diff --git a/vp8/encoder/ratectrl.c b/vp8/encoder/ratectrl.c index 43f38568a..b0f92c942 100644 --- a/vp8/encoder/ratectrl.c +++ b/vp8/encoder/ratectrl.c @@ -177,6 +177,9 @@ void vp8_save_coding_context(VP8_COMP *cpi) { #if CONFIG_SWITCHABLE_INTERP vp8_copy(cc->switchable_interp_prob, cm->fc.switchable_interp_prob); #endif +#if CONFIG_TX16X16 + vp8_copy(cc->coef_probs_16x16, cm->fc.coef_probs_16x16); +#endif } void vp8_restore_coding_context(VP8_COMP *cpi) { @@ -233,6 +236,9 @@ void vp8_restore_coding_context(VP8_COMP *cpi) { #if CONFIG_SWITCHABLE_INTERP vp8_copy(cm->fc.switchable_interp_prob, cc->switchable_interp_prob); #endif +#if CONFIG_TX16X16 + vp8_copy(cm->fc.coef_probs_16x16, cc->coef_probs_16x16); +#endif } -- cgit v1.2.3