video: implement x offset parameter in GstVideoFormatUnpack functions for all formats
@tpm
Submitted by Tim Müller Link to original bug (#740228)
Description
+++ This bug was initially created as a clone of Bug 739281 +++
Two issues:
a) our GstVideoFormatUnpack functions for the various video formats seem to completely ignore the x parameter.
b) GstVideoFormatPack does not seem to have an x parameter; this is unfortunate, since it means we need to unpack/pack a lot of pixels we don't actually need at all (e.g. when blending pixels of a logo somewhere we'd need to unpack/pack from x=0 to x=logo_xpos+logo_width instead of from x=logo_xpos to x=logo_xpos+logo_width (unless we manually adjust row pointers we pass I guess, which won't work well for complex formats)