comparison docs/html/sdllockyuvoverlay.html @ 0:74212992fb08

Initial revision
author Sam Lantinga <slouken@lokigames.com>
date Thu, 26 Apr 2001 16:45:43 +0000
parents
children 55f1f1b3e27d
comparison
equal deleted inserted replaced
-1:000000000000 0:74212992fb08
1 <HTML
2 ><HEAD
3 ><TITLE
4 >SDL_LockYUVOverlay</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_CreateYUVOverlay"
17 HREF="sdlcreateyuvoverlay.html"><LINK
18 REL="NEXT"
19 TITLE="SDL_UnlockYUVOverlay"
20 HREF="sdlunlockyuvoverlay.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="sdlcreateyuvoverlay.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="sdlunlockyuvoverlay.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="SDLLOCKYUVOVERLAY"
71 >SDL_LockYUVOverlay</A
72 ></H1
73 ><DIV
74 CLASS="REFNAMEDIV"
75 ><A
76 NAME="AEN2346"
77 ></A
78 ><H2
79 >Name</H2
80 >SDL_LockYUVOverlay&nbsp;--&nbsp;Lock an overlay</DIV
81 ><DIV
82 CLASS="REFSYNOPSISDIV"
83 ><A
84 NAME="AEN2349"
85 ></A
86 ><H2
87 >Synopsis</H2
88 ><DIV
89 CLASS="FUNCSYNOPSIS"
90 ><A
91 NAME="AEN2350"
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_LockYUVOverlay</B
105 ></CODE
106 >(SDL_Overlay *overlay);</CODE
107 ></P
108 ><P
109 ></P
110 ></DIV
111 ></DIV
112 ><DIV
113 CLASS="REFSECT1"
114 ><A
115 NAME="AEN2356"
116 ></A
117 ><H2
118 >Description</H2
119 ><P
120 >Much the same as <A
121 HREF="sdllocksurface.html"
122 ><TT
123 CLASS="FUNCTION"
124 >SDL_LockSurface</TT
125 ></A
126 >, <TT
127 CLASS="FUNCTION"
128 >SDL_LockYUVOverlay</TT
129 > locks the <A
130 HREF="sdloverlay.html"
131 ><TT
132 CLASS="PARAMETER"
133 ><I
134 >overlay</I
135 ></TT
136 ></A
137 > for direct access to pixel data.</P
138 ></DIV
139 ><DIV
140 CLASS="REFSECT1"
141 ><A
142 NAME="AEN2364"
143 ></A
144 ><H2
145 >Return Value</H2
146 ><P
147 >Returns <SPAN
148 CLASS="RETURNVALUE"
149 >0</SPAN
150 > on success, or <SPAN
151 CLASS="RETURNVALUE"
152 >-1</SPAN
153 > on an error.</P
154 ></DIV
155 ><DIV
156 CLASS="REFSECT1"
157 ><A
158 NAME="AEN2369"
159 ></A
160 ><H2
161 >See Also</H2
162 ><P
163 ><A
164 HREF="sdlunlockyuvoverlay.html"
165 ><TT
166 CLASS="FUNCTION"
167 >SDL_UnlockYUVOverlay</TT
168 ></A
169 >,
170 <A
171 HREF="sdlcreateyuvoverlay.html"
172 ><TT
173 CLASS="FUNCTION"
174 >SDL_CreateYUVOverlay</TT
175 ></A
176 >,
177 <A
178 HREF="sdloverlay.html"
179 ><SPAN
180 CLASS="STRUCTNAME"
181 >SDL_Overlay</SPAN
182 ></A
183 ></P
184 ></DIV
185 ><DIV
186 CLASS="NAVFOOTER"
187 ><HR
188 ALIGN="LEFT"
189 WIDTH="100%"><TABLE
190 WIDTH="100%"
191 BORDER="0"
192 CELLPADDING="0"
193 CELLSPACING="0"
194 ><TR
195 ><TD
196 WIDTH="33%"
197 ALIGN="left"
198 VALIGN="top"
199 ><A
200 HREF="sdlcreateyuvoverlay.html"
201 >Prev</A
202 ></TD
203 ><TD
204 WIDTH="34%"
205 ALIGN="center"
206 VALIGN="top"
207 ><A
208 HREF="index.html"
209 >Home</A
210 ></TD
211 ><TD
212 WIDTH="33%"
213 ALIGN="right"
214 VALIGN="top"
215 ><A
216 HREF="sdlunlockyuvoverlay.html"
217 >Next</A
218 ></TD
219 ></TR
220 ><TR
221 ><TD
222 WIDTH="33%"
223 ALIGN="left"
224 VALIGN="top"
225 >SDL_CreateYUVOverlay</TD
226 ><TD
227 WIDTH="34%"
228 ALIGN="center"
229 VALIGN="top"
230 ><A
231 HREF="video.html"
232 >Up</A
233 ></TD
234 ><TD
235 WIDTH="33%"
236 ALIGN="right"
237 VALIGN="top"
238 >SDL_UnlockYUVOverlay</TD
239 ></TR
240 ></TABLE
241 ></DIV
242 ></BODY
243 ></HTML
244 >