daala
0.0-437-g2cb8134
Experimental Daala video codec API reference.
|
The libdaala
C encoding API.
More...
#include "codec.h"
Go to the source code of this file.
Macros | |
#define | _daala_daalaenc_H (1) |
#define | OD_SET_QUANT 4000 |
Set the quantizer scale. More... | |
Typedefs | |
Encoder state | |
The following data structure is opaque, and its contents are not publicly defined by this API. Referring to its internals directly is unsupported, and may break without warning. | |
typedef struct daala_enc_ctx | daala_enc_ctx |
The encoder context. More... | |
Functions | |
Functions for encoding | |
You must link to The functions are listed in the order they are used in a typical encode. The basic steps are:
| |
daala_enc_ctx * | daala_encode_create (const daala_info *info) |
Allocates and initializes an encoder instance. More... | |
int | daala_encode_ctl (daala_enc_ctx *enc, int req, void *buf, size_t buf_sz) |
Encoder control function. More... | |
int | daala_encode_flush_header (daala_enc_ctx *enc, daala_comment *comments, ogg_packet *op) |
Outputs the next header packet. More... | |
int | daala_encode_img_in (daala_enc_ctx *enc, od_img *img, int duration) |
Submits an uncompressed frame to the encoder. More... | |
int | daala_encode_packet_out (daala_enc_ctx *enc, int last, ogg_packet *op) |
Retrieves encoded video data packets. More... | |
void | daala_encode_free (daala_enc_ctx *enc) |
Frees an allocated encoder instance. More... | |
The libdaala
C encoding API.
typedef struct daala_enc_ctx daala_enc_ctx |
The encoder context.