From 61cbdf379bcafdcf1aac1af793046fcd6a8d47c8 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 26 Dec 2013 17:40:05 +0100 Subject: [PATCH] format: improve docs https://bugzilla.gnome.org/show_bug.cgi?id=707361 --- gst-libs/gst/video/video-format.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gst-libs/gst/video/video-format.h b/gst-libs/gst/video/video-format.h index 292bda22b4..a9cf0775a2 100644 --- a/gst-libs/gst/video/video-format.h +++ b/gst-libs/gst/video/video-format.h @@ -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,