xvimagesink: use xvcontext for allocation
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 13 Mar 2013 10:13:58 +0000 (11:13 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 13 Mar 2013 10:51:12 +0000 (11:51 +0100)
commit0cf392837d6660e05b54ea0b8682471359bf35d1
tree81de1d4faacf548f11c8bb8395d3f0671654a780
parent5127d31cce1aaad020240ce1a41fac4c4427f03b
xvimagesink: use xvcontext for allocation

Make a new refcounted xvcontext object that handles the X connection.
Use the xvcontext to allocate images and windows. Move some code
around so that all X calls are made from the xvcontext object.
Make a GstXvImageAllocator object that allocates images from the xvcontext. We
can implement a copy function now for these memory objects now.
Make the bufferpool use the xvimageallocator object for its images.
sys/xvimage/Makefile.am
sys/xvimage/xvcontext.c [new file with mode: 0644]
sys/xvimage/xvcontext.h [new file with mode: 0644]
sys/xvimage/xvimage.c
sys/xvimage/xvimageallocator.c [new file with mode: 0644]
sys/xvimage/xvimageallocator.h [new file with mode: 0644]
sys/xvimage/xvimagepool.c
sys/xvimage/xvimagepool.h
sys/xvimage/xvimagesink.c
sys/xvimage/xvimagesink.h