From f7bd1274e38ae8ec631887841ea27a10ba366ba2 Mon Sep 17 00:00:00 2001 From: Adrian Grange Date: Wed, 9 Apr 2014 14:51:29 -0700 Subject: 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 --- vp9/encoder/vp9_onyx_int.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vp9/encoder/vp9_onyx_int.h') 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; -- cgit v1.2.3