diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-06-20 16:52:30 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-06-20 16:52:30 +0200 |
commit | 97af9b54157142f500c0322b49e669d893768850 (patch) | |
tree | e19216da2dc490aa5504c6dd45b2983c4633bc9f /recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0009-MMFMWK-7030-Linux_MX6QP_ARD-IMXCameraApp-When-Enable.patch | |
parent | 1ea27c0e94885dfe703dafd49fe42a40a180554a (diff) |
Revert "imx-gst1.0-plugin: Add v4.3.1 and NXP specific gstreamer1.0 patches"
This resp. a later version got recently pulled into the rocko branch of
meta-freescale.
This reverts commit 5faa79028eead21680d490a1b589a3875f966e0e.
Diffstat (limited to 'recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0009-MMFMWK-7030-Linux_MX6QP_ARD-IMXCameraApp-When-Enable.patch')
-rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0009-MMFMWK-7030-Linux_MX6QP_ARD-IMXCameraApp-When-Enable.patch | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0009-MMFMWK-7030-Linux_MX6QP_ARD-IMXCameraApp-When-Enable.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0009-MMFMWK-7030-Linux_MX6QP_ARD-IMXCameraApp-When-Enable.patch deleted file mode 100644 index 8055e84..0000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0009-MMFMWK-7030-Linux_MX6QP_ARD-IMXCameraApp-When-Enable.patch +++ /dev/null @@ -1,58 +0,0 @@ -From c2790999940b0d96a663114c7f7a5af3b6069fef Mon Sep 17 00:00:00 2001 -From: Song Bing <b06498@freescale.com> -Date: Mon, 11 Jan 2016 14:51:17 +0800 -Subject: [PATCH 10/16] MMFMWK-7030 [Linux_MX6QP_ARD]IMXCameraApp:When Enabled - "save time to image" item, preview, find the time can not display completely. - 100% - -As IPU need 8 pixels alignment, add one workaround in base text overlay -to generate 8 pixels alignment text video buffer. The side effect should -cause all text a little smaller. - -Upstream-Status: Inappropriate [i.MX specific] - -Signed-off-by: Song Bing b06498@freescale.com ---- - ext/pango/gstbasetextoverlay.c | 12 ++++++++++-- - 1 file changed, 10 insertions(+), 2 deletions(-) - -diff --git a/ext/pango/gstbasetextoverlay.c b/ext/pango/gstbasetextoverlay.c -index c08e3b0..421340a 100755 ---- a/ext/pango/gstbasetextoverlay.c -+++ b/ext/pango/gstbasetextoverlay.c -@@ -1677,7 +1677,7 @@ gst_base_text_overlay_render_pangocairo (GstBaseTextOverlay * overlay, - gint unscaled_width, unscaled_height; - gint width, height; - gboolean full_width = FALSE; -- double scalef = 1.0; -+ double scalef = 1.0, scalefx, scalefy; - double a, r, g, b; - gdouble shadow_offset = 0.0; - gdouble outline_offset = 0.0; -@@ -1805,6 +1805,14 @@ gst_base_text_overlay_render_pangocairo (GstBaseTextOverlay * overlay, - height = ceil (height * overlay->render_scale); - scalef *= overlay->render_scale; - -+ /* i.MX special, will cause text a little small */ -+ scalefx = scalef * ((gdouble)GST_ROUND_DOWN_8 (width)) / width; -+ scalefy = scalef * ((gdouble)GST_ROUND_DOWN_8 (height)) / height; -+ width = GST_ROUND_DOWN_8 (width); -+ height = GST_ROUND_DOWN_8 (height); -+ GST_DEBUG_OBJECT (overlay, "Rendering with width %d and height %d " -+ , width, height); -+ - if (width <= 0 || height <= 0) { - g_mutex_unlock (GST_BASE_TEXT_OVERLAY_GET_CLASS (overlay)->pango_lock); - GST_DEBUG_OBJECT (overlay, -@@ -1821,7 +1829,7 @@ gst_base_text_overlay_render_pangocairo (GstBaseTextOverlay * overlay, - /* Prepare the transformation matrix. Note that the transformation happens - * in reverse order. So for horizontal text, we will translate and then - * scale. This is important to understand which scale shall be used. */ -- cairo_matrix_init_scale (&cairo_matrix, scalef, scalef); -+ cairo_matrix_init_scale (&cairo_matrix, scalefx, scalefy); - - if (overlay->use_vertical_render) { - gint tmp; --- -1.9.1 - |