XenevaOS
Loading...
Searching...
No Matches
XenevaOS
Process
NetSurf
pngdec.h
Go to the documentation of this file.
1
#ifndef NS_PNGDEC_H
2
#define NS_PNGDEC_H
3
#include <stddef.h>
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
/* Returns 0 and a malloc'd 0xAARRGGBB buffer. Caller frees *out_px. */
8
int
ns_png_decode
(
const
unsigned
char
*
data
,
size_t
len
,
unsigned
** out_px,
int
* out_w,
int
* out_h);
9
#ifdef __cplusplus
10
}
11
#endif
12
#endif
len
size_t len
Definition
initial.c:23
data
void * data
Definition
kthread.h:30
ns_png_decode
int ns_png_decode(const unsigned char *data, size_t len, unsigned **out_px, int *out_w, int *out_h)
Definition
pngdec.c:21
Generated by
1.9.8