Home
last modified time | relevance | path

Searched refs:image_size (Results 1 – 25 of 111) sorted by relevance

12345

/third_party/mesa3d/src/glx/
Dindirect_texture_compression.c79 GLint border, GLsizei image_size, in CompressedTexImage1D2D() argument
95 compsize = image_size; in CompressedTexImage1D2D()
107 __GLX_PUT_LONG(28, image_size); in CompressedTexImage1D2D()
110 data, image_size); in CompressedTexImage1D2D()
124 __GLX_PUT_LONG(32, image_size); in CompressedTexImage1D2D()
127 data, image_size); in CompressedTexImage1D2D()
140 GLenum format, GLsizei image_size, in CompressedTexSubImage1D2D() argument
154 compsize = image_size; in CompressedTexSubImage1D2D()
167 __GLX_PUT_LONG(32, image_size); in CompressedTexSubImage1D2D()
170 data, image_size); in CompressedTexSubImage1D2D()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_clamp_image_1d_2d_array_sizes.c44 nir_ssa_def *image_size = NULL; in brw_nir_clamp_image_1d_2d_array_sizes_instr() local
56 image_size = &intr->dest.ssa; in brw_nir_clamp_image_1d_2d_array_sizes_instr()
67 image_size = &intr->dest.ssa; in brw_nir_clamp_image_1d_2d_array_sizes_instr()
85 image_size = &tex_instr->dest.ssa; in brw_nir_clamp_image_1d_2d_array_sizes_instr()
93 if (!image_size) in brw_nir_clamp_image_1d_2d_array_sizes_instr()
101 for (int i = 0; i < image_size->num_components; i++) { in brw_nir_clamp_image_1d_2d_array_sizes_instr()
102 if (i == (image_size->num_components - 1)) { in brw_nir_clamp_image_1d_2d_array_sizes_instr()
105 nir_imax(b, nir_channel(b, image_size, i), in brw_nir_clamp_image_1d_2d_array_sizes_instr()
120 components[i] = nir_channel(b, image_size, i); in brw_nir_clamp_image_1d_2d_array_sizes_instr()
125 nir_vec(b, components, image_size->num_components); in brw_nir_clamp_image_1d_2d_array_sizes_instr()
[all …]
/third_party/pixman/test/
Dregion-test.c89 int image_size = 128; in main() local
96 prng_rand_n (image_size), in main()
97 prng_rand_n (image_size), in main()
102 pixman_region32_init_rect (&r2, 0, 0, image_size, image_size); in main()
107 image = pixman_image_create_bits (PIXMAN_a1, image_size, image_size, NULL, 0); in main()
112 image_size, image_size); in main()
/third_party/wayland-ivi-extension/ivi-layermanagement-api/ilmControl/src/
Dbitmap.c54 create_file_header(struct BITMAPFILEHEADER *file_header, int32_t image_size) in create_file_header() argument
60 image_size); in create_file_header()
66 create_info_header(struct BITMAPINFOHEADER *info_header, int32_t image_size, int32_t width, int32_t… in create_info_header() argument
73 info_header->biSizeImage = htole32(image_size); in create_info_header()
103 int32_t image_size = 0; in save_as_bitmap() local
143 image_size = image_stride * height; in save_as_bitmap()
145 image_buffer = malloc(image_size); in save_as_bitmap()
148 image_size); in save_as_bitmap()
172 create_file_header(&file_header, image_size); in save_as_bitmap()
173 create_info_header(&info_header, image_size, width, height, bytes_per_pixel * 8); in save_as_bitmap()
Dwritepng.c158 int32_t image_size = 0; in save_as_png() local
190 image_size = image_stride * height; in save_as_png()
192 image_buffer = malloc(image_size); in save_as_png()
195 image_size); in save_as_png()
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_lower_ycbcr_textures.c32 nir_ssa_def *image_size; member
42 if (state->image_size) in get_texture_size()
43 return state->image_size; in get_texture_size()
62 state->image_size = nir_i2f32(b, &tex->dest.ssa); in get_texture_size()
64 return state->image_size; in get_texture_size()
89 nir_ssa_def *image_size = get_texture_size(state, state->tex_deref); in implicit_downsampled_coords() local
98 nir_channel(b, image_size, c), in implicit_downsampled_coords()
/third_party/mindspore/tests/st/networks/models/resnet50/src_thor/
Ddataset.py51 image_size = 224
60 C.CenterCrop(image_size),
68 C.CenterCrop(image_size),
/third_party/mindspore/tests/st/networks/models/resnet50/src/
Ddataset.py51 image_size = 224
58 C.RandomCropDecodeResize(image_size, scale=(0.08, 1.0), ratio=(0.75, 1.333)),
67 C.CenterCrop(image_size),
/third_party/mindspore/tests/st/hcom/
Dhcom_sparsetensor.py36 def __init__(self, size=1024, batch_size=32, image_size=(3, 224, 224), num_class=10, argument
43 self.image_size = image_size
62 self.total_batch_data_size = (self.rank_size, self.rank_batch_size) + image_size
147 …ds = FakeData(size=8, batch_size=batch_size, num_class=8, image_size=(), use_parallel=use_parallel)
/third_party/e2fsprogs/lib/ext2fs/
Dqcow2.c185 img.image_size = ext2fs_be64_to_cpu(hdr->size); in qcow2_write_raw_image()
190 max_l1_size = (img.image_size >> ((2 * img.cluster_bits) - 3)) + in qcow2_write_raw_image()
220 if ((offset > img.image_size) || in qcow2_write_raw_image()
252 if (ext2fs_llseek(raw_fd, img.image_size - 1, SEEK_SET) < 0) { in qcow2_write_raw_image()
/third_party/mindspore/tests/st/auto_parallel/
Dparallel_strategy_search.py88 def __init__(self, size=1024, batch_size=32, image_size=(3, 224, 224), argument
95 self.image_size = image_size
114 self.total_batch_data_size = (self.rank_size, self.rank_batch_size) + image_size
347 image_size=(3, 224, 224), num_classes=12)
352 image_size=(3, 224, 224), use_parallel=True,
374 image_size=(3, 224, 224), num_classes=12)
379 image_size=(3, 224, 224), use_parallel=True,
Doptimizer_parallel.py85 def __init__(self, size=1024, batch_size=32, image_size=(3, 224, 224), argument
92 self.image_size = image_size
111 self.total_batch_data_size = (self.rank_size, self.rank_batch_size) + image_size
315 image_size=(1, 32, 32),
321 image_size=(1, 32, 32),
Dmultifieldembeddinglookup_parallel.py83 def __init__(self, size=1024, batch_size=32, image_size=(3, 224, 224), argument
90 self.image_size = image_size
109 self.total_batch_data_size = (self.rank_size, self.rank_batch_size) + image_size
307 standalone_dataset = FakeData(size=64, batch_size=64, image_size=(64,))
311 parallel_dataset = FakeData(size=64, batch_size=8, image_size=(64,), use_parallel=True)
/third_party/mindspore/tests/st/mix_precision/
Dutils.py67 def __init__(self, size=1024, batch_size=32, image_size=(3, 224, 224), argument
74 self.image_size = image_size
93 self.total_batch_data_size = (self.rank_size, self.rank_batch_size) + image_size
Dtest_mix_precision.py117 image_size=(3, 224, 224),
151 image_size=(3, 224, 224),
156 image_size=(3, 224, 224),
/third_party/mindspore/mindspore/lite/examples/train_lenet_java/src/main/java/com/mindspore/lite/train_lenet/
DDataSet.java104 int image_size = n_rows * n_cols; in readMNISTFile() local
105 byte[] image_data = new byte[image_size]; in readMNISTFile()
108 readFile(ibin, image_data, image_size); in readMNISTFile()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c33 nir_ssa_def *image_size; member
84 nir_ssa_def *image_size = NULL; in implicit_downsampled_coords() local
104 if (!image_size) in implicit_downsampled_coords()
105 image_size = get_texture_size(state, state->tex_deref); in implicit_downsampled_coords()
107 … comp[c] = implicit_downsampled_coord(b, comp[c], nir_channel(b, image_size, c), divisors[c]); in implicit_downsampled_coords()
/third_party/ffmpeg/libavformat/
Dcdxl.c121 uint32_t current_size, video_size, image_size; in cdxl_read_packet() local
155 image_size = width * height * cdxl->header[19] / 8; in cdxl_read_packet()
157 image_size = FFALIGN(width, 16) * height * cdxl->header[19] / 8; in cdxl_read_packet()
158 video_size = palette_size + image_size; in cdxl_read_packet()
/third_party/mindspore/mindspore/mindrecord/tools/
Dmnist_to_mr.py52 self.image_size = 28
88 data = data.reshape(-1, self.image_size, self.image_size, self.num_channels)
/third_party/boost/boost/gil/extension/io/targa/detail/
Dread.hpp244 size_t image_size = this->_info._width * this->_info._height * bytes_per_pixel; in read_rle_data() local
245 byte_vector_t image_data( image_size ); in read_rle_data()
249 for( size_t pixel = 0; pixel < image_size; ) in read_rle_data()
/third_party/boost/libs/gil/test/extension/toolbox/
Dsubchroma_image.cpp86 std::size_t image_size = (y_width * y_height) in test_subchroma_image() local
90 std::vector<unsigned char> data(image_size); // TODO: Initialize? --mloskot in test_subchroma_image()
/third_party/mesa3d/src/gallium/drivers/r600/
Dradeon_uvd.c238 unsigned width_in_mb, height_in_mb, image_size, dpb_size; in calc_dpb_size() local
248 image_size = align(width, get_db_pitch_alignment(dec)) * height; in calc_dpb_size()
249 image_size += image_size / 2; in calc_dpb_size()
250 image_size = align(image_size, 1024); in calc_dpb_size()
292 dpb_size = image_size * max_references; in calc_dpb_size()
301 dpb_size = image_size * max_references; in calc_dpb_size()
317 dpb_size = image_size * max_references; in calc_dpb_size()
334 dpb_size = image_size * NUM_MPEG2_REFS; in calc_dpb_size()
339 dpb_size = image_size * max_references; in calc_dpb_size()
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp.swig234 const size_t image_size =
238 *output_size = image_size;
240 return image_size ? output : NULL;
248 const size_t image_size = encfn(rgb, width, height, stride, &output);
251 *output_size = image_size;
253 return image_size ? output : NULL;
/third_party/flutter/skia/third_party/externals/libwebp/swig/
Dlibwebp.swig231 const size_t image_size =
235 *output_size = image_size;
237 return image_size ? output : NULL;
245 const size_t image_size = encfn(rgb, width, height, stride, &output);
248 *output_size = image_size;
250 return image_size ? output : NULL;
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/kernel/
Dactivation.cc91 cl_int2 image_size = {static_cast<int>(outShape.width), static_cast<int>(outShape.height)}; in SetConstArgs() local
92 if (ocl_runtime_->SetKernelArg(kernel_, arg_idx++, image_size) != CL_SUCCESS) { in SetConstArgs()

12345