Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_compute.c42 int g_w, int g_h, int g_d, in cs_prepare() argument
69 machine->SystemValue[i].xyzw[1].i[j] = g_h; in cs_prepare()
86 int g_w, int g_h, int g_d, in cs_run() argument
95 machine->SystemValue[i].xyzw[1].i[j] = g_h; in cs_run()
111 int g_w, int g_h, int g_d, int num_threads, in run_workgroup() argument
120 grp_hit_barrier |= cs_run(cs, g_w, g_h, g_d, machines[i], restart_threads); in run_workgroup()
177 int g_w, g_h, g_d; in softpipe_launch_grid() local
223 for (g_h = 0; g_h < grid_size[1]; g_h++) { in softpipe_launch_grid()
225 run_workgroup(cs, g_w, g_h, g_d, num_threads_in_group, machines); in softpipe_launch_grid()
/external/libvpx/libvpx/examples/
Dset_maps.c69 roi.rows = (cfg->g_h + 15) / 16; in set_roi_map()
101 map.rows = (cfg->g_h + 15) / 16; in set_active_map()
117 map.rows = (cfg->g_h + 15) / 16; in unset_active_map()
198 cfg.g_h = info.frame_height; in main()
202 (unsigned int)(bits_per_pixel_per_frame * cfg.g_w * cfg.g_h * fps / 1000); in main()
Dvp8_multi_resolution_encoder.c137 mem_put_le16(header + 14, cfg->g_h); /* height */ in write_ivf_file_header()
413 cfg[0].g_h = height; in main()
451 unsigned int ih = cfg[i - 1].g_h * dsf[i - 1].den + dsf[i - 1].num - 1; in main()
453 cfg[i].g_h = ih / dsf[i - 1].num; in main()
459 if ((cfg[i].g_h) % 2) cfg[i].g_h++; in main()
470 if (!vpx_img_alloc(&raw[i], VPX_IMG_FMT_I420, cfg[i].g_w, cfg[i].g_h, 32)) in main()
471 die("Failed to allocate image", cfg[i].g_w, cfg[i].g_h); in main()
560 length_frame = cfg[i].g_w * cfg[i].g_h * 3 / 2; in main()
Dvp9_spatial_svc_encoder.c219 enc_cfg->g_h = default_height; in parse_command_line()
241 enc_cfg->g_h = arg_parse_uint(&arg); in parse_command_line()
400 if (enc_cfg->g_w < 16 || enc_cfg->g_w % 2 || enc_cfg->g_h < 16 || in parse_command_line()
401 enc_cfg->g_h % 2) in parse_command_line()
402 die("Invalid resolution: %d x %d\n", enc_cfg->g_w, enc_cfg->g_h); in parse_command_line()
412 enc_cfg->g_h, enc_cfg->g_timebase.num, enc_cfg->g_timebase.den, in parse_command_line()
783 enc_cfg.g_w, enc_cfg.g_h, 32)) { in main()
784 die("Failed to allocate image %dx%d\n", enc_cfg.g_w, enc_cfg.g_h); in main()
787 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, enc_cfg.g_w, enc_cfg.g_h, 32)) { in main()
788 die("Failed to allocate image %dx%d\n", enc_cfg.g_w, enc_cfg.g_h); in main()
Dvpx_temporal_svc_encoder.c187 roi->rows = (cfg->g_h + block_size - 1) / block_size; in set_roi_map()
688 cfg.g_h = height; in main()
769 info.frame_height = cfg.g_h; in main()
823 if (cfg.g_threads > 1 && ((cfg.g_w > 320 && cfg.g_h > 240) || speed < 7)) in main()
833 svc_params.scaling_factor_num[0] = cfg.g_h; in main()
834 svc_params.scaling_factor_den[0] = cfg.g_h; in main()
Dtwopass_encoder.c157 cfg->g_h, in pass1()
233 cfg.g_h = h; in main()
/external/libaom/libaom/examples/
Dset_maps.c68 map.rows = (cfg->g_h + 15) / 16; in set_active_map()
84 map.rows = (cfg->g_h + 15) / 16; in unset_active_map()
165 cfg.g_h = info.frame_height; in main()
169 (unsigned int)(bits_per_pixel_per_frame * cfg.g_w * cfg.g_h * fps / 1000); in main()
Dscalable_encoder.c193 cfg.g_h = info.frame_height; in main()
241 cfg.g_h = info.frame_height; in main()
259 cfg.g_h = info.frame_height; in main()
Dtwopass_encoder.c150 cfg->g_h, in pass1()
227 cfg.g_h = h; in main()
Dlightfield_encoder.c239 cfg->g_h, in pass1()
284 cfg->g_h, 32, 8, border_in_pixels)) { in pass1()
473 cfg.g_h = h; in main()
/external/libvpx/libvpx/test/
Dencode_api_test.cc95 cfg.g_h = height; in TEST()
143 cfg[0].g_h = height; in TEST()
168 cfg[1].g_h = height_down; in TEST()
Dresize_test.cc51 mem_put_le16(header + 14, cfg->g_h); /* height */ in write_ivf_file_header()
444 cfg_.g_h = 288; in TEST_P()
569 cfg_.g_h = 288; in TEST_P()
576 unsigned int last_h = cfg_.g_h; in TEST_P()
607 cfg_.g_h = 288; in TEST_P()
618 unsigned int last_h = cfg_.g_h; in TEST_P()
Dencode_test_driver.cc30 cfg_.g_h = img->d_h; in InitEncoder()
78 if (cfg_.g_w != img->d_w || cfg_.g_h != img->d_h) { in EncodeFrameInternal()
80 cfg_.g_h = img->d_h; in EncodeFrameInternal()
/external/libaom/libaom/test/
Dresize_test.cc52 mem_put_le16(header + 14, cfg->g_h); /* height */ in write_ivf_file_header()
360 cfg_.g_h = 288; in TEST_P()
472 cfg_.g_h = 288; in TEST_P()
479 unsigned int last_h = cfg_.g_h; in TEST_P()
510 cfg_.g_h = 288; in TEST_P()
521 unsigned int last_h = cfg_.g_h; in TEST_P()
Dencode_test_driver.cc33 cfg_.g_h = img->d_h; in InitEncoder()
64 if (cfg_.g_w != img->d_w || cfg_.g_h != img->d_h) { in EncodeFrameInternal()
66 cfg_.g_h = img->d_h; in EncodeFrameInternal()
/external/libvpx/libvpx/
Dwebmenc.cc44 static_cast<int>(cfg->g_h), kVideoTrackNumber); in write_webm_file_header()
61 video_track->set_display_height(cfg->g_h); in write_webm_file_header()
Dvpxenc.c1104 stream->config.cfg.g_h = 0; in new_stream()
1194 config->cfg.g_h = arg_parse_uint(&arg); in parse_stream_params()
1330 if (!stream->config.cfg.g_w || !stream->config.cfg.g_h) in validate_stream_config()
1384 if (!stream->config.cfg.g_h) in set_stream_dimensions()
1387 stream->config.cfg.g_w = w * stream->config.cfg.g_h / h; in set_stream_dimensions()
1389 if (!stream->config.cfg.g_h) { in set_stream_dimensions()
1390 stream->config.cfg.g_h = h * stream->config.cfg.g_w / w; in set_stream_dimensions()
1439 SHOW(g_h); in show_stream_config()
1614 (img->d_w != cfg->g_w || img->d_h != cfg->g_h)) { in encode_frame()
1622 vpx_img_alloc(NULL, VPX_IMG_FMT_I42016, cfg->g_w, cfg->g_h, 16); in encode_frame()
[all …]
Divfenc.c28 mem_put_le16(header + 14, cfg->g_h); // height in ivf_write_file_header()
Dvideo_writer.c27 cfg.g_h = info->frame_height; in write_header()
/external/libaom/libaom/common/
Dwebmenc.cc65 static_cast<int>(cfg->g_h), kVideoTrackNumber); in write_webm_file_header()
116 video_track->set_display_height(cfg->g_h); in write_webm_file_header()
Divfenc.c29 mem_put_le16(header + 14, cfg->g_h); // height in ivf_write_file_header()
Dvideo_writer.c28 cfg.g_h = info->frame_height; in write_header()
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c135 RANGE_CHECK(cfg, g_h, 1, 16383); /* 14 bits available */ in validate_config()
267 if ((img->d_w != ctx->cfg.g_w) || (img->d_h != ctx->cfg.g_h)) in validate_img()
281 oxcf->Height = cfg.g_h; in set_vp8e_config()
430 if (cfg->g_w != ctx->cfg.g_w || cfg->g_h != ctx->cfg.g_h) { in vp8e_set_config()
434 (ctx->cpi->initial_height && (int)cfg->g_h > ctx->cpi->initial_height)) in vp8e_set_config()
584 int mb_cols = ((cfg->g_h + 15) >> 4); in vp8e_mr_alloc_mem()
636 priv->cx_data_sz = priv->cfg.g_w * priv->cfg.g_h * 3 / 2 * 2; in vp8e_init()
/external/libaom/libaom/apps/
Daomenc.c1297 stream->config.cfg.g_h = 0; in new_stream()
1429 config->cfg.g_h = arg_parse_uint(&arg); in parse_stream_params()
1567 if (!stream->config.cfg.g_w || !stream->config.cfg.g_h) in validate_stream_config()
1608 if (!stream->config.cfg.g_h) in set_stream_dimensions()
1611 stream->config.cfg.g_w = w * stream->config.cfg.g_h / h; in set_stream_dimensions()
1613 if (!stream->config.cfg.g_h) { in set_stream_dimensions()
1614 stream->config.cfg.g_h = h * stream->config.cfg.g_w / w; in set_stream_dimensions()
1664 SHOW(g_h); in show_stream_config()
1850 (img->d_w != cfg->g_w || img->d_h != cfg->g_h)) { in encode_frame()
1858 aom_img_alloc(NULL, AOM_IMG_FMT_I42016, cfg->g_w, cfg->g_h, 16); in encode_frame()
[all …]
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c158 RANGE_CHECK(cfg, g_h, 1, 65535); // 16 bits available in validate_config()
206 RANGE_CHECK(cfg, rc_scaled_height, 0, cfg->g_h); in validate_config()
377 if (img->d_w != ctx->cfg.g_w || img->d_h != ctx->cfg.g_h) in validate_img()
461 oxcf->height = cfg->g_h; in set_encoder_config()
640 if (cfg->g_w != ctx->cfg.g_w || cfg->g_h != ctx->cfg.g_h) { in encoder_set_config()
643 if (!valid_ref_frame_size(ctx->cfg.g_w, ctx->cfg.g_h, cfg->g_w, cfg->g_h) || in encoder_set_config()
645 (ctx->cpi->initial_height && (int)cfg->g_h > ctx->cpi->initial_height)) in encoder_set_config()
1101 data_sz = ctx->cfg.g_w * ctx->cfg.g_h * get_image_bps(img) / 8 * in encoder_encode()

12