2
* Copyright (C) 2006 Mark Nauwelaerts <mnauw@users.sourceforge.net>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software Foundation, Inc.,
16
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1307, USA.
20
#ifndef __PLUGIN_TC_H__
21
#define __PLUGIN_TC_H__
24
#include <gst/video/video.h>
25
#include <gst/video/gstvideofilter.h>
26
#include <gst/controller/gstcontroller.h>
27
#include <liboil/liboil.h>
29
#include "gst/video/video-utils.h"
31
#define GST_VIDEO_I420_Y_ROWSTRIDE(width) (GST_ROUND_UP_4(width))
32
#define GST_VIDEO_I420_U_ROWSTRIDE(width) (GST_ROUND_UP_8(width)/2)
33
#define GST_VIDEO_I420_V_ROWSTRIDE(width) (GST_VIDEO_I420_U_ROWSTRIDE(width))
35
#define GST_VIDEO_I420_Y_OFFSET(w,h) (0)
36
#define GST_VIDEO_I420_U_OFFSET(w,h) (GST_VIDEO_I420_Y_OFFSET(w,h)+(GST_VIDEO_I420_Y_ROWSTRIDE(w)*GST_ROUND_UP_2(h)))
37
#define GST_VIDEO_I420_V_OFFSET(w,h) (GST_VIDEO_I420_U_OFFSET(w,h)+(GST_VIDEO_I420_U_ROWSTRIDE(w)*GST_ROUND_UP_2(h)/2))
39
#define GST_VIDEO_I420_SIZE(w,h) (GST_VIDEO_I420_V_OFFSET(w,h)+(GST_VIDEO_I420_V_ROWSTRIDE(w)*GST_ROUND_UP_2(h)/2))
42
GType gst_dnr_get_type (void);
43
GType gst_smooth_get_type (void);
44
GType gst_cshift_get_type (void);
45
GType gst_csub_get_type (void);
46
GType gst_whitebalance_get_type (void);
47
GType gst_ivtc_get_type (void);
48
GType gst_decimate_get_type (void);
49
GType gst_detect_inter_get_type (void);
50
GType gst_mask_get_type (void);
51
GType gst_rb_swap_get_type (void);
52
GType gst_divx_key_get_type (void);
53
GType gst_astat_get_type (void);
55
#endif /* __PLUGIN_TC_H__ */