27 #if !defined(_daala_daalaenc_H)
28 # define _daala_daalaenc_H (1)
31 # if defined(__cplusplus)
34 # if OD_GNUC_PREREQ(4, 0)
35 # pragma GCC visibility push(default)
84 int req,
void *buf,
size_t buf_sz);
137 int last, ogg_packet *op);
153 #define OD_SET_QUANT 4000
157 # if OD_GNUC_PREREQ(4, 0)
158 # pragma GCC visibility pop
160 # if defined(__cplusplus)
int daala_encode_img_in(daala_enc_ctx *enc, od_img *img, int duration)
Submits an uncompressed frame to the encoder.
Representation of an image or video frame.
Definition: codec.h:162
int daala_encode_flush_header(daala_enc_ctx *enc, daala_comment *comments, ogg_packet *op)
Outputs the next header packet.
The shared libdaala C API.
void daala_encode_free(daala_enc_ctx *enc)
Frees an allocated encoder instance.
int daala_encode_packet_out(daala_enc_ctx *enc, int last, ogg_packet *op)
Retrieves encoded video data packets.
struct daala_enc_ctx daala_enc_ctx
The encoder context.
Definition: daalaenc.h:45
int daala_encode_ctl(daala_enc_ctx *enc, int req, void *buf, size_t buf_sz)
Encoder control function.
daala_enc_ctx * daala_encode_create(const daala_info *info)
Allocates and initializes an encoder instance.
Configuration parameters for a codec instance.
Definition: codec.h:180