Searched refs:it (Results 1 - 25 of 320) sorted by path

1234567891011>>

/frameworks/av/camera/ndk/impl/
H A DACameraDevice.cpp665 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/cmds/stagefright/
H A Dstagefright.cpp341 // Ignore the first time since it includes some setup
932 for (List<IOMX::ComponentInfo>::iterator it = list.begin();
933 it != list.end(); ++it) {
934 printf("%s\t Roles: ", (*it).mName.string());
935 for (List<String8>::iterator itRoles = (*it).mRoles.begin() ;
936 itRoles != (*it).mRoles.end() ; ++itRoles) {
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c825 * Encrypts the given character and writes it to the output buffer.
859 * Matches binary-encoded content data and encrypts it, while looking out for the close delimiter.
886 // The current character isn't part of the delimiter. Write it to the output buffer.
927 * Matches base64-encoded content data and encrypts it, while looking out for the close delimiter.
1123 // The encrypted session key is used as the CTR-mode nonce, so it must be at least
/frameworks/av/include/media/
H A DIMediaSource.h51 // Also, it is imperative that any buffers output by this object and
201 // on the receiving side. We hold a reference to the IMemory here to ensure it doesn't
248 for (auto it = mMemoryToIndex.begin(); it != mMemoryToIndex.end(); ) {
249 if (MediaBuffer::isDeadObject(it->second.first)) {
250 it = mMemoryToIndex.erase(it);
252 ++it;
H A DVolumeShaper.h244 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...]
H A Dconvert.h200 for (SrcIt it = src.begin(); it != src.end(); ++it) {
202 if (not convertTo(*it, dstElem)) {
222 * This function follows the same paradigm than it's generic version.
253 * This function follows the same paradigm than it's generic version and is
254 * based on it but makes furthers checks on the returned value.
283 * This function follows the same paradigm than it's generic version and is
284 * based on it but makes furthers checks on the returned value.
313 * This function follows the same paradigm than it'
[all...]
/frameworks/av/include/media/nbaio/
H A DNBLog.h63 // * author entry of the thread that generated it (optional, present in merged log)
74 explicit FormatEntry(const iterator &it);
146 // size_t copyEntry(audio_utils_fifo_writer *dst, const iterator &it);
195 // Since this is a POD, the destructor is empty and unnecessary to call it explicitly.
209 // For now it is just a namespace for sharedSize().
438 // handle author entry by looking up the author's name and appending it to the body
444 // when triggered, it awakes for a lapse of time, during which it periodically merges; if
452 // Reset timeout and activate thread to merge periodically if it's idle
/frameworks/av/media/audioserver/
H A DAndroid.mk40 # If AUDIOSERVER_MULTILIB in device.mk is non-empty then it is used to control
/frameworks/av/media/libaaudio/src/
H A DAndroid.mk4 # This is being built because it make AAudio testing very easy with a complete executable.
30 # If you add a file here then also add it below in the SHARED target
/frameworks/av/media/libmedia/
H A DIMediaSource.cpp252 for (auto it = mIndexToMemory.begin(); it != mIndexToMemory.end(); ) {
253 if (MediaBuffer::isDeadObject(it->second)) {
254 it = mIndexToMemory.erase(it);
256 ++it;
353 // Even if we're using shared memory, we might not want to use it, since for small
354 // sizes it's faster to copy data through the Binder transaction
355 // On the other hand, if the data size is large enough, it's better to use shared
356 // memory. When data is too large, binder can't handle it
[all...]
H A DIOMX.cpp576 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/libmedia/include/media/
H A DIMediaSource.h51 // Also, it is imperative that any buffers output by this object and
201 // on the receiving side. We hold a reference to the IMemory here to ensure it doesn't
248 for (auto it = mMemoryToIndex.begin(); it != mMemoryToIndex.end(); ) {
249 if (MediaBuffer::isDeadObject(it->second.first)) {
250 it = mMemoryToIndex.erase(it);
252 ++it;
H A Dconvert.h200 for (SrcIt it = src.begin(); it != src.end(); ++it) {
202 if (not convertTo(*it, dstElem)) {
222 * This function follows the same paradigm than it's generic version.
253 * This function follows the same paradigm than it's generic version and is
254 * based on it but makes furthers checks on the returned value.
283 * This function follows the same paradigm than it's generic version and is
284 * based on it but makes furthers checks on the returned value.
313 * This function follows the same paradigm than it'
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp51 #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 DNBLog.cpp39 // 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/libnbaio/include/
H A DNBLog.h63 // * author entry of the thread that generated it (optional, present in merged log)
74 explicit FormatEntry(const iterator &it);
146 // size_t copyEntry(audio_utils_fifo_writer *dst, const iterator &it);
195 // Since this is a POD, the destructor is empty and unnecessary to call it explicitly.
209 // For now it is just a namespace for sharedSize().
438 // handle author entry by looking up the author's name and appending it to the body
444 // when triggered, it awakes for a lapse of time, during which it periodically merges; if
452 // Reset timeout and activate thread to merge periodically if it's idle
/frameworks/av/media/libstagefright/
H A DACodec.cpp167 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 DACodecBufferChannel.cpp90 BufferInfoIterator it = findClientBuffer(array, buffer);
91 if (it == array->end()) {
94 ALOGV("queueInputBuffer #%d", it->mBufferId);
96 msg->setObject("buffer", it->mCodecBuffer);
97 msg->setInt32("buffer-id", it->mBufferId);
112 BufferInfoIterator it = findClientBuffer(array, buffer);
113 if (it == array->end()) {
120 static_cast<SecureBuffer *>(it->mCodecBuffer.get());
133 source.mSharedMemory = it->mSharedEncryptedBuffer;
139 source, it
[all...]
H A DAudioSource.cpp152 List<MediaBuffer *>::iterator it; local
154 it = mBuffersReceived.begin();
155 (*it)->release();
156 mBuffersReceived.erase(it);
H A DCameraSource.cpp165 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 DFrameRenderTracker.cpp58 for (std::list<Info>::iterator it = mRenderQueue.begin();
59 it != mRenderQueue.end(); ++it) {
60 if (it->mGraphicBuffer->handle == buf->handle) {
61 renderInfo = it;
114 for (std::list<Info>::iterator it = mRenderQueue.begin();
115 it != mRenderQueue.end(); ) {
117 if (it->mIndex < 0) {
120 } else if (it->mFence != NULL) {
122 nsecs_t signalTime = it
[all...]
H A DMP3Extractor.cpp302 // 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 DMPEG4Extractor.cpp604 // 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 DMPEG4Writer.cpp151 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 DMediaCodec.cpp496 // set up our new record, get a sessionID, put it into the in-progress list
500 // don't record it yet; only at the end, when we have decided that we have
734 // XXX: save indication that it's crypto in some way...
751 // Don't know the buffer size at this point, but it's fine to use 1 because
895 // Don't know the buffer size at this point, but it's fine to use 1 because
968 it is already initialized. Thus, reset is essentially
1187 // send it back to the caller.
1699 // if there's more csd left, we submit it here
1945 // or before it's initialized (as the callback
1946 // will be cleared when it goe
[all...]

Completed in 4434 milliseconds

1234567891011>>