Searched refs:g_h (Results 1 - 20 of 20) sorted by relevance

/external/libvpx/libvpx/
H A Divfenc.c30 mem_put_le16(header + 14, cfg->g_h); // height
H A Dwebmenc.cc46 static_cast<int>(cfg->g_h),
75 video_track->set_display_height(cfg->g_h);
H A Dvideo_writer.c27 cfg.g_h = info->frame_height;
H A Dvpxenc.c1052 stream->config.cfg.g_h = 0;
1150 config->cfg.g_h = arg_parse_uint(&arg);
1285 if (!stream->config.cfg.g_w || !stream->config.cfg.g_h)
1339 if (!stream->config.cfg.g_h)
1342 stream->config.cfg.g_w = w * stream->config.cfg.g_h / h;
1344 if (!stream->config.cfg.g_h) {
1345 stream->config.cfg.g_h = h * stream->config.cfg.g_w / w;
1409 SHOW(g_h);
1597 (img->d_w != cfg->g_w || img->d_h != cfg->g_h)) {
1605 cfg->g_w, cfg->g_h, 1
[all...]
/external/libvpx/libvpx/examples/
H A Dset_maps.c70 roi.rows = (cfg->g_h + 15) / 16;
103 map.rows = (cfg->g_h + 15) / 16;
120 map.rows = (cfg->g_h + 15) / 16;
209 cfg.g_h = info.frame_height;
213 cfg.g_h * fps / 1000);
H A Dvp8_multi_resolution_encoder.c151 mem_put_le16(header+14, cfg->g_h); /* height */
456 cfg[0].g_h = height;
495 unsigned int ih = cfg[i-1].g_h*dsf[i-1].den + dsf[i-1].num - 1;
497 cfg[i].g_h = ih/dsf[i-1].num;
503 if((cfg[i].g_h)%2)cfg[i].g_h++;
515 if(!vpx_img_alloc(&raw[i], VPX_IMG_FMT_I420, cfg[i].g_w, cfg[i].g_h, 32))
516 die("Failed to allocate image", cfg[i].g_w, cfg[i].g_h);
613 length_frame = cfg[i].g_w * cfg[i].g_h *3/2;
H A Dvp9_spatial_svc_encoder.c184 enc_cfg->g_h = default_height;
206 enc_cfg->g_h = arg_parse_uint(&arg);
346 if (enc_cfg->g_w < 16 || enc_cfg->g_w % 2 || enc_cfg->g_h < 16 ||
347 enc_cfg->g_h % 2)
348 die("Invalid resolution: %d x %d\n", enc_cfg->g_w, enc_cfg->g_h);
358 svc_ctx->spatial_layers, enc_cfg->g_w, enc_cfg->g_h,
576 enc_cfg.g_w, enc_cfg.g_h, 32)) {
577 die("Failed to allocate image %dx%d\n", enc_cfg.g_w, enc_cfg.g_h);
580 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, enc_cfg.g_w, enc_cfg.g_h, 32)) {
581 die("Failed to allocate image %dx%d\n", enc_cfg.g_w, enc_cfg.g_h);
[all...]
H A Dtwopass_encoder.c166 cfg->g_h,
242 cfg.g_h = h;
H A Dsimple_encoder.c218 cfg.g_h = info.frame_height;
H A Dvp8cx_set_ref.c152 cfg.g_h = info.frame_height;
H A Dvp9_lossless_encoder.c108 cfg.g_h = info.frame_height;
H A Dvpx_temporal_svc_encoder.c579 cfg.g_h = height;
660 info.frame_height = cfg.g_h;
703 svc_params.scaling_factor_num[0] = cfg.g_h;
704 svc_params.scaling_factor_den[0] = cfg.g_h;
/external/libvpx/libvpx/test/
H A Dencode_test_driver.cc29 cfg_.g_h = img->d_h;
87 if (cfg_.g_w != img->d_w || cfg_.g_h != img->d_h) {
89 cfg_.g_h = img->d_h;
H A Dsvc_test.cc57 codec_enc_.g_h = kHeight;
117 codec_enc_.g_w, codec_enc_.g_h,
186 codec_enc_.g_w, codec_enc_.g_h,
762 codec_enc_.g_h = 144;
785 codec_enc_.g_h = 144;
H A Dresize_test.cc49 mem_put_le16(header + 14, cfg->g_h); /* height */
/external/libvpx/libvpx/vpx/
H A Dvpx_encoder.h354 unsigned int g_h; member in struct:vpx_codec_enc_cfg
/external/libvncserver/x11vnc/
H A Dv4l.c1108 int g_h = v4l2_format.fmt.pix.height; local
1118 if (g_w > 0 && g_h > 0 && g_d > 0) {
1121 sprintf(atparms, "%dx%dx%d", g_w, g_h, g_d);
1132 int g_h = v4l1_window.height; local
1141 if (0) fprintf(stderr, "v4l1: %d %d %d\n", g_w, g_h, g_d);
1142 if (g_w > 0 && g_h > 0 && g_d > 0) {
1146 sprintf(atparms, "%dx%dx%d", g_w, g_h, g_d);
1169 int g_w = 0, g_h = 0, g_b = 0, mask_rev = 0; local
1231 if (! g_h) {
1232 g_h
[all...]
/external/libvpx/libvpx/vp8/
H A Dvp8_cx_iface.c136 RANGE_CHECK(cfg, g_h, 1, 16383); /* 14 bits available */
275 if ((img->d_w != ctx->cfg.g_w) || (img->d_h != ctx->cfg.g_h))
291 oxcf->Height = cfg.g_h;
452 if (cfg->g_w != ctx->cfg.g_w || cfg->g_h != ctx->cfg.g_h)
457 (ctx->cpi->initial_height && (int)cfg->g_h > ctx->cpi->initial_height))
620 int mb_cols = ((cfg->g_h + 15) >>4);
680 priv->cx_data_sz = priv->cfg.g_w * priv->cfg.g_h * 3 / 2 * 2;
/external/libvpx/libvpx/vp9/
H A Dvp9_cx_iface.c152 RANGE_CHECK(cfg, g_h, 1, 65535); // 16 bits available
186 RANGE_CHECK(cfg, rc_scaled_height, 0, cfg->g_h);
357 if (img->d_w != ctx->cfg.g_w || img->d_h != ctx->cfg.g_h)
388 oxcf->height = cfg->g_h;
554 if (cfg->g_w != ctx->cfg.g_w || cfg->g_h != ctx->cfg.g_h) {
557 if (!valid_ref_frame_size(ctx->cfg.g_w, ctx->cfg.g_h, cfg->g_w, cfg->g_h) ||
559 (ctx->cpi->initial_height && (int)cfg->g_h > ctx->cpi->initial_height))
973 data_sz = ctx->cfg.g_w * ctx->cfg.g_h * get_image_bp
[all...]
/external/libvpx/libvpx/vpx/src/
H A Dsvc_encodeframe.c398 si->height = enc_cfg->g_h;

Completed in 196 milliseconds