27 #if !defined(_daala_daaladec_H)
28 # define _daala_daaladec_H (1)
31 # if defined(__cplusplus)
34 # if OD_GNUC_PREREQ(4, 0)
35 # pragma GCC visibility push(default)
128 int req,
void *buf,
size_t buf_sz);
137 const ogg_packet *op);
151 # if OD_GNUC_PREREQ(4, 0)
152 # pragma GCC visibility pop
154 # if defined(__cplusplus)
Representation of an image or video frame.
Definition: codec.h:162
void daala_setup_free(daala_setup_info *setup)
Releases all storage used for the decoder setup information.
The shared libdaala C API.
int daala_decode_packet_in(daala_dec_ctx *dec, od_img *img, const ogg_packet *op)
Retrieves decoded video data frames.
int daala_decode_header_in(daala_info *info, daala_comment *dc, daala_setup_info **ds, const ogg_packet *op)
Parses the header packets from an Ogg Daala stream.
void daala_decode_free(daala_dec_ctx *dec)
Frees an allocated decoder instance.
struct daala_dec_ctx daala_dec_ctx
The decoder context.
Definition: daaladec.h:45
struct daala_setup_info daala_setup_info
Setup information.
Definition: daaladec.h:51
daala_dec_ctx * daala_decode_alloc(const daala_info *info, const daala_setup_info *setup)
Allocates a decoder instance.
Configuration parameters for a codec instance.
Definition: codec.h:180
int daala_decode_ctl(daala_dec_ctx *dec, int req, void *buf, size_t buf_sz)
Decoder control function.