[Bug 733717] glmemory allocate size didn't match video_orc_pack_I420 needs if height is odd

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jul 29 05:54:14 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=733717
  GStreamer | gst-plugins-bad | 1.4.0

--- Comment #7 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-07-29 12:54:11 UTC ---
Indeed, to get the aligned default size of a plane, you need to substract the
offsets. Careful, because offset zero may not be zero in certain HW context.

/* For planar format, 3 planes */
plane1_size = offset[1] - offset[0];
plane2_size = offset[2] - offset[1];
plane3_size = (offset[0] + size) - offset[2];

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list