Home
last modified time | relevance | path

Searched refs:UINT32_BYTES_NUM (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/
H A Ditem_data_box.cpp35 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()
H A Dbasic_box.cpp27 (GetBoxSize() - GetHeaderSize() - UINT32_BYTES_NUM - UINT32_BYTES_NUM) / UINT32_BYTES_NUM; in ParseContent()
H A Ditem_ref_box.cpp87 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()
H A Dheif_box.cpp95 writer.Skip(UINT32_BYTES_NUM); in ReserveHeader()
170 headerSize_ += UINT32_BYTES_NUM; in ParseFullHeader()
H A Ditem_property_color_box.cpp28 uint64_t profileDataSize = GetBoxSize() - GetHeaderSize() - UINT32_BYTES_NUM; in ParseContent()
H A Ditem_info_box.cpp44 …writer.Write(boxVersion > HEIF_BOX_VERSION_ZERO ? UINT32_BYTES_NUM : UINT16_BYTES_NUM, children_.s… in Write()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/
H A Dheif_stream.cpp121 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()
H A Dheif_parser.cpp877 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()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/heif_parser/
H A Dheif_constant.h32 const uint8_t UINT32_BYTES_NUM = 4; variable
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dheif_parser_test.cpp184 heifWriter.Write(UINT32_BYTES_NUM, 0);
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_encoder.cpp888 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()