OSDN Git Service

gen9_vp9_encoder: fix parameters sent to the shaders
authorDaniel Charles <daniel.charles@intel.com>
Thu, 13 Apr 2017 01:42:27 +0000 (18:42 -0700)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 14 Apr 2017 02:11:18 +0000 (10:11 +0800)
commitdbe582c2361d3bb6a04968a2bc21b62bede9c46e
tree8a35556e732054c3598416a3a4bdb632fa8d8575
parente946c3c0687066eba3b139ab74d621f9f28b2de4
gen9_vp9_encoder: fix parameters sent to the shaders

buffer fullness intially has to be set to half the target bitrate.
Also the scaled 4x width and height in mb has to be updated properly
for distortion buffer to operate properly

v2: remove downscaled_width_4x_in_mb and dowscaled_height_4x_in_mb from
gen9_encoder_context_vp9

Fixes #132
TEST="see bug for proper test analysis"

Signed-off-by: Daniel Charles <daniel.charles@intel.com>
src/gen9_vp9_encoder.c
src/gen9_vp9_encoder.h