summaryrefslogtreecommitdiff
path: root/vp9/common
diff options
context:
space:
mode:
Diffstat (limited to 'vp9/common')
-rw-r--r--vp9/common/vp9_onyx.h7
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