Lines Matching refs:bufferIx
455 size_t bufferIx = *mDequeuedInputBuffers.begin(); in doRequestBuffers() local
457 msg->setSize("buffer-ix", bufferIx); in doRequestBuffers()
769 size_t bufferIx; in onInputBufferFetched() local
770 CHECK(msg->findSize("buffer-ix", &bufferIx)); in onInputBufferFetched()
771 CHECK_LT(bufferIx, mInputBuffers.size()); in onInputBufferFetched()
772 sp<ABuffer> codecBuffer = mInputBuffers[bufferIx]; in onInputBufferFetched()
790 mComponentName.c_str(), ix, bufferIx); in onInputBufferFetched()
802 bufferIx = ix; in onInputBufferFetched()
818 bufferIx, in onInputBufferFetched()
824 mInputBufferIsDequeued.editItemAt(bufferIx) = false; in onInputBufferFetched()
869 bufferIx, in onInputBufferFetched()
882 mInputBufferIsDequeued.editItemAt(bufferIx) = false; in onInputBufferFetched()
884 CHECK(mMediaBuffers[bufferIx] == NULL); in onInputBufferFetched()
885 mMediaBuffers.editItemAt(bufferIx) = mediaBuffer; in onInputBufferFetched()
895 size_t bufferIx; in onRenderBuffer() local
897 CHECK(msg->findSize("buffer-ix", &bufferIx)); in onRenderBuffer()
901 sp<ABuffer> buffer = mOutputBuffers[bufferIx]; in onRenderBuffer()
912 err = mCodec->renderOutputBufferAndRelease(bufferIx, timestampNs); in onRenderBuffer()
915 err = mCodec->releaseOutputBuffer(bufferIx); in onRenderBuffer()