Home | History | Annotate | Download | only in util

Lines Matching defs:header

28 // ADTS header size is 7, but frame size information ends on byte 6 (when counting from byte 1)
54 const uint8_t *header = syncHeader + 3;
63 SL_LOGE("AacAdtsExtractor:: getFrameSize() returns %d (syncword and header read error)",
75 frameSize = (header[0] & 0x3) << 11 | header[1] << 3 | header[2] >> 5;
76 // the frame size read already contains the size of the ADTS header, so no need to add it here
108 uint8_t profile, sf_index, channel, header[2];
109 ssize_t readSize = mDataSource->readAt(2, &header, 2);
115 profile = (header[0] >> 6) & 0x3;
116 sf_index = (header[0] >> 2) & 0xf;
123 channel = (header[0] & 0x1) << 2 | (header[1] >> 6);