Searched defs:it (Results 1 - 25 of 66) sorted by path

123

/frameworks/av/media/libstagefright/
H A DACodec.cpp1491 // This is done by SW codecs, but most HW codecs don't support it.
1515 // and have the decoder figure it all out.
2469 // this is redundant as it was already set up in setVideoPortFormatType
3266 List<sp<AMessage> >::iterator it = queue.begin(); local
3267 while (it != queue.end()) {
3268 onMessageReceived(*it++);
4260 // told us that it's done with the input buffer, we can decrement
4651 // TODO: it seems like we should use the timestamp
4652 // in the (media)buffer as it potentially came from
4653 // an input surface, but we did not propagate it prio
[all...]
H A DAudioSource.cpp132 List<MediaBuffer *>::iterator it; local
134 it = mBuffersReceived.begin();
135 (*it)->release();
136 mBuffersReceived.erase(it);
H A DCameraSource.cpp129 ALOGE("Uknown color format (%s), please add it to "
469 * Initialize the CameraSource to so that it becomes
478 * if it is -1, use the current camera frame rate setting.
771 List<sp<IMemory> >::iterator it; local
773 it = mFramesReceived.begin();
774 releaseRecordingFrame(*it);
775 mFramesReceived.erase(it);
791 for (List<sp<IMemory> >::iterator it = mFramesBeingEncoded.begin();
792 it != mFramesBeingEncoded.end(); ++it) {
[all...]
H A DMP3Extractor.cpp330 // While it is safe to send the XING/VBRI frame to the decoder, this will
620 ID3::Iterator *it = new ID3::Iterator(id3, kMap[i].tag1); local
621 if (it->done()) {
622 delete it;
623 it = new ID3::Iterator(id3, kMap[i].tag2);
626 if (it->done()) {
627 delete it;
632 it->getString(&s);
633 delete it;
H A DMPEG4Extractor.cpp572 // Reads an encoded integer 7 bits at a time until it encounters the high bit clear.
795 // not allowed for non-toplevel atoms, skip it
1361 // The video sample is not standard-compliant if it has invalid dimension.
1699 // If it's not, let's assume this is one of those
1702 // in the MPEG4 specs and skip it.
1858 // for a practical reason as various MPEG4 containers use it.
2330 // it to see if its something we are interested in. Whether or not
2537 ID3::Iterator *it = new ID3::Iterator(id3, kMap[i].tag1); local
2538 if (it->done()) {
2539 delete it;
[all...]
H A DMPEG4Writer.cpp109 typename List<TYPE *>::iterator it = mTableEntryList.begin(); local
110 delete[] (*it);
111 mTableEntryList.erase(it);
122 typename List<TYPE *>::iterator it = mTableEntryList.begin(); local
124 while (it != mTableEntryList.end() && iterations > 0) {
125 ++it;
128 CHECK(it != mTableEntryList.end());
131 (*it)[(pos % (mElementCapacity * mEntryCapacity))] = value;
143 typename List<TYPE *>::iterator it = mTableEntryList.begin(); local
145 while (it !
397 List<Track *>::iterator it = mTracks.begin(); local
1574 List<MediaBuffer *>::iterator it = chunk->mSamples.begin(); local
[all...]
H A DMediaCodecSource.cpp131 // mSource->stop() is thread-safe, doing it outside the puller's
282 // as it contains a synchronous call to stop the underlying MediaSource,
480 for (List<MediaBuffer*>::iterator it = mOutputBufferQueue.begin();
481 it != mOutputBufferQueue.end(); it++) {
482 (*it)->release();
495 List<uint32_t>::iterator it; local
496 for (it = mStopReplyIDQueue.begin();
497 it != mStopReplyIDQueue.end(); it
[all...]
H A DNuCachedSource2.cpp77 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...]
H A DOMXCodec.cpp457 // violates it...
610 // and have the decoder figure it all out.
2199 List<int64_t>::iterator it = mDecodingTimeList.begin(); local
2200 int64_t timeUs = *it;
2201 mDecodingTimeList.erase(it);
2533 // need to change the display, skip it.
2600 // wasn't of importance to them, i.e. it may be that just the
2767 // them has made it to the display. This allows the OMX
2877 // Cancel the buffer if it belongs to an ANativeWindow.
3284 // to use it t
[all...]
H A DTimedEventQueue.cpp123 List<QueueItem>::iterator it = mQueue.begin(); local
124 while (it != mQueue.end() && realtime_us >= (*it).realtime_us) {
125 ++it;
133 if (it == mQueue.begin()) {
141 mQueue.insert(it, item);
169 // if MatchesEventID found a match, it will have set id to 0
181 List<QueueItem>::iterator it = mQueue.begin(); local
182 while (it != mQueue.end()) {
183 if (!(*predicate)(cookie, (*it)
242 List<QueueItem>::iterator it = mQueue.begin(); local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp122 List<BufferInfo *>::iterator it = outQueue.begin(); local
123 while ((*it)->mHeader != outHeader) {
124 ++it;
127 BufferInfo *outInfo = *it;
129 outQueue.erase(it);
225 // The PV decoder is lying to us, sometimes it'll claim to only have
226 // consumed a subset of the buffer when it clearly consumed all of it.
227 // ignore whatever it says...
270 List<BufferInfo *>::iterator it local
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAAtomizer.cpp43 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 DALooper.cpp71 // clean up stale AHandlers. Doing it here instead of in the destructor avoids
171 List<Event>::iterator it = mEventQueue.begin(); local
172 while (it != mEventQueue.end() && (*it).mWhenUs <= whenUs) {
173 ++it;
180 if (it == mEventQueue.begin()) {
184 mEventQueue.insert(it, event);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp90 List<sp<ABuffer> >::iterator it = mBuffers.begin(); local
91 while (it != mBuffers.end()) {
92 sp<ABuffer> buffer = *it;
103 ++it;
257 List<sp<ABuffer> >::iterator it = mBuffers.begin(); local
258 while (it != mBuffers.end()) {
259 sp<ABuffer> oldBuffer = *it;
264 it = mBuffers.erase(it);
268 ++it;
323 List<sp<ABuffer> >::iterator it = mBuffers.begin(); local
361 List<sp<ABuffer> >::iterator it = mBuffers.begin(); local
[all...]
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp129 List<omx_message>::iterator it = mMessageQueue.begin(); local
130 while (it != mMessageQueue.end()) {
131 if ((*it).node == node) {
132 if (handleBufferMessage(*it, inputBuffers, outputBuffers)) {
133 it = mMessageQueue.erase(it);
137 *msg = *it;
138 mMessageQueue.erase(it);
143 ++it;
618 // After that it'
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAAMRAssembler.cpp110 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 DAAVCAssembler.cpp55 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 DAH263Assembler.cpp61 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...]
H A DAMPEG2TSAssembler.cpp62 List<sp<ABuffer> >::iterator it = queue->begin(); local
63 while (it != queue->end()) {
64 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
68 it = queue->erase(it);
H A DAMPEG4AudioAssembler.cpp494 List<sp<ABuffer> >::iterator it = queue->begin(); local
495 while (it != queue->end()) {
496 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
500 it = queue->erase(it);
H A DAMPEG4ElementaryAssembler.cpp215 List<sp<ABuffer> >::iterator it = queue->begin(); local
216 while (it != queue->end()) {
217 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
221 it = queue->erase(it);
345 for (List<AUHeader>::iterator it = headers.begin();
346 it != headers.end(); ++it) {
347 const AUHeader &header = *it;
H A DARTPConnection.cpp218 List<StreamInfo>::iterator it = mStreams.begin(); local
219 while (it != mStreams.end()
220 && (it->mRTPSocket != rtpSocket || it->mRTCPSocket != rtcpSocket)) {
221 ++it;
224 if (it == mStreams.end()) {
228 mStreams.erase(it);
257 for (List<StreamInfo>::iterator it = mStreams.begin();
258 it != mStreams.end(); ++it) {
281 List<StreamInfo>::iterator it = mStreams.begin(); local
312 List<StreamInfo>::iterator it = mStreams.begin(); local
655 List<StreamInfo>::iterator it = mStreams.begin(); local
[all...]
H A DARTPSource.cpp147 List<sp<ABuffer> >::iterator it = mQueue.begin(); local
148 while (it != mQueue.end() && (uint32_t)(*it)->int32Data() < seqNum) {
149 ++it;
152 if (it != mQueue.end() && (uint32_t)(*it)->int32Data() == seqNum) {
157 mQueue.insert(it, buffer);
H A DARawAudioAssembler.cpp62 List<sp<ABuffer> >::iterator it = queue->begin(); local
63 while (it != queue->end()) {
64 if ((uint32_t)(*it)->int32Data() >= mNextExpectedSeqNo) {
68 it = queue->erase(it);
/frameworks/av/media/libstagefright/wifi-display/rtp/
H A DRTPSender.cpp342 // it wouldn't have fit as part of a STAP-A packet.
712 List<sp<ABuffer> >::iterator it = mHistory.begin(); local
714 while (it != mHistory.end()) {
715 const sp<ABuffer> &buffer = *it;
747 ++it;

Completed in 1246 milliseconds

123