1 /* gstreamer-video-0.10-custom.vala
3 * Copyright (C) 2008 Ali Sabil
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 * Ali Sabil <ali.sabil@gmail.com>
24 [CCode (cheader_filename
= "gst/video/video.h")]
25 namespace VideoMask32
{
26 [CCode (cname
= "GST_VIDEO_BYTE1_MASK_32")]
27 public const string BYTE1
;
28 [CCode (cname
= "GST_VIDEO_BYTE2_MASK_32")]
29 public const string BYTE2
;
30 [CCode (cname
= "GST_VIDEO_BYTE3_MASK_32")]
31 public const string BYTE3
;
32 [CCode (cname
= "GST_VIDEO_BYTE4_MASK_32")]
33 public const string BYTE4
;
35 [CCode (cname
= "GST_VIDEO_BYTE1_MASK_32_INT")]
36 public const int BYTE1_INT
;
37 [CCode (cname
= "GST_VIDEO_BYTE2_MASK_32_INT")]
38 public const int BYTE2_INT
;
39 [CCode (cname
= "GST_VIDEO_BYTE3_MASK_32_INT")]
40 public const int BYTE3_INT
;
41 [CCode (cname
= "GST_VIDEO_BYTE4_MASK_32_INT")]
42 public const int BYTE4_INT
;
44 [CCode (cheader_filename
= "gst/video/video.h")]
45 namespace VideoMask24
{
46 [CCode (cname
= "GST_VIDEO_BYTE1_MASK_24")]
47 public const string BYTE1
;
48 [CCode (cname
= "GST_VIDEO_BYTE2_MASK_24")]
49 public const string BYTE2
;
50 [CCode (cname
= "GST_VIDEO_BYTE3_MASK_24")]
51 public const string BYTE3
;
53 [CCode (cname
= "GST_VIDEO_BYTE1_MASK_24_INT")]
54 public const int BYTE1_INT
;
55 [CCode (cname
= "GST_VIDEO_BYTE2_MASK_24_INT")]
56 public const int BYTE2_INT
;
57 [CCode (cname
= "GST_VIDEO_BYTE3_MASK_24_INT")]
58 public const int BYTE3_INT
;
61 [CCode (cheader_filename
= "gst/video/video.h")]
62 namespace VideoMask16
{
63 [CCode (cname
= "GST_VIDEO_RED_MASK_16")]
64 public const string RED
;
65 [CCode (cname
= "GST_VIDEO_GREEN_MASK_16")]
66 public const string GREEN
;
67 [CCode (cname
= "GST_VIDEO_BLUE_MASK_16")]
68 public const string BLUE
;
70 [CCode (cname
= "GST_VIDEO_RED_MASK_16_INT")]
71 public const int RED_INT
;
72 [CCode (cname
= "GST_VIDEO_GREEN_MASK_16_INT")]
73 public const int GREEN_INT
;
74 [CCode (cname
= "GST_VIDEO_BLUE_MASK_16_INT")]
75 public const int BLUE_INT
;
78 [CCode (cheader_filename
= "gst/video/video.h")]
79 namespace VideoMask15
{
80 [CCode (cname
= "GST_VIDEO_RED_MASK_15")]
81 public const string RED
;
82 [CCode (cname
= "GST_VIDEO_GREEN_MASK_15")]
83 public const string GREEN
;
84 [CCode (cname
= "GST_VIDEO_BLUE_MASK_15")]
85 public const string BLUE
;
87 [CCode (cname
= "GST_VIDEO_RED_MASK_15_INT")]
88 public const int RED_INT
;
89 [CCode (cname
= "GST_VIDEO_GREEN_MASK_15_INT")]
90 public const int GREEN_INT
;
91 [CCode (cname
= "GST_VIDEO_BLUE_MASK_15_INT")]
92 public const int BLUE_INT
;
95 [CCode (cheader_filename
= "gst/video/video.h")]
96 namespace VideoRange
{
97 [CCode (cname
= "GST_VIDEO_SIZE_RANGE")]
98 public const string SIZE
;
99 [CCode (cname
= "GST_VIDEO_FPS_RANGE")]
100 public const string FPS
;
103 [CCode (cprefix
= "GST_VIDEO_CAPS_", cheader_filename
= "gst/video/video.h")]
104 namespace VideoCaps
{
105 public const string RGB
;
106 public const string BGR
;
108 public const string RGBx
;
109 public const string xRGB
;
110 public const string BGRx
;
111 public const string xBGR
;
113 public const string RGBA
;
114 public const string ARGB
;
115 public const string BGRA
;
116 public const string ABGR
;
118 public const string xRGB_HOST_ENDIAN
;
119 public const string BGRx_HOST_ENDIAN
;
121 public const string RGB_16
;
122 public const string RGB_15
;
124 [CCode (cname
= "GST_VIDEO_CAPS_YUV")]
125 public unowned
string YUV (string fourcc
);