Searched refs: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/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp53 const uint8_t *syncword = syncHeader; local
63 SL_LOGE("AacAdtsExtractor:: getFrameSize() returns %d (syncword and header read error)",
68 if ((syncword[0] != 0xff) || ((syncword[1] & 0xf6) != 0xf0)) {
69 SL_LOGE("AacAdtsExtractor:: getFrameSize() returns 0 (syncword pb)");
73 const uint8_t protectionAbsent = syncword[1] & 0x1;
/frameworks/av/media/extractors/aac/
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)) {
371 // ADTS syncword

Completed in 688 milliseconds