/external/chromium_org/third_party/libvpx/source/libvpx/vp8/decoder/ |
H A D | onyxd_if.c | 54 static struct VP8D_COMP * create_decompressor(VP8D_CONFIG *oxcf) argument 87 pbi->ec_enabled = oxcf->error_concealment; 452 int vp8_create_decoder_instances(struct frame_buffers *fb, VP8D_CONFIG *oxcf) argument 457 fb->pbi[0] = create_decompressor(oxcf); 464 fb->pbi[0]->max_threads = oxcf->max_threads;
|
H A D | 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/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
H A D | 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 304 init_temporal_layer_context(VP8_COMP *cpi, VP8_CONFIG *oxcf, const int layer, double prev_layer_framerate) argument 364 reset_temporal_layer_change(VP8_COMP *cpi, VP8_CONFIG *oxcf, const int prev_num_layers) argument 1354 init_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) argument 1428 VP8_CONFIG *oxcf = &cpi->oxcf; local 1475 vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) argument 1821 vp8_create_compressor(VP8_CONFIG *oxcf) argument [all...] |
H A D | onyx_int.h | 312 VP8_CONFIG oxcf; member in struct:VP8_COMP
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/ |
H A D | 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, argument 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 [all...] |
H A D | vp8_dx_iface.c | 372 VP8D_CONFIG oxcf; local 374 oxcf.Width = ctx->si.w; 375 oxcf.Height = ctx->si.h; 376 oxcf.Version = 9; 377 oxcf.postprocess = 0; 378 oxcf.max_threads = ctx->cfg.threads; 379 oxcf.error_concealment = 393 res = vp8_create_decoder_instances(&ctx->yv12_frame_buffers, &oxcf);
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_encodeframe.c | 177 if (cpi->oxcf.aq_mode != VARIANCE_AQ) { 535 if (cpi->oxcf.aq_mode == COMPLEXITY_AQ) { 543 if (cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ) { 573 if (cpi->oxcf.aq_mode) 697 const AQ_MODE aq_mode = cpi->oxcf.aq_mode; 1303 if ((cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ) && seg->enabled) { 1330 if (cpi->oxcf.noise_sensitivity > 0 && output_enabled) { 1459 if (bsize == BLOCK_16X16 && cpi->oxcf.aq_mode) { 1683 if ((cpi->oxcf.aq_mode == COMPLEXITY_AQ) && cm->seg.update_map) { 1688 if (cpi->oxcf 2713 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local [all...] |
H A D | 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) { argument 593 set_rc_buffer_sizes(RATE_CONTROL *rc, const VP9EncoderConfig *oxcf) argument 607 vp9_change_config(struct VP9_COMP *cpi, const VP9EncoderConfig *oxcf) argument 751 vp9_create_compressor(VP9EncoderConfig *oxcf) argument 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...] |
H A D | 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]));
|
H A D | 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 local 221 calculate_modified_err(const TWO_PASS *twopass, const VP9EncoderConfig *oxcf, const FIRSTPASS_STATS *this_frame) argument 234 frame_max_bits(const RATE_CONTROL *rc, const VP9EncoderConfig *oxcf) argument 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...] |
H A D | 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) { argument 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 315 const VP9EncoderConfig *oxcf = &cpi->oxcf; local 718 get_active_cq_level(const RATE_CONTROL *rc, const VP9EncoderConfig *const oxcf) argument 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...] |
H A D | 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 [all...] |
H A D | 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 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...] |
H A D | vp9_temporal_filter.c | 366 const VP9EncoderConfig *const oxcf = &cpi->oxcf; local 369 int frames_fwd = (cpi->oxcf.arnr_max_frames - 1) >> 1; 384 frames_bwd += (oxcf->arnr_max_frames + 1) & 0x1; 397 strength = oxcf->arnr_strength; 399 strength = oxcf->arnr_strength - ((16 - q) / 2); 415 if (cpi->oxcf.pass == 2 && cpi->multi_arf_allowed) {
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/ |
H A D | 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 325 set_encoder_config( VP9EncoderConfig *oxcf, const vpx_codec_enc_cfg_t *cfg, const struct vp9_extracfg *extra_cfg) argument [all...] |
/external/libvpx/libvpx/vp8/decoder/ |
H A D | onyxd_if.c | 54 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;
|
H A D | 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/encoder/ |
H A D | 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 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 1443 vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf) argument 1784 vp8_create_compressor(VP8_CONFIG *oxcf) argument [all...] |
H A D | onyx_int.h | 315 VP8_CONFIG oxcf; member in struct:VP8_COMP
|
/external/libvpx/libvpx/vp8/ |
H A D | 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, 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 D | vp8_dx_iface.c | 430 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/decoder/ |
H A D | vp9_decoder.c | 113 VP9Decoder *vp9_decoder_create(const VP9D_CONFIG *oxcf) { argument 137 pbi->oxcf = *oxcf;
|
H A D | vp9_decoder.h | 43 VP9D_CONFIG oxcf; member in struct:VP9Decoder 87 struct VP9Decoder *vp9_decoder_create(const VP9D_CONFIG *oxcf);
|
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_firstpass.c | 275 cpi->oxcf.two_pass_vbrbias / 100.0); 339 static int frame_max_bits(const RATE_CONTROL *rc, const VP9_CONFIG *oxcf) { argument 341 (int64_t)oxcf->two_pass_vbrmax_section) / 100; 600 if (cpi->oxcf.aq_mode == VARIANCE_AQ) { 607 if (cpi->oxcf.aq_mode == VARIANCE_AQ) { 643 if (cpi->oxcf.aq_mode == VARIANCE_AQ) { 654 if (cpi->oxcf.aq_mode == VARIANCE_AQ) { 675 if (cpi->oxcf.aq_mode == VARIANCE_AQ) { 933 if (cpi->oxcf.end_usage == USAGE_CONSTRAINED_QUALITY) 946 const VP9_CONFIG *const oxcf local 1408 VP9_CONFIG *const oxcf = &cpi->oxcf; local [all...] |
H A D | 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 678 VP9_CONFIG *const oxcf = &cpi->oxcf; local 741 init_config(struct VP9_COMP *cpi, VP9_CONFIG *oxcf) argument 784 vp9_change_config(struct VP9_COMP *cpi, const VP9_CONFIG *oxcf) argument 1114 vp9_create_compressor(VP9_CONFIG *oxcf) argument [all...] |