Home
last modified time | relevance | path

Searched refs:image_header (Results 1 – 14 of 14) sorted by relevance

/external/ImageMagick/coders/
Dtim2.c695 image_header; in ReadTIM2Image() local
697 ReadTIM2ImageHeader(image,&image_header); in ReadTIM2Image()
698 if (image_header.mipmap_count != 1) in ReadTIM2Image()
700 if (image_header.header_size < 48) in ReadTIM2Image()
702 if ((MagickSizeType) image_header.image_size > GetBlobSize(image)) in ReadTIM2Image()
704 if ((MagickSizeType) image_header.clut_size > GetBlobSize(image)) in ReadTIM2Image()
706 image->columns=image_header.width; in ReadTIM2Image()
707 image->rows=image_header.height; in ReadTIM2Image()
709 if (image_header.clut_type !=0) in ReadTIM2Image()
711 switch((int) image_header.clut_type&0x0F) /* Low 4 bits */ in ReadTIM2Image()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dfreefs.c45 if (fs->image_header) in ext2fs_free()
46 ext2fs_free_mem(&fs->image_header); in ext2fs_free()
Dopenfs.c185 &fs->image_header); in ext2fs_open2()
190 fs->image_header); in ext2fs_open2()
193 if (ext2fs_le32_to_cpu(fs->image_header->magic_number) != EXT2_ET_MAGIC_E2IMAGE) in ext2fs_open2()
196 block_size = ext2fs_le32_to_cpu(fs->image_header->fs_blocksize); in ext2fs_open2()
Dtst_fs_struct.c64 check_field(image_header); in main()
Drw_bitmaps.c267 blk = (ext2fs_le32_to_cpu(fs->image_header->offset_inodemap) / fs->blocksize); in read_bitmaps()
284 blk = (ext2fs_le32_to_cpu(fs->image_header->offset_blockmap) / in read_bitmaps()
Dinode.c787 block_nr = ext2fs_le32_to_cpu(fs->image_header->offset_inode) / fs->blocksize; in ext2fs_read_inode2()
Dext2fs.h252 struct ext2_image_hdr * image_header; member
/external/avb/
Daftltool_test.py515 self.assertIsInstance(d.image_header, aftltool.AftlImageHeader)
516 self.assertEqual(d.image_header.icp_count, 0)
522 self.assertIsInstance(d.image_header, aftltool.AftlImageHeader)
523 self.assertEqual(d.image_header.icp_count, 2)
535 self.assertEqual(d.image_header.icp_count, 1)
541 self.assertEqual(d.image_header.icp_count, 2)
616 old_magic = d.image_header.magic
617 d.image_header.magic = b'YOLO'
619 d.image_header.magic = old_magic
623 old_icp_count = d.image_header.icp_count
[all …]
Daftltool1329 self.image_header = AftlImageHeader(image_header_bytes)
1330 if not self.image_header.is_valid():
1332 icp_count = self.image_header.icp_count
1340 self.image_header.icp_count = 0
1351 self.image_header = AftlImageHeader()
1363 self.image_header.icp_count += 1
1364 self.image_header.aftl_image_size += icp_entry.get_expected_size()
1408 aftl_image.extend(self.image_header.encode())
1419 if not self.image_header.is_valid():
1422 if self.image_header.icp_count != len(self.icp_entries):
[all …]
Daftltool.py1329 self.image_header = AftlImageHeader(image_header_bytes)
1330 if not self.image_header.is_valid():
1332 icp_count = self.image_header.icp_count
1340 self.image_header.icp_count = 0
1351 self.image_header = AftlImageHeader()
1363 self.image_header.icp_count += 1
1364 self.image_header.aftl_image_size += icp_entry.get_expected_size()
1408 aftl_image.extend(self.image_header.encode())
1419 if not self.image_header.is_valid():
1422 if self.image_header.icp_count != len(self.icp_entries):
[all …]
Davbtool.py2940 (_, image_header, _, _) = self._parse_image(ImageHandler(
2943 image_header.required_libavb_version_minor)
Davbtool2940 (_, image_header, _, _) = self._parse_image(ImageHandler(
2943 image_header.required_libavb_version_minor)
/external/avb/libavb_aftl/
Davb_aftl_util.c807 AftlImageHeader* image_header; in parse_aftl_image() local
818 image_header = (AftlImageHeader*)aftl_blob; in parse_aftl_image()
820 if (image_header->magic != AVB_AFTL_MAGIC) { in parse_aftl_image()
825 image_size = avb_be32toh(image_header->image_size); in parse_aftl_image()
/external/e2fsprogs/misc/
De2image.c1455 seek_set(fd, ext2fs_le32_to_cpu(fs->image_header->offset_inode)); in install_image()