summaryrefslogtreecommitdiff
path: root/vp8/encoder/ratectrl.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@google.com>2012-10-09 09:18:21 -0700
committerRonald S. Bultje <rbultje@google.com>2012-10-09 09:18:21 -0700
commit9ca3c8b2c467d31abac9a5270d114105e503fe9e (patch)
tree6b7218ed3a712ec531c6434d6101a0a1ee8b966d /vp8/encoder/ratectrl.c
parent54434bdba2003c316701bc409c50deffb9fd60e7 (diff)
downloadlibvpx-9ca3c8b2c467d31abac9a5270d114105e503fe9e.tar
libvpx-9ca3c8b2c467d31abac9a5270d114105e503fe9e.tar.gz
libvpx-9ca3c8b2c467d31abac9a5270d114105e503fe9e.tar.bz2
libvpx-9ca3c8b2c467d31abac9a5270d114105e503fe9e.zip
Selectable transform size try 2.
Results: derf (vanilla or +hybridtx) +0.2% and (+hybrid16x16 or +tx16x16) +0.7%-0.8%; HD (vanilla or +hybridtx) +0.1-0.2% and (+hybrid16x16 or +tx16x16) +1.4%, STD/HD (vanilla or +hybridtx) about even, and (+hybrid16x16 or +tx16x16) +0.8-1.0%. Change-Id: I03899e2f7a64e725a863f32e55366035ba77aa62
Diffstat (limited to 'vp8/encoder/ratectrl.c')
-rw-r--r--vp8/encoder/ratectrl.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/vp8/encoder/ratectrl.c b/vp8/encoder/ratectrl.c
index e059a10e2..47d578e2b 100644
--- a/vp8/encoder/ratectrl.c
+++ b/vp8/encoder/ratectrl.c
@@ -288,12 +288,6 @@ void vp8_setup_key_frame(VP8_COMP *cpi) {
}
#endif
- cpi->common.txfm_mode = ALLOW_8X8;
-
-#if CONFIG_LOSSLESS
- if (cpi->oxcf.lossless)
- cpi->common.txfm_mode = ONLY_4X4;
-#endif
// cpi->common.filter_level = 0; // Reset every key frame.
cpi->common.filter_level = cpi->common.base_qindex * 3 / 8;
@@ -310,14 +304,6 @@ void vp8_setup_key_frame(VP8_COMP *cpi) {
}
void vp8_setup_inter_frame(VP8_COMP *cpi) {
-
- cpi->common.txfm_mode = ALLOW_8X8;
-
-#if CONFIG_LOSSLESS
- if (cpi->oxcf.lossless)
- cpi->common.txfm_mode = ONLY_4X4;
-#endif
-
if (cpi->common.refresh_alt_ref_frame) {
vpx_memcpy(&cpi->common.fc,
&cpi->common.lfc_a,