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

Gwenole Beauchesne gb.devel at gmail.com
Thu May 15 03:07:50 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.

v3: cherry-pick'ed patch 9f9c505 for supporting Y800, among other
formats, in vaDeriveImage(); exposed support for YUV 4:0:0 for JPEG
decode too; fixed check to enabled extra H.264 chroma formats
(Haihao).

Regards,
Gwenole Beauchesne (7):
  surface: fix geometry (size, layout) of grayscale surfaces.
  surface: factor out release of surface buffer storage.
  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.

Zhong Li (1):
  i965_DeriveImage() support JPEG color formats

 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     | 302 ++++++++++++++++++++++++++++++++---------------
 src/i965_drv_video.h     |  14 +++
 src/i965_output_dri.c    |   6 +-
 src/i965_render.c        |   3 +
 11 files changed, 327 insertions(+), 158 deletions(-)

-- 
1.9.1



More information about the Libva mailing list