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

Xiang, Haihao haihao.xiang at intel.com
Sat May 24 06:48:56 PDT 2014


The new patches look good to me, however could you hold the checkin to master branch
until I cherry pick other patches from staging branch ? Or you could check 
the codes into staging branch first.

Thanks
Haihao

> -----Original Message-----
> From: Libva [mailto:libva-bounces at lists.freedesktop.org] On Behalf Of
> Gwenole Beauchesne
> Sent: Thursday, May 15, 2014 6:08 PM
> To: libva at lists.freedesktop.org
> Subject: [Libva] [PATCH v3 intel-driver 0/8] Fix support for grayscale
> 
> 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
> 
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva


More information about the Libva mailing list