• Home
  • Raw
  • Download

Lines Matching refs:oxcf

79     VP8_CONFIG              oxcf;  member
240 static vpx_codec_err_t set_vp8e_config(VP8_CONFIG *oxcf, in set_vp8e_config() argument
244 oxcf->multi_threaded = cfg.g_threads; in set_vp8e_config()
245 oxcf->Version = cfg.g_profile; in set_vp8e_config()
247 oxcf->Width = cfg.g_w; in set_vp8e_config()
248 oxcf->Height = cfg.g_h; in set_vp8e_config()
250 oxcf->frame_rate = (double)(cfg.g_timebase.den) / (double)(cfg.g_timebase.num); in set_vp8e_config()
252 if (oxcf->frame_rate > 180) in set_vp8e_config()
254 oxcf->frame_rate = 30; in set_vp8e_config()
257 oxcf->error_resilient_mode = cfg.g_error_resilient; in set_vp8e_config()
262 oxcf->Mode = MODE_BESTQUALITY; in set_vp8e_config()
265 oxcf->Mode = MODE_FIRSTPASS; in set_vp8e_config()
268 oxcf->Mode = MODE_SECONDPASS_BEST; in set_vp8e_config()
274 oxcf->allow_lag = 0; in set_vp8e_config()
275 oxcf->lag_in_frames = 0; in set_vp8e_config()
279 oxcf->allow_lag = (cfg.g_lag_in_frames) > 0; in set_vp8e_config()
280 oxcf->lag_in_frames = cfg.g_lag_in_frames; in set_vp8e_config()
283 oxcf->allow_df = (cfg.rc_dropframe_thresh > 0); in set_vp8e_config()
284 oxcf->drop_frames_water_mark = cfg.rc_dropframe_thresh; in set_vp8e_config()
286 oxcf->allow_spatial_resampling = cfg.rc_resize_allowed; in set_vp8e_config()
287 oxcf->resample_up_water_mark = cfg.rc_resize_up_thresh; in set_vp8e_config()
288 oxcf->resample_down_water_mark = cfg.rc_resize_down_thresh; in set_vp8e_config()
292 oxcf->end_usage = USAGE_LOCAL_FILE_PLAYBACK; in set_vp8e_config()
296 oxcf->end_usage = USAGE_STREAM_FROM_SERVER; in set_vp8e_config()
299 oxcf->target_bandwidth = cfg.rc_target_bitrate; in set_vp8e_config()
301 oxcf->best_allowed_q = cfg.rc_min_quantizer; in set_vp8e_config()
302 oxcf->worst_allowed_q = cfg.rc_max_quantizer; in set_vp8e_config()
303 oxcf->fixed_q = -1; in set_vp8e_config()
305 oxcf->under_shoot_pct = cfg.rc_undershoot_pct; in set_vp8e_config()
308 oxcf->maximum_buffer_size = cfg.rc_buf_sz; in set_vp8e_config()
309 oxcf->starting_buffer_level = cfg.rc_buf_initial_sz; in set_vp8e_config()
310 oxcf->optimal_buffer_level = cfg.rc_buf_optimal_sz; in set_vp8e_config()
312 oxcf->two_pass_vbrbias = cfg.rc_2pass_vbr_bias_pct; in set_vp8e_config()
313 oxcf->two_pass_vbrmin_section = cfg.rc_2pass_vbr_minsection_pct; in set_vp8e_config()
314 oxcf->two_pass_vbrmax_section = cfg.rc_2pass_vbr_maxsection_pct; in set_vp8e_config()
316 oxcf->auto_key = cfg.kf_mode == VPX_KF_AUTO in set_vp8e_config()
319 oxcf->key_freq = cfg.kf_max_dist; in set_vp8e_config()
324 oxcf->cpu_used = vp8_cfg.cpu_used; in set_vp8e_config()
325 oxcf->encode_breakout = vp8_cfg.static_thresh; in set_vp8e_config()
326 oxcf->play_alternate = vp8_cfg.enable_auto_alt_ref; in set_vp8e_config()
327 oxcf->noise_sensitivity = vp8_cfg.noise_sensitivity; in set_vp8e_config()
328 oxcf->Sharpness = vp8_cfg.Sharpness; in set_vp8e_config()
329 oxcf->token_partitions = vp8_cfg.token_partitions; in set_vp8e_config()
331 oxcf->two_pass_stats_in = cfg.rc_twopass_stats_in; in set_vp8e_config()
332 oxcf->output_pkt_list = vp8_cfg.pkt_list; in set_vp8e_config()
334 oxcf->arnr_max_frames = vp8_cfg.arnr_max_frames; in set_vp8e_config()
335 oxcf->arnr_strength = vp8_cfg.arnr_strength; in set_vp8e_config()
336 oxcf->arnr_type = vp8_cfg.arnr_type; in set_vp8e_config()
396 set_vp8e_config(&ctx->oxcf, ctx->cfg, ctx->vp8_cfg); in vp8e_set_config()
397 vp8_change_config(ctx->cpi, &ctx->oxcf); in vp8e_set_config()
459 set_vp8e_config(&ctx->oxcf, ctx->cfg, ctx->vp8_cfg); in set_param()
460 vp8_change_config(ctx->cpi, &ctx->oxcf); in set_param()
522 …set_vp8e_config(&ctx->priv->alg_priv->oxcf, ctx->priv->alg_priv->cfg, ctx->priv->alg_priv->vp8_cfg… in vp8e_init()
523 optr = vp8_create_compressor(&ctx->priv->alg_priv->oxcf); in vp8e_init()
615 if (ctx->oxcf.Mode != new_qc) in pick_quickcompress_mode()
617 ctx->oxcf.Mode = new_qc; in pick_quickcompress_mode()
618 vp8_change_config(ctx->cpi, &ctx->oxcf); in pick_quickcompress_mode()