Lines Matching full:vp8_cfg
82 struct vp8_extracfg vp8_cfg;
138 const struct vp8_extracfg *vp8_cfg)
176 RANGE_CHECK_BOOL(vp8_cfg, enable_auto_alt_ref);
178 RANGE_CHECK(vp8_cfg, encoding_mode, VP8_BEST_QUALITY_ENCODING, VP8_REAL_TIME_ENCODING);
179 RANGE_CHECK(vp8_cfg, cpu_used, -16, 16);
180 RANGE_CHECK_HI(vp8_cfg, noise_sensitivity, 6);
182 RANGE_CHECK(vp8_cfg, encoding_mode, VP8_REAL_TIME_ENCODING, VP8_REAL_TIME_ENCODING);
184 if (!((vp8_cfg->cpu_used >= -16 && vp8_cfg->cpu_used <= -4) || (vp8_cfg->cpu_used >= 4 && vp8_cfg->cpu_used <= 16)))
187 RANGE_CHECK(vp8_cfg, noise_sensitivity, 0, 0);
190 RANGE_CHECK(vp8_cfg, token_partitions, VP8_ONE_TOKENPARTITION, VP8_EIGHT_TOKENPARTITION);
191 RANGE_CHECK_HI(vp8_cfg, Sharpness, 7);
192 RANGE_CHECK(vp8_cfg, arnr_max_frames, 0, 15);
193 RANGE_CHECK_HI(vp8_cfg, arnr_strength, 6);
194 RANGE_CHECK(vp8_cfg, arnr_type, 1, 3);
195 RANGE_CHECK(vp8_cfg, cq_level, 0, 63);
250 struct vp8_extracfg vp8_cfg)
315 oxcf->cq_level = vp8_cfg.cq_level;
337 oxcf->cpu_used = vp8_cfg.cpu_used;
338 oxcf->encode_breakout = vp8_cfg.static_thresh;
339 oxcf->play_alternate = vp8_cfg.enable_auto_alt_ref;
340 oxcf->noise_sensitivity = vp8_cfg.noise_sensitivity;
341 oxcf->Sharpness = vp8_cfg.Sharpness;
342 oxcf->token_partitions = vp8_cfg.token_partitions;
345 oxcf->output_pkt_list = vp8_cfg.pkt_list;
347 oxcf->arnr_max_frames = vp8_cfg.arnr_max_frames;
348 oxcf->arnr_strength = vp8_cfg.arnr_strength;
349 oxcf->arnr_type = vp8_cfg.arnr_type;
351 oxcf->tuning = vp8_cfg.tuning;
405 res = validate_config(ctx, cfg, &ctx->vp8_cfg);
410 set_vp8e_config(&ctx->oxcf, ctx->cfg, ctx->vp8_cfg);
448 struct vp8_extracfg xcfg = ctx->vp8_cfg;
474 ctx->vp8_cfg = xcfg;
475 set_vp8e_config(&ctx->oxcf, ctx->cfg, ctx->vp8_cfg);
525 priv->vp8_cfg = extracfg_map[i].cfg;
526 priv->vp8_cfg.pkt_list = &priv->pkt_list.head;
543 res = validate_config(priv, &priv->cfg, &priv->vp8_cfg);
549 ctx->priv->alg_priv->vp8_cfg);