blob: 4130cec94a7170cf8ea1b64760a1e604e6680813 (
plain)
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
|
#pragma once
#include "codec.h"
#ifdef LIANA_SERVER
struct camu_stbi_demuxer {
struct camu_demuxer demux;
struct cch_handle *handle;
struct nn_buffer buffer;
bool eof;
};
struct camu_demuxer *camu_stbi_demuxer_create(void);
#endif
#ifdef LIANA_CLIENT
struct camu_stbi_decoder {
struct camu_decoder dec;
struct camu_codec_stream *stream;
void (*callback)(void *, struct camu_codec_frame *);
void (*userdata);
};
struct camu_decoder *camu_stbi_decoder_create(void);
#endif
|