Wind Yuan
c899947e17
display: add support for rotation modes.
...
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-08-27 18:41:22 +02:00
Gwenole Beauchesne
a192f40ed9
display: add support for rendering modes.
...
A rendering mode can be "overlay" or "texture"'ed blit.
The former mode implies that a VA surface used for rendering can't be
re-used right away for decoding, so the sink shall make provisions to
retain the associated surface proxy until the next surface is to be
displayed.
The latter mode implies that the VA surface is implicitly copied to an
intermediate backing store, or back buffer of a frame buffer, so the
associated surface proxy can be disposed right away.
2012-08-27 17:52:32 +02:00
Gwenole Beauchesne
a503aaf9b9
display: add initial support for display attributes.
...
The VA display attributes are mapped to properties so that to maintain the
GStreamer terminology. Properties are to be identified by name, but internal
functions are available to lookup the property by the actual VA display
attribute type.
2012-08-27 17:52:32 +02:00
Gwenole Beauchesne
71e4936e5e
display: drop VAProfileNone entries from debug messages.
2012-08-01 18:30:27 +02:00
Yan Yin
8bd3070c51
display: query for supported display attributes.
...
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-08-01 18:27:38 +02:00
Gwenole Beauchesne
657f0a4a6f
Add initial support for VA/DRM.
2012-08-01 16:40:17 +02:00
Gwenole Beauchesne
0bf1e761f9
Fix build without X11.
2012-07-25 15:31:42 +02:00
Gwenole Beauchesne
9e00c87367
plugins: add support for Wayland.
2012-07-25 15:31:42 +02:00
Gwenole Beauchesne
4e53b5fe4e
display: fix destruction of mutex.
2012-07-25 14:37:11 +02:00
Gwenole Beauchesne
437bc925f6
display: add display types.
...
Move display types from gstvaapipluginutil.* to gstvaapidisplay.* so that
we could simplify characterization of a GstVaapiDisplay. Also rename "auto"
type to "any", and add a "display-type" attribute.
2012-07-25 14:37:11 +02:00
Javier Jardón
30024b3f8e
libs: use g_clear_object() wherever applicable.
...
This is a preferred thread-safe version. Also add an inline version of
g_clear_object() if compiling with glib < 2.28.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-07-19 15:19:17 +02:00
Gwenole Beauchesne
830efb3fbd
glib: map deprecated API to glib >= 2.32 equivalents.
...
GStaticMutex and GStaticRecMutex are now replaced with GMutex and
GRecMutex, which no longer require any prior call to g_thread_init().
2012-02-07 11:07:15 +01:00
Gwenole Beauchesne
5cc357f88a
cosmetics: fix warnings (drop unused variables).
2012-02-07 10:06:15 +01:00
Zhao Halley
d46e8d9961
display: skip profiles which have no entrypoints.
...
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-02-06 12:54:20 +01:00
Gwenole Beauchesne
0fb1147d9c
Add header for system-dependent definitions.
2012-01-30 19:52:10 +01:00
Gwenole Beauchesne
c42ba571a8
display: report H.263 Baseline profile.
...
HACK: expose GST_VAAPI_PROFILE_H263_BASELINE for decoding if MPEG-4:2 Simple
profile (VAProfileMPEG4Simple) is supported.
2012-01-24 10:11:59 +01:00
Gwenole Beauchesne
92f11799d1
legal: fix year for some copyright notices.
2012-01-16 11:40:51 +01:00
Gwenole Beauchesne
1594d99d55
legal: add Intel copyright on modified files.
2012-01-16 11:40:51 +01:00
Gwenole Beauchesne
14cc1cf061
legal: fix copyright notices to include "Copyright" term.
2012-01-16 11:40:51 +01:00
Gwenole Beauchesne
4340372996
utils: drop string_of_FOURCC() in favor of standard GST_FOURCC_* helpers.
2012-01-16 11:40:50 +01:00
Gwenole Beauchesne
674ea91faa
display: always free VA display cache if it is empty.
2012-01-12 16:09:08 +01:00
Gwenole Beauchesne
9516f00f8e
display: use VA display cache for X11 and GLX winsys.
2012-01-12 16:09:08 +01:00
Gwenole Beauchesne
697b96c30c
display: fix has_image_format() to check against subpicture formats.
2011-12-12 15:09:37 +01:00
Nicolas Dufresne
e5abbe0440
display: destroy display on creation failure.
...
This allows element to detect that the display creation has actually
failed.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2011-12-07 17:20:55 +01:00
Nicolas Dufresne
8a1dc4978f
display: don't crash when config is empty.
...
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2011-12-07 17:19:42 +01:00
Gwenole Beauchesne
1701ce3107
Update copyright notice.
2011-06-14 13:54:07 +02:00
gb
4754317e70
Relicense gst-libs/ code to LGPL v2.1+.
2010-09-20 12:55:42 +02:00
gb
ee000a357b
Fix gst_vaapi_display_has_{decoder,encoder}() to check for the entrypoint too.
2010-09-20 12:55:41 +02:00
gb
da3948bdeb
Use a recursive mutex so that a single thread can lock
...
several times. This fixes decoding of MPEG-2 and H.264
because those created a GstVaapiContext later through
avcodec_decode_video() that was a protected call.
2010-09-20 12:55:32 +02:00
gb
508edba9a0
Add VA profile abstraction.
2010-04-20 13:36:04 +00:00
gb
6b56ca0068
Move GST_VAAPI_DISPLAY_VADISPLAY() and GST_VAAPI_DISPLAY_{LOCK,UNLOCK}() to gstvaapidisplay_priv.h.
2010-04-01 09:47:59 +00:00
gb
ab8b90aa59
Fix documentation.
2010-03-29 11:25:20 +00:00
gb
9f369020b5
Add gst_vaapi_display_{sync,flush}() helpers.
2010-03-26 11:35:20 +00:00
gb
15b2a9beec
Only add _display suffix to open & close members because they could be #define to some arbitrary value. lock/unlock are safe names.
2010-03-26 11:02:12 +00:00
gb
67de515e63
Simplify initialization of VADisplay.
2010-03-25 12:39:54 +00:00
gb
63add8fd63
Drop useless include (<va/va_backend.h>).
2010-03-24 08:35:27 +00:00
gb
755f198a74
Fix short descriptions.
2010-03-24 08:16:32 +00:00
gb
b271ebd760
Drop introspection annotations since they require gtk-doc >= 1.12.
2010-03-23 13:32:36 +00:00
gb
c13c3c3620
Add gst_vaapi_display_get_pixel_aspect_ratio().
2010-03-22 09:32:01 +00:00
gb
01cc10fe51
Add display size accessors.
2010-03-22 08:44:38 +00:00
gb
d63f196c73
Add tedious documentation.
2010-03-19 15:45:21 +00:00
gb
9a1741a193
Beautify append_formats().
2010-03-19 10:42:11 +00:00
gb
a318326f7f
Simplify GstVaapiDisplay (use GArray).
2010-03-19 10:38:45 +00:00
gb
c561cead2b
Use gtypes.
2010-03-18 08:02:25 +00:00
gb
bcb5d3f138
Add VA display locking utilities.
2010-03-17 07:59:31 +00:00
gb
d6f883f73a
Rename vaapi_debug.h to gstvaapidebug.h.
2010-03-16 09:17:41 +00:00
gb
4e2db9d8e4
Move vaapi_utils.* to gstvaapiutils.*
2010-03-16 09:15:48 +00:00
gb
69d58a0857
Handle I420 formats internally in GstVaapiImage.
2010-03-16 08:43:16 +00:00
gb
fe4740d35a
Cosmetics.
2010-03-15 13:32:37 +00:00
gb
a42754e31e
API change: gst_vaapi_display_x11_new() now takes an X11 display name.
2010-03-11 15:01:00 +00:00
gb
acbab7a1c1
Filter out any format that is not supported by the library (libgstvaapi).
...
Also sort the formats by HW preference.
2010-03-11 12:11:36 +00:00
gb
5c5b45f4d8
Use GST_DEBUG.
2010-03-10 13:13:51 +00:00
gb
5fdc1dc943
Fix GstVaapiDisplay initialization.
2010-03-10 12:25:19 +00:00
gb
0dd58839e1
Get VA image & subpicture formats as GstCaps.
2010-03-10 10:43:31 +00:00
gb
1689ee112d
Cosmetics (drop unused variables).
2010-03-09 12:00:32 +00:00
gb
38b0fe7d57
Fix subpicture formats list length.
2010-03-05 08:52:20 +00:00
gb
0b3d5ddd0c
Add utilities to check whether a VA-API driver supports specific image or subpicture format. Likewise for VA profile.
2010-03-04 17:41:34 +00:00
gb
693277e278
Add initial VA display abstraction.
2010-01-25 16:15:01 +00:00