Home
last modified time | relevance | path

Searched refs:set_range (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaBufferBase.h64 virtual void set_range(size_t offset, size_t length) = 0;
110 mWrapper->set_range = [](void *handle, size_t offset, size_t length) -> void { in wrap()
111 return ((MediaBufferBase*)handle)->set_range(offset, length); in wrap()
DMediaBuffer.h79 virtual void set_range(size_t offset, size_t length);
/frameworks/av/media/module/foundation/
DMediaBuffer.cpp141 void MediaBuffer::set_range(size_t offset, size_t length) { in set_range() function in android::MediaBuffer
157 set_range(0, mSize); in reset()
/frameworks/av/media/module/extractors/wav/
DWAVExtractor.cpp513 buffer->set_range(0, n); in read()
522 buffer->set_range(0, 4 * numSamples); in read()
539 buffer->set_range(0, 2 * numSamples); in read()
560 buffer->set_range(0, 2 * numSamples); in read()
/frameworks/av/media/libstagefright/
DSkipCutBuffer.cpp74 buffer->set_range(offset, buflen); in submit()
88 buffer->set_range(0, copied); in submit()
DJPEGSource.cpp133 buffer->set_range(0, n); in read()
DAudioSource.cpp434 lostAudioBuffer->set_range(0, bufferSize); in onMoreData()
447 buffer->set_range(0, audioBuffer.size()); in onMoreData()
DMediaMuxer.cpp237 mediaBuffer->set_range(buffer->offset(), buffer->size()); in writeSampleData()
/frameworks/av/media/libstagefright/tests/fuzzers/
DSkipCutBufferFuzzer.cpp50 m_buffer->set_range(range, length); in LLVMFuzzerTestOneInput()
DFuzzerMediaUtility.h44 mbb->set_range(offset, length); in read()
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DVideoSource.h72 (*buffer)->set_range(0, mSize); in read()
/frameworks/av/cmds/stagefright/
DSineSource.cpp100 buffer->set_range(0, numFramesPerBuffer * frameSize); in read()
Drecordvideo.cpp114 (*buffer)->set_range(0, mSize); in read()
Drecord.cpp98 (*buffer)->set_range(0, mSize);
/frameworks/av/media/libstagefright/tests/writer/
DWriterUtility.cpp56 mediaBuffer->set_range(buffer->offset(), buffer->size()); in sendBuffersToWriter()
/frameworks/av/include/media/
DMediaExtractorPluginApi.h61 void (*set_range)(void *handle, size_t offset, size_t length); member
DMediaExtractorPluginHelper.h71 virtual void set_range(size_t offset, size_t length) { in set_range() function
72 mBuffer->set_range(mBuffer->handle, offset, length); in set_range()
/frameworks/av/media/module/extractors/mkv/
DMatroskaExtractor.cpp732 mbuf->set_range(frameOffset, mbuf->range_length() - frameOffset); in setWebmBlockCryptoInfo()
755 mbuf->set_range(9, mbuf->range_length() - 9); in setWebmBlockCryptoInfo()
775 mbuf->set_range(1, mbuf->range_length() - 1); in setWebmBlockCryptoInfo()
809 mbuf->set_range(0, len); in readBlock()
960 frame->set_range(frame->range_offset() + start, frame->range_length() - start); in mp3FrameRead()
977 buffer->set_range(0, frame_size); in mp3FrameRead()
1022 frame->set_range(offset + needSize, size - needSize); in mp3FrameRead()
1027 frame->set_range(offset + frame_size, size - frame_size); in mp3FrameRead()
1201 buffer->set_range(0, dstSize); in read()
/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp269 buffer->set_range(0, frameSizeWithoutHeader); in read()
/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp355 buffer->set_range( in StripStartcode()
409 buffer->set_range(buffer->range_offset() + targetSize + SPCSize, in SpsPpsParser()
417 buffer->set_range(buffer->range_offset() + bufferSize, 0); in SpsPpsParser()
471 buffer->set_range(buffer->range_offset() + targetSize + SPCSize, in VpsSpsPpsParser()
479 buffer->set_range(buffer->range_offset() + bufferSize, 0); in VpsSpsPpsParser()
/frameworks/av/media/module/extractors/ogg/
DOggExtractor.cpp798 void set_range(size_t offset, size_t length) override { in set_range() function in android::StandAloneMediaBuffer
864 tmp->set_range(0, buffer->range_length()); in _readNextPacket()
867 tmp->set_range(0, 0); in _readNextPacket()
883 buffer->set_range(0, fullSize); in _readNextPacket()
/frameworks/av/media/module/extractors/midi/
DMidiExtractor.cpp269 buffer->set_range(0, numBytesOutput); in readBuffer()
/frameworks/av/media/module/extractors/amr/
DAMRExtractor.cpp365 buffer->set_range(0, frameSize); in read()
/frameworks/av/media/module/extractors/aac/
DAACExtractor.cpp328 buffer->set_range(0, frameSizeWithoutHeader); in read()
/frameworks/av/media/libstagefright/writer_fuzzers/
DWriterFuzzerBase.cpp218 mediaBuffer->set_range(buffer->offset(), buffer->size()); in sendBuffersToWriter()

12