summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_onyx_int.h
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2014-03-25 14:27:45 -0700
committerYaowu Xu <yaowu@google.com>2014-03-25 14:27:45 -0700
commit6eb2cacf0d24a216c183fd0c5e34cdf98df5d9bd (patch)
tree355347aa68322f716cb29c68896c77f54cf17f3b /vp9/encoder/vp9_onyx_int.h
parentde8fd6f48addd94034cdfd9170bdfe52d9481e30 (diff)
downloadlibvpx-6eb2cacf0d24a216c183fd0c5e34cdf98df5d9bd.tar
libvpx-6eb2cacf0d24a216c183fd0c5e34cdf98df5d9bd.tar.gz
libvpx-6eb2cacf0d24a216c183fd0c5e34cdf98df5d9bd.tar.bz2
libvpx-6eb2cacf0d24a216c183fd0c5e34cdf98df5d9bd.zip
Added a speed feature "allow_skip_recode"
This commit added a speed feature to make the logic of calculating skip_recode on a block level more explicit. This also enable the feature to be enabled at speed 5 where the previous logic is too conservative, help gain back the lost speed for --rt(-5). Change-Id: Ieb37ca3e85c2e7bda343486edf13d5f5395f2233
Diffstat (limited to 'vp9/encoder/vp9_onyx_int.h')
-rw-r--r--vp9/encoder/vp9_onyx_int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_onyx_int.h b/vp9/encoder/vp9_onyx_int.h
index 022a63f91..6d8235c01 100644
--- a/vp9/encoder/vp9_onyx_int.h
+++ b/vp9/encoder/vp9_onyx_int.h
@@ -284,6 +284,9 @@ typedef struct {
// blocks and the q is less than a threshold.
int skip_encode_sb;
int skip_encode_frame;
+ // Speed feature to allow or disallow skipping of recode at block
+ // level within a frame.
+ int allow_skip_recode;
// This variable allows us to reuse the last frames partition choices
// (64x64 v 32x32 etc) for this frame. It can be set to only use the last