Home
last modified time | relevance | path

Searched refs:setRange (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/av/media/libmedia/
DMediaCodecBuffer.cpp54 status_t MediaCodecBuffer::setRange(size_t offset, size_t size) { in setRange() function in android::MediaCodecBuffer
55 mBuffer->setRange(offset, size); in setRange()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerCCDecoder.cpp124 mDTVCCPacket->setRange(0, 0); in CCDecoder()
397 mDTVCCPacket->setRange(0, 0); in parseMPEGCCData()
400 mDTVCCPacket->setRange(0, mDTVCCPacket->size() + 2); in parseMPEGCCData()
405 mDTVCCPacket->setRange(0, mDTVCCPacket->size() + 2); in parseMPEGCCData()
434 line21CCBuf->setRange(0, 0); in parseMPEGCCData()
437 line21CCBuf->setRange(0, line21CCBuf->size() + sizeof(CCData)); in parseMPEGCCData()
445 mDTVCCPacket->setRange(0, 0); in parseMPEGCCData()
563 ccBuf->setRange(0, 0); in display()
568 ccBuf->setRange(0, ccBuf->size() + buf->size()); in display()
593 mDTVCCPacket->setRange(0, 0); in flush()
DNuPlayerDecoderPassThrough.cpp173 mAggregateBuffer->setRange(0, 0); // start empty in aggregateBuffer()
201 mAggregateBuffer->setRange(0, bigSize); in aggregateBuffer()
/frameworks/av/media/module/mpeg2ts/
DESQueue.cpp72 mBuffer->setRange(0, 0); in clear()
78 mScrambledBuffer->setRange(0, 0); in clear()
1173 buffer->setRange(0, mBuffer->size()); in appendData()
1175 buffer->setRange(0, 0); in appendData()
1182 mBuffer->setRange(0, mBuffer->size() + size); in appendData()
1219 buffer->setRange(0, mScrambledBuffer->size()); in appendScrambledData()
1221 buffer->setRange(0, 0); in appendScrambledData()
1227 mScrambledBuffer->setRange(0, mScrambledBuffer->size() + size); in appendScrambledData()
1284 mBuffer->setRange(0, leadingClearBytes - pesOffset); in dequeueScrambledAccessUnit()
1286 mBuffer->setRange(0, 0); in dequeueScrambledAccessUnit()
[all …]
DATSParser.cpp1104 newScrambledBuffer->setRange(0, mDescrambledBuffer->size()); in ensureBufferCapacity()
1106 newScrambledBuffer->setRange(0, 0); in ensureBufferCapacity()
1125 newBuffer->setRange(0, mBuffer->size()); in ensureBufferCapacity()
1127 newBuffer->setRange(0, 0); in ensureBufferCapacity()
1149 mBuffer->setRange(0, 0); in parse()
1209 mBuffer->setRange(0, mBuffer->size() + payloadSizeBits / 8); in parse()
1273 mBuffer->setRange(0, 0); in signalDiscontinuity()
1684 mDescrambledBuffer->setRange(0, mBuffer->size()); in flushScrambled()
1823 mBuffer->setRange(0, 0); in flush()
2589 newBuffer->setRange(0, mBuffer->size()); in append()
[all …]
/frameworks/av/media/libstagefright/tests/fuzzers/
DSkipCutBufferFuzzer.cpp44 s_buffer->setRange(range, length); in LLVMFuzzerTestOneInput()
58 a_buffer->setRange(range, length); in LLVMFuzzerTestOneInput()
/frameworks/base/core/java/android/widget/
DYearPickerView.java103 public void setRange(Calendar min, Calendar max) { in setRange() method in YearPickerView
104 mAdapter.setRange(min, max); in setRange()
124 public void setRange(Calendar minDate, Calendar maxDate) { in setRange() method in YearPickerView.YearAdapter
DDatePickerCalendarDelegate.java169 mYearPickerView.setRange(mMinDate, mMaxDate); in DatePickerCalendarDelegate()
448 mYearPickerView.setRange(mMinDate, mMaxDate); in setMinDate()
470 mYearPickerView.setRange(mMinDate, mMaxDate); in setMaxDate()
/frameworks/av/media/libstagefright/httplive/
DHTTPDownloader.cpp138 buffer->setRange(0, 0); in fetchBlock()
167 copy->setRange(0, buffer->size()); in fetchBlock()
205 buffer->setRange(0, buffer->size() + (size_t)n); in fetchBlock()
DPlaylistFetcher.cpp364 key->setRange(0, keyLen); in decryptBuffer()
499 buffer->setRange(buffer->offset(), buffer->size() - padding); in checkDecryptPadding()
1266 junk->setRange(0, 16); in initDownloadState()
1407 buffer->setRange(size - bytesRead, bytesRead); in onDownloadNext()
1411 buffer->setRange(0, size); in onDownloadNext()
1427 tsBuffer->setRange(0, 0); in onDownloadNext()
1431 tsBuffer->setRange(tsOff, tsSize); in onDownloadNext()
1433 tsBuffer->setRange(tsBuffer->offset(), tsBuffer->size() + bytesRead); in onDownloadNext()
1754 buffer->setRange(buffer->offset() + offset, buffer->size() - offset); in extractAndQueueAccessUnitsFromTs()
2059 buffer->setRange( in extractAndQueueAccessUnits()
DLiveDataSource.cpp124 buffer->setRange(buffer->offset() + copy, buffer->size() - copy); in readAt_l()
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp193 out->setRange(0, 0); in extractCodecSpecificData()
214 out->setRange(0, out->size() + length + 4); in extractCodecSpecificData()
237 out->setRange(0, out->size() + length + 4); in extractCodecSpecificData()
259 mBuffer->setRange(0, 0); in appendAVCFrame()
276 mBuffer->setRange(0, buffer->range_length()); in appendAVCFrame()
296 mBuffer->setRange(0, 0); in appendAACFrames()
337 mBuffer->setRange(0, ptr - mBuffer->data()); in appendAACFrames()
DSkipCutBuffer.cpp107 buffer->setRange(offset, buflen); in submitInternal()
121 buffer->setRange(0, copied); in submitInternal()
/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp569 buffer->setRange(0, 0); in setTMMBNInfo()
618 buffer->setRange(0, 0); in onSendSR()
719 buffer->setRange(buffer->offset(), buffer->size() + 28); in addSR()
768 buffer->setRange(buffer->offset(), buffer->size() + offset); in addSDES()
812 buffer->setRange(buffer->offset(), buffer->size() + 20); in addTMMBN()
972 buffer->setRange(0, 8); in sendBye()
1113 buffer->setRange(0, mediaBuf->range_length() + (12 + rtpExtIndex)); in sendHEVCData()
1200 buffer->setRange(0, 15 + rtpExtIndex + size); in sendHEVCData()
1300 buffer->setRange(0, mediaBuf->range_length() + (12 + rtpExtIndex)); in sendAVCData()
1384 buffer->setRange(0, 14 + rtpExtIndex + size); in sendAVCData()
[all …]
DARTPConnection.cpp520 buffer->setRange(0, 0); in onPollStreams()
527 buffer->setRange(0, 0); in onPollStreams()
534 buffer->setRange(0, 0); in onPollStreams()
574 buffer->setRange(0, 0); in onPollStreams()
661 buffer->setRange(0, nbytes); in receive()
848 buffer->setRange(payloadOffset, size - payloadOffset); in parseRTP()
1354 buffer->setRange(0, 0); in checkRxBitrate()
DARTPSource.cpp435 buffer->setRange(buffer->offset(), buffer->size() + (data[3] + 1) * sizeof(int32_t)); in addFIR()
517 buffer->setRange(buffer->offset(), buffer->size() + (data[3] + 1) * sizeof(int32_t)); in addReceiverReport()
563 buffer->setRange(buffer->offset(), buffer->size() + (data[3] + 1) * sizeof(int32_t)); in addTMMBR()
604 buffer->setRange(buffer->offset(), buffer->size() + (data[3] + 1) * sizeof(int32_t)); in addNACK()
DUDPPusher.cpp128 buffer->setRange(0, 8); in onMessageReceived()
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DABuffer.h41 void setRange(size_t offset, size_t size);
/frameworks/av/media/libmedia/include/media/
DMediaCodecBuffer.h54 virtual status_t setRange(size_t offset, size_t size);
/frameworks/av/media/module/foundation/
DABuffer.cpp68 void ABuffer::setRange(size_t offset, size_t size) { in setRange() function in android::ABuffer
Dbase64.cpp35 buf->setRange(0, bufSize); in decodeBase64()
/frameworks/av/media/codec2/sfplugin/tests/
DFrameReassembler_test.cpp74 buffer->setRange(0, inputFrameSizeInBytes); in testPushSameSize()
82 buffer->setRange(0, 0); in testPushSameSize()
/frameworks/av/media/codec2/sfplugin/
DFrameReassembler.cpp135 buffer->setRange(buffer->offset() + copySize, buffer->size() - copySize); in process()
168 buffer->setRange(buffer->offset() + copySize, buffer->size() - copySize); in process()
DCodec2Buffer.cpp80 setRange(0, 0); in copyLinear()
94 setRange(0, view.capacity()); in copyLinear()
120 setRange(0, buffer ? 1 : 0); in DummyContainerBuffer()
137 setRange(0, mBufferRef ? 1 : 0); in copy()
653 backBuffer->setRange(0, mBackBufferSize); in setBackBuffer()
966 setRange(0, 0); in copy()
981 setRange(0, aBuffer->size()); // align size info in copy()
/frameworks/av/media/module/extractors/mpeg2/
DMPEG2PSExtractor.cpp174 mBuffer->setRange(0, mBuffer->size()); in feedMore()
180 newBuffer->setRange(0, mBuffer->size()); in feedMore()
192 mBuffer->setRange(mBuffer->offset(), mBuffer->size() + n); in feedMore()
241 mBuffer->setRange(mBuffer->offset() + res, mBuffer->size() - res); in dequeueChunk()

123