[Bug 795462] video: Add support for the 10bit yuv pixel format from the Rockchip SoC platform

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 24 18:33:15 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=795462

Nicolas Dufresne (ndufresne) <nicolas at ndufresne.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #371312|none                        |needs-work
             status|                            |

--- Comment #5 from Nicolas Dufresne (ndufresne) <nicolas at ndufresne.ca> ---
Review of attachment 371312:
 --> (https://bugzilla.gnome.org/review?bug=795462&attachment=371312)

::: gst-libs/gst/video/video-info.c
@@ +1030,3 @@
       break;
+    case GST_VIDEO_FORMAT_NV12_10LE40:
+      info->stride[0] = ((width * 5 >> 2) + 4) & (~4);

As per IRC, you said you wanted to round up by 4, but this roundup technique
only applies to power of two. You'll need * / instead.

-- 
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