src/video/directfb/SDL_DirectFB_yuv.h
author Ryan C. Gordon <icculus@icculus.org>
Fri, 06 Jan 2006 13:20:10 +0000
changeset 1234 73676c1f56ee
parent 769 b8d311d90021
child 1312 c9b51268668f
permissions -rw-r--r--
For sanity's sake, removed the '&' when passing copy_row array to asm.
slouken@478
     1
/*
slouken@478
     2
    SDL - Simple DirectMedia Layer
slouken@769
     3
    Copyright (C) 1997-2004 Sam Lantinga
slouken@478
     4
slouken@478
     5
    This library is free software; you can redistribute it and/or
slouken@478
     6
    modify it under the terms of the GNU Library General Public
slouken@478
     7
    License as published by the Free Software Foundation; either
slouken@478
     8
    version 2 of the License, or (at your option) any later version.
slouken@478
     9
slouken@478
    10
    This library is distributed in the hope that it will be useful,
slouken@478
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@478
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@478
    13
    Library General Public License for more details.
slouken@478
    14
slouken@478
    15
    You should have received a copy of the GNU Library General Public
slouken@478
    16
    License along with this library; if not, write to the Free
slouken@478
    17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
slouken@478
    18
slouken@478
    19
    Sam Lantinga
slouken@478
    20
    slouken@libsdl.org
slouken@478
    21
*/
slouken@478
    22
slouken@478
    23
#ifdef SAVE_RCSID
slouken@478
    24
static char rcsid =
slouken@478
    25
 "@(#) $Id$";
slouken@478
    26
#endif
slouken@478
    27
slouken@478
    28
/* This is the DirectFB implementation of YUV video overlays */
slouken@478
    29
slouken@478
    30
#include "SDL_video.h"
slouken@478
    31
#include "SDL_DirectFB_video.h"
slouken@478
    32
slouken@478
    33
extern SDL_Overlay *DirectFB_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, SDL_Surface *display);
slouken@478
    34
slouken@478
    35
extern int DirectFB_LockYUVOverlay(_THIS, SDL_Overlay *overlay);
slouken@478
    36
slouken@478
    37
extern void DirectFB_UnlockYUVOverlay(_THIS, SDL_Overlay *overlay);
slouken@478
    38
slouken@478
    39
extern int DirectFB_DisplayYUVOverlay(_THIS, SDL_Overlay *overlay, SDL_Rect *dstrect);
slouken@478
    40
slouken@478
    41
extern void DirectFB_FreeYUVOverlay(_THIS, SDL_Overlay *overlay);
slouken@478
    42