SDL-1.2.14
[sdl_omap.git] / src / video / ps3 / SDL_ps3yuv_c.h
CommitLineData
e14743d1 1/*
2 * SDL - Simple DirectMedia Layer
3 * CELL BE Support for PS3 Framebuffer
4 * Copyright (C) 2008, 2009 International Business Machines Corporation
5 *
6 * This library is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License as published
8 * by the Free Software Foundation; either version 2.1 of the License, or
9 * (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
19 * USA
20 *
21 * Martin Lowinski <lowinski [at] de [dot] ibm [ibm] com>
22 * Dirk Herrendoerfer <d.herrendoerfer [at] de [dot] ibm [dot] com>
23 * SPE code based on research by:
24 * Rene Becker
25 * Thimo Emmerich
26 */
27
28#include "SDL_config.h"
29
30#ifndef _SDL_ps3yuv_h
31#define _SDL_ps3yuv_h
32
33/* This is the PS3 implementation of YUV video overlays */
34
35#include "SDL_video.h"
36
37extern SDL_Overlay *PS3_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface *display);
38extern int PS3_DisplayYUVOverlay(_THIS, SDL_Overlay *overlay, SDL_Rect *src, SDL_Rect *dst);
39extern int PS3_LockYUVOverlay(_THIS, SDL_Overlay *overlay);
40extern void PS3_UnlockYUVOverlay(_THIS, SDL_Overlay *overlay);
41extern void PS3_FreeYUVOverlay(_THIS, SDL_Overlay *overlay);
42
43#endif /* _SDL_ps3yuv_h */
44