diff options
Diffstat (limited to 'media-plugins/gst-plugins-v4l2/files/gst-0.10.27-0010-v4l2-prefer-NV12.patch')
-rw-r--r-- | media-plugins/gst-plugins-v4l2/files/gst-0.10.27-0010-v4l2-prefer-NV12.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/media-plugins/gst-plugins-v4l2/files/gst-0.10.27-0010-v4l2-prefer-NV12.patch b/media-plugins/gst-plugins-v4l2/files/gst-0.10.27-0010-v4l2-prefer-NV12.patch deleted file mode 100644 index 301056a..0000000 --- a/media-plugins/gst-plugins-v4l2/files/gst-0.10.27-0010-v4l2-prefer-NV12.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 107c18830342c69229857f968dff33071d07992d Mon Sep 17 00:00:00 2001 -From: Rob Clark <rob@ti.com> -Date: Tue, 14 Sep 2010 07:44:01 -0500 -Subject: [PATCH 10/11] v4l2: prefer NV12 - -All else being equal, the buffer sizes are smaller compared to a 422 format -like YUY2/UYVY.. although ideally rank would come from driver. ---- - sys/v4l2/gstv4l2object.c | 3 +++ - 1 files changed, 3 insertions(+), 0 deletions(-) - -diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c -index 5e34456..644edcf 100644 ---- a/sys/v4l2/gstv4l2object.c -+++ b/sys/v4l2/gstv4l2object.c -@@ -886,6 +886,9 @@ gst_v4l2_object_format_get_rank (const struct v4l2_fmtdesc *fmt) - break; - - case V4L2_PIX_FMT_NV12: /* 12 Y/CbCr 4:2:0 */ -+ rank = YUV_BASE_RANK + 11; -+ break; -+ - case V4L2_PIX_FMT_NV21: /* 12 Y/CrCb 4:2:0 */ - case V4L2_PIX_FMT_YYUV: /* 16 YUV 4:2:2 */ - case V4L2_PIX_FMT_HI240: /* 8 8-bit color */ --- -1.7.1 - |