diff options
author | Guillaume Martres <gmartres@google.com> | 2013-11-14 19:23:57 +0100 |
---|---|---|
committer | Guillaume Martres <gmartres@google.com> | 2013-11-15 19:42:20 +0100 |
commit | 17084657e6da5b02ab1e492b237e52f2bd38ade3 (patch) | |
tree | bd28fc2e74c97c48d03f9164cbaf58771f236cdc /vp9/common | |
parent | d1899557eb727d8d1430e87e88ad5cdd358f0549 (diff) | |
download | libvpx-17084657e6da5b02ab1e492b237e52f2bd38ade3.tar libvpx-17084657e6da5b02ab1e492b237e52f2bd38ade3.tar.gz libvpx-17084657e6da5b02ab1e492b237e52f2bd38ade3.tar.bz2 libvpx-17084657e6da5b02ab1e492b237e52f2bd38ade3.zip |
vpxenc: add --aq-mode flag to control adaptive quantization
Change-Id: I57e1ad4bed3487df12893ced77c49093f8755706
Diffstat (limited to 'vp9/common')
-rw-r--r-- | vp9/common/vp9_onyx.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vp9/common/vp9_onyx.h b/vp9/common/vp9_onyx.h index 452dd6b89..cda68a285 100644 --- a/vp9/common/vp9_onyx.h +++ b/vp9/common/vp9_onyx.h @@ -64,6 +64,12 @@ extern "C" FRAMEFLAGS_ALTREF = 4, } FRAMETYPE_FLAGS; + typedef enum { + NO_AQ = 0, + VARIANCE_AQ = 1, + AQ_MODES_COUNT // This should always be the last member of the enum + } AQ_MODES; + typedef struct { int version; // 4 versions of bitstream defined: // 0 - best quality/slowest decode, @@ -128,6 +134,7 @@ extern "C" int best_allowed_q; int cq_level; int lossless; + int aq_mode; // Adaptive Quantization mode // two pass datarate control int two_pass_vbrbias; // two pass datarate control tweaks |