Commit graph

87 commits

Author SHA1 Message Date
gb
0bf40c2d44 Check whether the foreign XID is mapped at binding time. 2010-03-23 07:42:05 +00:00
gb
e4a4fd9742 Fix warnings (drop extraneous var). 2010-03-23 06:41:29 +00:00
gb
a1b25e8807 Add GST_VAAPI_WINDOW_XWINDOW() helper macro. 2010-03-23 06:40:27 +00:00
gb
df9e25d473 Shorten condition. 2010-03-22 16:59:29 +00:00
gb
3136cdc991 Try to improve switch to fullscreen mode. 2010-03-22 16:57:20 +00:00
gb
1c647d1f69 Improve display locking and rework X event wait functions. 2010-03-22 16:01:34 +00:00
gb
729f4fc9c6 Move _GstVaapiWindowPrivate declaration to gstvaapiwindow_priv.h. 2010-03-22 13:06:41 +00:00
gb
6407e5339a Add private API to set window size & fullscreen modes
without triggering any notification or virtual functions.
This is useful for derived class to fix up sizes whenever appropriate.
2010-03-22 13:05:05 +00:00
gb
8e773e6d10 Add gst_vaapi_window_get_fullscreen() helper and "fullscreen" property. 2010-03-22 12:47:13 +00:00
gb
cc10345448 Add gst_vaapi_window_get_display() to base. 2010-03-22 12:39:02 +00:00
gb
873d5b7a04 Add GstVaapiPoint & GstVaapiRectangle data structures. 2010-03-22 12:16:47 +00:00
gb
b8daf624c5 Add gst_vaapi_window_set_fullscreen() API. 2010-03-22 10:51:49 +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
4f00d5657b Fix documentation of *Class'es. 2010-03-21 08:45:09 +00:00
gb
edea5998f5 Move GstVaapiSurfaceRenderFlags conversion to get_PutSurface_flags_from_GstVaapiSurfaceRenderFlags(). 2010-03-21 08:38:17 +00:00
gb
6179b6495e Move GstVaapiSurfaceRenderFlags to gstvaapisurface.h since this will
also be useful for e.g. a gstvaapitexture.h.
2010-03-21 08:22:46 +00:00
gb
27307a6c1b Rename gst_vaapi_window_put_surface_full() to plain gst_vaapi_window_put_surface(). 2010-03-21 08:12:52 +00:00
gb
e24ba07b41 Document GstVaapiVideoBuffer. 2010-03-19 16:41:52 +00:00
gb
dabb757458 Document surface & image pools. Drop obsolete gst_vaapi_video_pool_new() function. 2010-03-19 16:08:48 +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
55b45d964d Fix gst_vaapi_image_create() from a foreign VA image. 2010-03-18 15:52:20 +00:00
gb
ea2c6c502c Add gst_vaapi_surface_derive_image() API. 2010-03-18 15:28:59 +00:00
gb
b9bf5678f9 Make it possible to bin an X11 window to GstVaapiWindowX11 with plain
g_object_new() and "xid" property. i.e. get foreign window size in
gst_vaapi_window_x11_create().
2010-03-18 13:49:50 +00:00
gb
087b1dabda Split map/unmap functions into internal functions that don't check preconditions. 2010-03-18 12:59:55 +00:00
gb
f80e194549 Improve gst_vaapi_image_new() sanity checks. 2010-03-18 12:56:53 +00:00
gb
c561cead2b Use gtypes. 2010-03-18 08:02:25 +00:00
gb
cf432f9ec8 Optimize gst_vaapi_image_is_linear() and simplify gst_vaapi_image_update_from_buffer(). 2010-03-17 10:43:02 +00:00
gb
bcb5d3f138 Add VA display locking utilities. 2010-03-17 07:59:31 +00:00
gb
912684b904 Don't show window by default during creation. 2010-03-17 07:17:17 +00:00
gb
69943d51ff Fix gst_vaapi_window_x11_destroy(). 2010-03-17 06:49:27 +00:00
gb
f016dc50c2 Extend GstVaapiImage API with *_get_image(), *_is_linear(), *_get_data_size(). 2010-03-16 17:57:23 +00:00
gb
21a9a0aac2 Make GstVaapiVideoBuffer handle two pools. i.e. both image & surface at the same time. 2010-03-16 17:10:02 +00:00
gb
ad54bcf903 Split X11 support to libgstvaapi-x11-*.so.* 2010-03-16 09:39:07 +00:00
gb
d6a6c1ef98 Don't install private headers. 2010-03-16 09:21:15 +00:00
gb
58d3c36658 Fix header guards. 2010-03-16 09:18:57 +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
506122d970 Cosmetics (remove an extra line). 2010-03-16 09:13:16 +00:00
gb
2ca21f9e41 Move X11 utilties to gstvaapiutils_x11.[ch]. 2010-03-16 09:12:47 +00:00
gb
f2af51eefc Rename GstVaapiSinkBase to GstVaapiVideoSink. 2010-03-16 09:03:10 +00:00
gb
69d58a0857 Handle I420 formats internally in GstVaapiImage. 2010-03-16 08:43:16 +00:00
gb
6bc69b5592 Implement I420 and YV12 if the underlying implementation does not. 2010-03-15 17:43:29 +00:00
gb
f8c91368e9 Factor out. 2010-03-15 16:57:37 +00:00
gb
606c016263 Add gst_vaapi_surface_sync(). 2010-03-15 16:13:51 +00:00
gb
17d221d7d6 Cosmetics (reverse args order). 2010-03-15 16:13:37 +00:00
gb
eca4c7da42 Cosmetics. 2010-03-15 15:55:20 +00:00
gb
7fe02f31a5 Add VA/X11 window abstraction. 2010-03-15 15:12:27 +00:00