Lines Matching refs:header
41 uint32_t header, size_t *frame_size, in parseHeader() argument
62 if ((header & 0xffe00000) != 0xffe00000) { in parseHeader()
66 unsigned version = (header >> 19) & 3; in parseHeader()
72 unsigned layer = (header >> 17) & 3; in parseHeader()
78 unsigned bitrate_index = (header >> 12) & 0x0f; in parseHeader()
85 unsigned sampling_rate_index = (header >> 10) & 3; in parseHeader()
99 unsigned padding = (header >> 9) & 1; in parseHeader()
182 int channel_mode = (header >> 6) & 3; in parseHeader()
284 uint32_t header = U32_AT(tmp); in resync() local
286 if (match_header != 0 && (header & kMask) != (match_header & kMask)) { in resync()
296 header, &frame_size, in resync()
321 if ((test_header & kMask) != (header & kMask)) { in resync()
339 *out_header = header; in resync()
363 uint32_t header; in init() local
364 bool success = resync(mFp, 0 /*match_header*/, &pos, &header); in init()
368 mFixedHeader = header; in init()
371 return parseHeader(header, &frame_size, &mSampleRate, in init()
388 uint32_t header = U32_AT((const uint8_t *)buffer); in getFrame() local
390 if ((header & kMask) == (mFixedHeader & kMask) in getFrame()
392 header, &frame_size, &sample_rate, NULL /*out_channels*/, in getFrame()