format: improve docs

https://bugzilla.gnome.org/show_bug.cgi?id=707361
This commit is contained in:
Wim Taymans 2013-12-26 17:40:05 +01:00 committed by Nicolas Dufresne
parent 12eedf86e8
commit 61cbdf379b

View file

@ -276,6 +276,11 @@ typedef void (*GstVideoFormatUnpack) (const GstVideoFormatInfo *info,
*
* Subsampled formats will use the horizontally cosited component in the
* destination. Subsampling should be performed before packing.
*
* Because tis function does not have a x coordinate, it is not possible to
* pack pixels starting from an unaligned position. For tiled images this
* means that packing should start from a tile coordinate. For subsampled
* formats this means that a complete pixel need to be packed.
*/
typedef void (*GstVideoFormatPack) (const GstVideoFormatInfo *info,
GstVideoPackFlags flags,