Mercurial > sdl-ios-xcode
annotate docs/html/sdllockyuvoverlay.html @ 118:7c47e511459d
Fix noise when starting audio under DX5 (thanks Jesse!)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 22 Jul 2001 21:25:22 +0000 |
parents | 55f1f1b3e27d |
children | e5bc29de3f0a |
rev | line source |
---|---|
0 | 1 <HTML |
2 ><HEAD | |
3 ><TITLE | |
4 >SDL_LockYUVOverlay</TITLE | |
5 ><META | |
6 NAME="GENERATOR" | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64 |
0 | 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 | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
76 NAME="AEN2425" |
0 | 77 ></A |
78 ><H2 | |
79 >Name</H2 | |
80 >SDL_LockYUVOverlay -- Lock an overlay</DIV | |
81 ><DIV | |
82 CLASS="REFSYNOPSISDIV" | |
83 ><A | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
84 NAME="AEN2428" |
0 | 85 ></A |
86 ><H2 | |
87 >Synopsis</H2 | |
88 ><DIV | |
89 CLASS="FUNCSYNOPSIS" | |
90 ><A | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
91 NAME="AEN2429" |
0 | 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 | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
115 NAME="AEN2435" |
0 | 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 | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
142 NAME="AEN2443" |
0 | 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 | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
158 NAME="AEN2448" |
0 | 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 > |