/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
vp9_svc_layercontext.c | 18 const VP9EncoderConfig *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 VP9EncoderConfig *const oxcf = &cpi->oxcf; local 121 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 144 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 190 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local [all...] |
vp9_ratectrl.c | 137 const VP9EncoderConfig *oxcf = &cpi->oxcf; local 138 if (oxcf->rc_max_intra_bitrate_pct) { 140 oxcf->rc_max_intra_bitrate_pct / 100; 170 const VP9EncoderConfig *oxcf = &cpi->oxcf; local 181 rc->bits_off_target = MIN(rc->bits_off_target, oxcf->maximum_buffer_size); 184 if (cpi->use_svc && cpi->oxcf.rc_mode == RC_MODE_CBR) { 189 void vp9_rc_init(const VP9EncoderConfig *oxcf, int pass, RATE_CONTROL *rc) { 190 if (pass == 0 && oxcf->rc_mode == RC_MODE_CBR) 240 const VP9EncoderConfig *oxcf = &cpi->oxcf; local 447 const VP9EncoderConfig *oxcf = &cpi->oxcf; local 615 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 793 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 1058 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 1214 const VP9EncoderConfig *oxcf = &cpi->oxcf; local 1245 const VP9EncoderConfig *oxcf = &cpi->oxcf; local 1380 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local [all...] |
/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...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_svc_layercontext.c | 17 const VP9_CONFIG *const oxcf = &cpi->oxcf; local 34 lrc->avg_frame_qindex[INTER_FRAME] = q_trans[oxcf->worst_allowed_q]; 35 lrc->ni_av_qi = q_trans[oxcf->worst_allowed_q]; 48 lc->target_bandwidth = oxcf->ts_target_bitrate[layer] * 1000; 49 lrc->last_q[INTER_FRAME] = q_trans[oxcf->worst_allowed_q]; 51 lc->target_bandwidth = oxcf->ss_target_bitrate[layer] * 1000; 52 lrc->last_q[0] = q_trans[oxcf->best_allowed_q]; 53 lrc->last_q[1] = q_trans[oxcf->best_allowed_q]; 54 lrc->last_q[2] = q_trans[oxcf->best_allowed_q] 66 const VP9_CONFIG *const oxcf = &cpi->oxcf; local 119 const VP9_CONFIG *const oxcf = &cpi->oxcf; local 141 const VP9_CONFIG *const oxcf = &cpi->oxcf; local 188 const VP9_CONFIG *const oxcf = &cpi->oxcf; local [all...] |
vp9_onyx_if.c | 430 cpi->rd_thresh_mult[i] = is_slowest_mode(cpi->oxcf.mode) ? -500 : 0; 511 cpi->rd_thresh_mult_sub8x8[i] = is_slowest_mode(cpi->oxcf.mode) ? -500 : 0; 554 if (cpi->oxcf.lossless || cpi->mb.e_mbd.lossless) { 561 const VP9_CONFIG *oxcf = &cpi->oxcf; local 563 cpi->lookahead = vp9_lookahead_init(oxcf->width, oxcf->height, 565 oxcf->lag_in_frames); 571 oxcf->width, oxcf->height 693 VP9_CONFIG *const oxcf = &cpi->oxcf; local [all...] |
vp9_ratectrl.c | 186 const VP9_CONFIG *oxcf = &cpi->oxcf; local 187 if (oxcf->rc_max_intra_bitrate_pct) { 189 oxcf->rc_max_intra_bitrate_pct / 100; 220 const VP9_CONFIG *oxcf = &cpi->oxcf; local 231 rc->bits_off_target = MIN(rc->bits_off_target, oxcf->maximum_buffer_size); 234 if (cpi->use_svc && cpi->oxcf.end_usage == USAGE_STREAM_FROM_SERVER) { 240 const VP9_CONFIG *oxcf = &cpi->oxcf; local 445 const VP9_CONFIG *oxcf = &cpi->oxcf; local 606 const VP9_CONFIG *const oxcf = &cpi->oxcf; local 789 const VP9_CONFIG *const oxcf = &cpi->oxcf; local 1234 const VP9_CONFIG *oxcf = &cpi->oxcf; local [all...] |
/external/chromium_org/third_party/libvpx/source/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/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...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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; 304 oxcf->Mode = MODE_BESTQUALITY; 307 oxcf->Mode = MODE_FIRSTPASS [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/ |
vp9_cx_iface.c | 80 VP9EncoderConfig oxcf; member in struct:vpx_codec_alg_priv 295 VP9EncoderConfig *oxcf, 298 oxcf->profile = cfg->g_profile; 299 oxcf->width = cfg->g_w; 300 oxcf->height = cfg->g_h; 301 oxcf->bit_depth = extra_cfg->bit_depth; 303 oxcf->framerate = (double)cfg->g_timebase.den / cfg->g_timebase.num; 304 if (oxcf->framerate > 180) 305 oxcf->framerate = 30; 309 oxcf->mode = ONE_PASS_GOOD [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...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/ |
vp9_cx_iface.c | 78 VP9_CONFIG oxcf; member in struct:vpx_codec_alg_priv 280 static vpx_codec_err_t set_vp9e_config(VP9_CONFIG *oxcf, 283 oxcf->version = cfg->g_profile; 284 oxcf->width = cfg->g_w; 285 oxcf->height = cfg->g_h; 287 oxcf->framerate = (double)cfg->g_timebase.den / cfg->g_timebase.num; 288 if (oxcf->framerate > 180) 289 oxcf->framerate = 30; 293 oxcf->mode = MODE_GOODQUALITY; 296 oxcf->mode = MODE_FIRSTPASS [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
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...] |
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...] |
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...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
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...] |
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...] |
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...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
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 | 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...] |
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...] |
/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);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
vp9_decoder.h | 43 VP9D_CONFIG oxcf; member in struct:VP9Decompressor 87 struct VP9Decompressor *vp9_create_decompressor(const VP9D_CONFIG *oxcf);
|