Home
last modified time | relevance | path

Searched refs:U32_AT (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libstagefright/
DSampleTable.cpp184 if (U32_AT(header) != 0) { in setChunkOffsetParams()
189 mNumChunkOffsets = U32_AT(&header[4]); in setChunkOffsetParams()
222 if (U32_AT(header) != 0) { in setSampleToChunkParams()
227 mNumSampleToChunkOffsets = U32_AT(&header[4]); in setSampleToChunkParams()
244 CHECK(U32_AT(buffer) >= 1); // chunk index is 1 based in the spec. in setSampleToChunkParams()
247 mSampleToChunkEntries[i].startChunk = U32_AT(buffer) - 1; in setSampleToChunkParams()
248 mSampleToChunkEntries[i].samplesPerChunk = U32_AT(&buffer[4]); in setSampleToChunkParams()
249 mSampleToChunkEntries[i].chunkDesc = U32_AT(&buffer[8]); in setSampleToChunkParams()
275 if (U32_AT(header) != 0) { in setSampleSizeParams()
280 mDefaultSampleSize = U32_AT(&header[4]); in setSampleSizeParams()
[all …]
DXINGSeeker.cpp92 int header = U32_AT(buffer);; in CreateFromSource()
133 uint32_t flags = U32_AT(buffer); in CreateFromSource()
139 int32_t frames = U32_AT(buffer); in CreateFromSource()
153 seeker->mSizeBytes = U32_AT(buffer); in CreateFromSource()
DVBRISeeker.cpp50 uint32_t tmp = U32_AT(&header[0]); in CreateFromSource()
70 size_t numFrames = U32_AT(&vbriHeader[14]); in CreateFromSource()
117 numBytes = U32_AT(buffer + 4 * i); break; in CreateFromSource()
DAVIExtractor.cpp279 uint32_t firstHeader = U32_AT(mBuffer->data() + offset); in resync()
295 uint32_t header = U32_AT(mBuffer->data() + subsequentOffset); in resync()
337 uint32_t header = U32_AT(mBuffer->data()); in read()
434 uint32_t fourcc = U32_AT(tmp); in parseChunk()
458 uint32_t subFourcc = U32_AT(&tmp[8]); in parseChunk()
607 uint32_t type = U32_AT(data); in parseStreamHeader()
608 uint32_t handler = U32_AT(&data[4]); in parseStreamHeader()
782 uint32_t chunkType = U32_AT(data); in parseIndex()
1135 uint32_t chunkType = U32_AT(tmp); in getSampleInfo()
DMPEG4Extractor.cpp1251 if (U32_AT(buffer) != 0) { in parseChunk()
1256 uint32_t entry_count = U32_AT(&buffer[4]); in parseChunk()
1308 uint32_t sample_rate = U32_AT(&buffer[24]) >> 16; in parseChunk()
1593 if (U32_AT(buffer) != 0) { in parseChunk()
1696 if (U32_AT(buffer) != 0) { in parseChunk()
1758 mHeaderTimescale = U32_AT(&header[20]); in parseChunk()
1766 creationTime = U32_AT(&header[4]); in parseChunk()
1767 mHeaderTimescale = U32_AT(&header[12]); in parseChunk()
1768 uint32_t d32 = U32_AT(&header[16]); in parseChunk()
2151 id = U32_AT(&buffer[20]); in parseTrackHeader()
[all …]
DMP3Extractor.cpp138 uint32_t header = U32_AT(tmp); in Resync()
173 uint32_t test_header = U32_AT(tmp); in Resync()
525 uint32_t header = U32_AT((const uint8_t *)buffer->data()); in read()
DOggExtractor.cpp967 picType = U32_AT(flac); in extractAlbumArt()
974 typeLen = U32_AT(&flac[4]); in extractAlbumArt()
993 descLen = U32_AT(&flac[8 + typeLen]); in extractAlbumArt()
999 dataLen = U32_AT(&flac[8 + typeLen + 4 + descLen + 16]); in extractAlbumArt()
DUtils.cpp44 uint32_t U32_AT(const uint8_t *ptr) { in U32_AT() function
49 return ((uint64_t)U32_AT(ptr)) << 32 | U32_AT(ptr + 4); in U64_AT()
DDRMExtractor.cpp180 nalLength = U32_AT(data); in read()
/frameworks/av/media/libstagefright/timedtext/
DTextDescriptions.cpp97 ssize_t chunkSize = U32_AT(tmpData); in extract3GPPLocalDescriptions()
98 uint32_t chunkType = U32_AT(tmpData + 4); in extract3GPPLocalDescriptions()
149 int startTime = U32_AT(tmpData); in extract3GPPLocalDescriptions()
159 lastEndTime = U32_AT(tmpData); in extract3GPPLocalDescriptions()
290 ssize_t chunkSize = U32_AT(data); in extract3GPPGlobalDescriptions()
291 uint32_t chunkType = U32_AT(data + 4); in extract3GPPGlobalDescriptions()
307 parcel->writeInt32(U32_AT(tmpData)); in extract3GPPGlobalDescriptions()
/frameworks/av/include/media/stagefright/
DUtils.h34 uint32_t U32_AT(const uint8_t *ptr);
/frameworks/av/media/libstagefright/id3/
DID3.cpp237 size_t extendedHeaderSize = U32_AT(&mData[0]) + 4; in parseV2()
253 size_t paddingSize = U32_AT(&mData[6]); in parseV2()
337 dataSize = U32_AT(&mData[offset + 4]); in removeUnsynchronizationV2_4()
671 baseSize = U32_AT(&mParent.mData[mOffset + 4]); in findFrame()
/frameworks/av/media/libstagefright/foundation/
DANetworkSession.cpp44 static uint32_t U32_AT(const uint8_t *ptr) { in U32_AT() function
49 return ((uint64_t)U32_AT(ptr)) << 32 | U32_AT(ptr + 4); in U64_AT()
484 mask = U32_AT(&data[offset]); in readMore()
/frameworks/av/media/libstagefright/wifi-display/rtp/
DRTPSender.cpp475 mLastRTPTime = U32_AT(buffer->data() + 4); in sendRTPPacket()
703 uint32_t srcId = U32_AT(&data[8]); in parseTSFB()
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp629 case 4: NALsize = U32_AT(srcPtr + srcOffset); break; in read()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp910 uint32_t header = U32_AT(data); in dequeueAccessUnitMPEGAudio()