1 /*
2  * render1x2crt.h - Implementation of framebuffer to physical screen copy
3  *
4  * Written by
5  *  groepaz <groepaz@gmx.net> based on the pal renderers written by
6  *
7  * This file is part of VICE, the Versatile Commodore Emulator.
8  * See README for copyright notice.
9  *
10  *  This program is free software; you can redistribute it and/or modify
11  *  it under the terms of the GNU General Public License as published by
12  *  the Free Software Foundation; either version 2 of the License, or
13  *  (at your option) any later version.
14  *
15  *  This program is distributed in the hope that it will be useful,
16  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  *  GNU General Public License for more details.
19  *
20  *  You should have received a copy of the GNU General Public License
21  *  along with this program; if not, write to the Free Software
22  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
23  *  02111-1307  USA.
24  *
25  */
26 
27 #ifndef VICE_RENDER1X2CRT_H
28 #define VICE_RENDER1X2CRT_H
29 
30 #include "types.h"
31 #include "viewport.h"
32 
33 extern void render_UYVY_1x2_crt(video_render_color_tables_t *colortab,
34                                 const uint8_t *src, uint8_t *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, const unsigned int pitcht,
39                                 viewport_t *viewport, video_render_config_t *config);
40 
41 extern void render_YUY2_1x2_crt(video_render_color_tables_t *colortab,
42                                 const uint8_t *src, uint8_t *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, const unsigned int pitcht,
47                                 viewport_t *viewport, video_render_config_t *config);
48 
49 extern void render_YVYU_1x2_crt(video_render_color_tables_t *colortab,
50                                 const uint8_t *src, uint8_t *trg,
51                                 unsigned int width, const unsigned int height,
52                                 const unsigned int xs, const unsigned int ys,
53                                 const unsigned int xt, const unsigned int yt,
54                                 const unsigned int pitchs, const unsigned int pitcht,
55                                 viewport_t *viewport, video_render_config_t *config);
56 
57 
58 extern void render_16_1x2_crt(video_render_color_tables_t *colortab,
59                               const uint8_t *src, uint8_t *trg,
60                               unsigned int width, const unsigned int height,
61                               const unsigned int xs, const unsigned int ys,
62                               const unsigned int xt, const unsigned int yt,
63                               const unsigned int pitchs, const unsigned int pitcht,
64                               viewport_t *viewport, video_render_config_t *config);
65 
66 extern void render_24_1x2_crt(video_render_color_tables_t *colortab,
67                               const uint8_t *src, uint8_t *trg,
68                               unsigned int width, const unsigned int height,
69                               const unsigned int xs, const unsigned int ys,
70                               const unsigned int xt, const unsigned int yt,
71                               const unsigned int pitchs,
72                               const unsigned int pitcht,
73                               viewport_t *viewport, video_render_config_t *config);
74 
75 extern void render_32_1x2_crt(video_render_color_tables_t *colortab,
76                               const uint8_t *src, uint8_t *trg,
77                               unsigned int width, const unsigned int height,
78                               const unsigned int xs, const unsigned int ys,
79                               const unsigned int xt, const unsigned int yt,
80                               const unsigned int pitchs,
81                               const unsigned int pitcht,
82                               viewport_t *viewport, video_render_config_t *config);
83 #endif
84