Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Flexible Encoding Infrastructre(FEI) support in Skylake #228

Closed
sreerenjb opened this issue Jul 19, 2017 · 0 comments
Closed

Add Flexible Encoding Infrastructre(FEI) support in Skylake #228

sreerenjb opened this issue Jul 19, 2017 · 0 comments

Comments

@sreerenjb
Copy link
Contributor

FEI(Flexible Encoding Infrastructure) is an extension to VA API which allows applications to have more control over different phases of encoding and trade off quality for speed with their own IPs.

The main highlight of FEI is the possibility to split the encoding process into two phases, first is ENC and the second is PAK.ENC is the operation which performs all motion vector calculation and prediction.PAK is doing all transformations and entropy coding. Without having FEI, the whole ENC+PAK is a black box to middleware, but with FEI user can extract the output of ENC and feed PAK with a custom enhanced motion vectors and macroblock prediction modes.

VA-API(libva):


Patches are already landed in mailing list: https://github.com/01org/libva/pull/83
For now, we only have APIs for AVC encode

intel-vaapi-driver:


Skylake is the only platform which is supporting FEI now.
Patches are on the way.

sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Jul 31, 2017
Add necessary changes in common structures and apis
to support FEI (Flexible Encoder Infrastructure).

* add support for the new entrypoing VAEntrypointFEI
* fixes in vaQueryConfigEntrypoints(), vaGetConfigAttributes(),
vaCreateContext(), vaCreateBuffer(), vaRenderPicture() and vaEndPicture()

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Jul 31, 2017
We only have the media kernel binaries at this point.

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Jul 31, 2017
Added curbe init data for I,P,B and I_DIST kernels

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Jul 31, 2017
Below is the list of contributions from Zhong Li <zhong.li@intel.com>

a) Fixed issues with P/B Macroblock encoding
b) Fixed a GPU Hang with I frame encoding and unnecessary flushing in PAK
c) Fixed the avc and fei kernel size setting error
d) Disabled all scaling operations because of no HME support

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Jul 31, 2017
Driver supports VME only(ENC), PAK only(PAK)
and VME_PAK(ENC_PAK) modes.

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Jul 31, 2017
Add the FEI entrypoint in test case scenarios

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 10, 2017
Add necessary changes in common structures and apis
to support FEI (Flexible Encoder Infrastructure).

* add support for the new entrypoing VAEntrypointFEI
* fixes in vaQueryConfigEntrypoints(), vaGetConfigAttributes(),
vaCreateContext(), vaCreateBuffer(), vaRenderPicture() and vaEndPicture()

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 10, 2017
We only have the media kernel binaries at this point.

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 10, 2017
Added curbe init data for I,P,B and I_DIST kernels

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 10, 2017
Below is the list of contributions from Zhong Li <zhong.li@intel.com>

a) Fixed issues with P/B Macroblock encoding
b) Fixed a GPU Hang with I frame encoding and unnecessary flushing in PAK
c) Fixed the avc and fei kernel size setting error
d) Disabled all scaling operations because of no HME support

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 10, 2017
Driver supports VME only(ENC), PAK only(PAK)
and VME_PAK(ENC_PAK) modes.

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 10, 2017
Add the FEI entrypoint in test case scenarios

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 17, 2017
Add necessary changes in common structures and apis
to support FEI (Flexible Encoder Infrastructure).

* add support for the new entrypoing VAEntrypointFEI
* fixes in vaQueryConfigEntrypoints(), vaGetConfigAttributes(),
vaCreateContext(), vaCreateBuffer(), vaRenderPicture() and vaEndPicture()

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 17, 2017
We only have the media kernel binaries at this point.

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 17, 2017
Added curbe init data for I,P,B and I_DIST kernels

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 17, 2017
Below is the list of contributions from Zhong Li <zhong.li@intel.com>

a) Fixed issues with P/B Macroblock encoding
b) Fixed a GPU Hang with I frame encoding and unnecessary flushing in PAK
c) Fixed the avc and fei kernel size setting error
d) Disabled all scaling operations because of no HME support

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 17, 2017
Driver supports VME only(ENC), PAK only(PAK)
and VME_PAK(ENC_PAK) modes.

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 17, 2017
Add the FEI entrypoint in test case scenarios

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 18, 2017
Add necessary changes in common structures and apis
to support FEI (Flexible Encoder Infrastructure).

* add support for the new entrypoing VAEntrypointFEI
* fixes in vaQueryConfigEntrypoints(), vaGetConfigAttributes(),
vaCreateContext(), vaCreateBuffer(), vaRenderPicture() and vaEndPicture()

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 18, 2017
We only have the media kernel binaries at this point.

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 18, 2017
Added curbe init data for I,P,B and I_DIST kernels

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 18, 2017
Below is the list of contributions from Zhong Li <zhong.li@intel.com>

a) Fixed issues with P/B Macroblock encoding
b) Fixed a GPU Hang with I frame encoding and unnecessary flushing in PAK
c) Fixed the avc and fei kernel size setting error
d) Disabled all scaling operations because of no HME support

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 18, 2017
Driver supports VME only(ENC), PAK only(PAK)
and VME_PAK(ENC_PAK) modes.

Fixes intel#228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
sreerenjb added a commit to sreerenjb/intel-vaapi-driver that referenced this issue Aug 18, 2017
Add the FEI entrypoint in test case scenarios

Fixes intel#228
xhaihao pushed a commit that referenced this issue Aug 23, 2017
Add necessary changes in common structures and apis
to support FEI (Flexible Encoder Infrastructure).

* add support for the new entrypoing VAEntrypointFEI
* fixes in vaQueryConfigEntrypoints(), vaGetConfigAttributes(),
vaCreateContext(), vaCreateBuffer(), vaRenderPicture() and vaEndPicture()

Fixes #228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
xhaihao pushed a commit that referenced this issue Aug 23, 2017
We only have the media kernel binaries at this point.

Fixes #228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
xhaihao pushed a commit that referenced this issue Aug 23, 2017
Added curbe init data for I,P,B and I_DIST kernels

Fixes #228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
xhaihao pushed a commit that referenced this issue Aug 23, 2017
Below is the list of contributions from Zhong Li <zhong.li@intel.com>

a) Fixed issues with P/B Macroblock encoding
b) Fixed a GPU Hang with I frame encoding and unnecessary flushing in PAK
c) Fixed the avc and fei kernel size setting error
d) Disabled all scaling operations because of no HME support

Fixes #228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
xhaihao pushed a commit that referenced this issue Aug 23, 2017
Driver supports VME only(ENC), PAK only(PAK)
and VME_PAK(ENC_PAK) modes.

Fixes #228

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
xhaihao pushed a commit that referenced this issue Aug 23, 2017
Add the FEI entrypoint in test case scenarios

Fixes #228
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant