HomeSort by relevance Sort by last modified time
    Searched refs:oxcf (Results 1 - 25 of 40) sorted by null

1 2

  /external/libvpx/libvpx/vp8/encoder/
ratectrl.c 302 if (cpi->oxcf.fixed_q >= 0) {
303 int Q = cpi->oxcf.key_q;
317 target = cpi->oxcf.starting_buffer_level / 2;
319 if (target > cpi->oxcf.target_bandwidth * 3 / 2) {
320 target = cpi->oxcf.target_bandwidth * 3 / 2;
329 if (cpi->oxcf.number_of_layers == 1) {
351 if (cpi->oxcf.rc_max_intra_bitrate_pct) {
353 cpi->per_frame_bandwidth * cpi->oxcf.rc_max_intra_bitrate_pct / 100;
383 (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q
    [all...]
onyx_if.c 200 lc->starting_buffer_level = cpi->oxcf.starting_buffer_level;
201 lc->optimal_buffer_level = cpi->oxcf.optimal_buffer_level;
202 lc->maximum_buffer_size = cpi->oxcf.maximum_buffer_size;
203 lc->starting_buffer_level_in_ms = cpi->oxcf.starting_buffer_level_in_ms;
204 lc->optimal_buffer_level_in_ms = cpi->oxcf.optimal_buffer_level_in_ms;
205 lc->maximum_buffer_size_in_ms = cpi->oxcf.maximum_buffer_size_in_ms;
238 cpi->oxcf.target_bandwidth = lc->target_bandwidth;
239 cpi->oxcf.starting_buffer_level = lc->starting_buffer_level;
240 cpi->oxcf.optimal_buffer_level = lc->optimal_buffer_level;
241 cpi->oxcf.maximum_buffer_size = lc->maximum_buffer_size
1391 VP8_CONFIG *oxcf = &cpi->oxcf; local
    [all...]
mr_dissim.c 24 unsigned int iw = cpi->oxcf.Width * cpi->oxcf.mr_down_sampling_factor.den +
25 cpi->oxcf.mr_down_sampling_factor.num - 1;
27 low_res_w = iw / cpi->oxcf.mr_down_sampling_factor.num;
59 if (cpi->oxcf.mr_total_resolutions > 1 &&
60 cpi->oxcf.mr_encoder_id < (cpi->oxcf.mr_total_resolutions - 1)) {
65 (LOWER_RES_FRAME_INFO *)cpi->oxcf.mr_low_res_mode_info;
105 if (cpi->oxcf.play_alternate) {
203 if (cpi->oxcf.mr_total_resolutions > 1 &
    [all...]
firstpass.c 57 #define POW1 (double)cpi->oxcf.two_pass_vbrbias / 100.0
58 #define POW2 (double)cpi->oxcf.two_pass_vbrbias / 100.0
326 if (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) {
329 DOUBLE_DIVIDE_CHECK((double)cpi->oxcf.optimal_buffer_level);
335 ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0));
360 ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0));
612 if (raw_motion_error < cpi->oxcf.encode_breakout) {
    [all...]
pickinter.c 69 if (cpi->oxcf.number_of_layers > 1) {
81 !cpi->oxcf.screen_content_mode) {
400 ((LOWER_RES_FRAME_INFO *)cpi->oxcf.mr_low_res_mode_info)->mb_info;
411 parent_mb_row = mb_row * cpi->oxcf.mr_down_sampling_factor.den /
412 cpi->oxcf.mr_down_sampling_factor.num;
413 parent_mb_col = mb_col * cpi->oxcf.mr_down_sampling_factor.den /
414 cpi->oxcf.mr_down_sampling_factor.num;
425 if (cpi->oxcf.mr_encoder_id == (cpi->oxcf.mr_total_resolutions - 1))
433 cpi->oxcf.mr_down_sampling_factor.num
    [all...]
encodeframe.c 429 if (cpi->oxcf.tuning == VP8_TUNE_SSIM) vp8_activity_masking(cpi, x);
623 } else if ((cpi->oxcf.number_of_layers > 1) &&
626 } else if ((cpi->oxcf.number_of_layers > 1) &&
683 if (cpi->oxcf.cpu_used < 0) {
684 cpi->Speed = -(cpi->oxcf.cpu_used);
723 if (cpi->oxcf.tuning == VP8_TUNE_SSIM) {
951 ((cpi->oxcf.number_of_layers > 1) ||
    [all...]
  /external/libvpx/libvpx/vp9/
vp9_cx_iface.c 95 VP9EncoderConfig oxcf; member in struct:vpx_codec_alg_priv
414 static void config_target_level(VP9EncoderConfig *oxcf) {
417 const int target_level_index = get_level_index(oxcf->target_level);
426 if ((double)oxcf->target_bandwidth > max_average_bitrate)
427 oxcf->target_bandwidth = (int64_t)(max_average_bitrate);
428 if (oxcf->ss_number_layers == 1 && oxcf->pass != 0)
429 oxcf->ss_target_bitrate[0] = (int)oxcf->target_bandwidth;
433 (int)((max_average_bitrate * 1.10 - (double)oxcf->target_bandwidth)
1103 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
    [all...]
  /external/libvpx/libvpx/vp8/
vp8_cx_iface.c 77 VP8_CONFIG oxcf; member in struct:vpx_codec_alg_priv
274 static vpx_codec_err_t set_vp8e_config(VP8_CONFIG *oxcf,
278 oxcf->multi_threaded = cfg.g_threads;
279 oxcf->Version = cfg.g_profile;
281 oxcf->Width = cfg.g_w;
282 oxcf->Height = cfg.g_h;
283 oxcf->timebase = cfg.g_timebase;
285 oxcf->error_resilient_mode = cfg.g_error_resilient;
288 case VPX_RC_ONE_PASS: oxcf->Mode = MODE_BESTQUALITY; break;
289 case VPX_RC_FIRST_PASS: oxcf->Mode = MODE_FIRSTPASS; break
    [all...]
vp8_dx_iface.c 303 VP8D_CONFIG oxcf; local
305 oxcf.Width = ctx->si.w;
306 oxcf.Height = ctx->si.h;
307 oxcf.Version = 9;
308 oxcf.postprocess = 0;
309 oxcf.max_threads = ctx->cfg.threads;
310 oxcf.error_concealment =
324 res = vp8_create_decoder_instances(&ctx->yv12_frame_buffers, &oxcf);
  /external/libvpx/libvpx/vp9/encoder/
vp9_svc_layercontext.c 24 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
42 for (sl = 0; sl < oxcf->ss_number_layers; ++sl) {
51 if (cpi->oxcf.error_resilient_mode == 0 && cpi->oxcf.pass == 2) {
68 for (sl = 0; sl < oxcf->ss_number_layers; ++sl) {
69 for (tl = 0; tl < oxcf->ts_number_layers; ++tl) {
70 int layer = LAYER_IDS_TO_IDX(sl, tl, oxcf->ts_number_layers);
78 lrc->ni_av_qi = oxcf->worst_allowed_q;
92 if (cpi->oxcf.rc_mode == VPX_CBR)
152 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
249 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
275 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
330 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
830 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
    [all...]
vp9_ratectrl.c 212 const VP9EncoderConfig *oxcf = &cpi->oxcf; local
214 if (cpi->oxcf.pass != 2) {
230 if (oxcf->rc_max_inter_bitrate_pct) {
232 rc->avg_frame_bandwidth * oxcf->rc_max_inter_bitrate_pct / 100;
240 const VP9EncoderConfig *oxcf = &cpi->oxcf; local
241 if (oxcf->rc_max_intra_bitrate_pct) {
243 rc->avg_frame_bandwidth * oxcf->rc_max_intra_bitrate_pct / 100;
288 if (cpi->oxcf.content == VP9E_CONTENT_SCREEN &
394 const VP9EncoderConfig *oxcf = &cpi->oxcf; local
882 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
1063 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
1382 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
1610 const VP9EncoderConfig *oxcf = &cpi->oxcf; local
1660 const VP9EncoderConfig *oxcf = &cpi->oxcf; local
1844 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
1900 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
    [all...]
vp9_speed_features.c 132 if ((speed >= 1) && (cpi->oxcf.pass == 2) &&
160 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
186 if (oxcf->pass == 2) {
229 if (oxcf->vbr_corpus_complexity)
238 sf->reference_masking = oxcf->resize_mode != RESIZE_DYNAMIC ? 1 : 0;
413 cpi->oxcf.resize_mode == RESIZE_DYNAMIC)) {
454 if (cpi->oxcf.rc_mode == VPX_VBR && cpi->oxcf.lag_in_frames > 0)
492 if (cpi->oxcf.rc_mode == VPX_VBR && cpi->oxcf.lag_in_frames > 0 &
673 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
725 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
    [all...]
vp9_bitstream.h 46 cpi->oxcf.ss_enable_auto_arf[0]));
vp9_encoder.c 98 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
100 return (oxcf->pass != 1) && !is_lossless_requested(&cpi->oxcf) &&
108 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
110 const int bitrate = (int)(oxcf->target_bandwidth >> 10);
433 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
435 return cpi->b_calculate_psnr && (oxcf->pass != 1) && cm->show_frame
1075 const VP9EncoderConfig *oxcf = &cpi->oxcf; local
2772 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
3376 VP9EncoderConfig *const oxcf = &cpi->oxcf; local
3689 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
4308 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
4359 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
5071 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
    [all...]
vp9_noise_estimate.c 57 if (cpi->oxcf.noise_sensitivity > 0 && noise_est_svc(cpi) &&
65 if (cpi->oxcf.pass == 0 && cpi->oxcf.rc_mode == VPX_CBR &&
66 cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ && cpi->oxcf.speed >= 5 &&
68 cpi->oxcf.content != VP9E_CONTENT_SCREEN &&
123 if (cpi->oxcf.noise_sensitivity > 0 && noise_est_svc(cpi)) {
143 if (cpi->oxcf.noise_sensitivity > 0 && noise_est_svc(cpi))
158 if (cpi->oxcf.noise_sensitivity > 0 && noise_est_svc(cpi) &&
269 if (cpi->oxcf.noise_sensitivity > 0 && noise_est_svc(cpi)
    [all...]
vp9_picklpf.c 28 if (cpi->oxcf.pass == 2) {
102 if ((cpi->oxcf.pass == 2) && (cpi->twopass.section_intra_rating < 20))
153 lf->sharpness_level = cm->frame_type == KEY_FRAME ? 0 : cpi->oxcf.sharpness;
184 if (cpi->oxcf.pass == 0 && cpi->oxcf.rc_mode == VPX_CBR &&
185 cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ && cm->seg.enabled &&
186 cpi->oxcf.content != VP9E_CONTENT_SCREEN && cm->frame_type != KEY_FRAME)
vp9_firstpass.c 243 if (cpi->oxcf.vbr_corpus_complexity)
254 const VP9EncoderConfig *oxcf,
260 oxcf->two_pass_vbrbias / 100.0);
275 const VP9EncoderConfig *oxcf,
281 oxcf->two_pass_vbrbias / 100.0);
283 const double min_score = (double)(oxcf->two_pass_vbrmin_section) / 100.0;
284 const double max_score = (double)(oxcf->two_pass_vbrmax_section) / 100.0;
302 const VP9EncoderConfig *oxcf) {
304 (int64_t)oxcf->two_pass_vbrmax_section) /
721 const int num_mbs = (cpi->oxcf.resize_mode != RESIZE_NONE) ? cpi->initial_mb
1593 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
1694 VP9EncoderConfig *const oxcf = &cpi->oxcf; local
2174 VP9EncoderConfig *const oxcf = &cpi->oxcf; local
2195 VP9EncoderConfig *const oxcf = &cpi->oxcf; local
2391 VP9EncoderConfig *const oxcf = &cpi->oxcf; local
2832 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
    [all...]
vp9_encoder.h 460 VP9EncoderConfig oxcf; member in struct:VP9_COMP
730 struct VP9_COMP *vp9_create_compressor(VP9EncoderConfig *oxcf,
734 void vp9_change_config(VP9_COMP *cpi, const VP9EncoderConfig *oxcf);
862 return cpi->use_svc && cpi->oxcf.pass != 0;
866 return (cpi->use_svc && cpi->oxcf.pass == 0);
879 return !(cpi->oxcf.mode == REALTIME && cpi->oxcf.rc_mode == VPX_CBR) &&
880 cpi->oxcf.lag_in_frames >= MIN_LOOKAHEAD_FOR_ARFS &&
881 (cpi->oxcf.enable_auto_arf &&
883 cpi->oxcf.ss_enable_auto_arf[cpi->svc.spatial_layer_id]))
    [all...]
vp9_aq_cyclicrefresh.c 131 if (cpi->oxcf.speed < 8)
174 if (cpi->oxcf.rc_mode == VPX_VBR && mi->ref_frame[0] == GOLDEN_FRAME)
277 !cpi->oxcf.gf_cbr_boost_pct) {
316 if (cpi->oxcf.rc_mode == VPX_VBR) rc->baseline_gf_interval = 20;
349 if (cpi->oxcf.content != VP9E_CONTENT_SCREEN) {
353 cpi->oxcf.content == VP9E_CONTENT_SCREEN
471 if (cpi->oxcf.rc_mode == VPX_VBR) {
vp9_temporal_filter.c 353 if (cpi->oxcf.content == VP9E_CONTENT_FILM) {
645 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local
648 int frames_fwd = (cpi->oxcf.arnr_max_frames - 1) >> 1;
653 if (oxcf->pass == 2) {
654 base_strength = oxcf->arnr_strength + cpi->twopass.arnr_strength_adjustment;
658 base_strength = oxcf->arnr_strength;
669 if (frames_bwd < distance) frames_bwd += (oxcf->arnr_max_frames + 1) & 0x1;
699 if (cpi->oxcf.pass == 2 && cpi->multi_arf_allowed) {
vp9_pickmode.c 175 if (cpi->oxcf.speed > 5 && x->lowvar_highsumdiff) {
376 if (cpi->oxcf.noise_sensitivity > 0 && denoise_svc(cpi) &&
377 cpi->oxcf.speed > 5)
382 ac_thr *= ac_thr_factor(cpi->oxcf.speed, cpi->common.width,
385 ac_thr *= ac_thr_factor(cpi->oxcf.speed, cpi->common.width,
396 if (cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ &&
476 if (cpi->oxcf.speed < 8 || x->color_sensitivity[i - 1]) {
574 if (cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ &&
667 (cpi->oxcf.speed > 5 && cpi->common.frame_type != KEY_FRAME &&
    [all...]
vp9_ethread.c 60 const int aligned_width = ALIGN_POWER_OF_TWO(cpi->oxcf.width, MI_SIZE_LOG2);
67 clamp(cpi->oxcf.tile_columns, min_log2_tile_cols, max_log2_tile_cols);
68 if (cpi->oxcf.target_level == LEVEL_AUTO) {
92 allocated_workers = VPXMIN(cpi->oxcf.max_threads, max_tile_cols);
175 const int num_workers = VPXMIN(cpi->oxcf.max_threads, tile_cols);
442 int num_workers = VPXMAX(cpi->oxcf.max_threads, 1);
599 int num_workers = VPXMAX(cpi->oxcf.max_threads, 1);
  /external/libvpx/libvpx/vp8/decoder/
onyxd_int.h 64 VP8D_CONFIG oxcf; member in struct:VP8D_COMP
125 int vp8_create_decoder_instances(struct frame_buffers *fb, VP8D_CONFIG *oxcf);
onyxd_if.c 65 static struct VP8D_COMP *create_decompressor(VP8D_CONFIG *oxcf) {
96 pbi->ec_enabled = oxcf->error_concealment;
99 (void)oxcf;
440 int vp8_create_decoder_instances(struct frame_buffers *fb, VP8D_CONFIG *oxcf) {
442 fb->pbi[0] = create_decompressor(oxcf);
454 fb->pbi[0]->max_threads = oxcf->max_threads;
  /external/libvpx/libvpx/vp8/common/
onyx.h 246 struct VP8_COMP *vp8_create_compressor(VP8_CONFIG *oxcf);
249 void vp8_init_config(struct VP8_COMP *onyx, VP8_CONFIG *oxcf);
250 void vp8_change_config(struct VP8_COMP *onyx, VP8_CONFIG *oxcf);

Completed in 824 milliseconds

1 2