Home
last modified time | relevance | path

Searched refs:range_offset (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaBufferBase.h61 virtual size_t range_offset() const = 0;
102 mWrapper->range_offset = [](void *handle) -> size_t { in wrap()
103 return ((MediaBufferBase*)handle)->range_offset(); in wrap()
DMediaBuffer.h76 virtual size_t range_offset() const;
/frameworks/av/media/libstagefright/httplive/
DHTTPDownloader.cpp82 int64_t range_offset, int64_t range_length, in fetchBlock() argument
100 if (range_offset > 0 || range_length >= 0) { in fetchBlock()
106 range_offset, in fetchBlock()
109 range_offset + range_length - 1).c_str()).c_str())); in fetchBlock()
DHTTPDownloader.h56 int64_t range_offset, /* open file at range_offset */
DPlaylistFetcher.cpp1360 int64_t range_offset, range_length; in onDownloadNext() local
1361 if (!itemMeta->findInt64("range-offset", &range_offset) in onDownloadNext()
1363 range_offset = 0; in onDownloadNext()
1373 uri.c_str(), &buffer, range_offset, range_length, kDownloadBlockSize, in onDownloadNext()
/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp182 (const uint8_t *)buffer->data() + buffer->range_offset(); in StripStartcode()
186 buffer->range_offset() + 4, buffer->range_length() - 4); in StripStartcode()
532 (const uint8_t *)buffer->data() + buffer->range_offset(); in makeH264SPropParamSets()
582 (const uint8_t *)mediaBuf->data() + mediaBuf->range_offset(); in sendAVCData()
677 (const uint8_t *)mediaBuf->data() + mediaBuf->range_offset(); in sendH263Data()
748 (const uint8_t *)mediaBuf->data() + mediaBuf->range_offset(); in sendAMRData()
/frameworks/av/media/libstagefright/
DOggWriter.cpp312 || IsOpusHeader((uint8_t*)buffer->data() + buffer->range_offset(), in threadFunc()
321 GetOpusHeaderBuffers((uint8_t*)buffer->data() + buffer->range_offset(), in threadFunc()
372 op.packet = (uint8_t*)buffer->data() + buffer->range_offset(); in threadFunc()
DAMRWriter.cpp240 (const uint8_t *)buffer->data() + buffer->range_offset(), in threadFunc()
DSkipCutBuffer.cpp65 int32_t offset = buffer->range_offset(); in submit()
DMPEG2TSWriter.cpp263 + buffer->range_offset(), in appendAVCFrame()
332 (const uint8_t *)buffer->data() + buffer->range_offset(), in appendAACFrames()
390 + buffer->range_offset(), in onMessageReceived()
DAACWriter.cpp353 uint8_t *data = (uint8_t *)buffer->data() + buffer->range_offset(); in threadFunc()
DMPEG4Writer.cpp1507 writeOrPostError(mFd, (const uint8_t*)buffer->data() + buffer->range_offset(), in addSample_l()
1522 (const uint8_t *)buffer->data() + buffer->range_offset(); in StripStartcode()
1526 buffer->range_offset() + 4, buffer->range_length() - 4); in StripStartcode()
1531 const uint8_t *dataStart = (const uint8_t *)buffer->data() + buffer->range_offset(); in addMultipleLengthPrefixedSamples_l()
1549 buffer->set_range(buffer->range_offset() + currentNalOffset, in addMultipleLengthPrefixedSamples_l()
1563 writeOrPostError(mFd, (const uint8_t*)buffer->data() + buffer->range_offset(), length); in addLengthPrefixedSample_l()
1572 writeOrPostError(mFd, (const uint8_t*)buffer->data() + buffer->range_offset(), length); in addLengthPrefixedSample_l()
2262 uint8_t *data = (uint8_t *)buffer->data() + buffer->range_offset(); in isExifData()
3356 + buffer->range_offset(), in threadEntry()
3361 + buffer->range_offset(), in threadEntry()
[all …]
DSimpleDecodingSource.cpp320 memcpy(in_buffer->base(), (uint8_t *)in_buf->data() + in_buf->range_offset(), in doRead()
/frameworks/wilhelm/src/android/
Dandroid_AudioToCbRenderer.cpp70 + offset + mDecodeBuffer->range_offset(), in onRender()
/frameworks/av/media/libstagefright/webm/
DWebmFrame.cpp32 memcpy(abuf->data(), (uint8_t*) mbuf->data() + mbuf->range_offset(), mbuf->range_length()); in toABuffer()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp657 const uint8_t *data = (const uint8_t *)mbuf->data() + mbuf->range_offset(); in setWebmBlockCryptoInfo()
898 size_t offset = frame->range_offset(); in findMP3Header()
936 (const uint8_t*)frame->data() + frame->range_offset(), in mp3FrameRead()
939 start, frame->range_length(), frame->range_offset()); in mp3FrameRead()
954 frame->set_range(frame->range_offset() + start, frame->range_length() - start); in mp3FrameRead()
956 uint32_t header = *(uint32_t*)((uint8_t*)frame->data() + frame->range_offset()); in mp3FrameRead()
977 memcpy(data, (uint8_t*)(frame->data()) + frame->range_offset(), frame->range_length()); in mp3FrameRead()
992 size_t offset = frame->range_offset(); in mp3FrameRead()
1012 offset = frame->range_offset(); in mp3FrameRead()
1018 size_t offset = frame->range_offset(); in mp3FrameRead()
[all …]
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp655 uint8_t *data = (uint8_t *)buffer->data() + buffer->range_offset(); in getNumSamplesInPacket()
735 size_t range_offset() override { in range_offset() function in android::StandAloneMediaBuffer
1007 (const uint8_t *)buffer->data() + buffer->range_offset(); in getPacketBlockSize()
1061 (const uint8_t *)buffer->data() + buffer->range_offset(); in verifyOpusHeader()
1103 (uint8_t *)buffer->data() + buffer->range_offset(), in verifyOpusComments()
1188 (const uint8_t *)buffer->data() + buffer->range_offset(); in verifyHeader()
/frameworks/av/include/media/
DMediaExtractorPluginApi.h59 size_t (*range_offset)(void *handle); member
DMediaExtractorPluginHelper.h63 virtual size_t range_offset() { in range_offset() function
64 return mBuffer->range_offset(mBuffer->handle); in range_offset()
/frameworks/av/media/libstagefright/foundation/
DMediaBuffer.cpp133 size_t MediaBuffer::range_offset() const { in range_offset() function in android::MediaBuffer
/frameworks/av/cmds/stagefright/
DAudioPlayer.cpp599 (const char *)mInputBuffer->data() + mInputBuffer->range_offset(), in fillBuffer()
602 mInputBuffer->set_range(mInputBuffer->range_offset() + copy, in fillBuffer()
/frameworks/av/media/libmedia/include/media/
DIOMX.h211 OMX_U32 range_offset; member
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DConversion.h208 l.u.extended_buffer_data.range_offset; in wrapAs()
253 l->u.extended_buffer_data.range_offset = in wrapAs()
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h350 l.u.extended_buffer_data.range_offset; in wrapAs()
395 l->u.extended_buffer_data.range_offset = in wrapAs()
/frameworks/av/media/libmedia/
DIMediaSource.cpp366 size_t offset = buf->range_offset(); in onTransact()

12