Home
last modified time | relevance | path

Searched refs:hed (Results 1 - 3 of 3) sorted by relevance

/foundation/CastEngine/castengine_wifi_display/services/protocol/rtp/src/
H A Dadts.cpp22 void AdtsHeader::DumpAdtsHeader(const AdtsHeader &hed, uint8_t *out) in DumpAdtsHeader() argument
25 out[0] = ((hed.syncword_ >> 4) & 0xFF); // 8bit, 4:byte offset in DumpAdtsHeader()
26 out[1] = ((hed.syncword_ << 4) & 0xF0); // 4 bit, 4:byte offset in DumpAdtsHeader()
27 out[1] |= ((hed.id_ << 3) & 0x08); // 1 bit, 3:byte offset in DumpAdtsHeader()
28 out[1] |= ((hed.layer_ << 1) & 0x06); // 2bit in DumpAdtsHeader()
29 out[1] |= ((hed.protectionAbsent_) & 0x01); // 1 bit in DumpAdtsHeader()
30 out[2] = ((hed.profile_ << 6) & 0xC0); // 2 bit, 6:byte offset, 2:byte offset in DumpAdtsHeader()
31 out[2] |= ((hed.sfIndex_ << 2) & 0x3C); // 4bit, 2:byte offset in DumpAdtsHeader()
32 out[2] |= ((hed.privateBit_ << 1) & 0x02); // 1 bit, 2:byte offset in DumpAdtsHeader()
33 out[2] |= ((hed in DumpAdtsHeader()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtp/include/
H A Dadts.h32 static void DumpAdtsHeader(const AdtsHeader &hed, uint8_t *out);
/foundation/CastEngine/castengine_wifi_display/tests/unittest/protocol/rtp/
H A Drtp_unit_test.cpp87 const AdtsHeader hed; in HWTEST_F() local
89 AdtsHeader::DumpAdtsHeader(hed, out); in HWTEST_F()

Completed in 5 milliseconds