All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karthik Ramanan <a0393906@ti.com>
To: <meta-arago@arago-project.org>
Subject: Re: [daisy, master 2/2] gstreamer1.0-plugins-good: optimize delay in v4l2src
Date: Mon, 27 Jul 2015 16:29:56 +0530	[thread overview]
Message-ID: <55B60F2C.4020201@ti.com> (raw)
In-Reply-To: <1437992680-17958-2-git-send-email-a0393906@ti.com>

On further thought, I think this applies only to daisy.
Please ignore the merge request into master.

On 27-Jul-15 3:54 PM, Karthik Ramanan wrote:
> Signed-off-by: Karthik Ramanan <a0393906@ti.com>
> ---
>   ...0002-gstv4l2src-Optimize-delay-in-capture.patch |   31 ++++++++++++++++++++
>   .../gstreamer1.0-plugins-good_1.2.3.bbappend       |    5 ++--
>   2 files changed, 34 insertions(+), 2 deletions(-)
>   create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0002-gstv4l2src-Optimize-delay-in-capture.patch
>
> diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0002-gstv4l2src-Optimize-delay-in-capture.patch b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0002-gstv4l2src-Optimize-delay-in-capture.patch
> new file mode 100644
> index 0000000..07c2f24
> --- /dev/null
> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0002-gstv4l2src-Optimize-delay-in-capture.patch
> @@ -0,0 +1,31 @@
> +From e989ef6143b222df6eb79bab626fc972d6513ead Mon Sep 17 00:00:00 2001
> +From: Pooja Prajod <a0132412@ti.com>
> +Date: Wed, 4 Mar 2015 16:40:26 +0530
> +Subject: [PATCH 2/2] gstv4l2src: Optimize delay in capture
> +
> +This patch reduces the delay in capture by reducing
> +the S_FMT ioctls for determining whether its interlaced capture.
> +It assumes capture is not interlaced if driver is vip
> +
> +Signed-off-by: Pooja Prajod <a0132412@ti.com>
> +---
> + sys/v4l2/gstv4l2object.c |    3 +++
> + 1 file changed, 3 insertions(+)
> +
> +diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c
> +index c3ed422..77d75c2 100644
> +--- a/sys/v4l2/gstv4l2object.c
> ++++ b/sys/v4l2/gstv4l2object.c
> +@@ -1706,6 +1706,9 @@ gst_v4l2_object_probe_caps_for_format_and_size (GstV4l2Object * v4l2object,
> +      * causes expensive and slow USB IO, so don't probe them for interlaced
> +      */
> +     interlaced = FALSE;
> ++  } else if (!strcmp ((char *) v4l2object->vcap.driver, "vip")) {
> ++    /* Interlaced detection using VIDIOC_TRY/S_FMT */
> ++    interlaced = FALSE;
> +   } else {
> +     /* Interlaced detection using VIDIOC_TRY/S_FMT */
> +     if (!gst_v4l2_object_get_nearest_size (v4l2object, pixelformat,
> +--
> +1.7.9.5
> +
> diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.2.3.bbappend b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.2.3.bbappend
> index 0548aa9..6b8df1d 100644
> --- a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.2.3.bbappend
> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.2.3.bbappend
> @@ -1,6 +1,7 @@
>   FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
>   SRC_URI_append = " \
> -        file://0001-Adds-GST_V4L2_IO_DMABUF-mode-support-in-capture.patch"
> +        file://0001-Adds-GST_V4L2_IO_DMABUF-mode-support-in-capture.patch \
> +        file://0002-gstv4l2src-Optimize-delay-in-capture.patch"
>
> -PR_append = "-arago0"
> +PR_append = "-arago1"
>



  reply	other threads:[~2015-07-27 11:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-27 10:24 [daisy, master 1/2] gstreamer1.0-plugins-bad: recipe revamp and bug fixes Karthik Ramanan
2015-07-27 10:24 ` [daisy, master 2/2] gstreamer1.0-plugins-good: optimize delay in v4l2src Karthik Ramanan
2015-07-27 10:59   ` Karthik Ramanan [this message]
2015-07-27 10:59 ` [daisy, master 1/2] gstreamer1.0-plugins-bad: recipe revamp and bug fixes Karthik Ramanan
2015-07-31  0:12 ` Denys Dmytriyenko
2015-07-31  4:49   ` Karthik Ramanan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55B60F2C.4020201@ti.com \
    --to=a0393906@ti.com \
    --cc=meta-arago@arago-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.