summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_onyx_int.h
diff options
context:
space:
mode:
authorAdrian Grange <agrange@google.com>2014-04-09 14:51:29 -0700
committerAdrian Grange <agrange@google.com>2014-04-14 10:54:19 -0700
commitf7bd1274e38ae8ec631887841ea27a10ba366ba2 (patch)
tree4c68b0653c32e2a3b2245e4ebf2f506cb3acb5f8 /vp9/encoder/vp9_onyx_int.h
parent07dddfa3fdf11c08c8b91b96fe94907be228f2cc (diff)
downloadlibvpx-f7bd1274e38ae8ec631887841ea27a10ba366ba2.tar
libvpx-f7bd1274e38ae8ec631887841ea27a10ba366ba2.tar.gz
libvpx-f7bd1274e38ae8ec631887841ea27a10ba366ba2.tar.bz2
libvpx-f7bd1274e38ae8ec631887841ea27a10ba366ba2.zip
Enable vpxenc to specify internal coded frame size
Added command line flags "resize-width" & "resize-height" to allow the user to specify the frame size to encode at. These two flags are ignored if the "resize-allowed" switch is not set to 1. All frames in the clip are then encoded at this size, which must be smaller than the raw frame size. Change-Id: I3d64bd9303d5c0bd678461a866a1ea621700d744
Diffstat (limited to 'vp9/encoder/vp9_onyx_int.h')
-rw-r--r--vp9/encoder/vp9_onyx_int.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_onyx_int.h b/vp9/encoder/vp9_onyx_int.h
index 9ad6ae49e..ad56e2a85 100644
--- a/vp9/encoder/vp9_onyx_int.h
+++ b/vp9/encoder/vp9_onyx_int.h
@@ -232,6 +232,11 @@ typedef struct VP9_CONFIG {
int lossless;
AQ_MODE aq_mode; // Adaptive Quantization mode
+ // Internal frame size scaling.
+ int allow_spatial_resampling;
+ int scaled_frame_width;
+ int scaled_frame_height;
+
// Enable feature to reduce the frame quantization every x frames.
int frame_periodic_boost;