Mercurial > sdl-ios-xcode
annotate docs/html/sdlcreateyuvoverlay.html @ 471:26dafefeebb2
Date: Sat, 24 Aug 2002 22:20:01 -0600
From: "Greg Haerr"
Subject: Announce: sdl-nanox-patch
Sam,
I've created an update patch for enhanced Nano-X support
with SDL. I've created the patch against SDL-1.2.4. I'd appreciate
it if you would apply it to the next SDL version.
Enhancements include:
1. Small bugfixes to compile without errors
2. Support for direct client-side framebuffer access with configure option
3. Add dynamic pixel type support for hardware framebuffer; eliminating the
need for compile-time configuration option.
I've updated the README.NanoX file with the details.
This version has been tested with Microwindows v0.89pre9 CVS
and SMPEG 0.4.4. I've added multi-threading support to
Microwindows to support the multi-threaded SMPEG, and
all works fine. To turn on thread safety in Microwindows,
use THREADSAFE=Y in the Microwindows config file.
Thanks!
Regards,
Greg
Founder, The Microwindows Project
http://microwindows.org
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 25 Aug 2002 06:21:49 +0000 |
parents | e5bc29de3f0a |
children | 355632dca928 |
rev | line source |
---|---|
0 | 1 <HTML |
2 ><HEAD | |
3 ><TITLE | |
4 >SDL_CreateYUVOverlay</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_GL_SwapBuffers" | |
17 HREF="sdlglswapbuffers.html"><LINK | |
18 REL="NEXT" | |
19 TITLE="SDL_LockYUVOverlay" | |
20 HREF="sdllockyuvoverlay.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="sdlglswapbuffers.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="sdllockyuvoverlay.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="SDLCREATEYUVOVERLAY" | |
71 >SDL_CreateYUVOverlay</A | |
72 ></H1 | |
73 ><DIV | |
74 CLASS="REFNAMEDIV" | |
75 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
76 NAME="AEN2424" |
0 | 77 ></A |
78 ><H2 | |
79 >Name</H2 | |
80 >SDL_CreateYUVOverlay -- Create a YUV video overlay</DIV | |
81 ><DIV | |
82 CLASS="REFSYNOPSISDIV" | |
83 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
84 NAME="AEN2427" |
0 | 85 ></A |
86 ><H2 | |
87 >Synopsis</H2 | |
88 ><DIV | |
89 CLASS="FUNCSYNOPSIS" | |
90 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
91 NAME="AEN2428" |
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 >SDL_Overlay *<B | |
103 CLASS="FSFUNC" | |
104 >SDL_CreateYUVOverlay</B | |
105 ></CODE | |
106 >(int width, int height, Uint32 format, SDL_Surface *display);</CODE | |
107 ></P | |
108 ><P | |
109 ></P | |
110 ></DIV | |
111 ></DIV | |
112 ><DIV | |
113 CLASS="REFSECT1" | |
114 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
115 NAME="AEN2434" |
0 | 116 ></A |
117 ><H2 | |
118 >Description</H2 | |
119 ><P | |
120 ><TT | |
121 CLASS="FUNCTION" | |
122 >SDL_CreateYUVOverlay</TT | |
123 > creates a YUV overlay of the specified <TT | |
124 CLASS="PARAMETER" | |
125 ><I | |
126 >width</I | |
127 ></TT | |
128 >, <TT | |
129 CLASS="PARAMETER" | |
130 ><I | |
131 >height</I | |
132 ></TT | |
133 > and <TT | |
134 CLASS="PARAMETER" | |
135 ><I | |
136 >format</I | |
137 ></TT | |
138 > (see <A | |
139 HREF="sdloverlay.html" | |
140 ><SPAN | |
141 CLASS="STRUCTNAME" | |
142 >SDL_Overlay</SPAN | |
143 ></A | |
144 > for a list of available formats), for the provided <TT | |
145 CLASS="PARAMETER" | |
146 ><I | |
147 >display</I | |
148 ></TT | |
149 >. A <A | |
150 HREF="sdloverlay.html" | |
151 ><SPAN | |
152 CLASS="STRUCTNAME" | |
153 >SDL_Overlay</SPAN | |
154 ></A | |
155 > structure is returned.</P | |
156 ><P | |
157 >The term 'overlay' is a misnomer since, unless the overlay is created in hardware, the contents for the display surface underneath the area where the overlay is shown will be overwritten when the overlay is displayed.</P | |
158 ></DIV | |
159 ><DIV | |
160 CLASS="REFSECT1" | |
161 ><A | |
181
e5bc29de3f0a
Updated from the SDL Documentation Project
Sam Lantinga <slouken@libsdl.org>
parents:
55
diff
changeset
|
162 NAME="AEN2447" |
0 | 163 ></A |
164 ><H2 | |
165 >See Also</H2 | |
166 ><P | |
167 ><A | |
168 HREF="sdloverlay.html" | |
169 ><SPAN | |
170 CLASS="STRUCTNAME" | |
171 >SDL_Overlay</SPAN | |
172 ></A | |
173 >, | |
174 <A | |
175 HREF="sdldisplayyuvoverlay.html" | |
176 ><TT | |
177 CLASS="FUNCTION" | |
178 >SDL_DisplayYUVOverlay</TT | |
179 ></A | |
180 >, | |
181 <A | |
182 HREF="sdlfreeyuvoverlay.html" | |
183 ><TT | |
184 CLASS="FUNCTION" | |
185 >SDL_FreeYUVOverlay</TT | |
186 ></A | |
187 ></P | |
188 ></DIV | |
189 ><DIV | |
190 CLASS="NAVFOOTER" | |
191 ><HR | |
192 ALIGN="LEFT" | |
193 WIDTH="100%"><TABLE | |
194 WIDTH="100%" | |
195 BORDER="0" | |
196 CELLPADDING="0" | |
197 CELLSPACING="0" | |
198 ><TR | |
199 ><TD | |
200 WIDTH="33%" | |
201 ALIGN="left" | |
202 VALIGN="top" | |
203 ><A | |
204 HREF="sdlglswapbuffers.html" | |
205 >Prev</A | |
206 ></TD | |
207 ><TD | |
208 WIDTH="34%" | |
209 ALIGN="center" | |
210 VALIGN="top" | |
211 ><A | |
212 HREF="index.html" | |
213 >Home</A | |
214 ></TD | |
215 ><TD | |
216 WIDTH="33%" | |
217 ALIGN="right" | |
218 VALIGN="top" | |
219 ><A | |
220 HREF="sdllockyuvoverlay.html" | |
221 >Next</A | |
222 ></TD | |
223 ></TR | |
224 ><TR | |
225 ><TD | |
226 WIDTH="33%" | |
227 ALIGN="left" | |
228 VALIGN="top" | |
229 >SDL_GL_SwapBuffers</TD | |
230 ><TD | |
231 WIDTH="34%" | |
232 ALIGN="center" | |
233 VALIGN="top" | |
234 ><A | |
235 HREF="video.html" | |
236 >Up</A | |
237 ></TD | |
238 ><TD | |
239 WIDTH="33%" | |
240 ALIGN="right" | |
241 VALIGN="top" | |
242 >SDL_LockYUVOverlay</TD | |
243 ></TR | |
244 ></TABLE | |
245 ></DIV | |
246 ></BODY | |
247 ></HTML | |
248 > |