1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
|
.TH "API functions" 3 "15 Oct 2001" "XINE, A Free Video Player Project - API reference" \" -*- nroff -*-
.ad l
.nh
.SH NAME
API functions \-
.SS "Modules"
.in +1c
.ti -1c
.RI "\fBSending events\fP"
.br
.ti -1c
.RI "\fBLoading plugins\fP"
.br
.ti -1c
.RI "\fBAutoplay support\fP"
.br
.ti -1c
.RI "\fBBrowsing support\fP"
.br
.ti -1c
.RI "\fBAudio.\fP"
.br
.ti -1c
.RI "\fBEngine management\fP"
.br
.ti -1c
.RI "\fBInit functions\fP"
.br
.ti -1c
.RI "\fBVideo.\fP"
.br
.ti -1c
.RI "\fBVersion functions\fP"
.br
.ti -1c
.RI "\fBVersion constants\fP"
.br
.ti -1c
.RI "\fBPlayer status constants\fP"
.br
.in -1c
.SS "Defines"
.in +1c
.ti -1c
.RI "#define \fBXINE_IMGFMT_YV12\fP 0x32315659"
.br
.ti -1c
.RI "#define \fBXINE_IMGFMT_YUY2\fP (('2'<<24)|('Y'<<16)|('U'<<8)|'Y')"
.br
.ti -1c
.RI "#define \fBXINE_ASPECT_RATIO_SQUARE\fP 1"
.br
.ti -1c
.RI "#define \fBXINE_ASPECT_RATIO_4_3\fP 2"
.br
.ti -1c
.RI "#define \fBXINE_ASPECT_RATIO_ANAMORPHIC\fP 3"
.br
.ti -1c
.RI "#define \fBXINE_ASPECT_RATIO_211_1\fP 4"
.br
.ti -1c
.RI "#define \fBXINE_ASPECT_RATIO_DONT_TOUCH\fP 42"
.br
.in -1c
.SS "Functions"
.in +1c
.ti -1c
.RI "int \fBxine_get_current_frame\fP (\fBxine_t\fP *self, int *width, int *height, int *ratio_code, int *format, uint8_t **y, uint8_t **u, uint8_t **v)"
.br
.RI "\fISnapshot function.\fP"
.in -1c
.SH "DEFINE DOCUMENTATION"
.PP
.SS "#define XINE_ASPECT_RATIO_211_1 4"
.PP
aspect ratio.
.PP
\fBSee also: \fP
.in +1c
\fBxine_get_current_frame\fP
.SS "#define XINE_ASPECT_RATIO_4_3 2"
.PP
aspect ratio.
.PP
\fBSee also: \fP
.in +1c
\fBxine_get_current_frame\fP
.SS "#define XINE_ASPECT_RATIO_ANAMORPHIC 3"
.PP
aspect ratio.
.PP
\fBSee also: \fP
.in +1c
\fBxine_get_current_frame\fP
.SS "#define XINE_ASPECT_RATIO_DONT_TOUCH 42"
.PP
aspect ratio.
.PP
\fBSee also: \fP
.in +1c
\fBxine_get_current_frame\fP
.SS "#define XINE_ASPECT_RATIO_SQUARE 1"
.PP
aspect ratio.
.PP
\fBSee also: \fP
.in +1c
\fBxine_get_current_frame\fP
.SS "#define XINE_IMGFMT_YUY2 (('2'<<24)|('Y'<<16)|('U'<<8)|'Y')"
.PP
image format.
.PP
\fBSee also: \fP
.in +1c
\fBxine_get_current_frame\fP
.SS "#define XINE_IMGFMT_YV12 0x32315659"
.PP
image format.
.PP
\fBSee also: \fP
.in +1c
\fBxine_get_current_frame\fP
.SH "FUNCTION DOCUMENTATION"
.PP
.SS "int xine_get_current_frame (\fBxine_t\fP * self, int * width, int * height, int * ratio_code, int * format, uint8_t ** y, uint8_t ** u, uint8_t ** v)"
.PP
Snapshot function.
.PP
\fBParameters: \fP
.in +1c
.TP
\fB\fIself\fP\fP
Current xine engine configuration ( see \fBxine_init\fP() )
.TP
\fB\fIwidth\fP\fP
Width of image (be aware that u,v may be subsampled)
.TP
\fB\fIheight\fP\fP
Height of image (be aware that u,v may be subsampled)
.TP
\fB\fIratio_code\fP\fP
Aspect ratio of the frame
.TP
\fB\fIformat\fP\fP
Subsampling format YUV 4:2:0 or 4:2:2
.TP
\fB\fIy\fP\fP
Lumiance information
.TP
\fB\fIu\fP\fP
Subsample color information
.TP
\fB\fIv\fP\fP
Subsample color information
.PP
\fBReturns: \fP
.in +1c
1 on success, 0 failure.
.PP
\fBParameters: \fP
.in +1c
.TP
\fB\fIself\fP\fP
.TP
\fB\fIwidth\fP\fP
.TP
\fB\fIheight\fP\fP
.TP
\fB\fIratio_code\fP\fP
.TP
\fB\fIformat\fP\fP
.TP
\fB\fIy\fP\fP
.TP
\fB\fIu\fP\fP
.TP
\fB\fIv\fP\fP
|