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/libstagefright/ |
D | AACExtractor.cpp | 340 uint8_t id3header[10]; in SniffAAC() local 341 if (source->readAt(pos, id3header, sizeof(id3header)) in SniffAAC() 342 < (ssize_t)sizeof(id3header)) { in SniffAAC() 346 if (memcmp("ID3", id3header, 3)) { in SniffAAC() 353 ((id3header[6] & 0x7f) << 21) in SniffAAC() 354 | ((id3header[7] & 0x7f) << 14) in SniffAAC() 355 | ((id3header[8] & 0x7f) << 7) in SniffAAC() 356 | (id3header[9] & 0x7f); in SniffAAC()
|
D | MP3Extractor.cpp | 60 uint8_t id3header[10]; in Resync() local 61 if (source->readAt(*inout_pos, id3header, sizeof(id3header)) in Resync() 62 < (ssize_t)sizeof(id3header)) { in Resync() 68 if (memcmp("ID3", id3header, 3)) { in Resync() 75 ((id3header[6] & 0x7f) << 21) in Resync() 76 | ((id3header[7] & 0x7f) << 14) in Resync() 77 | ((id3header[8] & 0x7f) << 7) in Resync() 78 | (id3header[9] & 0x7f); in Resync()
|