• Home
  • Raw
  • Download

Lines Matching refs:oxcf

78   VP8_CONFIG oxcf;  member
273 static vpx_codec_err_t set_vp8e_config(VP8_CONFIG *oxcf, in set_vp8e_config() argument
277 oxcf->multi_threaded = cfg.g_threads; in set_vp8e_config()
278 oxcf->Version = cfg.g_profile; in set_vp8e_config()
280 oxcf->Width = cfg.g_w; in set_vp8e_config()
281 oxcf->Height = cfg.g_h; in set_vp8e_config()
282 oxcf->timebase = cfg.g_timebase; in set_vp8e_config()
284 oxcf->error_resilient_mode = cfg.g_error_resilient; in set_vp8e_config()
287 case VPX_RC_ONE_PASS: oxcf->Mode = MODE_BESTQUALITY; break; in set_vp8e_config()
288 case VPX_RC_FIRST_PASS: oxcf->Mode = MODE_FIRSTPASS; break; in set_vp8e_config()
289 case VPX_RC_LAST_PASS: oxcf->Mode = MODE_SECONDPASS_BEST; break; in set_vp8e_config()
293 oxcf->allow_lag = 0; in set_vp8e_config()
294 oxcf->lag_in_frames = 0; in set_vp8e_config()
296 oxcf->allow_lag = (cfg.g_lag_in_frames) > 0; in set_vp8e_config()
297 oxcf->lag_in_frames = cfg.g_lag_in_frames; in set_vp8e_config()
300 oxcf->allow_df = (cfg.rc_dropframe_thresh > 0); in set_vp8e_config()
301 oxcf->drop_frames_water_mark = cfg.rc_dropframe_thresh; in set_vp8e_config()
303 oxcf->allow_spatial_resampling = cfg.rc_resize_allowed; in set_vp8e_config()
304 oxcf->resample_up_water_mark = cfg.rc_resize_up_thresh; in set_vp8e_config()
305 oxcf->resample_down_water_mark = cfg.rc_resize_down_thresh; in set_vp8e_config()
308 oxcf->end_usage = USAGE_LOCAL_FILE_PLAYBACK; in set_vp8e_config()
310 oxcf->end_usage = USAGE_STREAM_FROM_SERVER; in set_vp8e_config()
312 oxcf->end_usage = USAGE_CONSTRAINED_QUALITY; in set_vp8e_config()
314 oxcf->end_usage = USAGE_CONSTANT_QUALITY; in set_vp8e_config()
317 oxcf->target_bandwidth = cfg.rc_target_bitrate; in set_vp8e_config()
318 oxcf->rc_max_intra_bitrate_pct = vp8_cfg.rc_max_intra_bitrate_pct; in set_vp8e_config()
319 oxcf->gf_cbr_boost_pct = vp8_cfg.gf_cbr_boost_pct; in set_vp8e_config()
321 oxcf->best_allowed_q = cfg.rc_min_quantizer; in set_vp8e_config()
322 oxcf->worst_allowed_q = cfg.rc_max_quantizer; in set_vp8e_config()
323 oxcf->cq_level = vp8_cfg.cq_level; in set_vp8e_config()
324 oxcf->fixed_q = -1; in set_vp8e_config()
326 oxcf->under_shoot_pct = cfg.rc_undershoot_pct; in set_vp8e_config()
327 oxcf->over_shoot_pct = cfg.rc_overshoot_pct; in set_vp8e_config()
329 oxcf->maximum_buffer_size_in_ms = cfg.rc_buf_sz; in set_vp8e_config()
330 oxcf->starting_buffer_level_in_ms = cfg.rc_buf_initial_sz; in set_vp8e_config()
331 oxcf->optimal_buffer_level_in_ms = cfg.rc_buf_optimal_sz; in set_vp8e_config()
333 oxcf->maximum_buffer_size = cfg.rc_buf_sz; in set_vp8e_config()
334 oxcf->starting_buffer_level = cfg.rc_buf_initial_sz; in set_vp8e_config()
335 oxcf->optimal_buffer_level = cfg.rc_buf_optimal_sz; in set_vp8e_config()
337 oxcf->two_pass_vbrbias = cfg.rc_2pass_vbr_bias_pct; in set_vp8e_config()
338 oxcf->two_pass_vbrmin_section = cfg.rc_2pass_vbr_minsection_pct; in set_vp8e_config()
339 oxcf->two_pass_vbrmax_section = cfg.rc_2pass_vbr_maxsection_pct; in set_vp8e_config()
341 oxcf->auto_key = in set_vp8e_config()
343 oxcf->key_freq = cfg.kf_max_dist; in set_vp8e_config()
345 oxcf->number_of_layers = cfg.ts_number_layers; in set_vp8e_config()
346 oxcf->periodicity = cfg.ts_periodicity; in set_vp8e_config()
348 if (oxcf->number_of_layers > 1) { in set_vp8e_config()
349 memcpy(oxcf->target_bitrate, cfg.ts_target_bitrate, in set_vp8e_config()
351 memcpy(oxcf->rate_decimator, cfg.ts_rate_decimator, in set_vp8e_config()
353 memcpy(oxcf->layer_id, cfg.ts_layer_id, sizeof(cfg.ts_layer_id)); in set_vp8e_config()
362 oxcf->mr_total_resolutions = mr_cfg->mr_total_resolutions; in set_vp8e_config()
363 oxcf->mr_encoder_id = mr_cfg->mr_encoder_id; in set_vp8e_config()
364 oxcf->mr_down_sampling_factor.num = mr_cfg->mr_down_sampling_factor.num; in set_vp8e_config()
365 oxcf->mr_down_sampling_factor.den = mr_cfg->mr_down_sampling_factor.den; in set_vp8e_config()
366 oxcf->mr_low_res_mode_info = mr_cfg->mr_low_res_mode_info; in set_vp8e_config()
372 oxcf->cpu_used = vp8_cfg.cpu_used; in set_vp8e_config()
373 oxcf->encode_breakout = vp8_cfg.static_thresh; in set_vp8e_config()
374 oxcf->play_alternate = vp8_cfg.enable_auto_alt_ref; in set_vp8e_config()
375 oxcf->noise_sensitivity = vp8_cfg.noise_sensitivity; in set_vp8e_config()
376 oxcf->Sharpness = vp8_cfg.Sharpness; in set_vp8e_config()
377 oxcf->token_partitions = vp8_cfg.token_partitions; in set_vp8e_config()
379 oxcf->two_pass_stats_in = cfg.rc_twopass_stats_in; in set_vp8e_config()
380 oxcf->output_pkt_list = vp8_cfg.pkt_list; in set_vp8e_config()
382 oxcf->arnr_max_frames = vp8_cfg.arnr_max_frames; in set_vp8e_config()
383 oxcf->arnr_strength = vp8_cfg.arnr_strength; in set_vp8e_config()
384 oxcf->arnr_type = vp8_cfg.arnr_type; in set_vp8e_config()
386 oxcf->tuning = vp8_cfg.tuning; in set_vp8e_config()
388 oxcf->screen_content_mode = vp8_cfg.screen_content_mode; in set_vp8e_config()
450 set_vp8e_config(&ctx->oxcf, ctx->cfg, ctx->vp8_cfg, NULL); in vp8e_set_config()
451 vp8_change_config(ctx->cpi, &ctx->oxcf); in vp8e_set_config()
477 set_vp8e_config(&ctx->oxcf, ctx->cfg, ctx->vp8_cfg, NULL); in update_extracfg()
478 vp8_change_config(ctx->cpi, &ctx->oxcf); in update_extracfg()
657 set_vp8e_config(&priv->oxcf, priv->cfg, priv->vp8_cfg, mr_cfg); in vp8e_init()
658 priv->cpi = vp8_create_compressor(&priv->oxcf); in vp8e_init()
669 if (ctx->oxcf.mr_total_resolutions > 0 && in vp8e_destroy()
670 (ctx->oxcf.mr_encoder_id == ctx->oxcf.mr_total_resolutions - 1)) { in vp8e_destroy()
672 (LOWER_RES_FRAME_INFO *)ctx->oxcf.mr_low_res_mode_info; in vp8e_destroy()
674 free(ctx->oxcf.mr_low_res_mode_info); in vp8e_destroy()
748 if (ctx->oxcf.Mode != new_qc) { in pick_quickcompress_mode()
749 ctx->oxcf.Mode = new_qc; in pick_quickcompress_mode()
750 vp8_change_config(ctx->cpi, &ctx->oxcf); in pick_quickcompress_mode()
809 if (ctx->cpi->oxcf.mr_total_resolutions > 1) { in vp8e_encode()
811 (LOWER_RES_FRAME_INFO *)ctx->cpi->oxcf.mr_low_res_mode_info; in vp8e_encode()
814 if (ctx->cpi->oxcf.mr_encoder_id == 0) in vp8e_encode()