[Libva] [PATCH v4 intel-driver 00/11] Add support for H.264 MVC decoding

Gwenole Beauchesne gb.devel at gmail.com
Thu Jun 5 16:46:23 PDT 2014


Hi,

This patch series applies to the git master branch and brings in
support for H.264 MVC decoding with a minimal set of mandatory
patches.

The following series are combined for convenience:
- Fixes to H.264 Reference Frames handling:
  <http://lists.freedesktop.org/archives/libva/2014-May/002133.html>
- Fixes to the lifetime of VA surface buffer stores:
  <http://lists.freedesktop.org/archives/libva/2014-May/002138.html>
- Add support for for Picture ID Remapping on Haswell and newer:
  <http://lists.freedesktop.org/archives/libva/2014-June/002325.html>

New series tested on Ivybridge and Broadwell only. No regression
observed for H.264 AVC conformance (168/168). All conformance tests
for MVC Stereo High profiles and Multiview High profiles that could be
assimilated to MVC Stereo High profile on Ivybridge passed (15/15).

v1->v2: combined the first two series, improved commit logs
v2->v3: dropped refactoring patches from third series and combined it
  here, fixed submission location for MFD_AVC_PICID_STATE on Haswell
v3->v4: improved docs and commit logs, fixed frame store updates for
  pre-Haswell generations, merged in fix for colZeroFlag setting

I kept the previous patch structure but, ideally, we could merge
Patch11, Patch3 and an additional optimization PatchX + restoring
Patch2 to become bug compatible with the existing version in git. That
would have complexified the review however. :)

So, only Patch10 and Patch11 are new vs the older v3 patch series. The
series to be pushed will be re-shuffled in a more logical order.

Regards,
Gwenole Beauchesne (11):
  decoder: h264: don't deallocate surface storage of older frames.
  decoder: h264: allocate reference frames earlier, if needed.
  decoder: h264: simplify and optimize reference frame store updates.
  decoder: h264: fix submission of AVC_REF_IDX_STATE command.
  decoder: h264: factor out look ups for VA/H264 picture info.
  decoder: h264: enable Picture ID Remapping on Haswell and newer.
  decoder: h264: expose the set of supported MVC profiles.
  render: don't deallocate surface storage of displayed frames.
  surface: drop SURFACE_DISPLAYED flag.
  decoder: h264: improve AVC_REF_IDX_STATE for MVC.
  decoder: h264: fix frame store logic for MVC.

 src/gen6_mfd.c           |  35 ++---
 src/gen75_mfd.c          |  87 ++++--------
 src/gen7_mfd.c           |  36 ++---
 src/gen8_mfd.c           |  70 ++++-----
 src/i965_avc_bsd.c       |  55 +++----
 src/i965_decoder.h       |   1 +
 src/i965_decoder_utils.c | 363 ++++++++++++++++++++++++++++++++---------------
 src/i965_decoder_utils.h |  26 ++++
 src/i965_device_info.c   |  10 ++
 src/i965_drv_video.c     |  47 ++++++
 src/i965_drv_video.h     |   5 +-
 src/i965_media_h264.c    |  38 ++---
 src/i965_output_dri.c    |   6 -
 src/intel_media.h        |   1 +
 src/sysdeps.h            |   1 +
 src/va_backend_compat.h  |   5 +
 16 files changed, 457 insertions(+), 329 deletions(-)

-- 
1.9.1



More information about the Libva mailing list