Searched defs:syncword (Results 1 - 3 of 3) sorted by relevance

/frameworks/wilhelm/src/android/
H A DAacBqToPcmCbRenderer.cpp43 SL_LOGE("AacBqToPcmCbRenderer::getAdtsFrameSize() returns 0 (can't read syncword or header)"
48 const uint8_t *syncword = data + offset; local
49 if ((syncword[0] != 0xff) || ((syncword[1] & 0xf6) != 0xf0)) {
50 SL_LOGE("AacBqToPcmCbRenderer::getAdtsFrameSize() returns 0 (wrong syncword)");
/frameworks/av/media/libstagefright/
H A DAACExtractor.cpp102 uint8_t syncword[2]; local
103 if (source->readAt(offset, &syncword, 2) != 2) {
106 if ((syncword[0] != 0xff) || ((syncword[1] & 0xf6) != 0xf0)) {
378 // ADTS syncword
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp52 const uint8_t *syncword = syncHeader; local
62 SL_LOGE("AacAdtsExtractor:: getFrameSize() returns %d (syncword and header read error)",
67 if ((syncword[0] != 0xff) || ((syncword[1] & 0xf6) != 0xf0)) {
68 SL_LOGE("AacAdtsExtractor:: getFrameSize() returns 0 (syncword pb)");
72 const uint8_t protectionAbsent = syncword[1] & 0x1;

Completed in 982 milliseconds