vp9encoder: encoder to handle properly CSC on input surface

Graphics / Video Acceleration / VA-API - Daniel Charles [intel.com] - 15 August 2016 02:55 UTC

VP9 encoder was not checking for the yuv surface fourcc provided as the input. If the format is I420, the driver creates an underlying surface where the input is converted to NV12.

The underlying temporary surface was not used properly by the vme_pipeline_vp9 as intel_encoder_check_yuv_surface will place the underlying surface on the encode_state->input_yuv_object if it needed conversion or it will place the correct current_render_target if the conversion is not needed.

98555d2 vp9encoder: encoder to handle properly CSC on input surface
src/gen9_vp9_encoder.c | 1 -
src/i965_encoder.c | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share