Lines Matching refs:nBufferIndex
7571 unsigned int nBufferIndex = drv_ctx.ip_buf.actualcount;
7604 nBufferIndex = buffer - m_inp_heap_ptr;
7607 nBufferIndex = buffer - m_inp_heap_ptr;
7608 if (nBufferIndex >= drv_ctx.ip_buf.actualcount ) {
7609 DEBUG_PRINT_ERROR("ERROR: ETB nBufferIndex is invalid in use-buffer mode");
7612 m_inp_mem_ptr[nBufferIndex].nFilledLen = m_inp_heap_ptr[nBufferIndex].nFilledLen;
7613 m_inp_mem_ptr[nBufferIndex].nTimeStamp = m_inp_heap_ptr[nBufferIndex].nTimeStamp;
7614 m_inp_mem_ptr[nBufferIndex].nFlags = m_inp_heap_ptr[nBufferIndex].nFlags;
7615 buffer = &m_inp_mem_ptr[nBufferIndex];
7617 &m_inp_heap_ptr[nBufferIndex], &m_inp_mem_ptr[nBufferIndex],nBufferIndex, buffer, (unsigned int)buffer->nFilledLen);
7619 nBufferIndex = buffer - m_inp_mem_ptr;
7623 if (nBufferIndex >= drv_ctx.ip_buf.actualcount ) {
7624 DEBUG_PRINT_ERROR("ERROR:ETB nBufferIndex is invalid");
7635 buffer->pBuffer = (OMX_U8*)drv_ctx.ptr_inputbuffer[nBufferIndex].bufferaddr;
9021 int nBufferIndex = buffer - m_inp_mem_ptr;
9023 if (buffer == NULL || (nBufferIndex >= (int)drv_ctx.ip_buf.actualcount)) {
9056 buffer->pBuffer = (OMX_U8*)(uintptr_t)drv_ctx.ptr_inputbuffer[nBufferIndex].pmem_fd;