/external/libvpx/libvpx/vp9/encoder/ |
vp9_svc_layercontext.c | 18 const VP9_CONFIG *const oxcf = &cpi->oxcf; local 35 lrc->avg_frame_qindex[INTER_FRAME] = oxcf->worst_allowed_q; 36 lrc->ni_av_qi = oxcf->worst_allowed_q; 49 lc->target_bandwidth = oxcf->ts_target_bitrate[layer] * 1000; 50 lrc->last_q[INTER_FRAME] = oxcf->worst_allowed_q; 52 lc->target_bandwidth = oxcf->ss_target_bitrate[layer] * 1000; 53 lrc->last_q[0] = oxcf->best_allowed_q; 54 lrc->last_q[1] = oxcf->best_allowed_q; 55 lrc->last_q[2] = oxcf->best_allowed_q 68 const VP9_CONFIG *const oxcf = &cpi->oxcf; local 121 const VP9_CONFIG *const oxcf = &cpi->oxcf; local 144 const VP9_CONFIG *const oxcf = &cpi->oxcf; local 191 const VP9_CONFIG *const oxcf = &cpi->oxcf; local [all...] |
vp9_ratectrl.c | 133 const VP9_CONFIG *oxcf = &cpi->oxcf; local 134 if (oxcf->rc_max_intra_bitrate_pct) { 136 oxcf->rc_max_intra_bitrate_pct / 100; 166 const VP9_CONFIG *oxcf = &cpi->oxcf; local 177 rc->bits_off_target = MIN(rc->bits_off_target, oxcf->maximum_buffer_size); 180 if (cpi->use_svc && cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) { 185 void vp9_rc_init(const VP9_CONFIG *oxcf, int pass, RATE_CONTROL *rc) { 186 if (pass == 0 && oxcf->end_usage == USAGE_STREAM_FROM_SERVER) 236 const VP9_CONFIG *oxcf = &cpi->oxcf; local 439 const VP9_CONFIG *oxcf = &cpi->oxcf; local 600 const VP9_CONFIG *const oxcf = &cpi->oxcf; local 783 const VP9_CONFIG *const oxcf = &cpi->oxcf; local 1069 const VP9_CONFIG *const oxcf = &cpi->oxcf; local 1229 const VP9_CONFIG *oxcf = &cpi->oxcf; local [all...] |
vp9_onyx_if.c | 415 cpi->rd_thresh_mult[i] = is_slowest_mode(cpi->oxcf.mode) ? -500 : 0; 496 cpi->rd_thresh_mult_sub8x8[i] = is_slowest_mode(cpi->oxcf.mode) ? -500 : 0; 539 if (cpi->oxcf.lossless || cpi->mb.e_mbd.lossless) { 546 const VP9_CONFIG *oxcf = &cpi->oxcf; local 548 cpi->lookahead = vp9_lookahead_init(oxcf->width, oxcf->height, 550 oxcf->lag_in_frames); 556 oxcf->width, oxcf->height 678 VP9_CONFIG *const oxcf = &cpi->oxcf; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
vp9_svc_layercontext.c | 19 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 27 if (svc->number_temporal_layers > 1 && cpi->oxcf.rc_mode == VPX_CBR) { 41 lrc->ni_av_qi = oxcf->worst_allowed_q; 55 if (svc->number_temporal_layers > 1 && cpi->oxcf.rc_mode == VPX_CBR) { 56 lc->target_bandwidth = oxcf->ts_target_bitrate[layer]; 57 lrc->last_q[INTER_FRAME] = oxcf->worst_allowed_q; 58 lrc->avg_frame_qindex[INTER_FRAME] = oxcf->worst_allowed_q; 60 lc->target_bandwidth = oxcf->ss_target_bitrate[layer]; 61 lrc->last_q[KEY_FRAME] = oxcf->best_allowed_q 89 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 142 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 164 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 195 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local [all...] |
vp9_bitstream.h | 32 cpi->oxcf.ss_play_alternate[0]));
|
vp9_ratectrl.c | 214 const VP9EncoderConfig *oxcf = &cpi->oxcf; local 215 if (oxcf->rc_max_intra_bitrate_pct) { 217 oxcf->rc_max_intra_bitrate_pct / 100; 260 if (cpi->use_svc && cpi->oxcf.rc_mode == VPX_CBR) { 265 void vp9_rc_init(const VP9EncoderConfig *oxcf, int pass, RATE_CONTROL *rc) { 268 if (pass == 0 && oxcf->rc_mode == VPX_CBR) { 269 rc->avg_frame_qindex[KEY_FRAME] = oxcf->worst_allowed_q; 270 rc->avg_frame_qindex[INTER_FRAME] = oxcf->worst_allowed_q; 272 rc->avg_frame_qindex[KEY_FRAME] = (oxcf->worst_allowed_q 315 const VP9EncoderConfig *oxcf = &cpi->oxcf; local 737 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 889 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 1150 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 1306 const VP9EncoderConfig *oxcf = &cpi->oxcf; local 1337 const VP9EncoderConfig *oxcf = &cpi->oxcf; local 1480 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 1500 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local [all...] |
vp9_speed_features.c | 325 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 335 sf->optimize_coefficients = !is_lossless_requested(&cpi->oxcf); 400 if (oxcf->mode == REALTIME) 401 set_rt_speed_feature(cpi, sf, oxcf->speed, oxcf->content); 402 else if (oxcf->mode == GOOD) 403 set_good_speed_feature(cpi, cm, sf, oxcf->speed); 406 cpi->diamond_search_sad = oxcf->mode == BEST ? vp9_full_range_search 413 if (oxcf->pass == 1 [all...] |
vp9_encoder.c | 432 const VP9EncoderConfig *oxcf = &cpi->oxcf; local 434 cpi->lookahead = vp9_lookahead_init(oxcf->width, oxcf->height, 439 oxcf->lag_in_frames); 445 oxcf->width, oxcf->height, 542 cm->log2_tile_cols = clamp(cpi->oxcf.tile_columns, 544 cm->log2_tile_rows = cpi->oxcf.tile_rows; 553 static void init_config(struct VP9_COMP *cpi, VP9EncoderConfig *oxcf) { 1481 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 2100 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 2569 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local [all...] |
vp9_encoder.h | 233 VP9EncoderConfig oxcf; member in struct:VP9_COMP 416 struct VP9_COMP *vp9_create_compressor(VP9EncoderConfig *oxcf); 419 void vp9_change_config(VP9_COMP *cpi, const VP9EncoderConfig *oxcf); 505 (cpi->oxcf.pass == 1 || cpi->oxcf.pass == 2); 509 return cpi->oxcf.mode != REALTIME && cpi->oxcf.lag_in_frames > 0 && 510 (cpi->oxcf.play_alternate && 512 cpi->oxcf.ss_play_alternate[cpi->svc.spatial_layer_id]));
|
vp9_firstpass.c | 222 const VP9EncoderConfig *oxcf, 228 oxcf->two_pass_vbrbias / 100.0); 235 const VP9EncoderConfig *oxcf) { 237 (int64_t)oxcf->two_pass_vbrmax_section) / 100; 553 if (cpi->oxcf.aq_mode == VARIANCE_AQ) { 566 if (cpi->oxcf.aq_mode == VARIANCE_AQ) { 622 if (cpi->oxcf.aq_mode == VARIANCE_AQ) { 632 if (cpi->oxcf.aq_mode == VARIANCE_AQ) { 656 if (cpi->oxcf.aq_mode == VARIANCE_AQ) { 965 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 1007 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 1394 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 1554 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 1874 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
ratectrl.c | 350 if (cpi->oxcf.fixed_q >= 0) 352 int Q = cpi->oxcf.key_q; 369 target = cpi->oxcf.starting_buffer_level / 2; 371 if(target > cpi->oxcf.target_bandwidth * 3 / 2) 372 target = cpi->oxcf.target_bandwidth * 3 / 2; 382 if (cpi->oxcf.number_of_layers == 1) { 406 if (cpi->oxcf.rc_max_intra_bitrate_pct) 409 * cpi->oxcf.rc_max_intra_bitrate_pct / 100; 442 int Q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q [all...] |
onyx_if.c | 225 lc->starting_buffer_level = cpi->oxcf.starting_buffer_level; 226 lc->optimal_buffer_level = cpi->oxcf.optimal_buffer_level; 227 lc->maximum_buffer_size = cpi->oxcf.maximum_buffer_size; 228 lc->starting_buffer_level_in_ms = cpi->oxcf.starting_buffer_level_in_ms; 229 lc->optimal_buffer_level_in_ms = cpi->oxcf.optimal_buffer_level_in_ms; 230 lc->maximum_buffer_size_in_ms = cpi->oxcf.maximum_buffer_size_in_ms; 264 cpi->oxcf.target_bandwidth = lc->target_bandwidth; 265 cpi->oxcf.starting_buffer_level = lc->starting_buffer_level; 266 cpi->oxcf.optimal_buffer_level = lc->optimal_buffer_level; 267 cpi->oxcf.maximum_buffer_size = lc->maximum_buffer_size 1428 VP8_CONFIG *oxcf = &cpi->oxcf; local [all...] |
mr_dissim.c | 25 unsigned int iw = cpi->oxcf.Width*cpi->oxcf.mr_down_sampling_factor.den 26 + cpi->oxcf.mr_down_sampling_factor.num - 1; 28 low_res_w = iw/cpi->oxcf.mr_down_sampling_factor.num; 64 if (cpi->oxcf.mr_total_resolutions >1 65 && cpi->oxcf.mr_encoder_id < (cpi->oxcf.mr_total_resolutions - 1)) 71 = (LOWER_RES_FRAME_INFO*)cpi->oxcf.mr_low_res_mode_info; 116 if(cpi->oxcf.play_alternate) 224 if (cpi->oxcf.mr_total_resolutions > [all...] |
firstpass.c | 56 #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) [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
ratectrl.c | 350 if (cpi->oxcf.fixed_q >= 0) 352 int Q = cpi->oxcf.key_q; 369 target = cpi->oxcf.starting_buffer_level / 2; 371 if(target > cpi->oxcf.target_bandwidth * 3 / 2) 372 target = cpi->oxcf.target_bandwidth * 3 / 2; 382 if (cpi->oxcf.number_of_layers == 1) { 406 if (cpi->oxcf.rc_max_intra_bitrate_pct) 409 * cpi->oxcf.rc_max_intra_bitrate_pct / 100; 442 int Q = (cpi->oxcf.fixed_q < 0) ? cpi->last_q[INTER_FRAME] : cpi->oxcf.fixed_q [all...] |
onyx_if.c | 222 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.maximum_buffer_size = lc->maximum_buffer_size 1396 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; 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.mr_total_resolutions > [all...] |
firstpass.c | 56 #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) [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/ |
vp8_cx_iface.c | 72 VP8_CONFIG oxcf; member in struct:vpx_codec_alg_priv 275 static vpx_codec_err_t set_vp8e_config(VP8_CONFIG *oxcf, 280 oxcf->multi_threaded = cfg.g_threads; 281 oxcf->Version = cfg.g_profile; 283 oxcf->Width = cfg.g_w; 284 oxcf->Height = cfg.g_h; 285 oxcf->timebase = cfg.g_timebase; 287 oxcf->error_resilient_mode = cfg.g_error_resilient; 292 oxcf->Mode = MODE_BESTQUALITY; 295 oxcf->Mode = MODE_FIRSTPASS [all...] |
/external/libvpx/libvpx/vp8/ |
vp8_cx_iface.c | 82 VP8_CONFIG oxcf; member in struct:vpx_codec_alg_priv 285 static vpx_codec_err_t set_vp8e_config(VP8_CONFIG *oxcf, 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->Mode = MODE_FIRSTPASS [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/ |
vp9_cx_iface.c | 69 VP9EncoderConfig oxcf; member in struct:vpx_codec_alg_priv 326 VP9EncoderConfig *oxcf, 330 oxcf->profile = cfg->g_profile; 331 oxcf->width = cfg->g_w; 332 oxcf->height = cfg->g_h; 333 oxcf->bit_depth = extra_cfg->bit_depth; 334 oxcf->input_bit_depth = cfg->g_input_bit_depth; 336 oxcf->init_framerate = (double)cfg->g_timebase.den / cfg->g_timebase.num; 337 if (oxcf->init_framerate > 180) 338 oxcf->init_framerate = 30 [all...] |
/external/libvpx/libvpx/vp9/ |
vp9_cx_iface.c | 80 VP9_CONFIG oxcf; member in struct:vpx_codec_alg_priv 289 VP9_CONFIG *oxcf, 292 oxcf->profile = cfg->g_profile; 293 oxcf->width = cfg->g_w; 294 oxcf->height = cfg->g_h; 295 oxcf->bit_depth = extra_cfg->bit_depth; 297 oxcf->framerate = (double)cfg->g_timebase.den / cfg->g_timebase.num; 298 if (oxcf->framerate > 180) 299 oxcf->framerate = 30; 303 oxcf->mode = MODE_GOODQUALITY [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
vp9_decoder.h | 43 VP9D_CONFIG oxcf; member in struct:VP9Decoder 87 struct VP9Decoder *vp9_decoder_create(const VP9D_CONFIG *oxcf);
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/decoder/ |
onyxd_int.h | 77 VP8D_CONFIG oxcf; member in struct:VP8D_COMP 135 int vp8_create_decoder_instances(struct frame_buffers *fb, VP8D_CONFIG *oxcf);
|
/external/libvpx/libvpx/vp8/decoder/ |
onyxd_int.h | 77 VP8D_CONFIG oxcf; member in struct:VP8D_COMP 135 int vp8_create_decoder_instances(struct frame_buffers *fb, VP8D_CONFIG *oxcf);
|