27 #if !defined(_daala_daaladec_H) 28 # define _daala_daaladec_H (1) 31 # if defined(__cplusplus) 34 # if OD_GNUC_PREREQ(4, 0, 0) 35 # pragma GCC visibility push(default) 38 #define OD_DECCTL_SET_BSIZE_BUFFER (7001) 39 #define OD_DECCTL_SET_FLAGS_BUFFER (7003) 40 #define OD_DECCTL_SET_MV_BUFFER (7005) 45 #define OD_DECCTL_SET_MC_IMG (7007) 46 #define OD_DECCTL_GET_ACCOUNTING (7009) 47 #define OD_DECCTL_SET_ACCOUNTING_ENABLED (7011) 48 #define OD_DECCTL_SET_DERING_BUFFER (7013) 51 #define OD_ACCT_FRAME (10) 52 #define OD_ACCT_MV (11) 75 #define MAX_SYMBOL_TYPES (256) 79 char *(str[MAX_SYMBOL_TYPES]);
182 int req,
void *buf,
size_t buf_sz);
213 # if OD_GNUC_PREREQ(4, 0, 0) 214 # pragma GCC visibility pop 216 # if defined(__cplusplus)
daala_dec_ctx * daala_decode_create(const daala_info *info, const daala_setup_info *setup)
Allocates a decoder instance.
unsigned char level
For layers 0-3, 0 means 4x4, 1, means 8x8, and so on.
Definition: daaladec.h:66
Definition: daaladec.h:83
void daala_setup_free(daala_setup_info *setup)
Releases all storage used for the decoder setup information.
The shared libdaala C API.
int16_t y
y position in units of 4x4 luma blocks for layers 0-3, or vy for OD_ACCT_MV.
Definition: daaladec.h:60
unsigned char id
Integer id in the dictionary.
Definition: daaladec.h:68
od_acct_symbol * syms
All recorded symbols decoded.
Definition: daaladec.h:85
Representation of an image or video frame.
Definition: codec.h:175
void daala_decode_free(daala_dec_ctx *dec)
Frees an allocated decoder instance.
int daala_decode_img_out(daala_dec_ctx *dec, daala_image *img)
Outputs the next available decoded image frame.
struct daala_dec_ctx daala_dec_ctx
The decoder context.
Definition: daaladec.h:100
int daala_decode_packet_in(daala_dec_ctx *dec, const daala_packet *dp)
Retrieves decoded video data frames.
struct daala_setup_info daala_setup_info
Setup information.
Definition: daaladec.h:106
int16_t x
x position in units of 4x4 luma blocks for layers 0-3, or vx for OD_ACCT_MV.
Definition: daaladec.h:57
unsigned char bits_q3
Number of bits in units of 1/8 bit.
Definition: daaladec.h:70
Configuration parameters for a codec instance.
Definition: codec.h:204
unsigned char layer
layers (0..NPLANES) for color plane coefficients, or one of OD_ACCT_FRAME and OD_ACCT_MV.
Definition: daaladec.h:63
od_accounting_dict dict
Dictionary for translating strings into id.
Definition: daaladec.h:89
int nb_syms
Number of symbols actually recorded.
Definition: daaladec.h:87
Definition: daaladec.h:54
int daala_decode_header_in(daala_info *info, daala_comment *dc, daala_setup_info **ds, const daala_packet *dp)
Parses the header packets from an Ogg Daala stream.
int daala_decode_ctl(daala_dec_ctx *dec, int req, void *buf, size_t buf_sz)
Decoder control function.
Dictionary for translating strings into id.
Definition: daaladec.h:78