Searched refs:id3header (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
D | mp3reader.cpp | 213 uint8_t id3header[10]; in resync() local 214 int retVal = sourceReadAt(fp, *inout_pos, id3header, in resync() 215 sizeof(id3header)); in resync() 216 if (retVal < (ssize_t)sizeof(id3header)) { in resync() 222 if (memcmp("ID3", id3header, 3)) { in resync() 229 ((id3header[6] & 0x7f) << 21) in resync() 230 | ((id3header[7] & 0x7f) << 14) in resync() 231 | ((id3header[8] & 0x7f) << 7) in resync() 232 | (id3header[9] & 0x7f); in resync()
|
/frameworks/av/media/extractors/aac/ |
D | AACExtractor.cpp | 337 uint8_t id3header[10]; in Sniff() local 338 if (helper.readAt(pos, id3header, sizeof(id3header)) in Sniff() 339 < (ssize_t)sizeof(id3header)) { in Sniff() 343 if (memcmp("ID3", id3header, 3)) { in Sniff() 350 ((id3header[6] & 0x7f) << 21) in Sniff() 351 | ((id3header[7] & 0x7f) << 14) in Sniff() 352 | ((id3header[8] & 0x7f) << 7) in Sniff() 353 | (id3header[9] & 0x7f); in Sniff()
|
/frameworks/av/media/extractors/mp3/ |
D | MP3Extractor.cpp | 58 uint8_t id3header[10]; in Resync() local 59 if (source->readAt(*inout_pos, id3header, sizeof(id3header)) in Resync() 60 < (ssize_t)sizeof(id3header)) { in Resync() 66 if (memcmp("ID3", id3header, 3)) { in Resync() 73 ((id3header[6] & 0x7f) << 21) in Resync() 74 | ((id3header[7] & 0x7f) << 14) in Resync() 75 | ((id3header[8] & 0x7f) << 7) in Resync() 76 | (id3header[9] & 0x7f); in Resync()
|