#pragma once #include "codec.h" #ifdef LIANA_SERVER struct camu_spng_demuxer { struct camu_demuxer demux; struct cch_handle *handle; struct nn_buffer buffer; bool eof; }; struct camu_demuxer *camu_spng_demuxer_create(void); #endif #ifdef LIANA_CLIENT struct camu_spng_decoder { struct camu_decoder dec; struct camu_codec_stream *stream; void (*callback)(void *, struct camu_codec_frame *); void (*userdata); }; struct camu_decoder *camu_spng_decoder_create(void); #endif