[Libva] [PATCH v2 0/8] AVC encoding quality configuration implementation update

Zhong Li zhong.li at intel.com
Thu Aug 7 21:05:35 PDT 2014


1. Refine gen7 implementation: use the same shader to implement it.
2. Add SNB/HSW/BDW platforms support.

v1->v2: follow yakui's comments to split patch of gen6_mfc.c
        follow haihao's commenst to keep coherence of qulality level definition between driver and shader.

Zhong Li (8):
  Revert "Add old version vme shaders"
  Use the same shader to configure quality level
  Revert gen6_mfc.c after using same shader
  Gen7 avc encoding: remove profile limitation
  Enabling SNB avc encoding configuration
  Enabling HSW avc encoding configuration
  Enabling BDW avc encoding configuration
  Remove gen7 only limitation for encoding configuration

 configure.ac                                 |    1 -
 src/gen6_mfc.c                               |  130 ++-------
 src/gen6_vme.c                               |   50 +++-
 src/gen75_vme.c                              |   22 +-
 src/gen7_vme.c                               |   73 +----
 src/gen8_vme.c                               |   21 +-
 src/i965_drv_video.c                         |    5 +-
 src/i965_encoder.c                           |    9 +-
 src/shaders/Makefile.am                      |    2 +-
 src/shaders/vme/inter_frame.asm              |   25 +-
 src/shaders/vme/inter_frame.g6b              |    9 +
 src/shaders/vme/inter_frame_gen8.asm         |   51 +++-
 src/shaders/vme/inter_frame_gen8.g8b         |   39 ++-
 src/shaders/vme/inter_frame_haswell.asm      |   69 +++--
 src/shaders/vme/inter_frame_haswell.g75b     |   52 ++--
 src/shaders/vme/inter_frame_ivb.asm          |   22 +-
 src/shaders/vme/inter_frame_ivb.g7b          |   16 +-
 src/shaders/vme/vme.inc                      |    5 +
 src/shaders/vme/vme7.inc                     |    8 +-
 src/shaders/vme/vme75.inc                    |    8 +-
 src/shaders/vme/vme8.inc                     |    8 +-
 src/shaders/vme_old/Makefile.am              |   70 -----
 src/shaders/vme_old/gen6_vme_header.inc      |  160 ----------
 src/shaders/vme_old/gen7_vme_header.inc      |  164 -----------
 src/shaders/vme_old/inter_frame.asm          |  104 -------
 src/shaders/vme_old/inter_frame.g6a          |    2 -
 src/shaders/vme_old/inter_frame.g6b          |   28 --
 src/shaders/vme_old/inter_frame.g7a          |    2 -
 src/shaders/vme_old/inter_frame.g7b          |   28 --
 src/shaders/vme_old/inter_frame_haswell.asm  |  405 --------------------------
 src/shaders/vme_old/inter_frame_haswell.g75a |    2 -
 src/shaders/vme_old/inter_frame_haswell.g75b |  137 ---------
 src/shaders/vme_old/intra_frame.asm          |  130 ---------
 src/shaders/vme_old/intra_frame.g6a          |    3 -
 src/shaders/vme_old/intra_frame.g6b          |   47 ---
 src/shaders/vme_old/intra_frame.g7a          |    2 -
 src/shaders/vme_old/intra_frame.g7b          |   47 ---
 src/shaders/vme_old/intra_frame_haswell.asm  |  160 ----------
 src/shaders/vme_old/intra_frame_haswell.g75a |    2 -
 src/shaders/vme_old/intra_frame_haswell.g75b |   57 ----
 src/shaders/vme_old/vme75.inc                |  268 -----------------
 41 files changed, 349 insertions(+), 2094 deletions(-)
 delete mode 100644 src/shaders/vme_old/Makefile.am
 delete mode 100644 src/shaders/vme_old/gen6_vme_header.inc
 delete mode 100644 src/shaders/vme_old/gen7_vme_header.inc
 delete mode 100644 src/shaders/vme_old/inter_frame.asm
 delete mode 100644 src/shaders/vme_old/inter_frame.g6a
 delete mode 100644 src/shaders/vme_old/inter_frame.g6b
 delete mode 100644 src/shaders/vme_old/inter_frame.g7a
 delete mode 100644 src/shaders/vme_old/inter_frame.g7b
 delete mode 100644 src/shaders/vme_old/inter_frame_haswell.asm
 delete mode 100644 src/shaders/vme_old/inter_frame_haswell.g75a
 delete mode 100644 src/shaders/vme_old/inter_frame_haswell.g75b
 delete mode 100644 src/shaders/vme_old/intra_frame.asm
 delete mode 100644 src/shaders/vme_old/intra_frame.g6a
 delete mode 100644 src/shaders/vme_old/intra_frame.g6b
 delete mode 100644 src/shaders/vme_old/intra_frame.g7a
 delete mode 100644 src/shaders/vme_old/intra_frame.g7b
 delete mode 100644 src/shaders/vme_old/intra_frame_haswell.asm
 delete mode 100644 src/shaders/vme_old/intra_frame_haswell.g75a
 delete mode 100644 src/shaders/vme_old/intra_frame_haswell.g75b
 delete mode 100644 src/shaders/vme_old/vme75.inc

-- 
1.7.9.5



More information about the Libva mailing list