Searched refs:oxcf (Results 1 - 25 of 33) sorted by relevance

12

/external/libvpx/libvpx/vp8/encoder/
H A Dratectrl.c358 if (cpi->oxcf.fixed_q >= 0)
360 int Q = cpi->oxcf.key_q;
377 target = cpi->oxcf.starting_buffer_level / 2;
379 if(target > cpi->oxcf.target_bandwidth * 3 / 2)
380 target = cpi->oxcf.target_bandwidth * 3 / 2;
390 if (cpi->oxcf.number_of_layers == 1) {
414 if (cpi->oxcf.rc_max_intra_bitrate_pct)
417 * cpi->oxcf.rc_max_intra_bitrate_pct / 100;
450 int Q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf
[all...]
H A Donyx_if.c222 lc->starting_buffer_level = cpi->oxcf.starting_buffer_level;
223 lc->optimal_buffer_level = cpi->oxcf.optimal_buffer_level;
224 lc->maximum_buffer_size = cpi->oxcf.maximum_buffer_size;
225 lc->starting_buffer_level_in_ms = cpi->oxcf.starting_buffer_level_in_ms;
226 lc->optimal_buffer_level_in_ms = cpi->oxcf.optimal_buffer_level_in_ms;
227 lc->maximum_buffer_size_in_ms = cpi->oxcf.maximum_buffer_size_in_ms;
261 cpi->oxcf.target_bandwidth = lc->target_bandwidth;
262 cpi->oxcf.starting_buffer_level = lc->starting_buffer_level;
263 cpi->oxcf.optimal_buffer_level = lc->optimal_buffer_level;
264 cpi->oxcf
301 init_temporal_layer_context(VP8_COMP *cpi, VP8_CONFIG *oxcf, const int layer, double prev_layer_framerate) argument
361 reset_temporal_layer_change(VP8_COMP *cpi, VP8_CONFIG *oxcf, const int prev_num_layers) argument
1322 init_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) argument
1396 VP8_CONFIG *oxcf = &cpi->oxcf; local
1442 vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) argument
1777 vp8_create_compressor(VP8_CONFIG *oxcf) argument
[all...]
H A Dmr_dissim.c24 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;
63 if (cpi->oxcf.mr_total_resolutions >1
64 && cpi->oxcf.mr_encoder_id < (cpi->oxcf.mr_total_resolutions - 1))
70 = (LOWER_RES_FRAME_INFO*)cpi->oxcf.mr_low_res_mode_info;
115 if(cpi->oxcf.play_alternate)
223 if (cpi->oxcf
[all...]
H A Dfirstpass.c56 #define POW1 (double)cpi->oxcf.two_pass_vbrbias/100.0
57 #define POW2 (double)cpi->oxcf.two_pass_vbrbias/100.0
355 if (cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER)
357 double buffer_fullness_ratio = (double)cpi->buffer_level / DOUBLE_DIVIDE_CHECK((double)cpi->oxcf.optimal_buffer_level);
362 max_bits = (int)(cpi->av_per_frame_bandwidth * ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0));
385 max_bits = (int)(((double)cpi->twopass.bits_left / (cpi->twopass.total_stats.count - (double)cpi->common.current_video_frame)) * ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0));
651 if (raw_motion_error < cpi->oxcf.encode_breakout)
1029 if (cpi->oxcf.cpu_used <= 5)
1030 speed_correction = 1.04 + (cpi->oxcf.cpu_used * 0.04);
1071 if ( (cpi->oxcf
[all...]
H A Dpickinter.c415 = ((LOWER_RES_FRAME_INFO*)cpi->oxcf.mr_low_res_mode_info)->mb_info;
426 parent_mb_row = mb_row*cpi->oxcf.mr_down_sampling_factor.den
427 /cpi->oxcf.mr_down_sampling_factor.num;
428 parent_mb_col = mb_col*cpi->oxcf.mr_down_sampling_factor.den
429 /cpi->oxcf.mr_down_sampling_factor.num;
440 if (cpi->oxcf.mr_encoder_id == (cpi->oxcf.mr_total_resolutions - 1))
449 *cpi->oxcf.mr_down_sampling_factor.num
450 /cpi->oxcf.mr_down_sampling_factor.den;
452 *cpi->oxcf
[all...]
H A Dencodeframe.c477 if(cpi->oxcf.tuning == VP8_TUNE_SSIM)
657 else if ((cpi->oxcf.number_of_layers > 1) &&
661 else if ((cpi->oxcf.number_of_layers > 1) &&
732 if (cpi->oxcf.cpu_used < 0)
733 cpi->Speed = -(cpi->oxcf.cpu_used);
774 if(cpi->oxcf.tuning == VP8_TUNE_SSIM)
1015 if ((cm->frame_type != KEY_FRAME) && ((cpi->oxcf.number_of_layers > 1) ||
1174 if(cpi->oxcf.tuning == VP8_TUNE_SSIM)
1223 x->encode_breakout = cpi->oxcf.encode_breakout;
1271 if(cpi->oxcf
[all...]
H A Dbitstream.c1047 if (cpi->oxcf.error_resilient_mode & VPX_ERROR_RESILIENT_PARTITIONS)
1068 if (cpi->oxcf.error_resilient_mode & VPX_ERROR_RESILIENT_PARTITIONS)
1095 if (cpi->oxcf.error_resilient_mode & VPX_ERROR_RESILIENT_PARTITIONS)
1136 if (!(cpi->oxcf.error_resilient_mode &
1151 if ((cpi->oxcf.error_resilient_mode &
1411 || cpi->oxcf.error_resilient_mode;
1425 || cpi->oxcf.error_resilient_mode)
1452 || cpi->oxcf.error_resilient_mode)
1516 if (cpi->oxcf.error_resilient_mode & VPX_ERROR_RESILIENT_PARTITIONS)
H A Dethreading.c161 if (cpi->oxcf.tuning == VP8_TUNE_SSIM)
505 if (cm->processor_core_count > 1 && cpi->oxcf.multi_threaded > 1)
508 int th_count = cpi->oxcf.multi_threaded - 1;
512 if (cpi->oxcf.multi_threaded > cm->processor_core_count)
H A Dpicklpf.c154 cm->sharpness_level = cpi->oxcf.Sharpness;
298 cm->sharpness_level = cpi->oxcf.Sharpness;
/external/libvpx/libvpx/vp9/
H A Dvp9_cx_iface.c77 VP9_CONFIG oxcf; member in struct:vpx_codec_alg_priv
243 static vpx_codec_err_t set_vp9e_config(VP9_CONFIG *oxcf, argument
246 oxcf->version = cfg.g_profile | (vp8_cfg.experimental ? 0x4 : 0);
247 oxcf->width = cfg.g_w;
248 oxcf->height = cfg.g_h;
250 oxcf->framerate = (double)(cfg.g_timebase.den)
253 if (oxcf->framerate > 180) {
254 oxcf->framerate = 30;
259 oxcf->Mode = MODE_GOODQUALITY;
262 oxcf
[all...]
H A Dvp9_dx_iface.c286 VP9D_CONFIG oxcf; local
291 oxcf.width = ctx->si.w;
292 oxcf.height = ctx->si.h;
293 oxcf.version = 9;
294 oxcf.postprocess = 0;
295 oxcf.max_threads = ctx->cfg.threads;
296 oxcf.inv_tile_order = ctx->invert_tile_order;
297 optr = vp9_create_decompressor(&oxcf);
/external/libvpx/libvpx/vp8/
H A Dvp8_cx_iface.c82 VP8_CONFIG oxcf; member in struct:vpx_codec_alg_priv
285 static vpx_codec_err_t set_vp8e_config(VP8_CONFIG *oxcf, argument
290 oxcf->multi_threaded = cfg.g_threads;
291 oxcf->Version = cfg.g_profile;
293 oxcf->Width = cfg.g_w;
294 oxcf->Height = cfg.g_h;
295 oxcf->timebase = cfg.g_timebase;
297 oxcf->error_resilient_mode = cfg.g_error_resilient;
302 oxcf->Mode = MODE_BESTQUALITY;
305 oxcf
[all...]
H A Dvp8_dx_iface.c430 VP8D_CONFIG oxcf; local
432 oxcf.Width = ctx->si.w;
433 oxcf.Height = ctx->si.h;
434 oxcf.Version = 9;
435 oxcf.postprocess = 0;
436 oxcf.max_threads = ctx->cfg.threads;
437 oxcf.error_concealment =
452 res = vp8_create_decoder_instances(&ctx->yv12_frame_buffers, &oxcf);
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_onyx_if.c724 sf->optimize_coefficients = !cpi->oxcf.lossless;
970 if (cpi->oxcf.lossless || cpi->mb.e_mbd.lossless) {
992 cpi->lookahead = vp9_lookahead_init(cpi->oxcf.width, cpi->oxcf.height,
994 cpi->oxcf.lag_in_frames);
1000 cpi->oxcf.width, cpi->oxcf.height,
1128 cpi->oxcf.framerate = framerate;
1129 cpi->output_framerate = cpi->oxcf.framerate;
1130 cpi->per_frame_bandwidth = (int)(cpi->oxcf
1178 init_config(VP9_PTR ptr, VP9_CONFIG *oxcf) argument
1230 vp9_change_config(VP9_PTR ptr, VP9_CONFIG *oxcf) argument
1559 vp9_create_compressor(VP9_CONFIG *oxcf) argument
[all...]
H A Dvp9_ratectrl.c158 if (cpi->oxcf.rc_max_intra_bitrate_pct) {
160 * cpi->oxcf.rc_max_intra_bitrate_pct / 100;
209 const int q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME]
210 : cpi->oxcf.fixed_q;
220 if (cpi->oxcf.fixed_q < 0) {
385 int key_freq = cpi->oxcf.key_freq > 0 ? cpi->oxcf.key_freq : 1;
388 if (cpi->oxcf.auto_key && av_key_frame_frequency > key_freq)
389 av_key_frame_frequency = cpi->oxcf.key_freq;
431 if (cpi->oxcf
[all...]
H A Dvp9_temporal_filter.c372 int blur_type = cpi->oxcf.arnr_type;
462 int frames_bwd = cpi->oxcf.arnr_max_frames - 1;
463 int frames_fwd = cpi->oxcf.arnr_max_frames - 1;
475 switch (cpi->oxcf.arnr_type) {
503 frames_bwd += (cpi->oxcf.arnr_max_frames + 1) & 0x1;
512 cpi->active_arnr_strength = cpi->oxcf.arnr_strength;
514 cpi->active_arnr_strength = cpi->oxcf.arnr_strength - (8 - q);
H A Dvp9_firstpass.c53 #define POW1 (double)cpi->oxcf.two_pass_vbrbias/100.0
54 #define POW2 (double)cpi->oxcf.two_pass_vbrbias/100.0
339 (cpi->oxcf.two_pass_vbrmax_section / 100.0);
1042 speed_correction = cpi->oxcf.cpu_used <= 5 ?
1043 1.04 + (/*cpi->oxcf.cpu_used*/0 * 0.04) :
1064 if (cpi->oxcf.end_usage == USAGE_CONSTRAINED_QUALITY &&
1105 if (cpi->oxcf.cpu_used <= 5)
1106 speed_correction = 1.04 + (/*cpi->oxcf.cpu_used*/ 0 * 0.04);
1166 double lower_bounds_min_rate = FRAME_OVERHEAD_BITS * cpi->oxcf.framerate;
1167 double two_pass_min_rate = (double)(cpi->oxcf
[all...]
H A Dvp9_picklpf.c120 : cpi->oxcf.Sharpness;
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_onyxd_int.h29 VP9D_CONFIG oxcf; member in struct:VP9Decompressor
H A Dvp9_onyxd.h61 VP9D_PTR vp9_create_decompressor(VP9D_CONFIG *oxcf);
H A Dvp9_onyxd_if.c122 VP9D_PTR vp9_create_decompressor(VP9D_CONFIG *oxcf) { argument
142 pbi->oxcf = *oxcf;
/external/libvpx/libvpx/vp8/decoder/
H A Donyxd_int.h73 VP8D_CONFIG oxcf; member in struct:VP8D_COMP
131 int vp8_create_decoder_instances(struct frame_buffers *fb, VP8D_CONFIG *oxcf);
H A Donyxd_if.c54 static struct VP8D_COMP * create_decompressor(VP8D_CONFIG *oxcf) argument
87 pbi->ec_enabled = oxcf->error_concealment;
478 int vp8_create_decoder_instances(struct frame_buffers *fb, VP8D_CONFIG *oxcf) argument
483 fb->pbi[0] = create_decompressor(oxcf);
490 fb->pbi[0]->max_threads = oxcf->max_threads;
/external/libvpx/libvpx/vp8/common/
H A Donyx.h246 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);
/external/libvpx/libvpx/vp9/common/
H A Dvp9_onyx.h176 VP9_PTR vp9_create_compressor(VP9_CONFIG *oxcf);
179 void vp9_change_config(VP9_PTR onyx, VP9_CONFIG *oxcf);

Completed in 354 milliseconds

12