|
daala
0.0-437-g2cb8134
Experimental Daala video codec API reference.
|
The libdaala C decoding API.
More...
#include "codec.h"Go to the source code of this file.
Macros | |
| #define | _daala_daaladec_H (1) |
Typedefs | |
Decoder state | |
The following data structures are opaque, and their contents are not publicly defined by this API. Referring to their internals directly is unsupported, and may break without warning. | |
| typedef struct daala_dec_ctx | daala_dec_ctx |
| The decoder context. More... | |
| typedef struct daala_setup_info | daala_setup_info |
| Setup information. More... | |
Functions | |
Functions for decoding | |
You must link to | |
| 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. More... | |
| daala_dec_ctx * | daala_decode_alloc (const daala_info *info, const daala_setup_info *setup) |
| Allocates a decoder instance. More... | |
| void | daala_setup_free (daala_setup_info *setup) |
| Releases all storage used for the decoder setup information. More... | |
| int | daala_decode_ctl (daala_dec_ctx *dec, int req, void *buf, size_t buf_sz) |
| Decoder control function. More... | |
| void | daala_decode_free (daala_dec_ctx *dec) |
| Frees an allocated decoder instance. More... | |
| int | daala_decode_packet_in (daala_dec_ctx *dec, od_img *img, const ogg_packet *op) |
| Retrieves decoded video data frames. More... | |
The libdaala C decoding API.
| typedef struct daala_dec_ctx daala_dec_ctx |
The decoder context.
| typedef struct daala_setup_info daala_setup_info |
Setup information.
This contains auxiliary information decoded from the setup header by daala_decode_header_in() to be passed to daala_decode_alloc(). It can be re-used to initialize any number of decoders, and can be freed via daala_setup_free() at any time.
1.8.8