* [meta-arago][kirkstone][PATCH] receipes-multimedia: gstreamer: Increase decode display delay
@ 2023-06-28 13:59 Prasanth Babu Mantena
2023-06-28 15:09 ` Denys Dmytriyenko
0 siblings, 1 reply; 2+ messages in thread
From: Prasanth Babu Mantena @ 2023-06-28 13:59 UTC (permalink / raw)
To: meta-arago, reatmon; +Cc: vigneshr, praneeth, denis, r-ravikumar
Increase the number of buffers between the decoder and display to
support smooth streaming of decoded data to downstream pool.
This has been set to ref_frame plus 3 which was 2 before.
Signed-off-by: Prasanth Babu Mantena <p-mantena@ti.com>
---
.../0001-v4l2-Changes-for-DMA-Buf-import-j721s2.patch | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Changes-for-DMA-Buf-import-j721s2.patch b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Changes-for-DMA-Buf-import-j721s2.patch
index 45ad91ee..0e155ef1 100644
--- a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Changes-for-DMA-Buf-import-j721s2.patch
+++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Changes-for-DMA-Buf-import-j721s2.patch
@@ -1,4 +1,4 @@
-From b46a76bc1010aee88828eddcb4b3da01ce710b27 Mon Sep 17 00:00:00 2001
+From 6b01fbb7785a0c950d7b4b0a3767aa35c9f7e60f Mon Sep 17 00:00:00 2001
From: Prasanth Babu Mantena <p-mantena@ti.com>
Date: Wed, 7 Jun 2023 18:24:55 +0530
Subject: [PATCH] v4l2: Changes for DMA Buf import j721s2
@@ -6,6 +6,7 @@ Subject: [PATCH] v4l2: Changes for DMA Buf import j721s2
Add checks to release the buffer to downstream pool when returned with
error flag from the driver. This buffer which registered with driver is
used a an offset buffer without any new allocation in downstram pool.
+Set buffer offset to ref_frames plus 3.
Signed-off-by: Prasanth Babu Mantena <p-mantena@ti.com>
---
@@ -67,7 +68,7 @@ index 60340c2..cec4207 100644
#endif /*__GST_V4L2_BUFFER_POOL_H__ */
diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c
-index ee60540..e9026da 100644
+index ee60540..0952bb4 100644
--- a/sys/v4l2/gstv4l2object.c
+++ b/sys/v4l2/gstv4l2object.c
@@ -5040,7 +5040,7 @@ gst_v4l2_object_decide_allocation (GstV4l2Object * obj, GstQuery * query)
@@ -75,7 +76,7 @@ index ee60540..e9026da 100644
/* In this case we'll have to configure two buffer pool. For our buffer
* pool, we'll need what the driver one, and one more, so we can dequeu */
- own_min = obj->min_buffers + 1;
-+ own_min = obj->min_buffers + 2;
++ own_min = obj->min_buffers + 3;
own_min = MAX (own_min, GST_V4L2_MIN_BUFFERS (obj));
/* for the downstream pool, we keep what downstream wants, though ensure
--
2.39.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-arago][kirkstone][PATCH] receipes-multimedia: gstreamer: Increase decode display delay
2023-06-28 13:59 [meta-arago][kirkstone][PATCH] receipes-multimedia: gstreamer: Increase decode display delay Prasanth Babu Mantena
@ 2023-06-28 15:09 ` Denys Dmytriyenko
0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2023-06-28 15:09 UTC (permalink / raw)
To: Prasanth Babu Mantena
Cc: meta-arago, reatmon, vigneshr, praneeth, r-ravikumar
> receipes-multimedia: gstreamer: Increase decode display delay
^^^^ "receipes" has a typo, plus it shouldn't even be there
On Wed, Jun 28, 2023 at 07:29:41PM +0530, Prasanth Babu Mantena wrote:
> Increase the number of buffers between the decoder and display to
> support smooth streaming of decoded data to downstream pool.
> This has been set to ref_frame plus 3 which was 2 before.
>
> Signed-off-by: Prasanth Babu Mantena <p-mantena@ti.com>
> ---
> .../0001-v4l2-Changes-for-DMA-Buf-import-j721s2.patch | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Changes-for-DMA-Buf-import-j721s2.patch b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Changes-for-DMA-Buf-import-j721s2.patch
> index 45ad91ee..0e155ef1 100644
> --- a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Changes-for-DMA-Buf-import-j721s2.patch
> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2-Changes-for-DMA-Buf-import-j721s2.patch
> @@ -1,4 +1,4 @@
> -From b46a76bc1010aee88828eddcb4b3da01ce710b27 Mon Sep 17 00:00:00 2001
> +From 6b01fbb7785a0c950d7b4b0a3767aa35c9f7e60f Mon Sep 17 00:00:00 2001
> From: Prasanth Babu Mantena <p-mantena@ti.com>
> Date: Wed, 7 Jun 2023 18:24:55 +0530
> Subject: [PATCH] v4l2: Changes for DMA Buf import j721s2
> @@ -6,6 +6,7 @@ Subject: [PATCH] v4l2: Changes for DMA Buf import j721s2
> Add checks to release the buffer to downstream pool when returned with
> error flag from the driver. This buffer which registered with driver is
> used a an offset buffer without any new allocation in downstram pool.
> +Set buffer offset to ref_frames plus 3.
>
> Signed-off-by: Prasanth Babu Mantena <p-mantena@ti.com>
> ---
> @@ -67,7 +68,7 @@ index 60340c2..cec4207 100644
>
> #endif /*__GST_V4L2_BUFFER_POOL_H__ */
> diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c
> -index ee60540..e9026da 100644
> +index ee60540..0952bb4 100644
> --- a/sys/v4l2/gstv4l2object.c
> +++ b/sys/v4l2/gstv4l2object.c
> @@ -5040,7 +5040,7 @@ gst_v4l2_object_decide_allocation (GstV4l2Object * obj, GstQuery * query)
> @@ -75,7 +76,7 @@ index ee60540..e9026da 100644
> /* In this case we'll have to configure two buffer pool. For our buffer
> * pool, we'll need what the driver one, and one more, so we can dequeu */
> - own_min = obj->min_buffers + 1;
> -+ own_min = obj->min_buffers + 2;
> ++ own_min = obj->min_buffers + 3;
> own_min = MAX (own_min, GST_V4L2_MIN_BUFFERS (obj));
>
> /* for the downstream pool, we keep what downstream wants, though ensure
> --
> 2.39.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-28 15:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-28 13:59 [meta-arago][kirkstone][PATCH] receipes-multimedia: gstreamer: Increase decode display delay Prasanth Babu Mantena
2023-06-28 15:09 ` Denys Dmytriyenko
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.