27 #if !defined(_daala_daalaenc_H) 28 # define _daala_daalaenc_H (1) 31 # if defined(__cplusplus) 34 # if OD_GNUC_PREREQ(4, 0, 0) 35 # pragma GCC visibility push(default) 85 int req,
void *buf,
size_t buf_sz);
152 #define OD_SET_QUANT 4000 159 #define OD_SET_COMPLEXITY 4002 166 #define OD_GET_COMPLEXITY 4004 170 #define OD_SET_ACTIVITY_MASKING 4006 174 #define OD_SET_QM 4008 178 #define OD_SET_DERING 4010 184 #define OD_SET_MC_CHROMA 4100 188 #define OD_SET_MV_RES_MIN 4102 194 #define OD_SET_MV_LEVEL_MIN 4104 198 #define OD_SET_MV_LEVEL_MAX 4106 202 #define OD_SET_MC_SATD 4108 207 #define OD_SET_B_FRAMES 4110 230 #define OD_SET_BITRATE 4112 251 #define OD_SET_RATE_FLAGS 4114 277 #define OD_SET_RATE_BUFFER 4116 307 #define OD_2PASS_OUT 4118 353 #define OD_2PASS_IN 4120 364 #define OD_RATECTL_DROP_FRAMES (0x1) 372 #define OD_RATECTL_CAP_OVERFLOW (0x2) 379 #define OD_RATECTL_CAP_UNDERFLOW (0x4) 382 # if OD_GNUC_PREREQ(4, 0, 0) 383 # pragma GCC visibility pop 385 # if defined(__cplusplus)
int daala_encode_flush_header(daala_enc_ctx *enc, daala_comment *comments, daala_packet *dp)
Outputs the next header packet.
The shared libdaala C API.
void daala_encode_free(daala_enc_ctx *enc)
Frees an allocated encoder instance.
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.
Representation of an image or video frame.
Definition: codec.h:175
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:204
int daala_encode_img_in(daala_enc_ctx *enc, daala_image *img, int duration)
Submits an uncompressed frame to the encoder.
int daala_encode_packet_out(daala_enc_ctx *enc, int last, daala_packet *dp)
Retrieves encoded video data packets.