Search
SailfishOS Open Build Service
>
Projects
>
home:sledge
:
branches:nemo:devel:hw:ti:omap4:common
>
gst-plugins-base
> 0014-stridetransform-updates-for-new-extra-anal-compiler-.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0014-stridetransform-updates-for-new-extra-anal-compiler-.patch of Package gst-plugins-base
From 51386c45459f8e506abe2ce8f828984b6a7c808d Mon Sep 17 00:00:00 2001 From: Rob Clark <rob@ti.com> Date: Thu, 8 Apr 2010 03:30:35 -0500 Subject: [PATCH 14/38] stridetransform: updates for new extra-anal compiler warning flags --- gst/stride/convert.c | 6 ++++++ gst/stride/gststridetransform.c | 13 ++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/gst/stride/convert.c b/gst/stride/convert.c index fdb02ae..ad9c0aa 100644 --- a/gst/stride/convert.c +++ b/gst/stride/convert.c @@ -48,6 +48,12 @@ GST_DEBUG_CATEGORY_EXTERN (stridetransform_debug); * Conversion utilities: */ +void stride_copy_zip2 (guchar * new_buf, guchar * orig_buf1, + guchar * orig_buf2, gint sz); +void stride_copy_zip3a (guchar * new_buf, guchar * orig_buf1, + guchar * orig_buf2, guchar * orig_buf3, gint sz); +void stride_copy (guchar * new_buf, guchar * orig_buf, gint sz); + WEAK void stride_copy_zip2 (guchar *new_buf, guchar *orig_buf1, guchar *orig_buf2, gint sz) { diff --git a/gst/stride/gststridetransform.c b/gst/stride/gststridetransform.c index c35be73..de07c11 100644 --- a/gst/stride/gststridetransform.c +++ b/gst/stride/gststridetransform.c @@ -57,14 +57,6 @@ /* last entry has GST_VIDEO_FORMAT_UNKNOWN for in/out formats */ extern const Conversion stride_conversions[]; - -static const GstElementDetails stridetransform_details = -GST_ELEMENT_DETAILS ("Stride transform", - "Filter/Converter/Video", - "Convert between video buffers with and without stride, or with differing stride", - "Rob Clark <rob@ti.com>,"); - - /* TODO: add rgb formats too! */ #define YUV_SUPPORTED_CAPS \ GST_VIDEO_CAPS_YUV_STRIDED ("{I420, YV12, YUY2, UYVY, NV12 }", "[ 0, max ]") @@ -117,7 +109,10 @@ gst_stride_transform_base_init (gpointer g_class) GST_DEBUG_CATEGORY_INIT (stridetransform_debug, "stride", 0, "stride transform element"); - gst_element_class_set_details (gstelement_class, &stridetransform_details); + gst_element_class_set_details_simple (gstelement_class, + "Stride transform", "Filter/Converter/Video", + "Convert between video buffers with and without stride, or with differing stride", + "Rob Clark <rob@ti.com>,"); gst_element_class_add_pad_template (gstelement_class, gst_static_pad_template_get (&sink_template)); -- 1.7.5.4