OSDN Git Service

Stats/PreEnc: Add basic infrastructure for PreEnc enablement
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Fri, 1 Dec 2017 22:44:58 +0000 (14:44 -0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 10 Jan 2018 06:34:35 +0000 (14:34 +0800)
commit874a0da8c07e632168ae635507aeab24207806ed
treea186ed2c0cd1cc9ebf563cd9e6aea885d2afa3ba
parentce568d7c441febf4ae531bd3962990fb66a1bcdb
Stats/PreEnc: Add basic infrastructure for PreEnc enablement

Add necessary changes in common structures and apis
to support Stats Entrypoint.

* add support for the new entrypoint VAEntrypointStats
* added new preproc encode operation enum
* define virtual methods for preproc_set_curbe/send_surface
* add fixes in vaQueryConfigEntrypoints(), vaQueryConfigProfiles,
  vaGetConfigAttributes(), vaQuerySurfaceAttributes(),
  vaCreateContext(), vaCreateBuffer(),vaBeginPicture(),
  vaRenderPicture() and vaEndPicture()
* If PreEnc enabled, only invoke VME.

Note: Enabled the PreEnc Support only for avc encode in Skylake.

libva PR: https://github.com/01org/libva/pull/110

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
src/i965_device_info.c
src/i965_drv_video.c
src/i965_drv_video.h
src/i965_encoder.c
src/i965_encoder.h
src/i965_encoder_common.h