diff options
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-autovideoconvert-add-imxvideoconvert_g2d.patch')
-rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-autovideoconvert-add-imxvideoconvert_g2d.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-autovideoconvert-add-imxvideoconvert_g2d.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-autovideoconvert-add-imxvideoconvert_g2d.patch deleted file mode 100644 index d4fd8cf3..00000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-autovideoconvert-add-imxvideoconvert_g2d.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | From 784881b9bffaa768c3a1e9cb3d8eead7b4ca356a Mon Sep 17 00:00:00 2001 | ||
2 | From: Hiago De Franco <hiago.franco@toradex.com> | ||
3 | Date: Thu, 12 Sep 2024 18:44:14 +0200 | ||
4 | Subject: [PATCH] autovideoconvert: add imxvideoconvert_g2d | ||
5 | |||
6 | On i.MX8 platform, autovideoconvert defaults to CPU-based processing as | ||
7 | imxvideoconvert_g2d is not included as a listed filter, resulting in | ||
8 | poor video playback performance. | ||
9 | |||
10 | Add imxvideoconvert_g2d to improve performance by utilizing hardware | ||
11 | acceleration. | ||
12 | |||
13 | Upstream-Status: Submitted [https://github.com/nxp-imx/gst-plugins-bad/pull/2] | ||
14 | Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> | ||
15 | --- | ||
16 | gst/autoconvert/gstautovideoconvert.c | 7 +++++++ | ||
17 | 1 file changed, 7 insertions(+) | ||
18 | |||
19 | diff --git a/gst/autoconvert/gstautovideoconvert.c b/gst/autoconvert/gstautovideoconvert.c | ||
20 | index cf5468316cd5..b91bd1556c37 100644 | ||
21 | --- a/gst/autoconvert/gstautovideoconvert.c | ||
22 | +++ b/gst/autoconvert/gstautovideoconvert.c | ||
23 | @@ -85,6 +85,13 @@ gst_auto_video_convert_init (GstAutoVideoConvert * autovideoconvert) | ||
24 | .filters = { NULL }, | ||
25 | .rank = GST_RANK_SECONDARY, | ||
26 | }, | ||
27 | + { | ||
28 | + .first_elements = { "capsfilter caps=\"video/x-raw\"", NULL, }, | ||
29 | + .colorspace_converters = { "imxvideoconvert_g2d", NULL }, | ||
30 | + .last_elements = { NULL, }, | ||
31 | + .filters = { NULL }, | ||
32 | + .rank = GST_RANK_PRIMARY + 1, | ||
33 | + }, | ||
34 | { | ||
35 | .first_elements = { "capsfilter caps=\"video/x-raw\"", NULL, }, | ||
36 | .colorspace_converters = { "videoconvertscale", NULL }, | ||
37 | -- | ||
38 | 2.39.2 | ||
39 | |||