video: More video helper library improvements
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 4 Jul 2011 08:19:13 +0000 (10:19 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 4 Jul 2011 14:01:14 +0000 (16:01 +0200)
commitddce68a5c286a0050334c2b991443ae8363a5961
tree9aa562bf9a5f11b339a0662dee691a4ccc58a29f
parentebfd6acde102c84f625f9e51d52fb9a4becaa011
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.
15 files changed:
ext/pango/gstbasetextoverlay.c
ext/pango/gsttextrender.c
ext/theora/gsttheoradec.c
ext/theora/gsttheoraenc.c
gst-libs/gst/video/gstmetavideo.c
gst-libs/gst/video/gstmetavideo.h
gst-libs/gst/video/video.c
gst-libs/gst/video/video.h
gst/videoconvert/gstvideoconvert.c
gst/videoconvert/gstvideoconvert.h
gst/videoconvert/videoconvert.c
gst/videoscale/gstvideoscale.c
gst/videotestsrc/videotestsrc.c
sys/ximage/ximagepool.c
sys/xvimage/xvimagepool.c