Home
last modified time | relevance | path

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

12345678

/external/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 …]
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dconfig.h257 const Size image_size; member
259 explicit ObjectDetectorConfig(const Size& image_size) in ObjectDetectorConfig()
260 : image_size(image_size) {} in ObjectDetectorConfig()
265 const Size image_size; member
269 explicit KeypointDetectorConfig(const Size& image_size) in KeypointDetectorConfig()
270 : image_size(image_size), in KeypointDetectorConfig()
276 const Size image_size; member
278 explicit OpticalFlowConfig(const Size& image_size) in OpticalFlowConfig()
279 : image_size(image_size) {} in OpticalFlowConfig()
283 const Size image_size; member
[all …]
/external/arm-trusted-firmware/common/
Dbl_common.c76 size_t image_size; in load_image() local
104 io_result = io_size(image_handle, &image_size); in load_image()
105 if ((io_result != 0) || (image_size == 0U)) { in load_image()
112 if (image_size > image_data->image_max_size) { in load_image()
122 image_data->image_size = (uint32_t)image_size; in load_image()
126 io_result = io_read(image_handle, image_base, image_size, &bytes_read); in load_image()
127 if ((io_result != 0) || (bytes_read < image_size)) { in load_image()
133 (uintptr_t)(image_base + image_size)); in load_image()
158 image_data->image_size); in load_image_flush()
195 image_data->image_size); in load_auth_image_recursive()
[all …]
Dimage_decompress.c51 compressed_image_size = info->image_size; in image_decompress()
75 info->image_size = image_base - info->image_base; in image_decompress()
77 flush_dcache_range(info->image_base, info->image_size); in image_decompress()
/external/mesa3d/src/intel/compiler/
Dbrw_nir_clamp_image_1d_2d_array_sizes.c55 nir_ssa_def *image_size = NULL; in brw_nir_clamp_image_1d_2d_array_sizes() local
67 image_size = &intr->dest.ssa; in brw_nir_clamp_image_1d_2d_array_sizes()
78 image_size = &intr->dest.ssa; in brw_nir_clamp_image_1d_2d_array_sizes()
96 image_size = &tex_instr->dest.ssa; in brw_nir_clamp_image_1d_2d_array_sizes()
104 if (!image_size) in brw_nir_clamp_image_1d_2d_array_sizes()
112 for (int i = 0; i < image_size->num_components; i++) { in brw_nir_clamp_image_1d_2d_array_sizes()
113 if (i == (image_size->num_components - 1)) { in brw_nir_clamp_image_1d_2d_array_sizes()
116 nir_imax(&b, nir_channel(&b, image_size, i), in brw_nir_clamp_image_1d_2d_array_sizes()
131 components[i] = nir_channel(&b, image_size, i); in brw_nir_clamp_image_1d_2d_array_sizes()
136 nir_vec(&b, components, image_size->num_components); in brw_nir_clamp_image_1d_2d_array_sizes()
[all …]
/external/libvpx/libvpx/test/
Dadd_noise_test.cc51 const int image_size = width * height; in TEST_P() local
55 reinterpret_cast<uint8_t *>(vpx_calloc(image_size, sizeof(*s))); in TEST_P()
57 memset(s, 99, image_size * sizeof(*s)); in TEST_P()
64 for (int i = 0; i < image_size - 6 * width - 6; ++i) { in TEST_P()
76 memset(s, 255, image_size); in TEST_P()
82 for (int i = 0; i < image_size; ++i) { in TEST_P()
87 memset(s, 0, image_size); in TEST_P()
93 for (int i = 0; i < image_size; ++i) { in TEST_P()
103 const int image_size = width * height; in TEST_P() local
107 uint8_t *const s = reinterpret_cast<uint8_t *>(vpx_calloc(image_size, 1)); in TEST_P()
[all …]
/external/arm-trusted-firmware/bl1/
Dbl1_fwu.c32 unsigned int image_size,
36 unsigned int image_size,
176 assert(checked_info->image_size != 0); in bl1_fwu_image_check_overlaps()
179 checked_image_end = checked_image_base + checked_info->image_size - 1; in bl1_fwu_image_check_overlaps()
197 if (info->image_size == 0) in bl1_fwu_image_check_overlaps()
201 image_end = image_base + info->image_size - 1; in bl1_fwu_image_check_overlaps()
227 unsigned int image_size, in bl1_fwu_image_copy() argument
279 image_size = desc->image_info.image_size; in bl1_fwu_image_copy()
280 assert(image_size != 0); in bl1_fwu_image_copy()
281 assert(desc->copied_size < image_size); in bl1_fwu_image_copy()
[all …]
/external/arm-trusted-firmware/drivers/arm/css/scp/
Dcss_bom_bootloader.c32 uint32_t image_size; member
104 int css_scp_boot_image_xfer(void *image, unsigned int image_size) in css_scp_boot_image_xfer() argument
113 if ((image_size == 0) || (image_size % 4 != 0)) { in css_scp_boot_image_xfer()
116 image_size); in css_scp_boot_image_xfer()
123 image_size -= sizeof(checksum); in css_scp_boot_image_xfer()
137 cmd_info_payload->image_size = image_size; in css_scp_boot_image_xfer()
175 cmd_data_payload->block_size = image_size; in css_scp_boot_image_xfer()
/external/tensorflow/tensorflow/python/keras/preprocessing/
Dimage_dataset.py42 image_size=(256, 256), argument
207 image_size=image_size,
226 image_size, argument
236 args = (image_size, num_channels, interpolation, smart_resize)
245 def load_image(path, image_size, num_channels, interpolation, argument
252 img = keras_image_ops.smart_resize(img, image_size,
255 img = image_ops.resize_images_v2(img, image_size, method=interpolation)
256 img.set_shape((image_size[0], image_size[1], num_channels))
Dimage_dataset_test.py107 directory, batch_size=5, image_size=(18, 18), labels=None)
127 directory, batch_size=8, image_size=(18, 18), label_mode='int')
136 directory, batch_size=8, image_size=(18, 18), label_mode='binary')
145 directory, batch_size=8, image_size=(18, 18), label_mode='categorical')
159 directory, batch_size=8, image_size=(18, 18), label_mode='int')
175 directory, batch_size=8, image_size=(18, 18), label_mode=None)
188 directory, batch_size=8, image_size=(18, 18), label_mode=None)
193 directory, batch_size=8, image_size=(18, 18), label_mode=None)
201 directory, batch_size=8, image_size=(18, 18), label_mode='int')
210 directory, batch_size=8, image_size=(18, 18), label_mode='categorical')
[all …]
/external/pdfium/core/fxcodec/gif/
Dcfx_lzwdecompressor_unittest.cpp86 uint32_t image_size = FX_ArraySize(image_data); in TEST() local
93 decompressor->Decode(nullptr, image_size, output_data, &output_size)); in TEST()
98 decompressor->Decode(image_data, image_size, nullptr, &output_size)); in TEST()
100 decompressor->Decode(image_data, image_size, output_data, nullptr)); in TEST()
105 decompressor->Decode(image_data, image_size, output_data, &output_size)); in TEST()
115 uint32_t image_size = FX_ArraySize(image_data); in TEST() local
124 decompressor->Decode(image_data, image_size, output_data, &output_size)); in TEST()
138 uint32_t image_size = FX_ArraySize(kImageData); in TEST() local
156 decompressor->Decode(kImageData, image_size, output_data, &output_size)); in TEST()
171 uint32_t image_size = FX_ArraySize(kImageData); in TEST() local
[all …]
/external/arm-trusted-firmware/plat/marvell/armada/common/mss/
Dmss_scp_bootloader.c129 uint32_t image_size, uint32_t ap_idx) in mss_ap_load_image() argument
164 ret = mss_image_load(single_img, image_size, in mss_ap_load_image()
181 uintptr_t single_img, uint32_t image_size) in load_img_to_cm3() argument
190 ret = mss_ap_load_image(single_img, image_size, ap_idx); in load_img_to_cm3()
219 ret = mss_image_load(single_img, image_size, in load_img_to_cm3()
238 ret = mg_image_load(single_img, image_size, cp_index); in load_img_to_cm3()
301 int scp_bootloader_transfer(void *image, unsigned int image_size) in scp_bootloader_transfer() argument
307 VERBOSE("Concatenated img size %d\n", image_size); in scp_bootloader_transfer()
309 if (image_size == 0) { in scp_bootloader_transfer()
311 image_size); in scp_bootloader_transfer()
/external/tensorflow/tensorflow/core/kernels/
Dbias_op_gpu.cu.cc67 int32 image_size) { in BiasNCHWKernel() argument
69 int32 index2 = index / image_size; in BiasNCHWKernel()
82 const int32 image_size = height * width * depth; in compute() local
83 const int32 total_count = batch * bias_size * image_size; in compute()
97 output, bias_size, image_size)); in compute()
118 int32 bias_size, int32 image_size) { in BiasGradNCHW_Naive() argument
120 int32 index2 = index / image_size; in BiasGradNCHW_Naive()
153 int32 batch, int32 bias_size, int32 image_size, int group_size) { in BiasGradNCHW_SharedAtomics() argument
167 int32 total_count = batch * image_size; in BiasGradNCHW_SharedAtomics()
171 int32 image_offset = index % image_size; in BiasGradNCHW_SharedAtomics()
[all …]
/external/dynamic_depth/includes/dynamic_depth/
Dimaging_model.h19 Dimension image_size; member
31 const Dimension& image_size) in ImagingModelParams()
33 image_size(image_size), in ImagingModelParams()
41 image_size == other.image_size &&
/external/pdfium/fpdfsdk/pwl/
Dcpwl_icon.cpp53 CFX_SizeF image_size = GetImageSize(); in GetScale() local
54 float fImageWidth = image_size.width; in GetScale()
55 float fImageHeight = image_size.height; in GetScale()
94 CFX_SizeF image_size = GetImageSize(); in GetImageOffset() local
95 float fImageWidth = image_size.width; in GetImageOffset()
96 float fImageHeight = image_size.height; in GetImageOffset()
/external/avb/libavb/
Davb_descriptor.c42 size_t image_size, in avb_descriptor_foreach() argument
67 if (image_size < sizeof(AvbVBMetaImageHeader)) { in avb_descriptor_foreach()
81 image_end = image_data + image_size; in avb_descriptor_foreach()
177 size_t image_size, in avb_descriptor_get_all() argument
183 image_data, image_size, count_descriptors, &num_descriptors); in avb_descriptor_get_all()
191 avb_descriptor_foreach(image_data, image_size, set_descriptors, &data); in avb_descriptor_get_all()
/external/arm-trusted-firmware/plat/hisilicon/hikey/
Dhisi_mcu.c48 uint32_t image_size; member
77 if ((head->image_size == 0) || in is_binary_header_invalid()
78 (head->image_size > length) || in is_binary_header_invalid()
92 (sec->src_offset + sec->size > head->image_size)) in is_binary_section_invalid()
157 int hisi_mcu_load_image(uintptr_t image_base, uint32_t image_size) in hisi_mcu_load_image() argument
164 if (is_binary_header_invalid(head, image_size)) { in hisi_mcu_load_image()
/external/dynamic_depth/internal/dynamic_depth/
Dimaging_model.cc33 Dimension image_size(0, 0); in ParseFields() local
41 !deserializer.ParseInt(prefix, kImageWidth, &image_size.width) || in ParseFields()
42 !deserializer.ParseInt(prefix, kImageHeight, &image_size.height)) { in ParseFields()
82 ImagingModelParams params(focal_length, image_size); in ParseFields()
140 Dimension ImagingModel::GetImageSize() const { return params_.image_size; } in GetImageSize()
171 std::to_string(params_.image_size.width)) || in Serialize()
174 std::to_string(params_.image_size.height)) || in Serialize()
/external/arm-trusted-firmware/plat/arm/common/
Darm_dyn_cfg.c157 image_info.image_size, hash_data); in arm_bl1_set_bl2_hash()
206 uint32_t image_size; in arm_bl2_dyn_cfg_init() local
237 image_size = dtb_info->config_max_size; in arm_bl2_dyn_cfg_init()
246 if (check_uptr_overflow(image_base, image_size)) { in arm_bl2_dyn_cfg_init()
273 cfg_mem_params->image_info.image_max_size = (uint32_t)image_size; in arm_bl2_dyn_cfg_init()
/external/avb/
Davbtool.py778 self.image_size = self._image.tell()
875 self.image_size = output_offset
1100 if size == self.image_size:
1104 if size < self.image_size:
1150 self.append_dont_care(size - self.image_size)
1393 (tag, num_bytes_following, self.dm_verity_version, self.image_size,
1425 self.image_size = 0
1450 o.write(' Image Size: {} bytes\n'.format(self.image_size))
1479 self.dm_verity_version, self.image_size,
1515 self.image_size, self.data_block_size, digest_size + digest_padding)
[all …]
Davbtool778 self.image_size = self._image.tell()
875 self.image_size = output_offset
1100 if size == self.image_size:
1104 if size < self.image_size:
1150 self.append_dont_care(size - self.image_size)
1393 (tag, num_bytes_following, self.dm_verity_version, self.image_size,
1425 self.image_size = 0
1450 o.write(' Image Size: {} bytes\n'.format(self.image_size))
1479 self.dm_verity_version, self.image_size,
1515 self.image_size, self.data_block_size, digest_size + digest_padding)
[all …]
/external/ImageMagick/coders/
Dclipboard.c183 image_size; in ReadCLIPBOARDImage() local
185 image_size=(unsigned int) p[20]; in ReadCLIPBOARDImage()
186 image_size|=(unsigned int) p[21] << 8; in ReadCLIPBOARDImage()
187 image_size|=(unsigned int) p[22] << 16; in ReadCLIPBOARDImage()
188 image_size|=(unsigned int) p[23] << 24; in ReadCLIPBOARDImage()
190 if (clip_size - offset - image_size == 12) in ReadCLIPBOARDImage()
/external/arm-trusted-firmware/drivers/brcm/
Dscp.c46 int download_scp_patch(void *image, unsigned int image_size) in download_scp_patch() argument
65 if (image_size < header_size) { in download_scp_patch()
87 if ((section_src_offset + section_size) > image_size) { in download_scp_patch()
/external/tensorflow/tensorflow/core/kernels/image/
Dadjust_contrast_op.cc207 const int64 image_size = height * width; in DoCompute() local
216 auto input_data = input->shaped<float, 3>({batch, image_size, channels}); in DoCompute()
218 auto output_data = output->shaped<float, 3>({batch, image_size, channels}); in DoCompute()
236 const int64 image_size = input.dimension(1); in ReduceMeanAcrossImage() local
243 const int64 plane_size = image_size * channels; in ReduceMeanAcrossImage()
253 int64 remaining_size = image_size; in ReduceMeanAcrossImage()
307 const float mean_scaling = 1.0f / image_size; in ReduceMeanAcrossImage()
321 int64 image_size = outputs.dimension(1); in BroadcastAcrossImage() local
354 while (copied < image_size) { in BroadcastAcrossImage()
359 int64 to_copy = std::min({copied, image_size - copied, kMaxToCopy}); in BroadcastAcrossImage()
/external/tensorflow/tensorflow/lite/kernels/
Dpooling_test.cc384 int image_size = 16; in TEST() local
387 /*input=*/{TensorType_UINT8, {1, image_size, image_size, 1}, 0, 16}, in TEST()
388 /*filter_width=*/image_size, in TEST()
389 /*filter_height=*/image_size, in TEST()
392 std::vector<float> input(image_size * image_size, 16.f); in TEST()
606 int image_size = 17; in TEST() local
609 /*input=*/{TensorType_UINT8, {1, image_size, image_size, 1}, 0, 16}, in TEST()
610 /*filter_width=*/image_size, in TEST()
611 /*filter_height=*/image_size, in TEST()
614 std::vector<float> input(image_size * image_size, 16.f); in TEST()

12345678