videofilter: improve video filter
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 21 Dec 2011 22:46:53 +0000 (23:46 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 21 Dec 2011 22:46:53 +0000 (23:46 +0100)
commita5f3d217234b3f16fab3ed22378eb96da3553d6f
tree1591e40e9f3adb664abefcd64ee280161c045a26
parent8a9c4ed69f64517416d648866be74848cfa08ec9
videofilter: improve video filter

Flesh out the video filter base class. Make it parse the input and output caps
and turn them into GstVideoInfo. Map buffers as video frames and pass them to
the transform functions.
This allows us to also implement the propose and decide_allocation vmethods.
Implement the transform size method as well.
Update subclasses with the new improvements.
gst-libs/gst/video/gstvideofilter.c
gst-libs/gst/video/gstvideofilter.h
gst/videoconvert/gstvideoconvert.c
gst/videoconvert/gstvideoconvert.h
gst/videoscale/gstvideoscale.c
gst/videoscale/gstvideoscale.h