Home
last modified time | relevance | path

Searched refs:g_w (Results 1 – 25 of 43) 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
68 machine->SystemValue[i].xyzw[0].i[j] = g_w; in cs_prepare()
86 int g_w, int g_h, int g_d, in cs_run() argument
94 machine->SystemValue[i].xyzw[0].i[j] = g_w; 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
224 for (g_w = 0; g_w < grid_size[0]; g_w++) { 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.c70 roi.cols = (cfg->g_w + 15) / 16; in set_roi_map()
102 map.cols = (cfg->g_w + 15) / 16; in set_active_map()
118 map.cols = (cfg->g_w + 15) / 16; in unset_active_map()
197 cfg.g_w = info.frame_width; in main()
202 (unsigned int)(bits_per_pixel_per_frame * cfg.g_w * cfg.g_h * fps / 1000); in main()
Dvp8_multi_resolution_encoder.c136 mem_put_le16(header + 12, cfg->g_w); /* width */ in write_ivf_file_header()
412 cfg[0].g_w = width; in main()
450 unsigned int iw = cfg[i - 1].g_w * dsf[i - 1].den + dsf[i - 1].num - 1; in main()
452 cfg[i].g_w = iw / dsf[i - 1].num; in main()
458 if ((cfg[i].g_w) % 2) cfg[i].g_w++; 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.c218 enc_cfg->g_w = default_width; in parse_command_line()
239 enc_cfg->g_w = 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()
402 die("Invalid resolution: %d x %d\n", enc_cfg->g_w, enc_cfg->g_h); in parse_command_line()
411 app_input->frames_to_skip, svc_ctx->spatial_layers, enc_cfg->g_w, 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()
Dtwopass_encoder.c156 cfg->g_w, in pass1()
232 cfg.g_w = w; in main()
/external/libaom/libaom/examples/
Dset_maps.c69 map.cols = (cfg->g_w + 15) / 16; in set_active_map()
85 map.cols = (cfg->g_w + 15) / 16; in unset_active_map()
164 cfg.g_w = info.frame_width; in main()
169 (unsigned int)(bits_per_pixel_per_frame * cfg.g_w * cfg.g_h * fps / 1000); in main()
Dscalable_encoder.c192 cfg.g_w = info.frame_width; in main()
240 cfg.g_w = info.frame_width; in main()
258 cfg.g_w = info.frame_width; in main()
Dtwopass_encoder.c149 cfg->g_w, in pass1()
226 cfg.g_w = w; in main()
Dlightfield_encoder.c238 cfg->g_w, in pass1()
283 if (!aom_img_alloc_with_border(&reference_images[i], ref_fmt, cfg->g_w, in pass1()
472 cfg.g_w = w; in main()
/external/libvpx/libvpx/test/
Dencode_api_test.cc94 cfg.g_w = width; in TEST()
142 cfg[0].g_w = width; in TEST()
167 cfg[1].g_w = width_down; in TEST()
Dresize_test.cc50 mem_put_le16(header + 12, cfg->g_w); /* width */ in write_ivf_file_header()
443 cfg_.g_w = 352; in TEST_P()
568 cfg_.g_w = 352; in TEST_P()
575 unsigned int last_w = cfg_.g_w; in TEST_P()
606 cfg_.g_w = 352; in TEST_P()
617 unsigned int last_w = cfg_.g_w; in TEST_P()
Dencode_test_driver.cc29 cfg_.g_w = img->d_w; in InitEncoder()
78 if (cfg_.g_w != img->d_w || cfg_.g_h != img->d_h) { in EncodeFrameInternal()
79 cfg_.g_w = img->d_w; in EncodeFrameInternal()
/external/libaom/libaom/test/
Dresize_test.cc51 mem_put_le16(header + 12, cfg->g_w); /* width */ in write_ivf_file_header()
359 cfg_.g_w = 352; in TEST_P()
471 cfg_.g_w = 352; in TEST_P()
478 unsigned int last_w = cfg_.g_w; in TEST_P()
509 cfg_.g_w = 352; in TEST_P()
520 unsigned int last_w = cfg_.g_w; in TEST_P()
Dencode_test_driver.cc32 cfg_.g_w = img->d_w; in InitEncoder()
64 if (cfg_.g_w != img->d_w || cfg_.g_h != img->d_h) { in EncodeFrameInternal()
65 cfg_.g_w = img->d_w; in EncodeFrameInternal()
Dmonochrome_test.cc93 cfg_.g_w = 352; in TEST_P()
/external/libvpx/libvpx/
Dwebmenc.cc43 segment->AddVideoTrack(static_cast<int>(cfg->g_w), in write_webm_file_header()
59 ((cfg->g_w * par->numerator * 1.0) / par->denominator) + .5); in write_webm_file_header()
Dvpxenc.c1103 stream->config.cfg.g_w = 0; in new_stream()
1192 config->cfg.g_w = arg_parse_uint(&arg); in parse_stream_params()
1330 if (!stream->config.cfg.g_w || !stream->config.cfg.g_h) in validate_stream_config()
1383 if (!stream->config.cfg.g_w) { in set_stream_dimensions()
1385 stream->config.cfg.g_w = w; in set_stream_dimensions()
1387 stream->config.cfg.g_w = w * stream->config.cfg.g_h / h; in set_stream_dimensions()
1390 stream->config.cfg.g_h = h * stream->config.cfg.g_w / w; in set_stream_dimensions()
1438 SHOW(g_w); 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.c27 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()
/external/libaom/libaom/common/
Dwebmenc.cc64 segment->AddVideoTrack(static_cast<int>(cfg->g_w), in write_webm_file_header()
114 ((cfg->g_w * par->numerator * 1.0) / par->denominator) + .5); in write_webm_file_header()
Divfenc.c28 mem_put_le16(header + 12, cfg->g_w); // width in ivf_write_file_header()
Dvideo_writer.c27 cfg.g_w = info->frame_width; in write_header()
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c134 RANGE_CHECK(cfg, g_w, 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()
280 oxcf->Width = cfg.g_w; in set_vp8e_config()
430 if (cfg->g_w != ctx->cfg.g_w || cfg->g_h != ctx->cfg.g_h) { in vp8e_set_config()
433 if ((ctx->cpi->initial_width && (int)cfg->g_w > ctx->cpi->initial_width) || in vp8e_set_config()
583 int mb_rows = ((cfg->g_w + 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.c1296 stream->config.cfg.g_w = 0; in new_stream()
1427 config->cfg.g_w = arg_parse_uint(&arg); in parse_stream_params()
1567 if (!stream->config.cfg.g_w || !stream->config.cfg.g_h) in validate_stream_config()
1607 if (!stream->config.cfg.g_w) { in set_stream_dimensions()
1609 stream->config.cfg.g_w = w; in set_stream_dimensions()
1611 stream->config.cfg.g_w = w * stream->config.cfg.g_h / h; in set_stream_dimensions()
1614 stream->config.cfg.g_h = h * stream->config.cfg.g_w / w; in set_stream_dimensions()
1663 SHOW(g_w); 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.c157 RANGE_CHECK(cfg, g_w, 1, 65535); // 16 bits available in validate_config()
205 RANGE_CHECK(cfg, rc_scaled_width, 0, cfg->g_w); in validate_config()
377 if (img->d_w != ctx->cfg.g_w || img->d_h != ctx->cfg.g_h) in validate_img()
460 oxcf->width = cfg->g_w; 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()
644 (ctx->cpi->initial_width && (int)cfg->g_w > ctx->cpi->initial_width) || in encoder_set_config()
1101 data_sz = ctx->cfg.g_w * ctx->cfg.g_h * get_image_bps(img) / 8 * in encoder_encode()

12