summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2013-07-22tests: simple-decoder: add support for video cropping.Gwenole Beauchesne1-1/+3
Handle video cropping information attached to a VA surface proxy.
2013-07-22tests: add support for render-to-pixmap.Gwenole Beauchesne3-3/+54
Add --pixmap option to test-decode so that to allow copies of VA surface to an intermediate pixmap and rendering from that pixmap. Only X11 backends are supported for now.
2013-07-15Fix new video format API.Gwenole Beauchesne2-4/+4
Fix new internal video format API, based on GstVideoFormat, to not clobber with system symbols. So replace the gst_video_format_* prefix with gst_vaapi_video_format_ prefix, even if the format type remains GstVideoFormat.
2013-07-10Use GstVideoInfo for video pools.Gwenole Beauchesne2-15/+7
Get rid of GstCaps to create surface/image pool, and use GstVideoInfo structures instead. Those are smaller, and allows for streamlining libgstvaapi more.
2013-07-09tests: port to new video format API.Gwenole Beauchesne5-25/+25
2013-07-08tests: add basic support for video cropping.Gwenole Beauchesne4-14/+18
Change generic decoder of sample I-frame to return a GstVaapiSurfaceProxy instead of a plain GstVaapiSurface. This means that we can now retrieve the frame cropping rectangle from the surface proxy, along with additional information if ever needed.
2013-05-27tests: improve check for display cache.Gwenole Beauchesne1-1/+77
Improve check for display cache infrastructure. In particular, for X11 and GLX backends, we need to make sure that we can create a GstVaapiDisplayX11 from another GstVaapiDisplayGLX, i.e. underlying X11 and VA displays can be shared. Besides, allocating a GstVaapiDisplayGLX while a GstVaapiDisplayX11 already exists will have to generate different VA displays.
2013-05-23tests: cope with GST_VAAPI_IS_xxx() macros removal.Gwenole Beauchesne1-3/+3
2013-05-07tests: cope with new GstVaapiMiniObject objects.Gwenole Beauchesne10-97/+59
2013-04-16surfaceproxy: drop user-data support from GstVaapiSurfaceProxy.Gwenole Beauchesne1-2/+2
Drop user-data support from GstVaapiSurfaceProxy. Rather make it explicit to call some user-provided function when the surface proxy is released.
2013-04-10Allow build against either GStreamer API (0.10 or 1.0).Gwenole Beauchesne1-1/+1
Introduce a new configure option --with-gstreamer-api that determines the desired GStreamer API to use. By default, GStreamer 1.0 is selected. Also integrate more compatibility glue into gstcompat.h and plugins.
2013-04-10tests: add support for GStreamer 1.0.Gwenole Beauchesne4-11/+30
2013-03-20tests: modernize GstTypeFind functions.Gwenole Beauchesne1-5/+5
Use the GstTypeFind hooks from GStreamer 1.0. They look safer and exactly correspond to the expected behaviour.
2013-03-20tests: fix license templates.Gwenole Beauchesne16-16/+16
2013-03-20tests: use gst_vaapi_image_format_from_structure() in test-display.Gwenole Beauchesne1-27/+38
Use gst_vaapi_image_format_from_structure() helper in test-display and then extract a VAImageFormat from it instead of relying on GstCaps for YUV and RGB formats.
2013-03-20tests: include "sysdeps.h" header instead of "config.h".Gwenole Beauchesne8-7/+8
2013-03-20configure: rename GST_MAJORMINOR to GST_API_VERSION.Gwenole Beauchesne1-5/+5
2013-01-31tests: simple-decoder: fix build on older platforms.Gwenole Beauchesne1-8/+5
Make simple-decoder build and execute correctly on older platforms, and more precisely older versions of glib.
2013-01-29legal: fix year for some copyright notices (2013).Gwenole Beauchesne3-3/+3
2013-01-29legal: fix year for some copyright notices (2012).Gwenole Beauchesne1-1/+1
2013-01-29legal: add Intel copyright on modified files.Gwenole Beauchesne3-0/+3
2013-01-18tests: simple-decoder: fix build with built-in videoutils.Gwenole Beauchesne1-1/+2
Fix build with built-in videoutils, i.e. when system GStreamer installation does not know about GstVideoDecoder API.
2013-01-18tests: simple-decoder: flush decoded frames at EOS.Gwenole Beauchesne1-2/+6
Flush the remaining decoded frames when an end-of-stream is reached.
2013-01-18tests: simple-decoder: drop use of GstVaapiVideoMeta.Gwenole Beauchesne1-35/+52
Don't use GstVaapiVideoMeta since that object is not guaranteed to live in libgstvaapi forever. Rather, that'd move to plugin elements at some point.
2013-01-17tests: simple-decoder: add benchmark mode.Gwenole Beauchesne1-1/+36
Add --benchmark option to enable benchmark mode where rendering is not synchronized with presentation timestamps of the decoded surfaces.
2013-01-17tests: simple-decoder: honour framerate from the bitstream.Gwenole Beauchesne2-2/+57
Try to honour the framerate from the bitstream, or cap the playback to 60 fps by default.
2013-01-17tests: simple-decoder: set window size to the surface dimensions.Gwenole Beauchesne1-2/+30
Set the window size to the decoded surface dimensions, if the user has not requested the application to run in full-screen mode. Besides, no effort is made to preserve aspect ratio or to center the video within the mapped window.
2013-01-17tests: add simple decoder application.Gwenole Beauchesne2-0/+585
Add simple decoder application to show off decoding capabilities from raw bitstreams, for debugging or performance evaluation purposes.
2013-01-17tests: add codec helper utils.Gwenole Beauchesne3-2/+233
Add helper functions to determine the codec type from a specific file or utility functions to convert from codec type to GstCaps or from codec name to codec type.
2013-01-17tests: allow fullscreen mode.Gwenole Beauchesne1-1/+16
Add new --fullscreen|-f option to create new windows in fullscreen mode.
2013-01-11overlay: fix build without advanced GstVideoOverlayFormatFlags.Holger Kaelberer1-0/+6
Check for global-alpha support in GstVideoOverlayComposition API. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2013-01-11tests: add support for global-alpha subpictures.Gwenole Beauchesne1-0/+11
Add --global-alpha option to test-subpicture.
2013-01-11tests: use GstVideoOverlayComposition API for subpicture test.Gwenole Beauchesne2-55/+40
2013-01-11tests: use common decoder helpers for subpicture test.Gwenole Beauchesne2-84/+13
Use common decoder helpers for subpicture test, thus allowing to decode sample images in an alternate format.
2013-01-11tests: add decoder helpers.Gwenole Beauchesne4-119/+274
2013-01-11subpicture: add support for global-alpha.Holger Kaelberer2-3/+3
Add the necessary helpers in GstVaapiDisplay to determine whether subpictures with global alpha are supported or not. Also add accessors in GstVaapiSubpicture to address this feature. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2013-01-11libs: fix build of submodule wrappers.Gwenole Beauchesne1-0/+1
Make sure to build codecparsers/ and videoutils/ sources against the newly generated headers when out-of-source builds are used.
2012-12-18decoder: update gst_vaapi_decoder_get_surface() semantics.Gwenole Beauchesne2-4/+4
Align gst_vaapi_decoder_get_surface() semantics with the rest of the API. That is, return a GstVaapiDecoderStatus and the decoded surface as a handle to GstVaapiSurfaceProxy in parameter. This is an API/ABI change.
2012-12-18surfaceproxy: port to GstVaapiMiniObject.Gwenole Beauchesne2-2/+2
GstVaapiSurfaceProxy does not use any particular functionality from GObject. Actually, it only needs a basic object type with reference counting. This is an API and ABI change.
2012-12-17tests: add test for MPEG-4:2 decoding.Gwenole Beauchesne4-1/+1715
2012-08-28tests: dump VA display properties.Gwenole Beauchesne1-11/+126
2012-08-01tests: add support for headless decoding.Gwenole Beauchesne4-0/+120
2012-07-25tests: add support for Wayland.Gwenole Beauchesne4-32/+134
2012-07-24configure: drop check for --enable-vaapi-glx.Gwenole Beauchesne1-3/+3
This flag is obsolete. It was meant to explicitly enable/disable VA/GLX API support, or fallback to TFP+FBO if this API is not found. Now, we check for the VA/GLX API by default if --enable-glx is set. If this API is not found, we now default to use TFP+FBO. Note: TFP+FBO, i.e. using vaPutSurface() is now also a deprecated usage and will be removed in the future. If GLX rendering is requested, then the VA/GLX API shall be used as it covers most usages. e.g. AMD driver can't render to an X pixmap yet.
2012-07-24tests: allow GLX output, if available and selected.Gwenole Beauchesne1-0/+10
2012-07-24tests: use common display and window creation routines.Gwenole Beauchesne6-31/+232
Add new --output option to select the renderer. Use --list-outputs to print a list of supported renderers.
2012-07-23tests: move encoded bitstreams to libutils.la.Gwenole Beauchesne1-7/+4
2012-07-23tests: build convenience library for common utilities.Gwenole Beauchesne1-9/+16
2012-07-23tests: simplify build with various display options.Gwenole Beauchesne2-45/+45
2012-07-20configure: fix previous commit for GLX deps.Gwenole Beauchesne1-2/+3