| 1 |
|
| 2 |
|
| 3 |
> |
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
#ifndef __GST_VIDEO_MIXER2_PAD_H__ |
| 22 |
#define __GST_VIDEO_MIXER2_PAD_H__ |
| 23 |
|
| 24 |
#include <gst/gst.h> |
| 25 |
#include <gst/video/video.h> |
| 26 |
|
| 27 |
#include <gst/base/gstcollectpads.h> |
| 28 |
|
| 29 |
G_BEGIN_DECLS |
| 30 |
|
| 31 |
#define GST_TYPE_VIDEO_MIXER2_PAD (gst_videomixer2_pad_get_type()) |
| 32 |
#define GST_VIDEO_MIXER2_PAD(obj) \ |
| 33 |
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VIDEO_MIXER2_PAD, GstVideoMixer2Pad)) |
| 34 |
#define GST_VIDEO_MIXER2_PAD_CLASS(klass) \ |
| 35 |
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VIDEO_MIXER_PAD, GstVideoMixer2PadClass)) |
| 36 |
#define GST_IS_VIDEO_MIXER2_PAD(obj) \ |
| 37 |
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VIDEO_MIXER2_PAD)) |
| 38 |
#define GST_IS_VIDEO_MIXER2_PAD_CLASS(klass) \ |
| 39 |
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VIDEO_MIXER2_PAD)) |
| 40 |
|
| 41 |
typedef struct _GstVideoMixer2Pad GstVideoMixer2Pad; |
| 42 |
typedef struct _GstVideoMixer2PadClass GstVideoMixer2PadClass; |
| 43 |
typedef struct _GstVideoMixer2Collect GstVideoMixer2Collect; |
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
struct _GstVideoMixer2Pad |
| 51 |
{ |
| 52 |
GstPad parent; |
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
GstVideoInfo info; |
| 58 |
|
| 59 |
|
| 60 |
gint xpos, ypos; |
| 61 |
guint zorder; |
| 62 |
gdouble alpha; |
| 63 |
|
| 64 |
GstVideoMixer2Collect *mixcol; |
| 65 |
|
| 66 |
|
| 67 |
GstVideoInfo conversion_info; |
| 68 |
|
| 69 |
|
| 70 |
GstVideoConverter *convert; |
| 71 |
|
| 72 |
gboolean need_conversion_update; |
| 73 |
}; |
| 74 |
|
| 75 |
struct _GstVideoMixer2PadClass |
| 76 |
{ |
| 77 |
GstPadClass parent_class; |
| 78 |
}; |
| 79 |
|
| 80 |
GType gst_videomixer2_pad_get_type (void); |
| 81 |
|
| 82 |
G_END_DECLS |
| 83 |
#endif |