2015-12-09 18:52:33 +00:00
|
|
|
noinst_LTLIBRARIES = libgstvaapi.la
|
2010-03-16 09:39:07 +00:00
|
|
|
|
2012-08-01 13:44:02 +00:00
|
|
|
if USE_DRM
|
2015-12-09 18:52:33 +00:00
|
|
|
noinst_LTLIBRARIES += libgstvaapi-drm.la
|
2012-08-01 13:44:02 +00:00
|
|
|
endif
|
|
|
|
|
2012-07-31 15:58:43 +00:00
|
|
|
if USE_X11
|
2015-12-09 18:52:33 +00:00
|
|
|
noinst_LTLIBRARIES += libgstvaapi-x11.la
|
2012-07-19 08:27:23 +00:00
|
|
|
endif
|
|
|
|
|
2010-03-25 17:28:49 +00:00
|
|
|
if USE_GLX
|
2015-12-09 18:52:33 +00:00
|
|
|
noinst_LTLIBRARIES += libgstvaapi-glx.la
|
2010-03-25 17:28:49 +00:00
|
|
|
endif
|
|
|
|
|
2015-02-20 14:27:53 +00:00
|
|
|
if USE_EGL
|
2015-12-09 18:52:33 +00:00
|
|
|
noinst_LTLIBRARIES += libgstvaapi-egl.la
|
2015-02-20 14:27:53 +00:00
|
|
|
endif
|
|
|
|
|
2012-07-31 15:58:43 +00:00
|
|
|
if USE_WAYLAND
|
2015-12-09 18:52:33 +00:00
|
|
|
noinst_LTLIBRARIES += libgstvaapi-wayland.la
|
2012-07-31 15:58:43 +00:00
|
|
|
endif
|
|
|
|
|
2011-08-12 08:21:19 +00:00
|
|
|
libgstvaapi_cflags = \
|
2014-01-23 09:20:40 +00:00
|
|
|
-DIN_LIBGSTVAAPI_CORE \
|
2011-08-12 08:21:19 +00:00
|
|
|
-DGST_USE_UNSTABLE_API \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
2012-10-11 11:23:02 +00:00
|
|
|
-I$(top_builddir)/gst-libs \
|
2011-08-12 08:21:19 +00:00
|
|
|
$(GST_BASE_CFLAGS) \
|
|
|
|
$(GST_BASEVIDEO_CFLAGS) \
|
|
|
|
$(GST_VIDEO_CFLAGS) \
|
|
|
|
$(GST_CFLAGS) \
|
2012-07-19 15:16:28 +00:00
|
|
|
$(GST_CODEC_PARSERS_CFLAGS) \
|
2011-08-12 08:21:19 +00:00
|
|
|
$(LIBVA_CFLAGS) \
|
2010-04-23 16:05:58 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2011-08-12 08:21:19 +00:00
|
|
|
libgstvaapi_libs = \
|
|
|
|
$(GST_BASE_LIBS) \
|
|
|
|
$(GST_BASEVIDEO_LIBS) \
|
|
|
|
$(GST_LIBS) \
|
2012-06-25 15:25:44 +00:00
|
|
|
$(GST_VIDEO_LIBS) \
|
2012-07-19 15:16:28 +00:00
|
|
|
$(GST_CODEC_PARSERS_LIBS) \
|
2011-08-12 08:21:19 +00:00
|
|
|
$(LIBVA_LIBS) \
|
2013-07-29 07:41:23 +00:00
|
|
|
$(top_builddir)/gst-libs/gst/base/libgstvaapi-baseutils.la \
|
2015-12-09 12:24:30 +00:00
|
|
|
$(NULL)
|
2010-04-23 16:05:58 +00:00
|
|
|
|
2010-03-04 17:39:01 +00:00
|
|
|
libgstvaapi_source_c = \
|
2014-09-15 08:58:51 +00:00
|
|
|
gstvaapibufferproxy.c \
|
2012-07-19 15:16:28 +00:00
|
|
|
gstvaapicodec_objects.c \
|
2010-04-23 16:05:58 +00:00
|
|
|
gstvaapicontext.c \
|
2014-01-23 09:59:20 +00:00
|
|
|
gstvaapicontext_overlay.c \
|
2010-04-23 16:05:58 +00:00
|
|
|
gstvaapidecoder.c \
|
2012-07-19 15:16:28 +00:00
|
|
|
gstvaapidecoder_dpb.c \
|
|
|
|
gstvaapidecoder_h264.c \
|
|
|
|
gstvaapidecoder_mpeg2.c \
|
|
|
|
gstvaapidecoder_mpeg4.c \
|
|
|
|
gstvaapidecoder_objects.c \
|
2012-12-06 08:44:01 +00:00
|
|
|
gstvaapidecoder_unit.c \
|
2012-07-19 15:16:28 +00:00
|
|
|
gstvaapidecoder_vc1.c \
|
2010-01-25 16:15:01 +00:00
|
|
|
gstvaapidisplay.c \
|
2013-07-23 13:52:45 +00:00
|
|
|
gstvaapifilter.c \
|
2010-03-04 17:39:01 +00:00
|
|
|
gstvaapiimage.c \
|
2010-03-12 23:47:47 +00:00
|
|
|
gstvaapiimagepool.c \
|
2012-11-30 16:25:07 +00:00
|
|
|
gstvaapiminiobject.c \
|
2010-03-23 16:21:28 +00:00
|
|
|
gstvaapiobject.c \
|
2013-04-16 11:23:41 +00:00
|
|
|
gstvaapiparser_frame.c \
|
2013-07-22 08:00:21 +00:00
|
|
|
gstvaapipixmap.c \
|
2010-04-20 13:36:04 +00:00
|
|
|
gstvaapiprofile.c \
|
2010-03-04 17:39:01 +00:00
|
|
|
gstvaapisubpicture.c \
|
|
|
|
gstvaapisurface.c \
|
2014-09-15 09:48:05 +00:00
|
|
|
gstvaapisurface_drm.c \
|
2010-03-12 17:45:18 +00:00
|
|
|
gstvaapisurfacepool.c \
|
2010-04-23 16:05:58 +00:00
|
|
|
gstvaapisurfaceproxy.c \
|
2014-10-23 15:44:23 +00:00
|
|
|
gstvaapitexture.c \
|
2016-09-22 07:33:06 +00:00
|
|
|
gstvaapitexturemap.c \
|
2010-03-16 09:15:48 +00:00
|
|
|
gstvaapiutils.c \
|
2014-01-23 17:41:24 +00:00
|
|
|
gstvaapiutils_core.c \
|
2013-12-06 16:21:52 +00:00
|
|
|
gstvaapiutils_h264.c \
|
2016-01-27 16:47:32 +00:00
|
|
|
gstvaapiutils_h265.c \
|
2017-03-17 07:49:41 +00:00
|
|
|
gstvaapiutils_h26x.c \
|
2014-01-13 15:20:06 +00:00
|
|
|
gstvaapiutils_mpeg2.c \
|
2010-03-24 13:37:38 +00:00
|
|
|
gstvaapivalue.c \
|
2010-03-12 23:47:47 +00:00
|
|
|
gstvaapivideopool.c \
|
2010-03-15 15:12:27 +00:00
|
|
|
gstvaapiwindow.c \
|
2013-07-09 13:29:59 +00:00
|
|
|
video-format.c \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2010-03-04 17:39:01 +00:00
|
|
|
libgstvaapi_source_h = \
|
2014-09-15 08:58:51 +00:00
|
|
|
gstvaapibufferproxy.h \
|
2010-04-23 16:05:58 +00:00
|
|
|
gstvaapidecoder.h \
|
2012-07-19 15:16:28 +00:00
|
|
|
gstvaapidecoder_h264.h \
|
2015-04-13 12:41:45 +00:00
|
|
|
gstvaapidecoder_h265.h \
|
2012-07-19 15:16:28 +00:00
|
|
|
gstvaapidecoder_mpeg2.h \
|
|
|
|
gstvaapidecoder_mpeg4.h \
|
|
|
|
gstvaapidecoder_vc1.h \
|
2010-01-25 16:15:01 +00:00
|
|
|
gstvaapidisplay.h \
|
2013-07-26 11:57:35 +00:00
|
|
|
gstvaapifilter.h \
|
2010-03-04 17:39:01 +00:00
|
|
|
gstvaapiimage.h \
|
2010-03-12 23:47:47 +00:00
|
|
|
gstvaapiimagepool.h \
|
2010-03-23 16:21:28 +00:00
|
|
|
gstvaapiobject.h \
|
2013-07-22 08:00:21 +00:00
|
|
|
gstvaapipixmap.h \
|
2010-04-20 13:36:04 +00:00
|
|
|
gstvaapiprofile.h \
|
2010-03-04 17:39:01 +00:00
|
|
|
gstvaapisubpicture.h \
|
|
|
|
gstvaapisurface.h \
|
2014-09-15 09:48:05 +00:00
|
|
|
gstvaapisurface_drm.h \
|
2010-03-12 17:45:18 +00:00
|
|
|
gstvaapisurfacepool.h \
|
2010-04-23 16:05:58 +00:00
|
|
|
gstvaapisurfaceproxy.h \
|
2014-10-23 15:44:23 +00:00
|
|
|
gstvaapitexture.h \
|
2016-09-22 07:33:06 +00:00
|
|
|
gstvaapitexturemap.h \
|
2010-03-22 12:16:47 +00:00
|
|
|
gstvaapitypes.h \
|
2014-01-10 17:27:20 +00:00
|
|
|
gstvaapiutils_h264.h \
|
2016-01-27 16:47:32 +00:00
|
|
|
gstvaapiutils_h265.h \
|
2014-01-13 15:20:06 +00:00
|
|
|
gstvaapiutils_mpeg2.h \
|
2010-03-24 13:37:38 +00:00
|
|
|
gstvaapivalue.h \
|
2010-03-12 23:47:47 +00:00
|
|
|
gstvaapivideopool.h \
|
2010-03-15 15:12:27 +00:00
|
|
|
gstvaapiwindow.h \
|
2013-07-09 13:29:59 +00:00
|
|
|
video-format.h \
|
2010-01-12 15:51:39 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2010-03-16 09:21:15 +00:00
|
|
|
libgstvaapi_source_priv_h = \
|
2014-09-15 08:58:51 +00:00
|
|
|
gstvaapibufferproxy_priv.h \
|
2012-07-19 15:16:28 +00:00
|
|
|
gstvaapicodec_objects.h \
|
2010-03-24 16:27:36 +00:00
|
|
|
gstvaapicompat.h \
|
2013-07-26 11:57:35 +00:00
|
|
|
gstvaapicontext.h \
|
2014-01-23 09:59:20 +00:00
|
|
|
gstvaapicontext_overlay.h \
|
2010-03-16 09:21:15 +00:00
|
|
|
gstvaapidebug.h \
|
2012-07-19 15:16:28 +00:00
|
|
|
gstvaapidecoder_dpb.h \
|
|
|
|
gstvaapidecoder_objects.h \
|
2010-04-23 16:05:58 +00:00
|
|
|
gstvaapidecoder_priv.h \
|
2012-12-06 08:44:01 +00:00
|
|
|
gstvaapidecoder_unit.h \
|
2010-04-01 09:47:59 +00:00
|
|
|
gstvaapidisplay_priv.h \
|
2013-07-26 10:57:19 +00:00
|
|
|
gstvaapiimage_priv.h \
|
2012-11-30 16:25:07 +00:00
|
|
|
gstvaapiminiobject.h \
|
2010-03-24 08:32:12 +00:00
|
|
|
gstvaapiobject_priv.h \
|
2013-04-16 11:23:41 +00:00
|
|
|
gstvaapiparser_frame.h \
|
2013-07-22 08:00:21 +00:00
|
|
|
gstvaapipixmap_priv.h \
|
2011-12-13 15:53:15 +00:00
|
|
|
gstvaapisurface_priv.h \
|
2013-04-16 16:35:48 +00:00
|
|
|
gstvaapisurfaceproxy_priv.h \
|
2014-10-23 15:44:23 +00:00
|
|
|
gstvaapitexture_priv.h \
|
2010-03-16 09:21:15 +00:00
|
|
|
gstvaapiutils.h \
|
2014-01-23 17:41:24 +00:00
|
|
|
gstvaapiutils_core.h \
|
2014-01-10 17:27:20 +00:00
|
|
|
gstvaapiutils_h264_priv.h \
|
2016-01-27 16:47:32 +00:00
|
|
|
gstvaapiutils_h265_priv.h \
|
2017-03-17 07:49:41 +00:00
|
|
|
gstvaapiutils_h26x_priv.h \
|
2014-01-13 15:20:06 +00:00
|
|
|
gstvaapiutils_mpeg2_priv.h \
|
2013-05-03 09:01:12 +00:00
|
|
|
gstvaapivideopool_priv.h \
|
2013-04-30 15:20:14 +00:00
|
|
|
gstvaapiwindow_priv.h \
|
2012-01-24 09:06:37 +00:00
|
|
|
gstvaapiworkarounds.h \
|
2012-01-30 17:12:59 +00:00
|
|
|
sysdeps.h \
|
2010-03-16 09:21:15 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-04-10 13:31:41 +00:00
|
|
|
libgstvaapi_jpegdec_source_c = gstvaapidecoder_jpeg.c
|
|
|
|
libgstvaapi_jpegdec_source_h = gstvaapidecoder_jpeg.h
|
2012-07-31 15:58:43 +00:00
|
|
|
if USE_JPEG_DECODER
|
2013-04-10 13:31:41 +00:00
|
|
|
libgstvaapi_source_c += $(libgstvaapi_jpegdec_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_jpegdec_source_h)
|
2012-07-31 15:58:43 +00:00
|
|
|
endif
|
|
|
|
|
2014-04-29 10:22:47 +00:00
|
|
|
libgstvaapi_vp8dec_source_c = gstvaapidecoder_vp8.c
|
|
|
|
libgstvaapi_vp8dec_source_h = gstvaapidecoder_vp8.h
|
|
|
|
if USE_VP8_DECODER
|
|
|
|
libgstvaapi_source_c += $(libgstvaapi_vp8dec_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_vp8dec_source_h)
|
|
|
|
endif
|
|
|
|
|
2016-01-27 16:47:32 +00:00
|
|
|
libgstvaapi_hevcdec_source_c = gstvaapidecoder_h265.c
|
|
|
|
libgstvaapi_hevcdec_source_h = gstvaapidecoder_h265.h
|
2017-02-14 00:39:41 +00:00
|
|
|
if USE_H265_DECODER
|
2015-04-14 08:08:47 +00:00
|
|
|
libgstvaapi_source_c += $(libgstvaapi_hevcdec_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_hevcdec_source_h)
|
|
|
|
endif
|
|
|
|
|
2015-11-06 13:12:51 +00:00
|
|
|
libgstvaapi_vp9dec_source_c = gstvaapidecoder_vp9.c
|
|
|
|
libgstvaapi_vp9dec_source_h = gstvaapidecoder_vp9.h
|
|
|
|
if USE_VP9_DECODER
|
|
|
|
libgstvaapi_source_c += $(libgstvaapi_vp9dec_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_vp9dec_source_h)
|
|
|
|
endif
|
|
|
|
|
2013-07-29 05:34:06 +00:00
|
|
|
libgstvaapi_enc_source_c = \
|
2013-12-03 15:11:46 +00:00
|
|
|
gstvaapicodedbuffer.c \
|
|
|
|
gstvaapicodedbufferpool.c \
|
|
|
|
gstvaapicodedbufferproxy.c \
|
2013-07-29 05:34:06 +00:00
|
|
|
gstvaapiencoder.c \
|
2013-07-29 07:46:11 +00:00
|
|
|
gstvaapiencoder_h264.c \
|
2013-11-20 08:20:15 +00:00
|
|
|
gstvaapiencoder_mpeg2.c \
|
2013-07-29 05:34:06 +00:00
|
|
|
gstvaapiencoder_objects.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_enc_source_h = \
|
2013-12-03 15:11:46 +00:00
|
|
|
gstvaapicodedbuffer.h \
|
|
|
|
gstvaapicodedbufferpool.h \
|
|
|
|
gstvaapicodedbufferproxy.h \
|
2013-07-29 05:34:06 +00:00
|
|
|
gstvaapiencoder.h \
|
2013-07-29 07:46:11 +00:00
|
|
|
gstvaapiencoder_h264.h \
|
2013-11-20 08:20:15 +00:00
|
|
|
gstvaapiencoder_mpeg2.h \
|
2013-07-29 05:34:06 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_enc_source_priv_h = \
|
2013-12-03 15:11:46 +00:00
|
|
|
gstvaapicodedbuffer_priv.h \
|
2013-12-03 11:05:17 +00:00
|
|
|
gstvaapicodedbufferproxy_priv.h \
|
|
|
|
gstvaapiencoder_mpeg2_priv.h \
|
2013-07-29 05:34:06 +00:00
|
|
|
gstvaapiencoder_objects.h \
|
|
|
|
gstvaapiencoder_priv.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
if USE_ENCODERS
|
|
|
|
libgstvaapi_source_c += $(libgstvaapi_enc_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_enc_source_h)
|
|
|
|
libgstvaapi_source_priv_h += $(libgstvaapi_enc_source_priv_h)
|
|
|
|
endif
|
|
|
|
|
2015-02-04 09:16:05 +00:00
|
|
|
libgstvaapi_jpegenc_source_c = gstvaapiencoder_jpeg.c
|
|
|
|
libgstvaapi_jpegenc_source_h = gstvaapiencoder_jpeg.h
|
|
|
|
if USE_JPEG_ENCODER
|
|
|
|
libgstvaapi_source_c += $(libgstvaapi_jpegenc_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_jpegenc_source_h)
|
|
|
|
endif
|
|
|
|
|
2015-02-13 11:42:04 +00:00
|
|
|
libgstvaapi_vp8enc_source_c = gstvaapiencoder_vp8.c
|
|
|
|
libgstvaapi_vp8enc_source_h = gstvaapiencoder_vp8.h
|
|
|
|
if USE_VP8_ENCODER
|
|
|
|
libgstvaapi_source_c += $(libgstvaapi_vp8enc_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_vp8enc_source_h)
|
|
|
|
endif
|
|
|
|
|
2015-05-25 08:38:34 +00:00
|
|
|
libgstvaapi_h265enc_source_c = gstvaapiencoder_h265.c
|
|
|
|
libgstvaapi_h265enc_source_h = gstvaapiencoder_h265.h
|
|
|
|
if USE_H265_ENCODER
|
|
|
|
libgstvaapi_source_c += $(libgstvaapi_h265enc_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_h265enc_source_h)
|
|
|
|
endif
|
|
|
|
|
2016-05-30 08:23:12 +00:00
|
|
|
libgstvaapi_vp9enc_source_c = gstvaapiencoder_vp9.c
|
|
|
|
libgstvaapi_vp9enc_source_h = gstvaapiencoder_vp9.h
|
|
|
|
if USE_VP9_ENCODER
|
|
|
|
libgstvaapi_source_c += $(libgstvaapi_vp9enc_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_vp9enc_source_h)
|
|
|
|
endif
|
|
|
|
|
2017-08-09 21:22:12 +00:00
|
|
|
libgstvaapi_h264feienc_source_c = \
|
|
|
|
gstvaapifeiutils_h264.c \
|
2017-08-09 22:35:10 +00:00
|
|
|
gstvaapifei_objects.c \
|
FEI: libs: Add FEI encoder
Adding FEI encoder to core lib.
The code is splitted into three session:
1: gstvaapiencoder_h264_fei.{h,c}
This is the replica of gstvaapiencoder_h264.{c,h} but with FEI.
All the modes ENC, PAK and ENC_PAK are running based
the code in these files.
2: gstvaapifeienc_h264.{h,c}
Abstract implementation intended for ENC (only VME) operation.
3: gstvaapifeipak_h264.{h,c}
Abstrct implementation intended for PAK (only the PAK module)
Right now ENC_PAK, ENC and PAK are running based on code
in gstvaapiencoder_h264_fei.{h,c}. The abstract implementations
in gstvaapifeienc_h264.{h,c} and gstvaapifeipak_h264.{h,c} are
needed if user request for ENC+PAK mode operation.
ENC+PAK: Here we need to invoke two sequence of
vaBeginPicture/vaRenderPicutre/vaEndPicture for each frame,
first for the ENC only and the second for PAK only.
Each mode associated with separate context ,but same pool of surfaces are
shared between the modes.
This is more useful once we have custom BRC algorithms.
Other Contributors:
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
2017-08-10 01:19:06 +00:00
|
|
|
gstvaapifeienc_h264.c \
|
|
|
|
gstvaapifeipak_h264.c \
|
|
|
|
gstvaapiencoder_h264_fei.c \
|
2017-08-09 21:22:12 +00:00
|
|
|
$(NULL)
|
|
|
|
libgstvaapi_h264feienc_source_h = \
|
|
|
|
gstvaapifeiutils_h264.h \
|
2017-08-09 22:35:10 +00:00
|
|
|
gstvaapifei_objects.h \
|
FEI: libs: Add FEI encoder
Adding FEI encoder to core lib.
The code is splitted into three session:
1: gstvaapiencoder_h264_fei.{h,c}
This is the replica of gstvaapiencoder_h264.{c,h} but with FEI.
All the modes ENC, PAK and ENC_PAK are running based
the code in these files.
2: gstvaapifeienc_h264.{h,c}
Abstract implementation intended for ENC (only VME) operation.
3: gstvaapifeipak_h264.{h,c}
Abstrct implementation intended for PAK (only the PAK module)
Right now ENC_PAK, ENC and PAK are running based on code
in gstvaapiencoder_h264_fei.{h,c}. The abstract implementations
in gstvaapifeienc_h264.{h,c} and gstvaapifeipak_h264.{h,c} are
needed if user request for ENC+PAK mode operation.
ENC+PAK: Here we need to invoke two sequence of
vaBeginPicture/vaRenderPicutre/vaEndPicture for each frame,
first for the ENC only and the second for PAK only.
Each mode associated with separate context ,but same pool of surfaces are
shared between the modes.
This is more useful once we have custom BRC algorithms.
Other Contributors:
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
2017-08-10 01:19:06 +00:00
|
|
|
gstvaapifeienc_h264.h \
|
|
|
|
gstvaapifeipak_h264.h \
|
|
|
|
gstvaapiencoder_h264_fei.h \
|
2017-08-09 21:22:12 +00:00
|
|
|
$(NULL)
|
2017-08-09 22:35:10 +00:00
|
|
|
libgstvaapi_h264feienc_source_priv_h = \
|
FEI: libs: Add FEI encoder
Adding FEI encoder to core lib.
The code is splitted into three session:
1: gstvaapiencoder_h264_fei.{h,c}
This is the replica of gstvaapiencoder_h264.{c,h} but with FEI.
All the modes ENC, PAK and ENC_PAK are running based
the code in these files.
2: gstvaapifeienc_h264.{h,c}
Abstract implementation intended for ENC (only VME) operation.
3: gstvaapifeipak_h264.{h,c}
Abstrct implementation intended for PAK (only the PAK module)
Right now ENC_PAK, ENC and PAK are running based on code
in gstvaapiencoder_h264_fei.{h,c}. The abstract implementations
in gstvaapifeienc_h264.{h,c} and gstvaapifeipak_h264.{h,c} are
needed if user request for ENC+PAK mode operation.
ENC+PAK: Here we need to invoke two sequence of
vaBeginPicture/vaRenderPicutre/vaEndPicture for each frame,
first for the ENC only and the second for PAK only.
Each mode associated with separate context ,but same pool of surfaces are
shared between the modes.
This is more useful once we have custom BRC algorithms.
Other Contributors:
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
2017-08-10 01:19:06 +00:00
|
|
|
gstvaapifei_objects_priv.h \
|
|
|
|
$(NULL)
|
2017-08-09 21:22:12 +00:00
|
|
|
if USE_H264_FEI_ENCODER
|
|
|
|
libgstvaapi_source_c += $(libgstvaapi_h264feienc_source_c)
|
|
|
|
libgstvaapi_source_h += $(libgstvaapi_h264feienc_source_h)
|
2017-08-09 22:35:10 +00:00
|
|
|
libgstvaapi_source_priv_h += $(libgstvaapi_h264feienc_source_priv_h)
|
2017-08-09 21:22:12 +00:00
|
|
|
endif
|
|
|
|
|
2012-08-01 13:44:02 +00:00
|
|
|
libgstvaapi_drm_source_c = \
|
|
|
|
gstvaapidisplay_drm.c \
|
|
|
|
gstvaapiwindow_drm.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_drm_source_h = \
|
|
|
|
gstvaapidisplay_drm.h \
|
|
|
|
gstvaapiwindow_drm.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_drm_source_priv_h = \
|
|
|
|
gstvaapicompat.h \
|
|
|
|
gstvaapidisplay_drm_priv.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-03-16 09:39:07 +00:00
|
|
|
libgstvaapi_x11_source_c = \
|
|
|
|
gstvaapidisplay_x11.c \
|
2013-07-19 13:05:34 +00:00
|
|
|
gstvaapipixmap_x11.c \
|
2010-03-16 09:39:07 +00:00
|
|
|
gstvaapiutils_x11.c \
|
|
|
|
gstvaapiwindow_x11.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_x11_source_h = \
|
|
|
|
gstvaapidisplay_x11.h \
|
2013-07-19 13:05:34 +00:00
|
|
|
gstvaapipixmap_x11.h \
|
2010-03-16 09:39:07 +00:00
|
|
|
gstvaapiwindow_x11.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_x11_source_priv_h = \
|
2010-03-26 11:39:20 +00:00
|
|
|
gstvaapicompat.h \
|
2010-04-01 13:41:24 +00:00
|
|
|
gstvaapidisplay_x11_priv.h \
|
2010-03-16 09:39:07 +00:00
|
|
|
gstvaapiutils_x11.h \
|
2013-04-30 15:20:14 +00:00
|
|
|
gstvaapiwindow_x11_priv.h \
|
2010-03-16 09:39:07 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2010-03-25 17:28:49 +00:00
|
|
|
libgstvaapi_glx_source_c = \
|
|
|
|
gstvaapidisplay_glx.c \
|
2014-10-23 15:44:23 +00:00
|
|
|
gstvaapitexture_glx.c \
|
2010-03-25 17:28:49 +00:00
|
|
|
gstvaapiutils_glx.c \
|
|
|
|
gstvaapiwindow_glx.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_glx_source_h = \
|
|
|
|
gstvaapidisplay_glx.h \
|
2010-03-26 16:52:07 +00:00
|
|
|
gstvaapitexture.h \
|
2015-01-28 16:25:09 +00:00
|
|
|
gstvaapitexture_glx.h \
|
2010-03-25 17:28:49 +00:00
|
|
|
gstvaapiwindow_glx.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_glx_source_priv_h = \
|
2010-03-26 11:39:20 +00:00
|
|
|
gstvaapicompat.h \
|
2010-04-01 13:41:24 +00:00
|
|
|
gstvaapidisplay_glx_priv.h \
|
2010-03-25 17:28:49 +00:00
|
|
|
gstvaapiutils.h \
|
|
|
|
gstvaapiutils_glx.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2015-02-20 14:27:53 +00:00
|
|
|
libgstvaapi_egl_source_c = \
|
|
|
|
gstvaapidisplay_egl.c \
|
2014-12-09 17:14:56 +00:00
|
|
|
gstvaapisurface_egl.c \
|
2015-01-24 07:29:57 +00:00
|
|
|
gstvaapitexture_egl.c \
|
2015-02-20 14:27:53 +00:00
|
|
|
gstvaapiutils_egl.c \
|
2015-01-27 15:21:04 +00:00
|
|
|
gstvaapiwindow_egl.c \
|
2015-02-20 14:27:53 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_egl_source_h = \
|
|
|
|
gstvaapidisplay_egl.h \
|
2014-12-09 17:14:56 +00:00
|
|
|
gstvaapisurface_egl.h \
|
2015-01-24 07:29:57 +00:00
|
|
|
gstvaapitexture_egl.h \
|
2015-01-27 15:21:04 +00:00
|
|
|
gstvaapiwindow_egl.h \
|
2015-02-20 14:27:53 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_egl_source_priv_h = \
|
|
|
|
egl_compat.h \
|
|
|
|
egl_vtable.h \
|
|
|
|
gstvaapidisplay_egl_priv.h \
|
|
|
|
gstvaapiutils_egl.h \
|
|
|
|
ogl_compat.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-07-31 15:58:43 +00:00
|
|
|
libgstvaapi_wayland_source_c = \
|
|
|
|
gstvaapidisplay_wayland.c \
|
|
|
|
gstvaapiwindow_wayland.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_wayland_source_h = \
|
|
|
|
gstvaapidisplay_wayland.h \
|
|
|
|
gstvaapiwindow_wayland.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgstvaapi_wayland_source_priv_h = \
|
|
|
|
gstvaapicompat.h \
|
|
|
|
gstvaapidisplay_wayland_priv.h \
|
|
|
|
$(NULL)
|
2011-08-12 08:21:19 +00:00
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_la_SOURCES = \
|
2010-03-04 17:39:01 +00:00
|
|
|
$(libgstvaapi_source_c) \
|
2010-03-16 09:21:15 +00:00
|
|
|
$(libgstvaapi_source_priv_h) \
|
2010-03-04 17:39:01 +00:00
|
|
|
$(libgstvaapi_source_h) \
|
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_la_CFLAGS = \
|
2011-08-12 08:21:19 +00:00
|
|
|
$(libgstvaapi_cflags) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_la_LIBADD = \
|
2011-08-12 08:21:19 +00:00
|
|
|
$(libgstvaapi_libs) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_la_LDFLAGS = \
|
2010-05-04 15:03:47 +00:00
|
|
|
$(GST_ALL_LDFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_drm_la_SOURCES = \
|
2012-08-01 13:44:02 +00:00
|
|
|
$(libgstvaapi_drm_source_c) \
|
|
|
|
$(libgstvaapi_drm_source_priv_h) \
|
|
|
|
$(libgstvaapi_drm_source_h) \
|
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_drm_la_CFLAGS = \
|
2012-08-01 13:44:02 +00:00
|
|
|
-DGST_USE_UNSTABLE_API \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
$(GLIB_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
2013-11-26 12:06:07 +00:00
|
|
|
$(GST_VIDEO_CFLAGS) \
|
2012-08-01 13:44:02 +00:00
|
|
|
$(UDEV_CFLAGS) \
|
|
|
|
$(DRM_CFLAGS) \
|
|
|
|
$(LIBVA_DRM_CFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_drm_la_LIBADD = \
|
2012-08-01 13:44:02 +00:00
|
|
|
$(GLIB_LIBS) \
|
2014-08-01 04:32:32 +00:00
|
|
|
$(GST_LIBS) \
|
2012-08-01 13:44:02 +00:00
|
|
|
$(UDEV_LIBS) \
|
|
|
|
$(DRM_LIBS) \
|
|
|
|
$(LIBVA_DRM_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_drm_la_LDFLAGS = \
|
2012-08-01 13:44:02 +00:00
|
|
|
$(GST_ALL_LDFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_x11_la_SOURCES = \
|
2010-03-16 09:39:07 +00:00
|
|
|
$(libgstvaapi_x11_source_c) \
|
|
|
|
$(libgstvaapi_x11_source_priv_h) \
|
|
|
|
$(libgstvaapi_x11_source_h) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_x11_la_CFLAGS = \
|
2011-11-04 21:16:23 +00:00
|
|
|
-DGST_USE_UNSTABLE_API \
|
2010-03-16 09:39:07 +00:00
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
$(GLIB_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
2013-11-26 12:06:07 +00:00
|
|
|
$(GST_VIDEO_CFLAGS) \
|
2010-03-26 08:00:32 +00:00
|
|
|
$(X11_CFLAGS) \
|
2012-09-06 09:50:21 +00:00
|
|
|
$(XRANDR_CFLAGS) \
|
2013-07-22 07:00:38 +00:00
|
|
|
$(XRENDER_CFLAGS) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(LIBVA_X11_CFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_x11_la_LIBADD = \
|
2010-03-16 09:39:07 +00:00
|
|
|
$(GLIB_LIBS) \
|
2014-08-01 04:32:32 +00:00
|
|
|
$(GST_LIBS) \
|
2010-03-26 08:00:32 +00:00
|
|
|
$(X11_LIBS) \
|
2012-09-06 09:50:21 +00:00
|
|
|
$(XRANDR_LIBS) \
|
2013-07-22 07:00:38 +00:00
|
|
|
$(XRENDER_LIBS) \
|
2010-01-25 16:15:01 +00:00
|
|
|
$(LIBVA_X11_LIBS) \
|
2010-01-12 15:51:39 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_x11_la_LDFLAGS = \
|
2010-05-04 15:03:47 +00:00
|
|
|
$(GST_ALL_LDFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_glx_la_SOURCES = \
|
2012-07-31 15:58:43 +00:00
|
|
|
$(libgstvaapi_glx_source_c) \
|
|
|
|
$(libgstvaapi_glx_source_priv_h) \
|
|
|
|
$(libgstvaapi_glx_source_h) \
|
2012-07-19 08:27:23 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_glx_la_CFLAGS = \
|
2012-07-19 08:27:23 +00:00
|
|
|
-DGST_USE_UNSTABLE_API \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
$(GLIB_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
2012-11-15 14:00:43 +00:00
|
|
|
$(GST_VIDEO_CFLAGS) \
|
2012-07-31 15:58:43 +00:00
|
|
|
$(GL_CFLAGS) \
|
2014-10-23 11:11:54 +00:00
|
|
|
$(LIBVA_X11_CFLAGS) \
|
2012-07-19 08:27:23 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_glx_la_LIBADD = \
|
2012-07-19 08:27:23 +00:00
|
|
|
$(GLIB_LIBS) \
|
2014-08-01 04:32:32 +00:00
|
|
|
$(GST_LIBS) \
|
2012-11-15 14:00:43 +00:00
|
|
|
$(GST_BASE_LIBS) \
|
|
|
|
$(GST_VIDEO_LIBS) \
|
2014-08-01 04:32:32 +00:00
|
|
|
$(X11_LIBS) \
|
2012-07-31 15:58:43 +00:00
|
|
|
$(GL_LIBS) \
|
2014-10-23 11:11:54 +00:00
|
|
|
$(LIBVA_X11_LIBS) \
|
2013-04-15 08:52:51 +00:00
|
|
|
$(DLOPEN_LIBS) \
|
2012-07-19 08:27:23 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_glx_la_LDFLAGS = \
|
2012-07-19 08:27:23 +00:00
|
|
|
$(GST_ALL_LDFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_egl_la_SOURCES = \
|
2015-02-20 14:27:53 +00:00
|
|
|
$(libgstvaapi_egl_source_c) \
|
|
|
|
$(libgstvaapi_egl_source_priv_h) \
|
|
|
|
$(libgstvaapi_egl_source_h) \
|
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_egl_la_CFLAGS = \
|
2015-02-20 14:27:53 +00:00
|
|
|
-DGST_USE_UNSTABLE_API \
|
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
$(GLIB_CFLAGS) \
|
2015-11-27 10:29:11 +00:00
|
|
|
$(GMODULE_CFLAGS) \
|
2015-02-20 14:27:53 +00:00
|
|
|
$(GST_BASE_CFLAGS) \
|
|
|
|
$(GST_VIDEO_CFLAGS) \
|
2015-07-07 10:32:18 +00:00
|
|
|
$(LIBVA_CFLAGS) \
|
2016-11-24 20:17:54 +00:00
|
|
|
$(LIBVA_WAYLAND_CFLAGS) \
|
2015-02-20 14:27:53 +00:00
|
|
|
$(EGL_CFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_egl_la_LIBADD = \
|
2015-02-20 14:27:53 +00:00
|
|
|
$(GLIB_LIBS) \
|
2015-11-27 10:29:11 +00:00
|
|
|
$(GMODULE_LIBS) \
|
2015-02-20 14:27:53 +00:00
|
|
|
$(GST_LIBS) \
|
|
|
|
$(GST_BASE_LIBS) \
|
|
|
|
$(GST_VIDEO_LIBS) \
|
|
|
|
$(EGL_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_egl_la_LDFLAGS = \
|
2015-02-20 14:27:53 +00:00
|
|
|
$(GST_ALL_LDFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_wayland_la_SOURCES = \
|
2012-07-31 15:58:43 +00:00
|
|
|
$(libgstvaapi_wayland_source_c) \
|
|
|
|
$(libgstvaapi_wayland_source_priv_h) \
|
|
|
|
$(libgstvaapi_wayland_source_h) \
|
2010-03-25 17:28:49 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_wayland_la_CFLAGS = \
|
2011-11-04 21:16:23 +00:00
|
|
|
-DGST_USE_UNSTABLE_API \
|
2010-03-25 17:28:49 +00:00
|
|
|
-I$(top_srcdir)/gst-libs \
|
|
|
|
$(GLIB_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
2013-11-26 12:06:07 +00:00
|
|
|
$(GST_VIDEO_CFLAGS) \
|
2012-07-31 15:58:43 +00:00
|
|
|
$(WAYLAND_CFLAGS) \
|
|
|
|
$(LIBVA_WAYLAND_CFLAGS) \
|
2010-03-25 17:28:49 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_wayland_la_LIBADD = \
|
2010-03-25 17:28:49 +00:00
|
|
|
$(GLIB_LIBS) \
|
2014-08-01 04:32:32 +00:00
|
|
|
$(GST_LIBS) \
|
|
|
|
$(GST_VIDEO_LIBS) \
|
2012-07-31 15:58:43 +00:00
|
|
|
$(WAYLAND_LIBS) \
|
|
|
|
$(LIBVA_WAYLAND_LIBS) \
|
2010-03-25 17:28:49 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2015-12-09 18:52:33 +00:00
|
|
|
libgstvaapi_wayland_la_LDFLAGS = \
|
2010-05-04 15:02:29 +00:00
|
|
|
$(GST_ALL_LDFLAGS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2017-02-08 18:17:40 +00:00
|
|
|
EXTRA_DIST = \
|
2013-12-03 11:05:17 +00:00
|
|
|
$(libgstvaapi_enc_source_c) \
|
|
|
|
$(libgstvaapi_enc_source_h) \
|
|
|
|
$(libgstvaapi_enc_source_priv_h) \
|
|
|
|
$(libgstvaapi_jpegdec_source_c) \
|
|
|
|
$(libgstvaapi_jpegdec_source_h) \
|
2014-04-29 10:22:47 +00:00
|
|
|
$(libgstvaapi_vp8dec_source_c) \
|
|
|
|
$(libgstvaapi_vp8dec_source_h) \
|
2015-04-14 08:08:47 +00:00
|
|
|
$(libgstvaapi_hevcdec_source_c) \
|
|
|
|
$(libgstvaapi_hevcdec_source_h) \
|
|
|
|
$(libgstvaapi_hevcdec_source_priv_h) \
|
2015-11-06 13:12:51 +00:00
|
|
|
$(libgstvaapi_vp9dec_source_c) \
|
|
|
|
$(libgstvaapi_vp9dec_source_h) \
|
2015-02-04 09:16:05 +00:00
|
|
|
$(libgstvaapi_jpegenc_source_h) \
|
2015-02-13 11:42:04 +00:00
|
|
|
$(libgstvaapi_jpegenc_source_c) \
|
|
|
|
$(libgstvaapi_vp8enc_source_h) \
|
|
|
|
$(libgstvaapi_vp8enc_source_c) \
|
2015-05-25 08:38:34 +00:00
|
|
|
$(libgstvaapi_h265enc_source_h) \
|
|
|
|
$(libgstvaapi_h265enc_source_c) \
|
2016-05-30 08:23:12 +00:00
|
|
|
$(libgstvaapi_vp9enc_source_h) \
|
|
|
|
$(libgstvaapi_vp9enc_source_c) \
|
2015-02-20 14:27:53 +00:00
|
|
|
$(libgstvaapi_egl_source_c) \
|
|
|
|
$(libgstvaapi_egl_source_h) \
|
|
|
|
$(libgstvaapi_egl_source_priv_h) \
|
2017-08-09 21:22:12 +00:00
|
|
|
$(libgstvaapi_h264feienc_source_h) \
|
|
|
|
$(libgstvaapi_h264feienc_source_c) \
|
2017-08-09 22:35:10 +00:00
|
|
|
$(libgstvaapi_h264feienc_source_priv_h) \
|
2013-04-10 13:31:41 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2015-05-13 08:38:24 +00:00
|
|
|
-include $(top_srcdir)/git.mk
|