0
|
1 <HTML
|
|
2 ><HEAD
|
|
3 ><TITLE
|
|
4 >SDL_DisplayYUVOverlay</TITLE
|
|
5 ><META
|
|
6 NAME="GENERATOR"
|
|
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.61
|
|
8 "><LINK
|
|
9 REL="HOME"
|
|
10 TITLE="SDL Library Documentation"
|
|
11 HREF="index.html"><LINK
|
|
12 REL="UP"
|
|
13 TITLE="Video"
|
|
14 HREF="video.html"><LINK
|
|
15 REL="PREVIOUS"
|
|
16 TITLE="SDL_UnlockYUVOverlay"
|
|
17 HREF="sdlunlockyuvoverlay.html"><LINK
|
|
18 REL="NEXT"
|
|
19 TITLE="SDL_FreeYUVOverlay"
|
|
20 HREF="sdlfreeyuvoverlay.html"></HEAD
|
|
21 ><BODY
|
|
22 CLASS="REFENTRY"
|
|
23 BGCOLOR="#FFF8DC"
|
|
24 TEXT="#000000"
|
|
25 LINK="#0000ee"
|
|
26 VLINK="#551a8b"
|
|
27 ALINK="#ff0000"
|
|
28 ><DIV
|
|
29 CLASS="NAVHEADER"
|
|
30 ><TABLE
|
|
31 WIDTH="100%"
|
|
32 BORDER="0"
|
|
33 CELLPADDING="0"
|
|
34 CELLSPACING="0"
|
|
35 ><TR
|
|
36 ><TH
|
|
37 COLSPAN="3"
|
|
38 ALIGN="center"
|
|
39 >SDL Library Documentation</TH
|
|
40 ></TR
|
|
41 ><TR
|
|
42 ><TD
|
|
43 WIDTH="10%"
|
|
44 ALIGN="left"
|
|
45 VALIGN="bottom"
|
|
46 ><A
|
|
47 HREF="sdlunlockyuvoverlay.html"
|
|
48 >Prev</A
|
|
49 ></TD
|
|
50 ><TD
|
|
51 WIDTH="80%"
|
|
52 ALIGN="center"
|
|
53 VALIGN="bottom"
|
|
54 ></TD
|
|
55 ><TD
|
|
56 WIDTH="10%"
|
|
57 ALIGN="right"
|
|
58 VALIGN="bottom"
|
|
59 ><A
|
|
60 HREF="sdlfreeyuvoverlay.html"
|
|
61 >Next</A
|
|
62 ></TD
|
|
63 ></TR
|
|
64 ></TABLE
|
|
65 ><HR
|
|
66 ALIGN="LEFT"
|
|
67 WIDTH="100%"></DIV
|
|
68 ><H1
|
|
69 ><A
|
|
70 NAME="SDLDISPLAYYUVOVERLAY"
|
|
71 >SDL_DisplayYUVOverlay</A
|
|
72 ></H1
|
|
73 ><DIV
|
|
74 CLASS="REFNAMEDIV"
|
|
75 ><A
|
|
76 NAME="AEN2410"
|
|
77 ></A
|
|
78 ><H2
|
|
79 >Name</H2
|
|
80 >SDL_DisplayYUVOverlay -- Blit the overlay to the display</DIV
|
|
81 ><DIV
|
|
82 CLASS="REFSYNOPSISDIV"
|
|
83 ><A
|
|
84 NAME="AEN2413"
|
|
85 ></A
|
|
86 ><H2
|
|
87 >Synopsis</H2
|
|
88 ><DIV
|
|
89 CLASS="FUNCSYNOPSIS"
|
|
90 ><A
|
|
91 NAME="AEN2414"
|
|
92 ></A
|
|
93 ><P
|
|
94 ></P
|
|
95 ><PRE
|
|
96 CLASS="FUNCSYNOPSISINFO"
|
|
97 >#include "SDL.h"</PRE
|
|
98 ><P
|
|
99 ><CODE
|
|
100 ><CODE
|
|
101 CLASS="FUNCDEF"
|
|
102 >int <B
|
|
103 CLASS="FSFUNC"
|
|
104 >SDL_DisplayYUVOverlay</B
|
|
105 ></CODE
|
|
106 >(SDL_Overlay *overlay, SDL_Rect *dstrect);</CODE
|
|
107 ></P
|
|
108 ><P
|
|
109 ></P
|
|
110 ></DIV
|
|
111 ></DIV
|
|
112 ><DIV
|
|
113 CLASS="REFSECT1"
|
|
114 ><A
|
|
115 NAME="AEN2420"
|
|
116 ></A
|
|
117 ><H2
|
|
118 >Description</H2
|
|
119 ><P
|
|
120 >Blit the <TT
|
|
121 CLASS="PARAMETER"
|
|
122 ><I
|
|
123 >overlay</I
|
|
124 ></TT
|
|
125 > to the surface specified when it was <A
|
|
126 HREF="sdlcreateyuvoverlay.html"
|
|
127 >created</A
|
|
128 >. The <A
|
|
129 HREF="sdlrect.html"
|
|
130 ><SPAN
|
|
131 CLASS="STRUCTNAME"
|
|
132 >SDL_Rect</SPAN
|
|
133 ></A
|
|
134 > structure, <TT
|
|
135 CLASS="PARAMETER"
|
|
136 ><I
|
|
137 >dstrect</I
|
|
138 ></TT
|
|
139 >, specifies the position and size of the destination. If the <TT
|
|
140 CLASS="PARAMETER"
|
|
141 ><I
|
|
142 >dstrect</I
|
|
143 ></TT
|
|
144 > is a larger or smaller than the overlay then the overlay will be scaled, this is optimized for 2x scaling.</P
|
|
145 ></DIV
|
|
146 ><DIV
|
|
147 CLASS="REFSECT1"
|
|
148 ><A
|
|
149 NAME="AEN2429"
|
|
150 ></A
|
|
151 ><H2
|
|
152 >See Also</H2
|
|
153 ><P
|
|
154 ><A
|
|
155 HREF="sdloverlay.html"
|
|
156 ><SPAN
|
|
157 CLASS="STRUCTNAME"
|
|
158 >SDL_Overlay</SPAN
|
|
159 ></A
|
|
160 >,
|
|
161 <A
|
|
162 HREF="sdlcreateyuvoverlay.html"
|
|
163 ><TT
|
|
164 CLASS="FUNCTION"
|
|
165 >SDL_CreateYUVOverlay</TT
|
|
166 ></A
|
|
167 ></P
|
|
168 ></DIV
|
|
169 ><DIV
|
|
170 CLASS="NAVFOOTER"
|
|
171 ><HR
|
|
172 ALIGN="LEFT"
|
|
173 WIDTH="100%"><TABLE
|
|
174 WIDTH="100%"
|
|
175 BORDER="0"
|
|
176 CELLPADDING="0"
|
|
177 CELLSPACING="0"
|
|
178 ><TR
|
|
179 ><TD
|
|
180 WIDTH="33%"
|
|
181 ALIGN="left"
|
|
182 VALIGN="top"
|
|
183 ><A
|
|
184 HREF="sdlunlockyuvoverlay.html"
|
|
185 >Prev</A
|
|
186 ></TD
|
|
187 ><TD
|
|
188 WIDTH="34%"
|
|
189 ALIGN="center"
|
|
190 VALIGN="top"
|
|
191 ><A
|
|
192 HREF="index.html"
|
|
193 >Home</A
|
|
194 ></TD
|
|
195 ><TD
|
|
196 WIDTH="33%"
|
|
197 ALIGN="right"
|
|
198 VALIGN="top"
|
|
199 ><A
|
|
200 HREF="sdlfreeyuvoverlay.html"
|
|
201 >Next</A
|
|
202 ></TD
|
|
203 ></TR
|
|
204 ><TR
|
|
205 ><TD
|
|
206 WIDTH="33%"
|
|
207 ALIGN="left"
|
|
208 VALIGN="top"
|
|
209 >SDL_UnlockYUVOverlay</TD
|
|
210 ><TD
|
|
211 WIDTH="34%"
|
|
212 ALIGN="center"
|
|
213 VALIGN="top"
|
|
214 ><A
|
|
215 HREF="video.html"
|
|
216 >Up</A
|
|
217 ></TD
|
|
218 ><TD
|
|
219 WIDTH="33%"
|
|
220 ALIGN="right"
|
|
221 VALIGN="top"
|
|
222 >SDL_FreeYUVOverlay</TD
|
|
223 ></TR
|
|
224 ></TABLE
|
|
225 ></DIV
|
|
226 ></BODY
|
|
227 ></HTML
|
|
228 > |