Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/
H A Dstart_code_detector.h66 virtual uint8_t GetNalType(uint8_t firstByte, uint8_t secondByte) = 0;
190 uint8_t GetNalType(uint8_t, uint8_t secondByte) override;
H A Dstart_code_detector.cpp235 uint8_t StartCodeDetectorH266::GetNalType(uint8_t, uint8_t secondByte) in GetNalType() argument
237 … return (secondByte & 0b1111'1000) >> 3; // 3: The higher 5 bits of this byte indicate the NalType. in GetNalType()
/ohos5.0/foundation/communication/nfc/services/src/tag/
H A Dndef_wifi_data_parser.cpp62 unsigned char secondByte = KITS::NfcSdkCommon::GetByteFromHexStr(src, offset); in GetTypeFromPayload() local
65 return ((firstByte << shift) + secondByte) & WIFI_TYPE_TO_INT_MASK; in GetTypeFromPayload()
H A Dndef_bt_data_parser.cpp105 unsigned char secondByte = KITS::NfcSdkCommon::GetByteFromHexStr(payload, offset++); in GetBtDevClass() local
107 int devClass = (firstByte << (SHIFT_ONE_BYTE * 2)) + (secondByte << SHIFT_ONE_BYTE) + thirdByte; in GetBtDevClass()