Wim Taymans
3dd31cce39
xvimagesink: fix compiler warning
2011-08-17 10:57:13 +02:00
Wim Taymans
515d4a9a6d
xvimage: avoid caps intersection
...
Store the video format in the XvImage format list so that we can quickly map
between the two.
2011-08-15 18:39:09 +02:00
Tim-Philipp Müller
7f11e9bc30
ximagesink, xvimagesink: update for GstXOverlay -> GstVideoOverlay
2011-08-08 14:12:15 +01:00
Wim Taymans
2e00a6d169
xvimagepool: cleanups
2011-08-05 12:48:07 +02:00
Wim Taymans
a7d88b0898
x11: remove useless alignment
2011-08-04 15:18:14 +02:00
Wim Taymans
947b6b3faa
ximage: add support for alignment bufferpool option
2011-08-01 19:04:47 +02:00
Wim Taymans
66142747bd
xv: apply cropping on padded images
...
Store the dimensions of the unpadded image in the metadata and use that info to
display the valid region of the image.
2011-08-01 18:36:33 +02:00
Wim Taymans
27e622b99e
xvimage: add suport for video alignment
...
Add support for the VideoAlignment option in the bufferpool. The extra
configuration options can be used to request special padding and alignment
requirements for the video buffers.
2011-08-01 17:10:10 +02:00
Wim Taymans
5a85e1d75f
base: update for new bufferpool API
2011-07-29 17:15:39 +02:00
Wim Taymans
b0c64a10f8
x11: relax bufferpool checks
...
Check if the metadata belongs to us instead of checking the current bufferpool.
The bufferpool can change at any time when upstream wants to renegotiate.
2011-07-29 12:25:13 +02:00
Wim Taymans
d013481d8e
x11: let old pool drain
...
Let the old pool drain without deactivating it, some elements might still be
using it.
2011-07-26 14:10:33 +02:00
Wim Taymans
662c1f4b6c
x11: use new setup_allocation vmethod
2011-07-26 13:17:20 +02:00
Wim Taymans
084eac3a77
x11: call parent set_config
...
Call the parent set_config method to make it aware of the current config so that
its default methods can do preallocation.
2011-07-18 18:46:01 +02:00
Wim Taymans
8750aea364
x11: improve allocation parameters
...
Set the min-buffers to 2 because our base class will hold on to 1 buffer for the
last-buffer property.
2011-07-18 16:48:25 +02:00
Wim Taymans
e461ab46d4
X11: also check the bufferpool
...
Don't just check the availability of the metadata but also if the buffer is
really from our bufferpool.
2011-07-15 16:35:44 +02:00
Tim-Philipp Müller
dd56714b14
ffmpegcolorspace -> videoconvert
2011-07-07 23:59:59 +01:00
Wim Taymans
ddce68a5c2
video: More video helper library improvements
...
Make a new GstVideoFormatinfo structure that contains the specific information
related to a format such as the number of planes, components, subsampling,
pixel stride etc. The result is that we are now able to introduce the concept of
components again in the API.
Use tables to specify the formats and its properties.
Use macros to get information about the video format description.
Move code to set strides, offsets and size into one function.
Remove methods that are not handled with the structures.
Add methods to retrieve pointers and strides to the components in the video.
2011-07-04 16:01:14 +02:00
Tim-Philipp Müller
8cede4ae6a
gst, sys: remove GstImplementsInterface usage
2011-06-26 23:16:08 +01:00
Wim Taymans
dd7e605fec
x11: let upstream know we support cropping
2011-06-23 16:31:21 +02:00
Wim Taymans
df94f2da81
x11: add image cropping
...
Use the cropping metadata to crop the image.
Remove deprecated display-region property to set a clipping rectangle.
2011-06-23 12:55:13 +02:00
Wim Taymans
1a5d88b68c
xvimagesink: handle unknown formats
2011-06-22 19:35:16 +02:00
Wim Taymans
aa73f69f2d
x11: use frame copy functions
2011-06-22 15:38:24 +02:00
Wim Taymans
8fbdac9fc6
x11: delay pool activation
...
don't activate the pool we return in the ALLOCATION query because upstream might
still want to configure it
2011-06-20 17:39:05 +02:00
Wim Taymans
cf91192668
x11: handle new bufferpool metadata api
...
Provide a method to list the supported metadata apis.
Activate the video metadata on buffers when a downstream element configured the
bufferpool to support that api.
2011-06-20 13:28:12 +02:00
Wim Taymans
5eeb468c75
x11: use GstVideoInfo to parse caps
...
Use GstVideoInfo to keep track of the configured format.
Add GstMetaVideo to buffers, disabled by default for now until we can have it
enabled with a property on the bufferpool configuration.
2011-06-17 17:54:52 +02:00
Wim Taymans
0d75dc5a0b
x11: make function static
...
Don't export buffer creation function, we need to use the bufferpool
now.
2011-06-17 17:27:22 +02:00
Wim Taymans
d93129d8da
-base: port to GstVideoFrame API
2011-06-17 15:41:31 +02:00
Wim Taymans
d06f599193
-base: port elements to new video caps
2011-06-16 12:52:13 +02:00
Wim Taymans
9c54ca5254
-base: update for buffer API change
2011-06-13 16:32:56 +02:00
Wim Taymans
a8971beee0
ximage: fix alignment and size
...
Set the right alignment and size in the bufferpool.
2011-06-11 20:47:01 +02:00
Wim Taymans
1c8324a0d1
update for bufferpool api change
2011-06-11 18:54:44 +02:00
Tim-Philipp Müller
c092981b16
Remove v4l plugin
...
The old v4l interface has been deprecated for years and even
been removed from the kernel headers. If anyone still needs
this plugin, they can resurrect it in gst-plugins-bad, there's
no reason for it to be in -base.
2011-06-07 20:47:46 +01:00
Sebastian Dröge
bf08ca7020
Merge branch 'master' into 0.11
2011-05-26 13:54:09 +02:00
Sebastian Dröge
7716358d04
xvimagesink: Fallback to non-XShm mode if allocating the XShm image failed
...
Fixes bug #630442 .
2011-05-26 12:33:08 +02:00
Sebastian Dröge
34ae792075
ximagesink: Fallback to non-XShm mode if allocating the XShm image failed
...
Fixes bug #630442 .
2011-05-26 12:30:31 +02:00
Sreerenj Balachandran
b977d550df
ximagesink: Remove g_assert from interface query
2011-05-26 09:05:55 +02:00
Sreerenj Balachandran
2f6d9e55cc
xvimagesink: Remove the g_assert from interface query
2011-05-26 09:05:55 +02:00
Stefan Kost
b229b8f3f9
xvimagesink: run gst-indent
2011-05-25 12:30:51 +03:00
Stefan Kost
3f642f3635
xvimagesink: remove unneded !=NULL checks
...
We check for matching_attr!=NULL right before already.
2011-05-25 12:29:21 +03:00
Wim Taymans
453091137e
x11: free bufferpool whe activation fails
2011-05-24 09:45:39 +02:00
Wim Taymans
f1980aa051
ximagesink: implement ALLOCATION query
2011-05-19 15:56:57 +02:00
Wim Taymans
f66c6ced56
xvimagesink: improve allocation query
...
If the allocation query contains the same caps as the current allocator, we can
return that one instead of making a new one.
2011-05-19 15:55:53 +02:00
Sebastian Dröge
6392dfc072
sys: Update for caps/pad template related API changes
2011-05-17 13:06:01 +02:00
Sebastian Dröge
318ed07598
Revert "-base_port to new query API"
...
This reverts commit c9f4e0676b
.
2011-05-17 11:25:31 +02:00
Sebastian Dröge
330456456e
v4l: Make sure to return a subset of the filter caps in getcaps
2011-05-16 17:44:44 +02:00
Wim Taymans
a477837ffe
v4lsrc: fix for new getcaps function
2011-05-16 17:30:36 +02:00
Sebastian Dröge
8d6e2c8a89
xvimagesink: Update for negotiation related API changes
2011-05-16 15:35:41 +02:00
Sebastian Dröge
6ed5013733
ximagesink: Update for negotiation related API changes
2011-05-16 15:35:28 +02:00
Sreerenj Balachandran
cf3cc57ca7
xvimagesink: Use GST_BOILERPLATE
2011-05-14 11:42:32 +02:00
Wim Taymans
c81b1b8019
-base: remove metadata (des)serialize functions
2011-05-11 19:12:42 +02:00