Lines Matching refs:m_inp_mem_ptr
289 m_inp_mem_ptr(NULL),
2484 if (!m_inp_mem_ptr) {
2486 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \
2488 if (m_inp_mem_ptr == NULL) {
2489 DEBUG_PRINT_ERROR("ERROR: calloc() Failed for m_inp_mem_ptr");
2492 DEBUG_PRINT_LOW("Successfully allocated m_inp_mem_ptr = %p", m_inp_mem_ptr);
2527 *bufferHdr = (m_inp_mem_ptr + i);
2888 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) {
2889 DEBUG_PRINT_ERROR("ERROR: free_input: Invalid bufferHdr[%p] or m_inp_mem_ptr[%p]",
2890 bufferHdr, m_inp_mem_ptr);
2894 index = bufferHdr - ((!meta_mode_enable)?m_inp_mem_ptr:meta_buffer_hdr);
3022 if (!m_inp_mem_ptr && !mUseProxyColorFormat) {
3023 m_inp_mem_ptr = meta_buffer_hdr;
3024 DEBUG_PRINT_LOW("use meta_buffer_hdr (%p) as m_inp_mem_ptr = %p",
3025 meta_buffer_hdr, m_inp_mem_ptr);
3092 if (!m_inp_mem_ptr) {
3095 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \
3097 if (m_inp_mem_ptr == NULL) {
3098 DEBUG_PRINT_ERROR("ERROR: calloc() Failed for m_inp_mem_ptr");
3102 DEBUG_PRINT_LOW("Successfully allocated m_inp_mem_ptr = %p", m_inp_mem_ptr);
3133 *bufferHdr = (m_inp_mem_ptr + i);
3520 nPortIndex = buffer - ((!meta_mode_enable)?m_inp_mem_ptr:meta_buffer_hdr);
3534 // "m_inp_mem_ptr" may point to "meta_buffer_hdr" in some modes,
3536 if (m_inp_mem_ptr && m_inp_mem_ptr != meta_buffer_hdr) {
3537 DEBUG_PRINT_LOW("Freeing m_inp_mem_ptr");
3538 free (m_inp_mem_ptr);
3540 m_inp_mem_ptr = NULL;
3688 nBufferIndex = buffer - ((!meta_mode_enable)?m_inp_mem_ptr:meta_buffer_hdr);
3772 nBufIndex = buffer - ((OMX_BUFFERHEADERTYPE *)m_inp_mem_ptr);
4200 if (m_inp_mem_ptr == NULL) {
4203 if (m_inp_mem_ptr ) {
4340 if (m_inp_mem_ptr) {
4407 buffer_index = buffer - ((mUseProxyColorFormat && !mUsesColorConversion) ? meta_buffer_hdr : m_inp_mem_ptr);
4764 index_pmem = (buffer - m_inp_mem_ptr);
5174 index = pdest_frame - m_inp_mem_ptr;
5240 index = opqBuf - m_inp_mem_ptr;