Home
last modified time | relevance | path

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

/external/libvpx/vp8/encoder/
Donyx_if.c1134 if (cpi->oxcf.encode_breakout > 2000) in vp8_set_speed_features()
1135 min = cpi->oxcf.encode_breakout; in vp8_set_speed_features()
1303 buffers = cpi->oxcf.lag_in_frames; in alloc_raw_frame_buffers()
1313 cpi->oxcf.Width, cpi->oxcf.Height, in alloc_raw_frame_buffers()
1321 cpi->oxcf.Width, cpi->oxcf.Height, 16)) in alloc_raw_frame_buffers()
1435 cpi->oxcf.frame_rate = framerate; in vp8_new_frame_rate()
1436 cpi->output_frame_rate = cpi->oxcf.frame_rate; in vp8_new_frame_rate()
1437 cpi->per_frame_bandwidth = (int)(cpi->oxcf.target_bandwidth / cpi->output_frame_rate); in vp8_new_frame_rate()
1438 cpi->av_per_frame_bandwidth = (int)(cpi->oxcf.target_bandwidth / cpi->output_frame_rate); in vp8_new_frame_rate()
1439 …cpi->min_frame_bandwidth = (int)(cpi->av_per_frame_bandwidth * cpi->oxcf.two_pass_vbrmin_… in vp8_new_frame_rate()
[all …]
Dratectrl.c337 if (cpi->oxcf.fixed_q >= 0) in vp8_calc_auto_iframe_target_size()
402 int Q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q; in calc_gf_params()
517 if (cpi->oxcf.fixed_q == -1) in calc_gf_params()
584 Q = (cpi->oxcf.fixed_q >= 0) ? cpi->oxcf.fixed_q : cpi->avg_frame_qindex; in vp8_calc_iframe_target_size()
627 if (cpi->oxcf.fixed_q >= 0) in vp8_calc_iframe_target_size()
636 if (cpi->oxcf.error_resilient_mode == 1) in vp8_calc_iframe_target_size()
819 if ((cpi->oxcf.under_shoot_pct > 0) && (cpi->oxcf.under_shoot_pct <= 100)) in vp8_calc_pframe_target_size()
820 cpi->this_frame_target = (cpi->this_frame_target * cpi->oxcf.under_shoot_pct) / 100; in vp8_calc_pframe_target_size()
840 int one_percent_bits = 1 + cpi->oxcf.optimal_buffer_level / 100; in vp8_calc_pframe_target_size()
842 …if ((cpi->buffer_level < cpi->oxcf.optimal_buffer_level) || (cpi->bits_off_target < cpi->oxcf.opti… in vp8_calc_pframe_target_size()
[all …]
Dfirstpass.c61 #define POW1 (double)cpi->oxcf.two_pass_vbrbias/100.0
62 #define POW2 (double)cpi->oxcf.two_pass_vbrbias/100.0
208 if (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) in frame_max_bits()
210 …ness_ratio = (double)cpi->buffer_level / DOUBLE_DIVIDE_CHECK((double)cpi->oxcf.optimal_buffer_leve… in frame_max_bits()
213 …max_bits = (int)(cpi->av_per_frame_bandwidth * ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0)… in frame_max_bits()
231 …_stats->count - (double)cpi->common.current_video_frame)) * ((double)cpi->oxcf.two_pass_vbrmax_sec… in frame_max_bits()
936 if (cpi->oxcf.cpu_used <= 5) in estimate_max_q()
937 speed_correction = 1.04 + (cpi->oxcf.cpu_used * 0.04); in estimate_max_q()
986 if (cpi->oxcf.cpu_used <= 5) in estimate_q()
987 speed_correction = 1.04 + (cpi->oxcf.cpu_used * 0.04); in estimate_q()
[all …]
Dtemporal_filter.c552 int strength = cpi->oxcf.arnr_strength; in vp8cx_temp_filter_c()
554 int blur_type = cpi->oxcf.arnr_type; in vp8cx_temp_filter_c()
561 num_frames_backward += cpi->oxcf.lag_in_frames; in vp8cx_temp_filter_c()
563 num_frames_forward = cpi->oxcf.lag_in_frames - (num_frames_backward + 1); in vp8cx_temp_filter_c()
616 + frames_to_blur_forward) % cpi->oxcf.lag_in_frames; in vp8cx_temp_filter_c()
639 which_buffer += cpi->oxcf.lag_in_frames; in vp8cx_temp_filter_c()
Dethreading.c417 if (cpi->processor_core_count > 1 && cpi->oxcf.multi_threaded > 1) in vp8cx_create_encoder_threads()
421 if (cpi->oxcf.multi_threaded > cpi->processor_core_count) in vp8cx_create_encoder_threads()
424 cpi->encoding_thread_count = cpi->oxcf.multi_threaded - 1; in vp8cx_create_encoder_threads()
Dpicklpf.c172 cm->sharpness_level = cpi->oxcf.Sharpness; in vp8cx_pick_filter_level_fast()
331 cm->sharpness_level = cpi->oxcf.Sharpness; in vp8cx_pick_filter_level()
Dbitstream.c1494 || cpi->oxcf.error_resilient_mode; in vp8_pack_bitstream()
1508 || cpi->oxcf.error_resilient_mode) in vp8_pack_bitstream()
1535 || cpi->oxcf.error_resilient_mode) in vp8_pack_bitstream()
Donyx_int.h270 VP8_CONFIG oxcf; member
Dencodeframe.c623 if (cpi->oxcf.cpu_used < 0) in vp8_encode_frame()
624 cpi->Speed = -(cpi->oxcf.cpu_used); in vp8_encode_frame()
1178 x->encode_breakout = cpi->oxcf.encode_breakout; in vp8cx_encode_inter_macroblock()
Drdopt.c344 int used = cpi->oxcf.cpu_used; in vp8_auto_select_speed()
346 int milliseconds_for_compress = (int)(1000000 / cpi->oxcf.frame_rate); in vp8_auto_select_speed()
348 milliseconds_for_compress = milliseconds_for_compress * (16 - cpi->oxcf.cpu_used) / 16; in vp8_auto_select_speed()
/external/libvpx/vp8/
Dvp8_cx_iface.c79 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()
[all …]
Dvp8_dx_iface.c381 VP8D_CONFIG oxcf; in vp8_decode() local
386 oxcf.Width = ctx->si.w; in vp8_decode()
387 oxcf.Height = ctx->si.h; in vp8_decode()
388 oxcf.Version = 9; in vp8_decode()
389 oxcf.postprocess = 0; in vp8_decode()
390 oxcf.max_threads = ctx->cfg.threads; in vp8_decode()
392 optr = vp8dx_create_decompressor(&oxcf); in vp8_decode()
/external/libvpx/vp8/common/
Donyx.h197 VP8_PTR vp8_create_compressor(VP8_CONFIG *oxcf);
200 void vp8_init_config(VP8_PTR onyx, VP8_CONFIG *oxcf);
201 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.c91 VP8D_PTR vp8dx_create_decompressor(VP8D_CONFIG *oxcf) in vp8dx_create_decompressor() argument
117 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,