gstreamer/gst/vaapi
Sreerenj Balachandran 5750bd7850 FEI: plugin: Add vaapih264feienc element
A new FEI based encoder element for h264 is added: vaapih264feienc

FEI is a an extension to VA-API which is providing low level
advanced control over different stages of encoding.
Extending vaapih264enc with fei support is possible, but it will
make the code too much complicated and will be difficult
to debug. So adding the new encoder element, but keeping
the rank as 0 , vaapih264enc will stay as the primary
encoder for normal use cases.

The vaaih264feienc is mainly useful for customers who want to play
with MotionVectors and Macroblock Predictions. Also user can
do one stage of encoding(eg: only the Motion Vector Calculation)
in software and offload trasformation/entroy-coding etc to
Hardware (which is what PAK module is doing) using FEI element.

vaapih264feienc can work in  different modes using fei-mode properoty

eg: gst-launch-1.0 videotestsrc ! vaapih264feienc fei-mode=ENC+PAK ! filesink location=sample.264

Important Note: ENC only mode won't produce any encoded data which is expected.
But ENC alwys requires the output of PAK in order to do the inter-prediction
over reconstructed frames.
Similary PAK mode alway requires MV and MBCode as input, so unless there is an
upstream element providing those buffers, PAK only won't work as expected.

In a nutshell, ENC_PAK and the ENC+PAK modes are the only options we can verify
with vaapih264feienc. But ideally, EN+PAK mode verification is enough to make sure
that ENC and PAK are working as expected since ENC+PAK mode always invoke ENC and PAK
separately in vaapih264feienc.

People contributed:
        Wang, Yi <yi.a.wang@intel.com>
        Leilei <leilei.shang@intel.com>
        Zhong, Xiaoxia <xiaoxia.zhong@intel.com>
        xiaominc <xiaomin.chen@intel.com>
        Li, Jing B <jing.b.li@intel.com>

https://bugzilla.gnome.org/show_bug.cgi?id=785712
https://bugzilla.gnome.org/show_bug.cgi?id=784667

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
2017-09-01 13:15:05 +02:00
..
gstcompat.h Remove old gst version guards 2016-01-25 12:09:40 +00:00
gstvaapi.c FEI: plugin: Add vaapih264feienc element 2017-09-01 13:15:05 +02:00
gstvaapidecode.c vaapidecode: force add h264 SVC profiles in caps 2017-08-28 17:34:50 -07:00
gstvaapidecode.h vaapidecode: update internal decoder sink caps 2017-01-18 11:30:49 +01:00
gstvaapidecode_props.c vaapidecode: set h264 base-only to decoder 2017-08-03 17:07:14 +02:00
gstvaapidecode_props.h vaapidecode_props: h264: add base-only property 2017-08-03 17:07:01 +02:00
gstvaapidecodebin.c Revert "vaapidecodebin: fix element's classification" 2017-05-04 11:49:33 +02:00
gstvaapidecodebin.h vaapidecodebin: skips configuration once it's done 2017-04-21 11:48:16 +02:00
gstvaapidecodedoc.c docs: replace vaapidecode with each codec 2016-10-27 13:04:37 +02:00
gstvaapiencode.c FEI: plugin: Add virtual methods to base encode 2017-09-01 11:36:49 +02:00
gstvaapiencode.h FEI: plugin: Add virtual methods to base encode 2017-09-01 11:36:49 +02:00
gstvaapiencode_h264.c vaapiencode: h264: remove spurious code 2017-08-08 17:38:51 +02:00
gstvaapiencode_h264.h vaapiencode: h264: verify if requested profile is supported 2017-07-03 15:33:20 +02:00
gstvaapiencode_h264_fei.c FEI: plugin: Add vaapih264feienc element 2017-09-01 13:15:05 +02:00
gstvaapiencode_h264_fei.h FEI: plugin: Add vaapih264feienc element 2017-09-01 13:15:05 +02:00
gstvaapiencode_h265.c vaapiencode: h265: compare an unsigned int if not zero 2017-08-01 18:38:40 +02:00
gstvaapiencode_h265.h HEVC_Encode: Add HEVC(h265) Encoder plugin 2015-05-25 11:58:20 +03:00
gstvaapiencode_jpeg.c vaapi: use new gst_element_class_add_static_pad_template() 2016-09-23 12:33:58 +02:00
gstvaapiencode_jpeg.h plugins: Add JPEG encoder element 2015-02-04 11:18:29 +02:00
gstvaapiencode_mpeg2.c vaapi: use new gst_element_class_add_static_pad_template() 2016-09-23 12:33:58 +02:00
gstvaapiencode_mpeg2.h legal: update copyright notice dates. 2014-01-22 19:02:35 +01:00
gstvaapiencode_vp8.c vaapi: use new gst_element_class_add_static_pad_template() 2016-09-23 12:33:58 +02:00
gstvaapiencode_vp8.h plugins: Add VP8 Encoder 2015-02-13 13:45:32 +02:00
gstvaapiencode_vp9.c Add vp9 encode element to "vaapi" plugin 2016-05-30 11:24:14 +03:00
gstvaapiencode_vp9.h Add vp9 encode element to "vaapi" plugin 2016-05-30 11:24:14 +03:00
gstvaapifeivideometa.c FEI: plugin: Add fei specific video meta 2017-09-01 11:36:49 +02:00
gstvaapifeivideometa.h FEI: plugin: Add fei specific video meta 2017-09-01 11:36:49 +02:00
gstvaapipluginbase.c plugins: check gst_gl_ensure_element_data() return value 2017-08-01 18:10:50 +02:00
gstvaapipluginbase.h plugins: include main gstgl header 2017-08-22 11:41:21 +02:00
gstvaapipluginutil.c plugins: include main gstgl header 2017-08-22 11:41:21 +02:00
gstvaapipluginutil.h vaapipluginutil: add support for DMABuf caps feature 2017-06-23 18:44:42 +02:00
gstvaapipostproc.c postproc: reconfigure when width or height changes 2017-07-18 17:17:11 +02:00
gstvaapipostproc.h vaapipostproc: make it enable/disable pass-through mode 2016-07-22 12:08:20 +02:00
gstvaapipostprocutil.c vaapipostproc: fix memory leaks 2017-08-01 17:23:48 +02:00
gstvaapipostprocutil.h vaapipostproc: move gst_vaapipostproc_fixate_srccaps() 2016-05-09 16:56:10 +02:00
gstvaapisink.c vaapisink: fix memory leak 2017-08-01 17:29:40 +02:00
gstvaapisink.h vaapisink: add support for GST_TAG_IMAGE_ORIENTATION 2016-07-05 20:17:12 +02:00
gstvaapivideobuffer.c remove the video converter from vaapi buffer meta 2016-11-24 18:32:34 +01:00
gstvaapivideobuffer.h plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
gstvaapivideobufferpool.c vaapivideobufferpool: don't shift by negative since it's undefined 2017-08-01 17:39:04 +02:00
gstvaapivideobufferpool.h vaapivideobufferpool: add GstVaapiVideoBufferPoolAcquireParams 2017-02-02 20:33:36 +01:00
gstvaapivideocontext.c videocontext: support "gst.vaapi.app.Display" context 2017-07-18 18:51:41 +02:00
gstvaapivideocontext.h videocontext: support "gst.vaapi.app.Display" context 2017-07-18 18:51:41 +02:00
gstvaapivideomemory.c vaapivideomemory: add gst_vaapi_dmabuf_can_map() 2017-06-23 18:44:42 +02:00
gstvaapivideomemory.h vaapivideomemory: add gst_vaapi_dmabuf_can_map() 2017-06-23 18:44:42 +02:00
gstvaapivideometa.c remove the video converter from vaapi buffer meta 2016-11-24 18:32:34 +01:00
gstvaapivideometa.h remove the video converter from vaapi buffer meta 2016-11-24 18:32:34 +01:00
gstvaapivideometa_texture.c plugins: fix code style for errors 2016-10-25 19:38:26 +02:00
gstvaapivideometa_texture.h plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
Makefile.am FEI: plugin: Add vaapih264feienc element 2017-09-01 13:15:05 +02:00
meson.build vaapidecode_props: add skeleton for h264 decoder properties 2017-07-07 19:32:11 +02:00