Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Dvp9_spatial_scalable_encoder.c146 enc_cfg->g_w = default_width; in parse_command_line()
168 enc_cfg->g_w = arg_parse_uint(&arg); in parse_command_line()
266 if (enc_cfg->g_w < 16 || enc_cfg->g_w % 2 || enc_cfg->g_h < 16 || in parse_command_line()
268 die("Invalid resolution: %d x %d\n", enc_cfg->g_w, enc_cfg->g_h); in parse_command_line()
278 svc_ctx->spatial_layers, enc_cfg->g_w, enc_cfg->g_h, in parse_command_line()
305 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, enc_cfg.g_w, enc_cfg.g_h, 32)) in main()
306 die("Failed to allocate image %dx%d\n", enc_cfg.g_w, enc_cfg.g_h); in main()
Dset_maps.c70 roi.cols = (cfg->g_w + 15) / 16; in set_roi_map()
103 map.cols = (cfg->g_w + 15) / 16; in set_active_map()
120 map.cols = (cfg->g_w + 15) / 16; in unset_active_map()
200 cfg.g_w = info.frame_width; in main()
204 cfg.rc_target_bitrate = (unsigned int)(bits_per_pixel_per_frame * cfg.g_w * in main()
Dvp8_multi_resolution_encoder.c146 mem_put_le16(header+12, cfg->g_w); /* width */ in write_ivf_file_header()
259 cfg[0].g_w = width; in main()
301 unsigned int iw = cfg[i-1].g_w*dsf[i-1].den + dsf[i-1].num - 1; in main()
303 cfg[i].g_w = iw/dsf[i-1].num; in main()
309 if((cfg[i].g_w)%2)cfg[i].g_w++; in main()
315 if(!vpx_img_alloc(&raw[i], VPX_IMG_FMT_I420, cfg[i].g_w, cfg[i].g_h, 32)) in main()
316 die("Failed to allocate image", cfg[i].g_w, cfg[i].g_h); in main()
Dvp8cx_set_ref.c147 cfg.g_w = info.frame_width; in main()
Dsimple_encoder.c216 cfg.g_w = info.frame_width; in main()
Dtwopass_encoder.c177 cfg.g_w = info.frame_width; in main()
Dvpx_temporal_scalable_patterns.c498 cfg.g_w = width; in main()
555 info.frame_width = cfg.g_w; in main()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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.cc54 codec_enc_.g_w = kWidth; in SetUp()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
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()
Dvpxenc.c837 stream->config.cfg.g_w = 0; in new_stream()
913 config->cfg.g_w = arg_parse_uint(&arg); in parse_stream_params()
1023 if (!stream->config.cfg.g_w || !stream->config.cfg.g_h) in validate_stream_config()
1063 if (!stream->config.cfg.g_w) { in set_stream_dimensions()
1065 stream->config.cfg.g_w = w; in set_stream_dimensions()
1067 stream->config.cfg.g_w = w * stream->config.cfg.g_h / h; in set_stream_dimensions()
1070 stream->config.cfg.g_h = h * stream->config.cfg.g_w / w; in set_stream_dimensions()
1109 SHOW(g_w); in show_stream_config()
1272 if (img && (img->d_w != cfg->g_w || img->d_h != cfg->g_h)) { in encode_frame()
1275 cfg->g_w, cfg->g_h, 16); in encode_frame()
[all …]
Dwebmenc.c166 unsigned int pixelWidth = cfg->g_w; in write_webm_file_header()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/
Dvp8_cx_iface.c140 RANGE_CHECK(cfg, g_w, 1, 16383); /* 14 bits available */ in validate_config()
278 if ((img->d_w != ctx->cfg.g_w) || (img->d_h != ctx->cfg.g_h)) in validate_img()
293 oxcf->Width = cfg.g_w; in set_vp8e_config()
453 if (((cfg->g_w != ctx->cfg.g_w) || (cfg->g_h != ctx->cfg.g_h)) in vp8e_set_config()
551 int mb_rows = ((cfg->g_w + 15) >>4); in vp8e_mr_alloc_mem()
623 priv->cx_data_sz = priv->cfg.g_w * priv->cfg.g_h * 3 / 2 * 2; in vp8e_init()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/
Dvp9_cx_iface.c145 RANGE_CHECK(cfg, g_w, 1, 65535); // 16 bits available in validate_config()
273 if (img->d_w != ctx->cfg.g_w || img->d_h != ctx->cfg.g_h) in validate_img()
284 oxcf->width = cfg->g_w; in set_vp9e_config()
421 if (cfg->g_w != ctx->cfg.g_w || cfg->g_h != ctx->cfg.g_h) in vp9e_set_config()
544 priv->cx_data_sz = priv->cfg.g_w * priv->cfg.g_h * 3 / 2 * 8; in vp9e_common_init()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/
Dvpx_encoder.h307 unsigned int g_w; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/
Dsvc_encodeframe.c509 si->width = enc_cfg->g_w; in vpx_svc_init()