Home
last modified time | relevance | path

Searched refs:g_w (Results 1 – 19 of 19) sorted by relevance

/external/libvpx/libvpx/examples/
Dvp9_spatial_svc_encoder.c129 enc_cfg->g_w = default_width; in parse_command_line()
150 enc_cfg->g_w = arg_parse_uint(&arg); in parse_command_line()
246 if (enc_cfg->g_w < 16 || enc_cfg->g_w % 2 || enc_cfg->g_h < 16 || in parse_command_line()
248 die("Invalid resolution: %d x %d\n", enc_cfg->g_w, enc_cfg->g_h); in parse_command_line()
258 svc_ctx->spatial_layers, enc_cfg->g_w, enc_cfg->g_h, in parse_command_line()
286 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, enc_cfg.g_w, enc_cfg.g_h, 32)) in main()
287 die("Failed to allocate image %dx%d\n", enc_cfg.g_w, enc_cfg.g_h); in main()
Dvp8_multi_resolution_encoder.c128 mem_put_le16(header+12, cfg->g_w); /* width */ in write_ivf_file_header()
241 cfg[0].g_w = width; in main()
283 unsigned int iw = cfg[i-1].g_w*dsf[i-1].den + dsf[i-1].num - 1; in main()
285 cfg[i].g_w = iw/dsf[i-1].num; in main()
291 if((cfg[i].g_w)%2)cfg[i].g_w++; in main()
297 if(!vpx_img_alloc(&raw[i], VPX_IMG_FMT_I420, cfg[i].g_w, cfg[i].g_h, 32)) in main()
298 die("Failed to allocate image", cfg[i].g_w, cfg[i].g_h); in main()
Dset_maps.c71 roi.cols = (cfg->g_w + 15) / 16; in set_roi_map()
104 map.cols = (cfg->g_w + 15) / 16; in set_active_map()
121 map.cols = (cfg->g_w + 15) / 16; in unset_active_map()
202 cfg.g_w = info.frame_width; in main()
206 cfg.rc_target_bitrate = (unsigned int)(bits_per_pixel_per_frame * cfg.g_w * in main()
Dvp8cx_set_ref.c147 cfg.g_w = info.frame_width; in main()
Dsimple_encoder.c220 cfg.g_w = info.frame_width; in main()
Dtwopass_encoder.c177 cfg.g_w = info.frame_width; in main()
Dvpx_temporal_svc_encoder.c506 cfg.g_w = width; in main()
563 info.frame_width = cfg.g_w; in main()
/external/libvncserver/x11vnc/
Dv4l.c1107 int g_w = v4l2_format.fmt.pix.width; in guess_via_v4l() local
1118 if (g_w > 0 && g_h > 0 && g_d > 0) { in guess_via_v4l()
1121 sprintf(atparms, "%dx%dx%d", g_w, g_h, g_d); in guess_via_v4l()
1131 int g_w = v4l1_window.width; in guess_via_v4l() local
1141 if (0) fprintf(stderr, "v4l1: %d %d %d\n", g_w, g_h, g_d); in guess_via_v4l()
1142 if (g_w > 0 && g_h > 0 && g_d > 0) { in guess_via_v4l()
1146 sprintf(atparms, "%dx%dx%d", g_w, g_h, g_d); in guess_via_v4l()
1169 int g_w = 0, g_h = 0, g_b = 0, mask_rev = 0; in guess_via_v4l_info() local
1227 if (! g_w) { in guess_via_v4l_info()
1228 g_w = colon_n(line); in guess_via_v4l_info()
[all …]
/external/libvpx/libvpx/test/
Dencode_test_driver.cc44 cfg_.g_w = img->d_w; in EncodeFrameInternal()
54 if (cfg_.g_w != img->d_w || cfg_.g_h != img->d_h) { in EncodeFrameInternal()
55 cfg_.g_w = img->d_w; in EncodeFrameInternal()
Dresize_test.cc48 mem_put_le16(header + 12, cfg->g_w); /* width */ in write_ivf_file_header()
Dsvc_test.cc52 codec_enc_.g_w = kWidth; in SetUp()
/external/libvpx/libvpx/
Dvpxenc.c833 stream->config.cfg.g_w = 0; in new_stream()
915 config->cfg.g_w = arg_parse_uint(&arg); in parse_stream_params()
1031 if (!stream->config.cfg.g_w || !stream->config.cfg.g_h) in validate_stream_config()
1082 if (!stream->config.cfg.g_w) { in set_stream_dimensions()
1084 stream->config.cfg.g_w = w; in set_stream_dimensions()
1086 stream->config.cfg.g_w = w * stream->config.cfg.g_h / h; in set_stream_dimensions()
1089 stream->config.cfg.g_h = h * stream->config.cfg.g_w / w; in set_stream_dimensions()
1147 SHOW(g_w); in show_stream_config()
1326 if (img && (img->d_w != cfg->g_w || img->d_h != cfg->g_h)) { in encode_frame()
1334 cfg->g_w, cfg->g_h, 16); in encode_frame()
[all …]
Divfenc.c29 mem_put_le16(header + 12, cfg->g_w); // width in ivf_write_file_header()
Dvideo_writer.c26 cfg.g_w = info->frame_width; in write_header()
Dwebmenc.cc44 segment->AddVideoTrack(static_cast<int>(cfg->g_w), in write_webm_file_header()
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c141 RANGE_CHECK(cfg, g_w, 1, 16383); /* 14 bits available */ in validate_config()
279 if ((img->d_w != ctx->cfg.g_w) || (img->d_h != ctx->cfg.g_h)) in validate_img()
294 oxcf->Width = cfg.g_w; in set_vp8e_config()
452 if (((cfg->g_w != ctx->cfg.g_w) || (cfg->g_h != ctx->cfg.g_h)) in vp8e_set_config()
607 int mb_rows = ((cfg->g_w + 15) >>4); in vp8e_mr_alloc_mem()
679 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.c150 RANGE_CHECK(cfg, g_w, 1, 65535); // 16 bits available in validate_config()
175 RANGE_CHECK(cfg, rc_scaled_width, 1, cfg->g_w); in validate_config()
307 if (img->d_w != ctx->cfg.g_w || img->d_h != ctx->cfg.g_h) in validate_img()
329 oxcf->width = cfg->g_w; in set_encoder_config()
485 if (cfg->g_w != ctx->cfg.g_w || cfg->g_h != ctx->cfg.g_h) in encoder_set_config()
840 ctx->cx_data_sz = ctx->cfg.g_w * ctx->cfg.g_h * in encoder_encode()
/external/libvpx/libvpx/vpx/
Dvpx_encoder.h315 unsigned int g_w; member
/external/libvpx/libvpx/vpx/src/
Dsvc_encodeframe.c453 si->width = enc_cfg->g_w; in vpx_svc_init()