Home
last modified time | relevance | path

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

123

/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/libvpx/libvpx/test/
Dadd_noise_test.cc45 const int image_size = width * height; in TEST_P() local
49 reinterpret_cast<uint8_t *>(vpx_calloc(image_size, sizeof(*s))); in TEST_P()
51 memset(s, 99, image_size * sizeof(*s)); in TEST_P()
58 for (int i = 0; i < image_size - 6 * width - 6; ++i) { in TEST_P()
70 memset(s, 255, image_size); in TEST_P()
76 for (int i = 0; i < image_size; ++i) { in TEST_P()
81 memset(s, 0, image_size); in TEST_P()
87 for (int i = 0; i < image_size; ++i) { in TEST_P()
97 const int image_size = width * height; in TEST_P() local
101 uint8_t *const s = reinterpret_cast<uint8_t *>(vpx_calloc(image_size, 1)); in TEST_P()
[all …]
/external/avb/libavb/
Davb_descriptor.c42 size_t image_size, in avb_descriptor_foreach() argument
62 if (image_size < sizeof(AvbVBMetaImageHeader)) { in avb_descriptor_foreach()
76 image_end = image_data + image_size; in avb_descriptor_foreach()
138 size_t image_size, in avb_descriptor_get_all() argument
144 image_data, image_size, count_descriptors, &num_descriptors); in avb_descriptor_get_all()
152 avb_descriptor_foreach(image_data, image_size, set_descriptors, &data); in avb_descriptor_get_all()
Davb_property_descriptor.c108 size_t image_size, in avb_property_lookup() argument
122 image_data, image_size, property_lookup_desc_foreach, &data) == 0) { in avb_property_lookup()
136 size_t image_size, in avb_property_lookup_uint64() argument
146 value = avb_property_lookup(image_data, image_size, key, key_size, NULL); in avb_property_lookup_uint64()
Davb_property_descriptor.h84 size_t image_size,
97 size_t image_size,
Davb_descriptor.h104 size_t image_size,
123 size_t image_size,
Davb_hash_descriptor.c43 dest->image_size = avb_be64toh(dest->image_size); in avb_hash_descriptor_validate_and_byteswap()
Davb_hashtree_descriptor.c44 dest->image_size = avb_be64toh(dest->image_size); in avb_hashtree_descriptor_validate_and_byteswap()
Davb_slot_verify.c119 image_buf = avb_malloc(hash_desc.image_size); in load_and_verify_hash_partition()
128 hash_desc.image_size, in load_and_verify_hash_partition()
139 if (part_num_read != hash_desc.image_size) { in load_and_verify_hash_partition()
149 avb_sha256_update(&sha256_ctx, image_buf, hash_desc.image_size); in load_and_verify_hash_partition()
156 avb_sha512_update(&sha512_ctx, image_buf, hash_desc.image_size); in load_and_verify_hash_partition()
199 loaded_partition->data_size = hash_desc.image_size; in load_and_verify_hash_partition()
Davb_hash_descriptor.h52 uint64_t image_size; member
/external/avb/
Davbtool538 self.image_size = self._image.tell()
635 self.image_size = output_offset
834 if size == self.image_size:
837 elif size < self.image_size:
883 self.append_dont_care(size - self.image_size)
1070 (tag, num_bytes_following, self.dm_verity_version, self.image_size,
1097 self.image_size = 0
1118 o.write(' Image Size: {} bytes\n'.format(self.image_size))
1147 self.dm_verity_version, self.image_size,
1195 (tag, num_bytes_following, self.image_size, self.hash_algorithm,
[all …]
/external/autotest/client/site_tests/autoupdate_CannedOmahaUpdate/
Dautoupdate_CannedOmahaUpdate.py96 def set_image_params(self, image_url, image_size, sha256, argument
104 self._image_size = image_size
122 def run_once(self, image_url, image_size, image_sha256, argument
131 image_size,
/external/avb/test/
Davb_unittest_util.h104 base::FilePath GenerateImage(const std::string file_name, size_t image_size) { in GenerateImage() argument
106 image.resize(image_size); in GenerateImage()
107 for (size_t n = 0; n < image_size; n++) { in GenerateImage()
111 EXPECT_EQ(image_size, in GenerateImage()
/external/vboot_reference/firmware/stub/
Dvboot_api_stub.c128 const uint8_t **image, int *image_size) in VbExEcGetExpectedRW() argument
132 *image_size = sizeof(fake_image); in VbExEcGetExpectedRW()
146 VbError_t VbExEcUpdateRW(int devidx, const uint8_t *image, int image_size) in VbExEcUpdateRW() argument
/external/webrtc/webrtc/modules/video_coding/
Dqm_select.cc98 uint32_t image_size = width * height; in GetImageType() local
99 if (image_size == kSizeOfImageType[kQCIF]) { in GetImageType()
101 } else if (image_size == kSizeOfImageType[kHCIF]) { in GetImageType()
103 } else if (image_size == kSizeOfImageType[kQVGA]) { in GetImageType()
105 } else if (image_size == kSizeOfImageType[kCIF]) { in GetImageType()
107 } else if (image_size == kSizeOfImageType[kHVGA]) { in GetImageType()
109 } else if (image_size == kSizeOfImageType[kVGA]) { in GetImageType()
111 } else if (image_size == kSizeOfImageType[kQFULLHD]) { in GetImageType()
113 } else if (image_size == kSizeOfImageType[kWHD]) { in GetImageType()
115 } else if (image_size == kSizeOfImageType[kFULLHD]) { in GetImageType()
/external/ImageMagick/coders/
Dtim.c127 image_size, in ReadTIMImage() local
234 image_size=2*width*height; in ReadTIMImage()
237 tim_data=(unsigned char *) AcquireQuantumMemory(image_size, in ReadTIMImage()
241 count=ReadBlob(image,image_size,tim_data); in ReadTIMImage()
242 if (count != (ssize_t) (image_size)) in ReadTIMImage()
Ddib.c90 image_size, member
512 dib_info.image_size=ReadBlobLSBLong(image); in ReadDIBImage()
1072 dib_info.image_size=bytes_per_line*image->rows; in WriteDIBImage()
1095 pixels=(unsigned char *) AcquireQuantumMemory(dib_info.image_size, in WriteDIBImage()
1099 (void) ResetMagickMemory(pixels,0,dib_info.image_size); in WriteDIBImage()
1253 dib_info.image_size=(size_t) EncodeImage(image,bytes_per_line, in WriteDIBImage()
1268 (void) WriteBlobLSBLong(image,(unsigned int) dib_info.image_size); in WriteDIBImage()
1315 (void) WriteBlob(image,dib_info.image_size,pixels); in WriteDIBImage()
Dbmp.c130 image_size, member
613 bmp_info.image_size=0; in ReadBMPImage()
636 bmp_info.image_size=ReadBlobLSBLong(image); in ReadBMPImage()
1688 bmp_info.image_size=(unsigned int) (bytes_per_line*image->rows); in WriteBMPImage()
1689 bmp_info.file_size+=bmp_info.image_size; in WriteBMPImage()
1712 pixel_info=AcquireVirtualMemory((size_t) bmp_info.image_size, in WriteBMPImage()
1717 (void) ResetMagickMemory(pixels,0,(size_t) bmp_info.image_size); in WriteBMPImage()
1927 bmp_info.file_size-=bmp_info.image_size; in WriteBMPImage()
1928 bmp_info.image_size=(unsigned int) EncodeImage(image,bytes_per_line, in WriteBMPImage()
1930 bmp_info.file_size+=bmp_info.image_size; in WriteBMPImage()
[all …]
Dicon.c128 image_size, member
392 icon_info.image_size=ReadBlobLSBLong(image); in ReadICONImage()
1070 icon_info.image_size=bytes_per_line*next->rows; in WriteICONImage()
1073 icon_info.size+=icon_info.image_size; in WriteICONImage()
1075 icon_info.file_size+=icon_info.image_size; in WriteICONImage()
1099 icon_info.image_size,sizeof(*pixels)); in WriteICONImage()
1105 (void) ResetMagickMemory(pixels,0,(size_t) icon_info.image_size); in WriteICONImage()
1269 (void) WriteBlobLSBLong(image,(unsigned int) icon_info.image_size); in WriteICONImage()
1310 (void) WriteBlob(image,(size_t) icon_info.image_size,pixels); in WriteICONImage()
/external/e2fsprogs/lib/ext2fs/
Dqcow2.c182 img.image_size = ext2fs_be64_to_cpu(hdr->size); in qcow2_write_raw_image()
210 if ((offset > img.image_size) || in qcow2_write_raw_image()
242 if (ext2fs_llseek(raw_fd, img.image_size - 1, SEEK_SET) < 0) { in qcow2_write_raw_image()
/external/pdfium/core/fpdfapi/render/
Dcpdf_imagerenderer.cpp392 FX_SAFE_SIZE_T image_size = m_pDIBSource->GetBPP(); in StartDIBSource() local
393 image_size /= 8; in StartDIBSource()
394 image_size *= m_pDIBSource->GetWidth(); in StartDIBSource()
395 image_size *= m_pDIBSource->GetHeight(); in StartDIBSource()
396 if (!image_size.IsValid()) in StartDIBSource()
399 if (image_size.ValueOrDie() > FPDF_HUGE_IMAGE_SIZE && in StartDIBSource()
/external/vboot_reference/tests/
Dvboot_api_kernel3_tests.c151 const uint8_t **image, int *image_size) in VbExEcGetExpectedRW() argument
155 *image_size = sizeof(fake_image); in VbExEcGetExpectedRW()
177 VbError_t VbExEcUpdateRW(int devidx, const uint8_t *image, int image_size) in VbExEcUpdateRW() argument
/external/autotest/client/cros/chameleon/
Dchameleon_screen_test.py75 def load_test_image(self, image_size, test_mirrored=None): argument
86 self._display_facade.load_calibration_image(image_size)
/external/pdfium/third_party/freetype/src/sfnt/
Dttsbit.c1140 FT_ULong image_size; in tt_sbit_decoder_load_image() local
1146 image_size = FT_NEXT_ULONG( p ); in tt_sbit_decoder_load_image()
1151 image_start = image_size * ( glyph_index - start ); in tt_sbit_decoder_load_image()
1152 image_end = image_start + image_size; in tt_sbit_decoder_load_image()
1206 FT_ULong image_size, mm, num_glyphs; in tt_sbit_decoder_load_image() local
1212 image_size = FT_NEXT_ULONG( p ); in tt_sbit_decoder_load_image()
1235 image_start = image_size * mm; in tt_sbit_decoder_load_image()
1236 image_end = image_start + image_size; in tt_sbit_decoder_load_image()
/external/freetype/src/sfnt/
Dttsbit.c1311 FT_ULong image_size; in tt_sbit_decoder_load_image() local
1317 image_size = FT_NEXT_ULONG( p ); in tt_sbit_decoder_load_image()
1322 image_start = image_size * ( glyph_index - start ); in tt_sbit_decoder_load_image()
1323 image_end = image_start + image_size; in tt_sbit_decoder_load_image()
1377 FT_ULong image_size, mm, num_glyphs; in tt_sbit_decoder_load_image() local
1383 image_size = FT_NEXT_ULONG( p ); in tt_sbit_decoder_load_image()
1406 image_start = image_size * mm; in tt_sbit_decoder_load_image()
1407 image_end = image_start + image_size; in tt_sbit_decoder_load_image()

123