Searched refs:extra_cfg (Results 1 – 3 of 3) sorted by relevance
/external/libaom/libaom/av1/ |
D | av1_cx_iface.c | 282 struct av1_extracfg extra_cfg; member 362 const struct av1_extracfg *extra_cfg) { in validate_config() argument 371 RANGE_CHECK_BOOL(extra_cfg, lossless); in validate_config() 372 RANGE_CHECK_HI(extra_cfg, aq_mode, AQ_MODE_COUNT - 1); in validate_config() 373 RANGE_CHECK_HI(extra_cfg, deltaq_mode, DELTA_Q_MODE_COUNT - 1); in validate_config() 374 RANGE_CHECK_HI(extra_cfg, deltalf_mode, 1); in validate_config() 375 RANGE_CHECK_HI(extra_cfg, frame_periodic_boost, 1); in validate_config() 390 RANGE_CHECK_HI(extra_cfg, min_gf_interval, MAX_LAG_BUFFERS - 1); in validate_config() 391 RANGE_CHECK_HI(extra_cfg, max_gf_interval, MAX_LAG_BUFFERS - 1); in validate_config() 392 if (extra_cfg->max_gf_interval > 0) { in validate_config() [all …]
|
/external/libvpx/libvpx/vp9/ |
D | vp9_cx_iface.c | 102 struct vp9_extracfg extra_cfg; member 181 const struct vp9_extracfg *extra_cfg) { in validate_config() argument 190 RANGE_CHECK_BOOL(extra_cfg, lossless); in validate_config() 191 RANGE_CHECK_BOOL(extra_cfg, frame_parallel_decoding_mode); in validate_config() 192 RANGE_CHECK(extra_cfg, aq_mode, 0, AQ_MODE_COUNT - 2); in validate_config() 193 RANGE_CHECK(extra_cfg, alt_ref_aq, 0, 1); in validate_config() 194 RANGE_CHECK(extra_cfg, frame_periodic_boost, 0, 1); in validate_config() 212 RANGE_CHECK(extra_cfg, min_gf_interval, 0, (MAX_LAG_BUFFERS - 1)); in validate_config() 213 RANGE_CHECK(extra_cfg, max_gf_interval, 0, (MAX_LAG_BUFFERS - 1)); in validate_config() 214 if (extra_cfg->max_gf_interval > 0) { in validate_config() [all …]
|
/external/libvpx/libvpx/vp8/ |
D | vp8_cx_iface.c | 493 const struct vp8_extracfg *extra_cfg) { in update_extracfg() argument 494 const vpx_codec_err_t res = validate_config(ctx, &ctx->cfg, extra_cfg, 0); in update_extracfg() 496 ctx->vp8_cfg = *extra_cfg; in update_extracfg() 504 struct vp8_extracfg extra_cfg = ctx->vp8_cfg; in set_cpu_used() local 505 extra_cfg.cpu_used = CAST(VP8E_SET_CPUUSED, args); in set_cpu_used() 507 extra_cfg.cpu_used = VPXMIN(16, extra_cfg.cpu_used); in set_cpu_used() 508 extra_cfg.cpu_used = VPXMAX(-16, extra_cfg.cpu_used); in set_cpu_used() 509 return update_extracfg(ctx, &extra_cfg); in set_cpu_used() 514 struct vp8_extracfg extra_cfg = ctx->vp8_cfg; in set_enable_auto_alt_ref() local 515 extra_cfg.enable_auto_alt_ref = CAST(VP8E_SET_ENABLEAUTOALTREF, args); in set_enable_auto_alt_ref() [all …]
|