27 #if !defined(_daala_daalaenc_H) 28 # define _daala_daalaenc_H (1) 32 # if defined(__cplusplus) 35 # if OD_GNUC_PREREQ(4, 0, 0) 36 # pragma GCC visibility push(default) 85 int req,
void *buf,
size_t buf_sz);
138 int last, ogg_packet *op);
154 #define OD_SET_QUANT 4000 161 #define OD_SET_COMPLEXITY 4002 168 #define OD_GET_COMPLEXITY 4004 172 #define OD_SET_USE_ACTIVITY_MASKING 4006 176 #define OD_SET_QM 4008 180 #define OD_SET_USE_DERING 4010 186 #define OD_SET_MC_USE_CHROMA 4100 190 #define OD_SET_MV_RES_MIN 4102 196 #define OD_SET_MV_LEVEL_MIN 4104 200 #define OD_SET_MV_LEVEL_MAX 4106 204 #define OD_SET_MC_USE_SATD 4108 208 # if OD_GNUC_PREREQ(4, 0, 0) 209 # pragma GCC visibility pop 211 # 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:46
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