forked from tano-systems/psplash-tn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpsplash-image.h
32 lines (27 loc) · 943 Bytes
/
psplash-image.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* pslash - a lightweight framebuffer splashscreen for embedded devices.
*
* Copyright (c) 2020 Tano Systems LLC, Anton Kikin <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef _HAVE_PSPLASH_IMAGE_H
#define _HAVE_PSPLASH_IMAGE_H
typedef struct PSplashImage
{
int width;
int height;
uint8 **row_pointers;
} PSplashImage;
int psplash_image_read(PSplashImage *image, const char *filename);
void psplash_image_free(PSplashImage *image);
#endif