~ubuntu-branches/ubuntu/quantal/vice/quantal

« back to all changes in this revision

Viewing changes to src/video/render1x1pal.h

  • Committer: Bazaar Package Importer
  • Author(s): Zed Pobre
  • Date: 2005-03-27 13:06:04 UTC
  • mfrom: (4 hoary)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20050327130604-zodmv0i60dbbmcik
Tags: 1.16-3
Apply patch from Andreas Jochens <aj@andaco.de> to correct building on
AMD64 and GCC 4.x (closes: #300936)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * render1x1.h - Implementation of framebuffer to physical screen copy
 
3
 *
 
4
 * Written by
 
5
 *  John Selck <graham@cruise.de>
 
6
 *  Andreas Boose <viceteam@t-online.de>
 
7
 *
 
8
 * This file is part of VICE, the Versatile Commodore Emulator.
 
9
 * See README for copyright notice.
 
10
 *
 
11
 *  This program is free software; you can redistribute it and/or modify
 
12
 *  it under the terms of the GNU General Public License as published by
 
13
 *  the Free Software Foundation; either version 2 of the License, or
 
14
 *  (at your option) any later version.
 
15
 *
 
16
 *  This program is distributed in the hope that it will be useful,
 
17
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19
 *  GNU General Public License for more details.
 
20
 *
 
21
 *  You should have received a copy of the GNU General Public License
 
22
 *  along with this program; if not, write to the Free Software
 
23
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
 
24
 *  02111-1307  USA.
 
25
 *
 
26
 */
 
27
 
 
28
#ifndef _RENDER1X1PAL_H
 
29
#define _RENDER1X1PAL_H
 
30
 
 
31
#include "types.h"
 
32
 
 
33
extern void render_16_1x1_pal(const DWORD *colortab,
 
34
                              const BYTE *src, BYTE *trg,
 
35
                              unsigned int width, const unsigned int height,
 
36
                              const unsigned int xs, const unsigned int ys,
 
37
                              const unsigned int xt, const unsigned int yt,
 
38
                              const unsigned int pitchs,
 
39
                              const unsigned int pitcht);
 
40
 
 
41
extern void render_32_1x1_pal(const DWORD *colortab,
 
42
                              const BYTE *src, BYTE *trg,
 
43
                              unsigned int width, const unsigned int height,
 
44
                              const unsigned int xs, const unsigned int ys,
 
45
                              const unsigned int xt, const unsigned int yt,
 
46
                              const unsigned int pitchs,
 
47
                              const unsigned int pitcht);
 
48
#endif
 
49