Home
last modified time | relevance | path

Searched refs:oxcf (Results 1 – 18 of 18) sorted by relevance

/external/libvpx/vp8/
Dvp8_cx_iface.c83 VP8_CONFIG oxcf; member
248 static vpx_codec_err_t set_vp8e_config(VP8_CONFIG *oxcf, in set_vp8e_config() argument
252 oxcf->multi_threaded = cfg.g_threads; in set_vp8e_config()
253 oxcf->Version = cfg.g_profile; in set_vp8e_config()
255 oxcf->Width = cfg.g_w; in set_vp8e_config()
256 oxcf->Height = cfg.g_h; in set_vp8e_config()
258 oxcf->frame_rate = (double)(cfg.g_timebase.den) / (double)(cfg.g_timebase.num); in set_vp8e_config()
260 if (oxcf->frame_rate > 180) in set_vp8e_config()
262 oxcf->frame_rate = 30; in set_vp8e_config()
265 oxcf->error_resilient_mode = cfg.g_error_resilient; in set_vp8e_config()
[all …]
Dvp8_dx_iface.c357 VP8D_CONFIG oxcf; in vp8_decode() local
362 oxcf.Width = ctx->si.w; in vp8_decode()
363 oxcf.Height = ctx->si.h; in vp8_decode()
364 oxcf.Version = 9; in vp8_decode()
365 oxcf.postprocess = 0; in vp8_decode()
366 oxcf.max_threads = ctx->cfg.threads; in vp8_decode()
368 optr = vp8dx_create_decompressor(&oxcf); in vp8_decode()
/external/libvpx/vp8/encoder/
Donyx_if.c1047 if (cpi->oxcf.encode_breakout > 2000) in vp8_set_speed_features()
1048 min = cpi->oxcf.encode_breakout; in vp8_set_speed_features()
1257 int width = (cpi->oxcf.Width + 15) & ~15; in alloc_raw_frame_buffers()
1259 buffers = cpi->oxcf.lag_in_frames; in alloc_raw_frame_buffers()
1269 width, cpi->oxcf.Height, in alloc_raw_frame_buffers()
1277 width, cpi->oxcf.Height, 16)) in alloc_raw_frame_buffers()
1414 cpi->oxcf.frame_rate = framerate; in vp8_new_frame_rate()
1415 cpi->output_frame_rate = cpi->oxcf.frame_rate; in vp8_new_frame_rate()
1416 cpi->per_frame_bandwidth = (int)(cpi->oxcf.target_bandwidth / cpi->output_frame_rate); in vp8_new_frame_rate()
1417 cpi->av_per_frame_bandwidth = (int)(cpi->oxcf.target_bandwidth / cpi->output_frame_rate); in vp8_new_frame_rate()
[all …]
Dratectrl.c340 if (cpi->oxcf.fixed_q >= 0) in vp8_calc_auto_iframe_target_size()
405 int Q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q; in calc_gf_params()
520 if (cpi->oxcf.fixed_q == -1) in calc_gf_params()
587 Q = (cpi->oxcf.fixed_q >= 0) ? cpi->oxcf.fixed_q : cpi->avg_frame_qindex; in vp8_calc_iframe_target_size()
630 if (cpi->oxcf.fixed_q >= 0) in vp8_calc_iframe_target_size()
639 if (cpi->oxcf.error_resilient_mode == 1) in vp8_calc_iframe_target_size()
822 if ((cpi->oxcf.under_shoot_pct > 0) && (cpi->oxcf.under_shoot_pct <= 100)) in vp8_calc_pframe_target_size()
823 cpi->this_frame_target = (cpi->this_frame_target * cpi->oxcf.under_shoot_pct) / 100; in vp8_calc_pframe_target_size()
843 int one_percent_bits = 1 + cpi->oxcf.optimal_buffer_level / 100; in vp8_calc_pframe_target_size()
845 if ((cpi->buffer_level < cpi->oxcf.optimal_buffer_level) || in vp8_calc_pframe_target_size()
[all …]
Dfirstpass.c63 #define POW1 (double)cpi->oxcf.two_pass_vbrbias/100.0
64 #define POW2 (double)cpi->oxcf.two_pass_vbrbias/100.0
249 if (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) in frame_max_bits()
251 …ness_ratio = (double)cpi->buffer_level / DOUBLE_DIVIDE_CHECK((double)cpi->oxcf.optimal_buffer_leve… in frame_max_bits()
254 …max_bits = (int)(cpi->av_per_frame_bandwidth * ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0)… in frame_max_bits()
272 …_stats->count - (double)cpi->common.current_video_frame)) * ((double)cpi->oxcf.two_pass_vbrmax_sec… in frame_max_bits()
887 if (cpi->oxcf.cpu_used <= 5) in estimate_max_q()
888 speed_correction = 1.04 + (cpi->oxcf.cpu_used * 0.04); in estimate_max_q()
920 if ( (cpi->oxcf.end_usage == USAGE_CONSTRAINED_QUALITY) && in estimate_max_q()
961 if (cpi->oxcf.cpu_used <= 5) in estimate_q()
[all …]
Dtemporal_filter.c487 int strength = cpi->oxcf.arnr_strength; in vp8_temporal_filter_prepare_c()
489 int blur_type = cpi->oxcf.arnr_type; in vp8_temporal_filter_prepare_c()
496 num_frames_backward += cpi->oxcf.lag_in_frames; in vp8_temporal_filter_prepare_c()
498 num_frames_forward = cpi->oxcf.lag_in_frames - (num_frames_backward + 1); in vp8_temporal_filter_prepare_c()
551 + frames_to_blur_forward) % cpi->oxcf.lag_in_frames; in vp8_temporal_filter_prepare_c()
574 which_buffer += cpi->oxcf.lag_in_frames; in vp8_temporal_filter_prepare_c()
Dethreading.c150 if (cpi->oxcf.tuning == VP8_TUNE_SSIM) in thread_encoding_proc()
464 if (cpi->processor_core_count > 1 && cpi->oxcf.multi_threaded > 1) in vp8cx_create_encoder_threads()
467 int th_count = cpi->oxcf.multi_threaded - 1; in vp8cx_create_encoder_threads()
469 if (cpi->oxcf.multi_threaded > cpi->processor_core_count) in vp8cx_create_encoder_threads()
Dpicklpf.c172 cm->sharpness_level = cpi->oxcf.Sharpness; in vp8cx_pick_filter_level_fast()
330 cm->sharpness_level = cpi->oxcf.Sharpness; in vp8cx_pick_filter_level()
Dencodeframe.c553 if(cpi->oxcf.tuning == VP8_TUNE_SSIM) in encode_mb_row()
759 if (cpi->oxcf.cpu_used < 0) in vp8_encode_frame()
760 cpi->Speed = -(cpi->oxcf.cpu_used); in vp8_encode_frame()
1244 x->encode_breakout = cpi->oxcf.encode_breakout; in vp8cx_encode_inter_macroblock()
Donyx_int.h281 VP8_CONFIG oxcf; member
Dbitstream.c1492 || cpi->oxcf.error_resilient_mode; in vp8_pack_bitstream()
1506 || cpi->oxcf.error_resilient_mode) in vp8_pack_bitstream()
1533 || cpi->oxcf.error_resilient_mode) in vp8_pack_bitstream()
Drdopt.c308 int used = cpi->oxcf.cpu_used; in vp8_auto_select_speed()
310 int milliseconds_for_compress = (int)(1000000 / cpi->oxcf.frame_rate); in vp8_auto_select_speed()
312 milliseconds_for_compress = milliseconds_for_compress * (16 - cpi->oxcf.cpu_used) / 16; in vp8_auto_select_speed()
1889 if (cpi->is_src_frame_alt_ref && (cpi->oxcf.arnr_max_frames == 0)) in vp8_rd_pick_inter_mode()
Dpickinter.c605 if (cpi->is_src_frame_alt_ref && (cpi->oxcf.arnr_max_frames == 0)) in vp8_pick_inter_mode()
/external/libvpx/vp8/common/
Donyx.h201 VP8_PTR vp8_create_compressor(VP8_CONFIG *oxcf);
204 void vp8_init_config(VP8_PTR onyx, VP8_CONFIG *oxcf);
205 void vp8_change_config(VP8_PTR onyx, VP8_CONFIG *oxcf);
Donyxd.h59 VP8D_PTR vp8dx_create_decompressor(VP8D_CONFIG *oxcf);
/external/libvpx/vp8/decoder/
Donyxd_int.h78 VP8D_CONFIG oxcf; member
Donyxd_if.c54 VP8D_PTR vp8dx_create_decompressor(VP8D_CONFIG *oxcf) in vp8dx_create_decompressor() argument
81 pbi->max_threads = oxcf->max_threads; in vp8dx_create_decompressor()
/external/libvpx/vpx_scale/arm/neon/
Dvp8_vpxyv12_copysrcframe_func_neon.asm21 ;the encoding. The buffer has a width and height of cpi->oxcf.Width and cpi->oxcf.Height,