/frameworks/av/media/extractors/mp4/ |
D | SampleTable.cpp | 195 if (U32_AT(header) != 0) { in setChunkOffsetParams() 200 mNumChunkOffsets = U32_AT(&header[4]); in setChunkOffsetParams() 238 if (U32_AT(header) != 0) { in setSampleToChunkParams() 243 mNumSampleToChunkOffsets = U32_AT(&header[4]); in setSampleToChunkParams() 298 if (U32_AT(buffer) < 1) { in setSampleToChunkParams() 304 mSampleToChunkEntries[i].startChunk = U32_AT(buffer) - 1; in setSampleToChunkParams() 305 mSampleToChunkEntries[i].samplesPerChunk = U32_AT(&buffer[4]); in setSampleToChunkParams() 306 mSampleToChunkEntries[i].chunkDesc = U32_AT(&buffer[8]); in setSampleToChunkParams() 332 if (U32_AT(header) != 0) { in setSampleSizeParams() 337 mDefaultSampleSize = U32_AT(&header[4]); in setSampleSizeParams() [all …]
|
D | MPEG4Extractor.cpp | 1524 if (U32_AT(buffer) != 0) { in parseChunk() 1529 uint32_t entry_count = U32_AT(&buffer[4]); in parseChunk() 1681 uint32_t sample_rate = U32_AT(&buffer[24]) >> 16; in parseChunk() 1696 U32_AT(buffer); // samples per packet in parseChunk() 1697 U32_AT(&buffer[4]); // bytes per packet in parseChunk() 1698 U32_AT(&buffer[8]); // bytes per frame in parseChunk() 1699 U32_AT(&buffer[12]); // bytes per sample in parseChunk() 1709 U32_AT(v2buffer); // size of struct only in parseChunk() 1711 num_channels = U32_AT(&v2buffer[12]); // num audio channels in parseChunk() 1712 U32_AT(&v2buffer[16]); // always 0x7f000000 in parseChunk() [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | ByteUtils.cpp | 28 uint32_t U32_AT(const uint8_t *ptr) { in U32_AT() function 33 return ((uint64_t)U32_AT(ptr)) << 32 | U32_AT(ptr + 4); in U64_AT()
|
/frameworks/av/media/libstagefright/timedtext/ |
D | TextDescriptions.cpp | 104 ssize_t chunkSize = U32_AT(tmpData); // size includes size and type in extract3GPPLocalDescriptions() 105 uint32_t chunkType = U32_AT(tmpData + 4); in extract3GPPLocalDescriptions() 173 int startTime = U32_AT(tmpData); in extract3GPPLocalDescriptions() 189 lastEndTime = U32_AT(tmpData); in extract3GPPLocalDescriptions() 380 ssize_t chunkSize = U32_AT(data); in extract3GPPGlobalDescriptions() 381 uint32_t chunkType = U32_AT(data + 4); in extract3GPPGlobalDescriptions() 398 parcel->writeInt32(U32_AT(tmpData)); in extract3GPPGlobalDescriptions() 460 size_t subChunkSize = U32_AT(tmpData); in extract3GPPGlobalDescriptions() 465 uint32_t subChunkType = U32_AT(tmpData + 4); in extract3GPPGlobalDescriptions()
|
/frameworks/av/media/extractors/mp3/ |
D | XINGSeeker.cpp | 93 int header = U32_AT(buffer);; in CreateFromSource() 132 uint32_t flags = U32_AT(buffer); in CreateFromSource() 142 int32_t frames = U32_AT(buffer); in CreateFromSource() 157 seeker->mSizeBytes = U32_AT(buffer); in CreateFromSource()
|
D | VBRISeeker.cpp | 51 uint32_t tmp = U32_AT(&header[0]); in CreateFromSource() 71 size_t numFrames = U32_AT(&vbriHeader[14]); in CreateFromSource() 133 numBytes = U32_AT(buffer + 4 * i); break; in CreateFromSource()
|
D | MP3Extractor.cpp | 136 uint32_t header = U32_AT(tmp); in Resync() 171 uint32_t test_header = U32_AT(tmp); in Resync() 546 uint32_t header = U32_AT((const uint8_t *)buffer->data()); in read()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
D | mp3reader.cpp | 36 static uint32_t U32_AT(const uint8_t *ptr) { in U32_AT() function 284 uint32_t header = U32_AT(tmp); in resync() 319 uint32_t test_header = U32_AT(tmp); in resync() 388 uint32_t header = U32_AT((const uint8_t *)buffer); in getFrame()
|
/frameworks/av/media/libstagefright/ |
D | MetaDataUtils.cpp | 249 picType = U32_AT(flac); in extractAlbumArt() 257 typeLen = U32_AT(&flac[4]); in extractAlbumArt() 285 descLen = U32_AT(&flac[8 + typeLen]); in extractAlbumArt() 291 dataLen = U32_AT(&flac[8 + typeLen + 4 + descLen + 16]); in extractAlbumArt()
|
D | ESDS.cpp | 216 mBitRateMax = U32_AT(mData + offset + 5); in parseDecoderConfigDescriptor() 217 mBitRateAvg = U32_AT(mData + offset + 9); in parseDecoderConfigDescriptor()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/fuzzer/ |
D | mp3_dec_fuzzer.cpp | 130 static uint32_t U32_AT(const uint8_t *ptr) { in U32_AT() function 141 uint32_t val = U32_AT(header + totalInSize); in checkHeader()
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | ByteUtils.h | 41 uint32_t U32_AT(const uint8_t *ptr);
|
/frameworks/av/media/libstagefright/id3/ |
D | ID3.cpp | 299 size_t extendedHeaderSize = U32_AT(&mData[0]); in parseV2() 322 size_t paddingSize = U32_AT(&mData[6]); in parseV2() 422 dataSize = U32_AT(&mData[offset + 4]); in removeUnsynchronizationV2_4() 814 baseSize = U32_AT(&mParent.mData[mOffset + 4]); in findFrame()
|
/frameworks/av/media/codec2/components/mp3/ |
D | C2SoftMp3Dec.cpp | 277 static uint32_t U32_AT(const uint8_t *ptr) { in U32_AT() function 289 if (!parseMp3Header(U32_AT(header + totalInSize), &frameSize, in calculateOutSize()
|
/frameworks/av/media/libstagefright/timedtext/test/ |
D | TimedTextUnitTest.cpp | 179 fontInfo.displayFlag = U32_AT(tmpData); in TEST_P()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.cpp | 1528 uint32_t header = U32_AT(data); in dequeueAccessUnitMPEGAudio()
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 1136 case 4: NALsize = U32_AT(srcPtr + srcOffset); break; in read()
|