Lines Matching refs:nBufferIndex
6960 unsigned int nBufferIndex = drv_ctx.ip_buf.actualcount;
6993 nBufferIndex = buffer - m_inp_heap_ptr;
6996 nBufferIndex = buffer - m_inp_heap_ptr;
6997 if (nBufferIndex >= drv_ctx.ip_buf.actualcount ) {
6998 DEBUG_PRINT_ERROR("ERROR: ETB nBufferIndex is invalid in use-buffer mode");
7001 m_inp_mem_ptr[nBufferIndex].nFilledLen = m_inp_heap_ptr[nBufferIndex].nFilledLen;
7002 m_inp_mem_ptr[nBufferIndex].nTimeStamp = m_inp_heap_ptr[nBufferIndex].nTimeStamp;
7003 m_inp_mem_ptr[nBufferIndex].nFlags = m_inp_heap_ptr[nBufferIndex].nFlags;
7004 buffer = &m_inp_mem_ptr[nBufferIndex];
7006 &m_inp_heap_ptr[nBufferIndex], &m_inp_mem_ptr[nBufferIndex],nBufferIndex, buffer, (unsigned int)buffer->nFilledLen);
7008 nBufferIndex = buffer - m_inp_mem_ptr;
7012 if (nBufferIndex >= drv_ctx.ip_buf.actualcount ) {
7013 DEBUG_PRINT_ERROR("ERROR:ETB nBufferIndex is invalid");
7024 buffer->pBuffer = (OMX_U8*)drv_ctx.ptr_inputbuffer[nBufferIndex].bufferaddr;
8334 int nBufferIndex = buffer - m_inp_mem_ptr;
8336 if (buffer == NULL || (nBufferIndex >= (int)drv_ctx.ip_buf.actualcount)) {
8368 buffer->pBuffer = (OMX_U8*)(uintptr_t)drv_ctx.ptr_inputbuffer[nBufferIndex].pmem_fd;