src/video/directfb/SDL_DirectFB_yuv.h
author Sam Lantinga <slouken@libsdl.org>
Mon, 29 May 2006 04:04:35 +0000
branchSDL-1.3
changeset 1668 4da1ee79c9af
parent 1662 782fd950bd46
permissions -rw-r--r--
more tweaking indent options
slouken@478
     1
/*
slouken@478
     2
    SDL - Simple DirectMedia Layer
slouken@1312
     3
    Copyright (C) 1997-2006 Sam Lantinga
slouken@478
     4
slouken@478
     5
    This library is free software; you can redistribute it and/or
slouken@1312
     6
    modify it under the terms of the GNU Lesser General Public
slouken@478
     7
    License as published by the Free Software Foundation; either
slouken@1312
     8
    version 2.1 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@1312
    13
    Lesser General Public License for more details.
slouken@478
    14
slouken@1312
    15
    You should have received a copy of the GNU Lesser General Public
slouken@1312
    16
    License along with this library; if not, write to the Free Software
slouken@1312
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@478
    18
slouken@478
    19
    Sam Lantinga
slouken@478
    20
    slouken@libsdl.org
slouken@478
    21
*/
slouken@1402
    22
#include "SDL_config.h"
slouken@478
    23
slouken@478
    24
/* This is the DirectFB implementation of YUV video overlays */
slouken@478
    25
slouken@478
    26
#include "SDL_video.h"
slouken@478
    27
#include "SDL_DirectFB_video.h"
slouken@478
    28
slouken@1668
    29
extern SDL_Overlay *DirectFB_CreateYUVOverlay(_THIS, int width, int height,
slouken@1668
    30
                                              Uint32 format,
slouken@1668
    31
                                              SDL_Surface * display);
slouken@478
    32
slouken@1668
    33
extern int DirectFB_LockYUVOverlay(_THIS, SDL_Overlay * overlay);
slouken@478
    34
slouken@1668
    35
extern void DirectFB_UnlockYUVOverlay(_THIS, SDL_Overlay * overlay);
slouken@478
    36
slouken@1668
    37
extern int DirectFB_DisplayYUVOverlay(_THIS, SDL_Overlay * overlay,
slouken@1668
    38
                                      SDL_Rect * src, SDL_Rect * dst);
slouken@478
    39
slouken@1668
    40
extern void DirectFB_FreeYUVOverlay(_THIS, SDL_Overlay * overlay);
slouken@1662
    41
/* vi: set ts=4 sw=4 expandtab: */