Searched refs:UINT32_BYTES_NUM (Results 1 – 11 of 11) sorted by relevance
35 if (indexSize == UINT32_BYTES_NUM) { in ParseExtents()44 if (offsetSize == UINT32_BYTES_NUM) { in ParseExtents()52 if (lengthSize == UINT32_BYTES_NUM) { in ParseExtents()87 if (baseOffsetSize == UINT32_BYTES_NUM) { in ParseContent()210 offsetSize_ = UINT32_BYTES_NUM; in InferFullBoxVersion()211 lengthSize_ = UINT32_BYTES_NUM; in InferFullBoxVersion()243 nSkip += (GetVersion() < HEIF_BOX_VERSION_TWO) ? UINT16_BYTES_NUM : UINT32_BYTES_NUM; in Write()245 nSkip += (GetVersion() < HEIF_BOX_VERSION_TWO) ? UINT16_BYTES_NUM : UINT32_BYTES_NUM; in Write()247 nSkip += UINT32_BYTES_NUM + baseOffsetSize_; in Write()
27 (GetBoxSize() - GetHeaderSize() - UINT32_BYTES_NUM - UINT32_BYTES_NUM) / UINT32_BYTES_NUM; in ParseContent()
87 int idSize = ((GetVersion() == HEIF_BOX_VERSION_ZERO) ? UINT16_BYTES_NUM : UINT32_BYTES_NUM); in Write()90 auto box_size = uint32_t(UINT32_BYTES_NUM + UINT32_BYTES_NUM + UINT16_BYTES_NUM + in Write()
95 writer.Skip(UINT32_BYTES_NUM); in ReserveHeader()170 headerSize_ += UINT32_BYTES_NUM; in ParseFullHeader()
28 uint64_t profileDataSize = GetBoxSize() - GetHeaderSize() - UINT32_BYTES_NUM; in ParseContent()
44 …writer.Write(boxVersion > HEIF_BOX_VERSION_ZERO ? UINT32_BYTES_NUM : UINT16_BYTES_NUM, children_.s… in Write()
121 if (!CheckSize(UINT32_BYTES_NUM)) { in Read32()124 uint8_t buf[UINT32_BYTES_NUM]; in Read32()126 bool success = stream->Read(buf, UINT32_BYTES_NUM); in Read32()231 CheckSize(UINT32_BYTES_NUM); in Write32()262 case UINT32_BYTES_NUM: { in Write()
877 content.resize(size + UINT32_BYTES_NUM); in SetExifMetadata()879 for (int index = 0; index < UINT32_BYTES_NUM; ++index) { in SetExifMetadata()882 if (memcpy_s(content.data() + UINT32_BYTES_NUM, size, data, size) != EOK) { in SetExifMetadata()897 content.resize(size + UINT32_BYTES_NUM); in UpdateExifMetadata()899 for (int index = 0; index < UINT32_BYTES_NUM; ++index) { in UpdateExifMetadata()903 if (memcpy_s(content.data() + UINT32_BYTES_NUM, size, data, size) != 0) { in UpdateExifMetadata()
32 const uint8_t UINT32_BYTES_NUM = 4; variable
184 heifWriter.Write(UINT32_BYTES_NUM, 0);
888 size_t lenSize = UINT32_BYTES_NUM; in FillLitePropertyItemByString()1157 … sizeof(PropertyType::AUX_TYPE) + UINT32_BYTES_NUM + auxTypeStr.length() + PLACE_HOLDER_LENGTH; in AssembleHeifAuxiliaryNoncodingMap()1205 … sizeof(PropertyType::AUX_TYPE) + UINT32_BYTES_NUM + auxTypeStr.length() + PLACE_HOLDER_LENGTH; in AssembleHeifUnrefocusMap()1268 … sizeof(PropertyType::AUX_TYPE) + UINT32_BYTES_NUM + auxTypeStr.length() + PLACE_HOLDER_LENGTH; in AssembleHeifFragmentMap()