Home
last modified time | relevance | path

Searched refs:g_h (Results 1 – 21 of 21) sorted by relevance

/external/libvpx/libvpx/examples/
Dset_maps.c70 roi.rows = (cfg->g_h + 15) / 16; in set_roi_map()
103 map.rows = (cfg->g_h + 15) / 16; in set_active_map()
120 map.rows = (cfg->g_h + 15) / 16; in unset_active_map()
209 cfg.g_h = info.frame_height; in main()
213 cfg.g_h * fps / 1000); in main()
Dvp8_multi_resolution_encoder.c151 mem_put_le16(header+14, cfg->g_h); /* height */ in write_ivf_file_header()
456 cfg[0].g_h = height; in main()
495 unsigned int ih = cfg[i-1].g_h*dsf[i-1].den + dsf[i-1].num - 1; in main()
497 cfg[i].g_h = ih/dsf[i-1].num; in main()
503 if((cfg[i].g_h)%2)cfg[i].g_h++; in main()
515 if(!vpx_img_alloc(&raw[i], VPX_IMG_FMT_I420, cfg[i].g_w, cfg[i].g_h, 32)) in main()
516 die("Failed to allocate image", cfg[i].g_w, cfg[i].g_h); in main()
613 length_frame = cfg[i].g_w * cfg[i].g_h *3/2; in main()
Dvp9_spatial_svc_encoder.c187 enc_cfg->g_h = default_height; in parse_command_line()
209 enc_cfg->g_h = arg_parse_uint(&arg); in parse_command_line()
351 if (enc_cfg->g_w < 16 || enc_cfg->g_w % 2 || enc_cfg->g_h < 16 || in parse_command_line()
352 enc_cfg->g_h % 2) in parse_command_line()
353 die("Invalid resolution: %d x %d\n", enc_cfg->g_w, enc_cfg->g_h); in parse_command_line()
363 svc_ctx->spatial_layers, enc_cfg->g_w, enc_cfg->g_h, in parse_command_line()
637 enc_cfg.g_w, enc_cfg.g_h, 32)) { in main()
638 die("Failed to allocate image %dx%d\n", enc_cfg.g_w, enc_cfg.g_h); in main()
641 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, enc_cfg.g_w, enc_cfg.g_h, 32)) { in main()
642 die("Failed to allocate image %dx%d\n", enc_cfg.g_w, enc_cfg.g_h); in main()
Dtwopass_encoder.c166 cfg->g_h, in pass1()
242 cfg.g_h = h; in main()
Dvpx_temporal_svc_encoder.c579 cfg.g_h = height; in main()
660 info.frame_height = cfg.g_h; in main()
703 svc_params.scaling_factor_num[0] = cfg.g_h; in main()
704 svc_params.scaling_factor_den[0] = cfg.g_h; in main()
Dvp9_lossless_encoder.c108 cfg.g_h = info.frame_height; in main()
Dvp8cx_set_ref.c152 cfg.g_h = info.frame_height; in main()
Dsimple_encoder.c218 cfg.g_h = info.frame_height; in main()
/external/libvpx/libvpx/test/
Dresize_test.cc49 mem_put_le16(header + 14, cfg->g_h); /* height */ in write_ivf_file_header()
284 cfg_.g_h = 288; in TEST_P()
322 cfg_.g_h = 288; in DefaultConfig()
360 unsigned int last_h = cfg_.g_h; in TEST_P()
393 unsigned int last_h = cfg_.g_h; in TEST_P()
Dencode_test_driver.cc29 cfg_.g_h = img->d_h; in InitEncoder()
87 if (cfg_.g_w != img->d_w || cfg_.g_h != img->d_h) { in EncodeFrameInternal()
89 cfg_.g_h = img->d_h; in EncodeFrameInternal()
Dsvc_test.cc57 codec_enc_.g_h = kHeight; in SetUp()
117 codec_enc_.g_w, codec_enc_.g_h, in Pass1EncodeNFrames()
186 codec_enc_.g_w, codec_enc_.g_h, in Pass2EncodeNFrames()
762 codec_enc_.g_h = 144; in TEST_F()
785 codec_enc_.g_h = 144; in TEST_F()
/external/libvpx/libvpx/
Dwebmenc.cc46 static_cast<int>(cfg->g_h), in write_webm_file_header()
75 video_track->set_display_height(cfg->g_h); in write_webm_file_header()
Divfenc.c30 mem_put_le16(header + 14, cfg->g_h); // height in ivf_write_file_header()
Dvpxenc.c1052 stream->config.cfg.g_h = 0; in new_stream()
1150 config->cfg.g_h = arg_parse_uint(&arg); in parse_stream_params()
1285 if (!stream->config.cfg.g_w || !stream->config.cfg.g_h) in validate_stream_config()
1339 if (!stream->config.cfg.g_h) in set_stream_dimensions()
1342 stream->config.cfg.g_w = w * stream->config.cfg.g_h / h; in set_stream_dimensions()
1344 if (!stream->config.cfg.g_h) { in set_stream_dimensions()
1345 stream->config.cfg.g_h = h * stream->config.cfg.g_w / w; in set_stream_dimensions()
1409 SHOW(g_h); in show_stream_config()
1597 (img->d_w != cfg->g_w || img->d_h != cfg->g_h)) { in encode_frame()
1605 cfg->g_w, cfg->g_h, 16); in encode_frame()
[all …]
Dvideo_writer.c27 cfg.g_h = info->frame_height; in write_header()
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c137 RANGE_CHECK(cfg, g_h, 1, 16383); /* 14 bits available */ in validate_config()
276 if ((img->d_w != ctx->cfg.g_w) || (img->d_h != ctx->cfg.g_h)) in validate_img()
292 oxcf->Height = cfg.g_h; in set_vp8e_config()
453 if (cfg->g_w != ctx->cfg.g_w || cfg->g_h != ctx->cfg.g_h) in vp8e_set_config()
458 (ctx->cpi->initial_height && (int)cfg->g_h > ctx->cpi->initial_height)) in vp8e_set_config()
621 int mb_cols = ((cfg->g_h + 15) >>4); in vp8e_mr_alloc_mem()
681 priv->cx_data_sz = priv->cfg.g_w * priv->cfg.g_h * 3 / 2 * 2; in vp8e_init()
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c158 RANGE_CHECK(cfg, g_h, 1, 65535); // 16 bits available in validate_config()
192 RANGE_CHECK(cfg, rc_scaled_height, 0, cfg->g_h); in validate_config()
365 if (img->d_w != ctx->cfg.g_w || img->d_h != ctx->cfg.g_h) in validate_img()
396 oxcf->height = cfg->g_h; in set_encoder_config()
565 if (cfg->g_w != ctx->cfg.g_w || cfg->g_h != ctx->cfg.g_h) { in encoder_set_config()
568 if (!valid_ref_frame_size(ctx->cfg.g_w, ctx->cfg.g_h, cfg->g_w, cfg->g_h) || in encoder_set_config()
570 (ctx->cpi->initial_height && (int)cfg->g_h > ctx->cpi->initial_height)) in encoder_set_config()
984 data_sz = ctx->cfg.g_w * ctx->cfg.g_h * get_image_bps(img) / 8 * in encoder_encode()
/external/libvpx/libvpx/vpx/
Dvpx_encoder.h354 unsigned int g_h; member
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc288 config_->g_h = codec_.height; in InitEncode()
323 NumberOfThreads(config_->g_w, config_->g_h, number_of_cores); in InitEncode()
325 cpu_speed_ = GetCpuSpeed(config_->g_w, config_->g_h); in InitEncode()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dvp8_impl.cc538 configurations_[0].g_h = inst->height; in InitEncode()
543 configurations_[0].g_w, configurations_[0].g_h, number_of_cores); in InitEncode()
573 configurations_[i].g_h = inst->simulcastStream[stream_idx].height; in InitEncode()
919 configurations_[0].g_h = codec_.height; in UpdateCodecFrameSize()
/external/libvpx/libvpx/vpx/src/
Dsvc_encodeframe.c399 si->height = enc_cfg->g_h; in vpx_svc_init()