Home
last modified time | relevance | path

Searched refs:ImageChunk (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/tools/linux/Linux_SecurityAVB/scripts/
H A Davbtool559 class ImageChunk(object): class
691 if chunk_hdr_sz != struct.calcsize(ImageChunk.FORMAT):
708 header_bin = self._image.read(struct.calcsize(ImageChunk.FORMAT))
709 (chunk_type, _, chunk_sz, total_sz) = struct.unpack(ImageChunk.FORMAT,
711 data_sz = total_sz - struct.calcsize(ImageChunk.FORMAT)
713 if chunk_type == ImageChunk.TYPE_RAW:
718 self._chunks.append(ImageChunk(ImageChunk.TYPE_RAW,
726 elif chunk_type == ImageChunk.TYPE_FILL:
731 self._chunks.append(ImageChunk(ImageChunk.TYPE_FILL,
737 elif chunk_type == ImageChunk.TYPE_DONT_CARE:
[all …]
/OK3568_Linux_fs/u-boot/scripts/
H A Davbtool.py655 class ImageChunk(object): class
796 if chunk_hdr_sz != struct.calcsize(ImageChunk.FORMAT):
813 header_bin = self._image.read(struct.calcsize(ImageChunk.FORMAT))
814 (chunk_type, _, chunk_sz, total_sz) = struct.unpack(ImageChunk.FORMAT,
816 data_sz = total_sz - struct.calcsize(ImageChunk.FORMAT)
818 if chunk_type == ImageChunk.TYPE_RAW:
823 self._chunks.append(ImageChunk(ImageChunk.TYPE_RAW,
831 elif chunk_type == ImageChunk.TYPE_FILL:
836 self._chunks.append(ImageChunk(ImageChunk.TYPE_FILL,
842 elif chunk_type == ImageChunk.TYPE_DONT_CARE:
[all …]