Lines Matching refs:nBufferIndex
6877 unsigned int nBufferIndex = drv_ctx.ip_buf.actualcount;
6910 nBufferIndex = buffer - m_inp_heap_ptr;
6913 nBufferIndex = buffer - m_inp_heap_ptr;
6914 if (nBufferIndex >= drv_ctx.ip_buf.actualcount ) {
6915 DEBUG_PRINT_ERROR("ERROR: ETB nBufferIndex is invalid in use-buffer mode");
6918 m_inp_mem_ptr[nBufferIndex].nFilledLen = m_inp_heap_ptr[nBufferIndex].nFilledLen;
6919 m_inp_mem_ptr[nBufferIndex].nTimeStamp = m_inp_heap_ptr[nBufferIndex].nTimeStamp;
6920 m_inp_mem_ptr[nBufferIndex].nFlags = m_inp_heap_ptr[nBufferIndex].nFlags;
6921 buffer = &m_inp_mem_ptr[nBufferIndex];
6923 &m_inp_heap_ptr[nBufferIndex], &m_inp_mem_ptr[nBufferIndex],nBufferIndex, buffer, (unsigned int)buffer->nFilledLen);
6925 nBufferIndex = buffer - m_inp_mem_ptr;
6929 if (nBufferIndex >= drv_ctx.ip_buf.actualcount ) {
6930 DEBUG_PRINT_ERROR("ERROR:ETB nBufferIndex is invalid");
6941 buffer->pBuffer = (OMX_U8*)drv_ctx.ptr_inputbuffer[nBufferIndex].bufferaddr;
8228 int nBufferIndex = buffer - m_inp_mem_ptr;
8230 if (buffer == NULL || (nBufferIndex >= (int)drv_ctx.ip_buf.actualcount)) {
8248 buffer->pBuffer = (OMX_U8*)(uintptr_t)drv_ctx.ptr_inputbuffer[nBufferIndex].pmem_fd;