Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dimage_utils.cpp77 constexpr uint8_t MOVE_BITS_8 = 8; variable
641 data = (bytes[offset] << MOVE_BITS_8) | bytes[offset + NUM_1]; in BytesToUint16()
643 data = (bytes[offset + NUM_1] << MOVE_BITS_8) | bytes[offset]; in BytesToUint16()
658 (bytes[offset + NUM_2] << MOVE_BITS_8) | (bytes[offset + NUM_3]); in BytesToUint32()
661 (bytes[offset + NUM_1] << MOVE_BITS_8) | bytes[offset]; in BytesToUint32()
676 (bytes[offset + NUM_2] << MOVE_BITS_8) | (bytes[offset + NUM_3]); in BytesToInt32()
679 (bytes[offset + NUM_1] << MOVE_BITS_8) | bytes[offset]; in BytesToInt32()
699 uint8_t BYTE_ONE = (data >> MOVE_BITS_8) & 0xFF; in Uint16ToBytes()
714 uint8_t BYTE_THREE = (data >> MOVE_BITS_8) & 0xFF; in Uint32ToBytes()