Home | History | Annotate | Download | only in filters

Lines Matching full:portindex

228 status_t MediaFilter::allocateBuffersOnPort(OMX_U32 portIndex) {
229 CHECK(portIndex == kPortIndexInput || portIndex == kPortIndexOutput);
230 const bool isInput = portIndex == kPortIndexInput;
233 CHECK(mDealer[portIndex] == NULL);
234 CHECK(mBuffers[portIndex].isEmpty());
242 mDealer[portIndex] = new MemoryDealer(totalSize, "MediaFilter");
245 sp<IMemory> mem = mDealer[portIndex]->allocate(bufferSize);
256 mBuffers[portIndex].push_back(info);
260 &mBuffers[portIndex].editItemAt(i));
267 notify->setInt32("portIndex", portIndex);
271 for (size_t i = 0; i < mBuffers[portIndex].size(); ++i) {
272 const BufferInfo &info = mBuffers[portIndex][i];
284 uint32_t portIndex, IOMX::buffer_id bufferID,
286 for (size_t i = 0; i < mBuffers[portIndex].size(); ++i) {
287 BufferInfo *info = &mBuffers[portIndex].editItemAt(i);