[Libva] [PATCH v2 intel-driver 0/8] Fix support for grayscale

Gwenole Beauchesne gb.devel at gmail.com
Wed May 14 06:13:04 PDT 2014


Hi,

This patch series fixes and optimizes support for H.grayscale streams
encoded in H.264 (Patch8). This is backwards compatible with solutions
that incorrectly request for YUV 4:2:0 formats instead of the
appropriate Y800 one.

Tested with gstreamer-vaapi and FFmpeg/vaapi on Ivybridge. No
regression.

v2: split into smaller patches, while maintaining regression
testability, drop dead code in the Y800 rendering code path.

Regards,
Gwenole Beauchesne (8):
  surface: fix geometry (size, layout) of grayscale surfaces.
  surface: factor out release of surface buffer storage.
  surface: fix vaDeriveImage() for grayscale.
  config: fix vaGetConfigAttributes() to validate profile/entrypoint.
  config: fix vaCreateConfig() to not override user chroma format.
  config: fix supported set of chroma formats for JPEG decode.
  decoder: h264: factor out allocation of reconstructed surfaces.
  decoder: h264: optimize support for grayscale surfaces.

 src/gen6_mfd.c           |   20 ++-
 src/gen75_mfd.c          |   18 +--
 src/gen7_mfd.c           |   18 +--
 src/gen8_mfd.c           |   18 +--
 src/gen8_render.c        |    3 +
 src/i965_decoder_utils.c |   75 +++++++++++-
 src/i965_decoder_utils.h |    8 ++
 src/i965_drv_video.c     |  301 +++++++++++++++++++++++++++++++---------------
 src/i965_drv_video.h     |   14 +++
 src/i965_output_dri.c    |    6 +-
 src/i965_render.c        |    3 +
 11 files changed, 326 insertions(+), 158 deletions(-)

-- 
1.7.9.5



More information about the Libva mailing list