Lines Matching defs:flags
63 uint32_t flags; /**< flags for this frame */
93 * VP8 specific flags, see VP8F_* below.
95 int flags;
428 !(avctx->flags & AV_CODEC_FLAG_PASS1)) {
575 * it might be that the code is using external flags to be used.
707 struct vpx_codec_enc_cfg *enccfg, vpx_codec_flags_t *flags,
738 *flags |= VPX_CODEC_USE_HIGHBITDEPTH;
747 *flags |= VPX_CODEC_USE_HIGHBITDEPTH;
756 *flags |= VPX_CODEC_USE_HIGHBITDEPTH;
768 *flags |= VPX_CODEC_USE_HIGHBITDEPTH;
890 vpx_codec_flags_t flags = (avctx->flags & AV_CODEC_FLAG_PSNR) ? VPX_CODEC_USE_PSNR : 0;
914 if (set_pix_fmt(avctx, codec_caps, &enccfg, &flags, &img_fmt))
943 if (avctx->flags & AV_CODEC_FLAG_PASS1)
945 else if (avctx->flags & AV_CODEC_FLAG_PASS2)
1068 enccfg.g_error_resilient = ctx->error_resilient || ctx->flags & VP8F_ERROR_RESILIENT;
1078 res = vpx_codec_enc_init(&ctx->encoder, iface, &enccfg, flags);
1103 res = vpx_codec_enc_init(&ctx->encoder_alpha, iface, &enccfg_alpha, flags);
1113 if (ctx->flags & VP8F_AUTO_ALT_REF)
1210 dst->flags = src->data.frame.flags;
1215 if (!(dst->flags & VPX_FRAME_IS_INVISIBLE)) {
1253 if (!!(cx_frame->flags & VPX_FRAME_IS_KEY)) {
1255 pkt->flags |= AV_PKT_FLAG_KEY;
1608 vpx_enc_frame_flags_t flags = 0;
1652 flags |= VPX_EFLAG_FORCE_KF;
1654 AVDictionaryEntry* en = av_dict_get(frame->metadata, "vp8-flags", NULL, 0);
1656 flags |= strtoul(en->value, NULL, 10);
1722 if (flags & VPX_EFLAG_FORCE_KF) {
1725 flags = VPX_EFLAG_FORCE_KF;
1727 flags = 0;
1730 /* get the flags from the temporal layer configuration. */
1731 flags |= ctx->ts_layer_flags[ctx->current_temporal_idx];
1756 avctx->ticks_per_frame, flags, ctx->deadline);
1764 avctx->ticks_per_frame, flags, ctx->deadline);
1790 if (!frame && avctx->flags & AV_CODEC_FLAG_PASS1) {
1846 {"vp8flags", "", offsetof(VPxContext, flags), AV_OPT_TYPE_FLAGS, {.i64 = 0}, 0, UINT_MAX, VE, "flags"}, \
1847 {"error_resilient", "enable error resilience", 0, AV_OPT_TYPE_CONST, {.i64 = VP8F_ERROR_RESILIENT}, INT_MIN, INT_MAX, VE, "flags"}, \
1848 {"altref", "enable use of alternate reference frames (VP8/2-pass only)", 0, AV_OPT_TYPE_CONST, {.i64 = VP8F_AUTO_ALT_REF}, INT_MIN, INT_MAX, VE, "flags"}, \