Lines Matching defs:encoder

23  * VP8/9 encoder support via libvpx
77 struct vpx_codec_ctx encoder;
194 const char *error = vpx_codec_error(&ctx->encoder);
195 const char *detail = vpx_codec_error_detail(&ctx->encoder);
367 res = vpx_codec_control(&ctx->encoder, id, val);
400 res = vpx_codec_control(&ctx->encoder, id, val);
437 vpx_codec_destroy(&ctx->encoder);
1062 /* 0-3: For non-zero values the encoder increasingly optimizes for reduced
1078 res = vpx_codec_enc_init(&ctx->encoder, iface, &enccfg, flags);
1081 log_encoder_error(avctx, "Failed to initialize encoder");
1105 log_encoder_error(avctx, "Failed to initialize alpha encoder");
1260 ret = vpx_codec_control(&ctx->encoder, VP8E_GET_LAST_QUANTIZER_64, &quality);
1295 * Queue multiple output frames from the encoder, returning the front-most.
1302 static int queue_frames(AVCodecContext *avctx, struct vpx_codec_ctx *encoder,
1320 /* consume all available output from the encoder before returning. buffers
1322 while (pkt = vpx_codec_get_cx_data(encoder, &iter)) {
1533 if (vpx_codec_control(&ctx->encoder, VP9E_SET_ROI_MAP, &roi_map)) {
1563 if (vpx_codec_control(&ctx->encoder, VP8E_SET_ROI_MAP, &roi_map)) {
1609 const struct vpx_codec_enc_cfg *enccfg = ctx->encoder.config.enc;
1616 res = vpx_codec_enc_config_set(&ctx->encoder, &cfg);
1618 log_encoder_error(avctx, "Error reconfiguring encoder");
1755 res = vpx_codec_encode(&ctx->encoder, rawimg, timestamp,
1771 coded_size = queue_frames(avctx, &ctx->encoder, &ctx->coded_frame_list, pkt);
1836 { "static-thresh", "A change threshold on blocks below which they will be skipped by the encoder", OFFSET(static_thresh), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE }, \
1934 .class_name = "libvpx-vp8 encoder",
1966 .class_name = "libvpx-vp9 encoder",