RetroArch
sixel_common.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2010-2014 - Hans-Kristian Arntzen
3  * copyright (c) 2011-2017 - Daniel De Matteis
4  * copyright (c) 2016-2017 - Brad Parker
5  *
6  * RetroArch is free software: you can redistribute it and/or modify it under the terms
7  * of the GNU General Public License as published by the Free Software Found-
8  * ation, either version 3 of the License, or (at your option) any later version.
9  *
10  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
11  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  * PURPOSE. See the GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along with RetroArch.
15  * If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef __SIXEL_COMMON_H
19 #define __SIXEL_COMMON_H
20 
21 #include <sixel.h>
22 
23 #define SIXEL_COLORS 256
24 
25 typedef struct sixel
26 {
27  SIXELSTATUS sixel_status;
28  unsigned video_width;
29  unsigned video_height;
30  unsigned screen_width;
31  unsigned screen_height;
32  void *ctx_data;
34 } sixel_t;
35 
36 #endif
unsigned screen_height
Definition: sixel_common.h:31
SIXELSTATUS sixel_status
Definition: sixel_common.h:27
void * ctx_data
Definition: sixel_common.h:32
unsigned screen_width
Definition: sixel_common.h:30
unsigned video_width
Definition: sixel_common.h:28
struct sixel sixel_t
Definition: video_driver.h:513
unsigned video_height
Definition: sixel_common.h:29
const gfx_ctx_driver_t * ctx_driver
Definition: sixel_common.h:33
Definition: sixel_common.h:25