diff options
-rw-r--r-- | ext/hermes/Makefile.am | 2 | ||||
-rw-r--r-- | ext/hermes/yuv2yuv.h | 28 |
2 files changed, 29 insertions, 1 deletions
diff --git a/ext/hermes/Makefile.am b/ext/hermes/Makefile.am index f178a29f..9270f085 100644 --- a/ext/hermes/Makefile.am +++ b/ext/hermes/Makefile.am @@ -19,4 +19,4 @@ libgstcolorspace_la_CFLAGS = $(GST_CFLAGS) libgstcolorspace_la_LIBADD = $(PLUGIN_EXTRA_LIBS) libgstcolorspace_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) -noinst_HEADERS = gstcolorspace.h yuv2rgb.h +noinst_HEADERS = gstcolorspace.h yuv2rgb.h yuv2yuv.h diff --git a/ext/hermes/yuv2yuv.h b/ext/hermes/yuv2yuv.h new file mode 100644 index 00000000..66de03ad --- /dev/null +++ b/ext/hermes/yuv2yuv.h @@ -0,0 +1,28 @@ + /* GStreamer + * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef __YUV2YUV_H__ +#define __YUV2YUV_H__ + +#include <gst/gst.h> + +void gst_colorspace_yuy2_to_i420( guchar *src, guchar *dest, guint width, guint height); + +#endif + |