/frameworks/av/camera/ndk/impl/ |
H A D | ACameraDevice.cpp | 665 for (auto it = mFutureErrorSet.begin(); it != mFutureErrorSet.end();) { 666 int64_t errorFrameNumber = *it; 669 it = mFutureErrorSet.erase(it); 671 // This should not happen, but deal with it anyway 673 // erase the old error since it's no longer useful 674 it = mFutureErrorSet.erase(it); 690 auto it local 1071 auto it = mSequenceLastFrameNumberMap.begin(); local 1252 auto it = dev->mSequenceCallbackMap.find(sequenceId); local 1310 auto it = dev->mSequenceCallbackMap.find(sequenceId); local [all...] |
/frameworks/av/include/media/ |
H A D | VolumeShaper.h | 244 for (auto it = this->begin(); it != this->end(); ++it) { 245 if (!(it->second <= MAX_LOG_VOLUME) /* handle nan */) { 246 it->second = MAX_LOG_VOLUME; 250 for (auto it = this->begin(); it != this->end(); ++it) { 251 if (!(it->second >= MIN_LINEAR_VOLUME) /* handle nan */) { 252 it 842 auto it = findId_l(id); local 896 auto it = findId_l(id); local 1001 std::list<VolumeShaper>::iterator it = mVolumeShapers.begin(); local [all...] |
/frameworks/av/media/libmedia/ |
H A D | IOMX.cpp | 576 for (List<ComponentInfo>::iterator it = list.begin(); 577 it != list.end(); ++it) { 578 ComponentInfo &cur = *it; 706 // the buffer says it's bigger than it actually is 988 std::list<omx_message>::const_iterator it = messages.cbegin(); local 993 while (it != messages.cend()) { 994 const omx_message &msg = *it++;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.cpp | 51 #Use deep buffer for PCM data with video (it is generally enabled for audio-only) 235 // get playback settings used by audiosink, as it may be 343 // MediaClock has not started yet. Try to start it if possible. 563 // Let's give it more data after about half that time 930 List<QueueEntry>::iterator it = mAudioQueue.begin(), itEOS = it; local 932 while (it != mAudioQueue.end()) { 934 QueueEntry *entry = &*it++; 937 itEOS = it; 944 for (it [all...] |
/frameworks/av/media/libnbaio/ |
H A D | NBLog.cpp | 39 // FIXME This is too slow, despite the name it is used during writing 59 NBLog::FormatEntry::FormatEntry(const NBLog::FormatEntry::iterator &it) : FormatEntry(it.ptr) {} argument 70 auto it = begin(); local 72 ++it; 74 ++it; 76 if (it->type == EVENT_AUTHOR) { 77 ++it; 79 return it; 83 auto it local 90 auto it = begin(); local 104 auto it = begin(); local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 167 for (std::list<omx_message>::const_iterator it = messages.cbegin(); 168 it != messages.cend(); ++it) { 169 const omx_message &omx_msg = *it; 893 // don't modify bufSize as OMX may not expect it to increase after negotiation 1444 for (std::list<FrameRenderTracker::Info>::const_iterator it = done.cbegin(); 1445 it != done.cend(); ++it) { 1446 ssize_t index = it->getIndex(); 1488 // Since consumers can attach buffers to BufferQueues, it i 4755 List<sp<AMessage> >::iterator it = queue.begin(); local 7349 VendorExtensionIterator(const VendorExtensionIterator &it) argument [all...] |
H A D | AudioSource.cpp | 152 List<MediaBuffer *>::iterator it; local 154 it = mBuffersReceived.begin(); 155 (*it)->release(); 156 mBuffersReceived.erase(it);
|
H A D | CameraSource.cpp | 165 ALOGE("Uknown color format (%s), please add it to " 507 * Initialize the CameraSource to so that it becomes 516 * if it is -1, use the current camera frame rate setting. 1016 List<sp<IMemory> >::iterator it; local 1018 it = mFramesReceived.begin(); 1019 releaseRecordingFrame(*it); 1020 mFramesReceived.erase(it); 1036 for (List<sp<IMemory> >::iterator it = mFramesBeingEncoded.begin(); 1037 it != mFramesBeingEncoded.end(); ++it) { [all...] |
H A D | MP3Extractor.cpp | 302 // While it is safe to send the XING/VBRI frame to the decoder, this will 639 ID3::Iterator *it = new ID3::Iterator(id3, kMap[i].tag1); local 640 if (it->done()) { 641 delete it; 642 it = new ID3::Iterator(id3, kMap[i].tag2); 645 if (it->done()) { 646 delete it; 651 it->getString(&s); 652 delete it;
|
H A D | MPEG4Extractor.cpp | 604 // Reads an encoded integer 7 bits at a time until it encounters the high bit clear. 854 // not allowed for non-toplevel atoms, skip it 1539 // The video sample is not standard-compliant if it has invalid dimension. 1653 // A resolution was specified, check that it's not too big. The values below 1994 // If it's not, let's assume this is one of those 1997 // in the MPEG4 specs and skip it. 2165 // for a practical reason as various MPEG4 containers use it. 2366 // Skip this index, it refers to the minorVersion, 2957 // it to see if its something we are interested in. Whether or not 3226 ID3::Iterator *it local [all...] |
H A D | MPEG4Writer.cpp | 151 typename List<TYPE *>::iterator it = mTableEntryList.begin(); local 152 delete[] (*it); 153 mTableEntryList.erase(it); 164 typename List<TYPE *>::iterator it = mTableEntryList.begin(); local 166 while (it != mTableEntryList.end() && iterations > 0) { 167 ++it; 170 CHECK(it != mTableEntryList.end()); 173 (*it)[(pos % (mElementCapacity * ENTRY_SIZE))] = value; 185 typename List<TYPE *>::iterator it = mTableEntryList.begin(); local 187 while (it ! 433 List<Track *>::iterator it = mTracks.begin(); local 1920 List<MediaBuffer *>::iterator it = chunk->mSamples.begin(); local [all...] |
H A D | MediaCodecSource.cpp | 88 // buffer from front of the queue, place it into *|buffer| and return true. 608 for (List<MediaBuffer*>::iterator it = output->mBufferQueue.begin(); 609 it != output->mBufferQueue.end(); it++) { 610 (*it)->release(); 628 List<sp<AReplyToken>>::iterator it; local 629 for (it = mStopReplyIDQueue.begin(); 630 it != mStopReplyIDQueue.end(); it++) { 631 (new AMessage)->postReply(*it); [all...] |
H A D | NuCachedSource2.cpp | 77 List<Page *>::iterator it = list->begin(); local 78 while (it != list->end()) { 79 Page *page = *it; 85 ++it; 91 List<Page *>::iterator it = mFreePages.begin(); local 92 Page *page = *it; 93 mFreePages.erase(it); 119 List<Page *>::iterator it = mActivePages.begin(); local 121 Page *page = *it; 127 mActivePages.erase(it); 149 List<Page *>::iterator it = mActivePages.begin(); local [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/ |
H A D | SoftMPEG4.cpp | 128 List<BufferInfo *>::iterator it = outQueue.begin(); local 129 while ((*it)->mHeader != outHeader) { 130 ++it; 133 BufferInfo *outInfo = *it; 135 outQueue.erase(it); 276 // The PV decoder is lying to us, sometimes it'll claim to only have 277 // consumed a subset of the buffer when it clearly consumed all of it. 278 // ignore whatever it says... 318 List<BufferInfo *>::iterator it local [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | AAtomizer.cpp | 43 List<AString>::iterator it = entry.begin(); local 44 while (it != entry.end()) { 45 if ((*it) == name) { 46 return (*it).c_str(); 48 ++it;
|
H A D | ALooper.cpp | 74 // clean up stale AHandlers. Doing it here instead of in the destructor avoids 178 List<Event>::iterator it = mEventQueue.begin(); local 179 while (it != mEventQueue.end() && (*it).mWhenUs <= whenUs) { 180 ++it; 187 if (it == mEventQueue.begin()) { 191 mEventQueue.insert(it, event);
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 122 List<BandwidthEntry>::iterator it = mBandwidthHistory.begin(); local 125 if (nowUs - it->mTimestampUs < kMaxBandwidthHistoryAgeUs && 126 mTotalTransferTimeUs - it->mDelayUs < bandwidthHistoryWindowUs) { 129 mTotalTransferTimeUs -= it->mDelayUs; 130 mTotalTransferBytes -= it->mNumBytes; 164 List<BandwidthEntry>::iterator it = --mBandwidthHistory.end(); local 165 for (size_t i = 0; i < kShortTermBandwidthItems; i++, it--) { 166 totalTimeUs += it->mDelayUs; 167 totalBytes += it->mNumBytes; 177 List<int32_t>::iterator it; local [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ATSParser.cpp | 60 // Pass to appropriate stream according to pid, and set event if it's a PES 227 // Feed the payload into mQueue and if a packet is identified, queue it 410 Vector<int32_t>::iterator it = newPIDs.begin(); local 412 // change the PID of the stream, and add it back 413 temp.editValueAt(i)->setPID(*it); 417 newPIDs.erase(it); 627 // Clamp it to 0 as rest of the pipeline doesn't take negative pts. 1334 for (auto it = mSubSamples.begin(); it != mSubSamples.end(); it [all...] |
H A D | AnotherPacketSource.cpp | 99 List<sp<ABuffer> >::iterator it = mBuffers.begin(); local 100 while (it != mBuffers.end()) { 101 sp<ABuffer> buffer = *it; 111 ++it; 353 List<sp<ABuffer> >::iterator it = mBuffers.begin(); local 354 while (it != mBuffers.end()) { 355 sp<ABuffer> oldBuffer = *it; 360 it = mBuffers.erase(it); 364 ++it; 422 List<sp<ABuffer> >::iterator it; local 472 List<sp<ABuffer> >::iterator it; local 541 List<sp<ABuffer> >::iterator it; local 586 List<sp<ABuffer> >::iterator it; local 645 List<sp<ABuffer> >::iterator it; local [all...] |
H A D | ESQueue.cpp | 548 auto it = mScrambledRangeInfos.begin(); local 549 ALOGV("[stream %d] fetching scrambled range: size=%zu", mMode, it->mLength); 555 scrambledLength = it->mLength; 559 keyId = it->mKeyId; 561 clearSizes = it->mClearSizes; 562 encSizes = it->mEncSizes; 563 isSync = it->mIsSync; 564 mScrambledRangeInfos.erase(it); 583 // (or it was clear to begin with)
|
/frameworks/av/media/libstagefright/omx/ |
H A D | GraphicBufferSource.cpp | 51 * holds a reference to the buffer, and maintains which buffer slot it belongs to (if any), and 52 * whether it is still in a buffer slot. It also maintains whether there are any outstanging acquire 53 * references to it (by buffers acquired from the slot) mainly so that we can keep a debug 73 * Returns the cache slot that this buffer is cached in, or -1 if it is no longer cached. 75 * This assumes that -1 slot id is invalid; though, it is just a benign collision used for 76 * debugging. This object explicitly manages whether it is still cached. 133 * fence for this - as it is assumed that noone waited for the acquire fence. Otherwise, it is 134 * assumed that the encoder has waited for the acquire fence (or returned it as the release 151 * valid file descriptor, it i 567 List<ActionItem>::iterator it = mActionQueue.begin(); local [all...] |
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | OMXHarness.cpp | 102 for (std::list<omx_message>::const_iterator it = messages.cbegin(); it != messages.cend(); ) { 103 mMessageQueue.push_back(*it++); 167 List<omx_message>::iterator it = mMessageQueue.begin(); local 168 while (it != mMessageQueue.end()) { 169 if (handleBufferMessage(*it, inputBuffers, outputBuffers)) { 170 it = mMessageQueue.erase(it); 174 *msg = *it; 175 mMessageQueue.erase(it); [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AAMRAssembler.cpp | 110 List<sp<ABuffer> >::iterator it = queue->begin(); local 111 while (it != queue->end()) { 112 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) { 116 it = queue->erase(it);
|
H A D | AAVCAssembler.cpp | 55 List<sp<ABuffer> >::iterator it = queue->begin(); local 56 while (it != queue->end()) { 57 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) { 61 it = queue->erase(it); 226 List<sp<ABuffer> >::iterator it = ++queue->begin(); local 227 while (it != queue->end()) { 230 const sp<ABuffer> &buffer = *it; 250 it = queue->begin(); 252 it 293 List<sp<ABuffer> >::iterator it = queue->begin(); local [all...] |
H A D | AH263Assembler.cpp | 61 List<sp<ABuffer> >::iterator it = queue->begin(); local 62 while (it != queue->end()) { 63 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) { 67 it = queue->erase(it); 160 List<sp<ABuffer> >::iterator it = mPackets.begin(); local 161 while (it != mPackets.end()) { 162 const sp<ABuffer> &unit = *it; 165 ++it; 170 it [all...] |