/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 234 m_inp_mem_ptr(NULL), in omx_video() 2202 if (!m_inp_mem_ptr) { in use_input_buffer() 2204 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in use_input_buffer() 2206 if (m_inp_mem_ptr == NULL) { in use_input_buffer() 2210 DEBUG_PRINT_LOW("Successfully allocated m_inp_mem_ptr = %p", m_inp_mem_ptr); in use_input_buffer() 2245 *bufferHdr = (m_inp_mem_ptr + i); in use_input_buffer() 2605 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) { in free_input_buffer() 2607 bufferHdr, m_inp_mem_ptr); in free_input_buffer() 2611 index = bufferHdr - ((!meta_mode_enable)?m_inp_mem_ptr:meta_buffer_hdr); in free_input_buffer() 2739 if (!m_inp_mem_ptr && !mUseProxyColorFormat) { in allocate_input_meta_buffer() [all …]
|
D | omx_video_encoder.cpp | 613 if (m_inp_mem_ptr && in set_parameter() 1965 if (m_inp_mem_ptr in component_deinit() 1974 free_input_buffer (&m_inp_mem_ptr[i]); in component_deinit() 1983 free(m_inp_mem_ptr); in component_deinit() 1984 m_inp_mem_ptr = NULL; in component_deinit() 2246 … (((OMX_U32)(omxhdr - omx->m_inp_mem_ptr) > omx->m_sInPortDef.nBufferCountActual) && in async_message_process()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/ |
D | omx_video_base.cpp | 230 m_inp_mem_ptr(NULL), in omx_video() 2071 if(!m_inp_mem_ptr) in use_input_buffer() 2074 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in use_input_buffer() 2076 if(m_inp_mem_ptr == NULL) in use_input_buffer() 2121 *bufferHdr = (m_inp_mem_ptr + i); in use_input_buffer() 2494 if(bufferHdr == NULL || m_inp_mem_ptr == NULL) in free_input_buffer() 2497 bufferHdr, m_inp_mem_ptr); in free_input_buffer() 2501 index = bufferHdr - ((!mUseProxyColorFormat)?m_inp_mem_ptr:meta_buffer_hdr); in free_input_buffer() 2627 if(!m_inp_mem_ptr && !mUseProxyColorFormat) in allocate_input_meta_buffer() 2628 m_inp_mem_ptr = meta_buffer_hdr; in allocate_input_meta_buffer() [all …]
|
D | omx_video_encoder.cpp | 1461 if(m_inp_mem_ptr in component_deinit() 1470 free_input_buffer (&m_inp_mem_ptr[i]); in component_deinit() 1474 free(m_inp_mem_ptr); in component_deinit() 1475 m_inp_mem_ptr = NULL; in component_deinit() 1667 (((OMX_U32)(omxhdr - omx->m_inp_mem_ptr) > omx->m_sInPortDef.nBufferCountActual) && in async_message_process()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 289 m_inp_mem_ptr(NULL), in omx_video() 2500 if (!m_inp_mem_ptr) { in use_input_buffer() 2502 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in use_input_buffer() 2504 if (m_inp_mem_ptr == NULL) { in use_input_buffer() 2508 DEBUG_PRINT_LOW("Successfully allocated m_inp_mem_ptr = %p", m_inp_mem_ptr); in use_input_buffer() 2543 *bufferHdr = (m_inp_mem_ptr + i); in use_input_buffer() 2909 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) { in free_input_buffer() 2911 bufferHdr, m_inp_mem_ptr); in free_input_buffer() 2915 index = bufferHdr - ((!meta_mode_enable)?m_inp_mem_ptr:meta_buffer_hdr); in free_input_buffer() 3050 if (!m_inp_mem_ptr && !mUseProxyColorFormat) { in allocate_input_meta_buffer() [all …]
|
D | omx_swvenc_hevc.cpp | 1011 if (m_inp_mem_ptr in component_deinit() 1018 free_input_buffer (&m_inp_mem_ptr[i]); in component_deinit() 1022 free(m_inp_mem_ptr); in component_deinit() 1023 m_inp_mem_ptr = NULL; in component_deinit()
|
D | omx_video_encoder.cpp | 689 if (m_inp_mem_ptr && in set_parameter() 2225 if (m_inp_mem_ptr in component_deinit() 2236 free_input_buffer (&m_inp_mem_ptr[i]); in component_deinit() 2245 free(m_inp_mem_ptr); in component_deinit() 2246 m_inp_mem_ptr = NULL; in component_deinit() 2534 … (((OMX_U32)(omxhdr - omx->m_inp_mem_ptr) > omx->m_sInPortDef.nBufferCountActual) && in async_message_process()
|
D | omx_swvenc_mpeg4.cpp | 1640 if ( m_inp_mem_ptr && !meta_mode_enable ) in component_deinit() 1645 free_input_buffer (&m_inp_mem_ptr[i]); in component_deinit() 1648 free(m_inp_mem_ptr); in component_deinit() 1649 m_inp_mem_ptr = NULL; in component_deinit() 2418 ( ((OMX_U32)(omxhdr - m_inp_mem_ptr) >m_sInPortDef.nBufferCountActual) && in swvenc_empty_buffer_done()
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 252 m_inp_mem_ptr(NULL), in omx_video() 2585 if (!m_inp_mem_ptr) { in use_input_buffer() 2587 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in use_input_buffer() 2589 if (m_inp_mem_ptr == NULL) { in use_input_buffer() 2593 DEBUG_PRINT_LOW("Successfully allocated m_inp_mem_ptr = %p", m_inp_mem_ptr); in use_input_buffer() 2628 *bufferHdr = (m_inp_mem_ptr + i); in use_input_buffer() 3059 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) { in free_input_buffer() 3061 bufferHdr, m_inp_mem_ptr); in free_input_buffer() 3065 index = bufferHdr - ((!meta_mode_enable)?m_inp_mem_ptr:meta_buffer_hdr); in free_input_buffer() 3208 if (!m_inp_mem_ptr && !mUseProxyColorFormat) { in allocate_input_meta_buffer() [all …]
|
D | omx_video_encoder.cpp | 583 if (m_inp_mem_ptr && in set_parameter() 589 if (m_inp_mem_ptr && in set_parameter() 2151 if (m_inp_mem_ptr in component_deinit() 2162 free_input_buffer (&m_inp_mem_ptr[i]); in component_deinit() 2171 free(m_inp_mem_ptr); in component_deinit() 2172 m_inp_mem_ptr = NULL; in component_deinit() 2465 … (((OMX_U32)(omxhdr - omx->m_inp_mem_ptr) > omx->m_sInPortDef.nBufferCountActual) && in async_message_process()
|
D | omx_swvenc_mpeg4.cpp | 2034 if ( m_inp_mem_ptr && !meta_mode_enable ) in component_deinit() 2039 free_input_buffer (&m_inp_mem_ptr[i]); in component_deinit() 2042 free(m_inp_mem_ptr); in component_deinit() 2043 m_inp_mem_ptr = NULL; in component_deinit() 3003 ( ((OMX_U32)(omxhdr - m_inp_mem_ptr) >m_sInPortDef.nBufferCountActual) && in swvenc_empty_buffer_done() 3013 …dex = omxhdr - ((mUseProxyColorFormat && !mUsesColorConversion) ? meta_buffer_hdr : m_inp_mem_ptr); in swvenc_empty_buffer_done()
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/ |
D | omx_video_base.cpp | 282 m_inp_mem_ptr(NULL), in omx_video() 2587 if (!m_inp_mem_ptr) { in use_input_buffer() 2589 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in use_input_buffer() 2591 if (m_inp_mem_ptr == NULL) { in use_input_buffer() 2595 DEBUG_PRINT_LOW("Successfully allocated m_inp_mem_ptr = %p", m_inp_mem_ptr); in use_input_buffer() 2630 *bufferHdr = (m_inp_mem_ptr + i); in use_input_buffer() 2994 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) { in free_input_buffer() 2996 bufferHdr, m_inp_mem_ptr); in free_input_buffer() 3000 index = bufferHdr - ((!meta_mode_enable)?m_inp_mem_ptr:meta_buffer_hdr); in free_input_buffer() 3145 if (!m_inp_mem_ptr && !mUseProxyColorFormat) { in allocate_input_meta_buffer() [all …]
|
D | omx_video_encoder.cpp | 729 if (m_inp_mem_ptr && in set_parameter() 2385 if (m_inp_mem_ptr in component_deinit() 2396 free_input_buffer (&m_inp_mem_ptr[i]); in component_deinit() 2405 free(m_inp_mem_ptr); in component_deinit() 2406 m_inp_mem_ptr = NULL; in component_deinit() 2702 … (((OMX_U32)(omxhdr - omx->m_inp_mem_ptr) > omx->m_sInPortDef.nBufferCountActual) && in async_message_process()
|
/hardware/qcom/media/msm8996/videopp/src/ |
D | omx_vdpp.cpp | 604 m_inp_mem_ptr(NULL), in omx_vdpp() 4322 if(!m_inp_mem_ptr) in use_input_buffers() 4328 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in use_input_buffers() 4331 if (m_inp_mem_ptr == NULL) in use_input_buffers() 4360 m_phdr_pmem_ptr[m_in_alloc_cnt] = (m_inp_mem_ptr + i); in use_input_buffers() 4486 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) in free_input_buffer() 4491 index = bufferHdr - m_inp_mem_ptr; in free_input_buffer() 4716 if(!m_inp_mem_ptr) in allocate_input_buffer() 4722 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in allocate_input_buffer() 4725 if (m_inp_mem_ptr == NULL) in allocate_input_buffer() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
D | omx_vdec_copper.cpp | 451 m_inp_mem_ptr(NULL), in omx_vdec() 4116 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) in free_input_buffer() 4121 index = bufferHdr - m_inp_mem_ptr; in free_input_buffer() 4349 if(!m_inp_mem_ptr) in allocate_input_buffer() 4355 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in allocate_input_buffer() 4358 if (m_inp_mem_ptr == NULL) in allocate_input_buffer() 4456 *bufferHdr = (m_inp_mem_ptr + i); in allocate_input_buffer() 4976 nPortIndex = buffer - m_inp_mem_ptr; in free_buffer() 5157 m_inp_mem_ptr[nBufferIndex].nFilledLen = m_inp_heap_ptr[nBufferIndex].nFilledLen; in empty_this_buffer() 5158 m_inp_mem_ptr[nBufferIndex].nTimeStamp = m_inp_heap_ptr[nBufferIndex].nTimeStamp; in empty_this_buffer() [all …]
|
D | omx_vdec.cpp | 444 m_inp_mem_ptr(NULL), in omx_vdec() 4471 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) in free_input_buffer() 4476 index = bufferHdr - m_inp_mem_ptr; in free_input_buffer() 4725 if(!m_inp_mem_ptr) in allocate_input_buffer() 4731 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in allocate_input_buffer() 4734 if (m_inp_mem_ptr == NULL) in allocate_input_buffer() 4830 *bufferHdr = (m_inp_mem_ptr + i); in allocate_input_buffer() 5358 nPortIndex = buffer - m_inp_mem_ptr; in free_buffer() 5549 m_inp_mem_ptr[nBufferIndex].nFilledLen = m_inp_heap_ptr[nBufferIndex].nFilledLen; in empty_this_buffer() 5550 m_inp_mem_ptr[nBufferIndex].nTimeStamp = m_inp_heap_ptr[nBufferIndex].nTimeStamp; in empty_this_buffer() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc.cpp | 491 m_inp_mem_ptr(NULL), in omx_vdec() 4019 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) { in free_input_buffer() 4023 index = bufferHdr - m_inp_mem_ptr; in free_input_buffer() 4219 if (!m_inp_mem_ptr) { in allocate_input_buffer() 4224 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in allocate_input_buffer() 4227 if (m_inp_mem_ptr == NULL) { in allocate_input_buffer() 4314 *bufferHdr = (m_inp_mem_ptr + i); in allocate_input_buffer() 4811 nPortIndex = buffer - m_inp_mem_ptr; in free_buffer() 4970 m_inp_mem_ptr[nBufferIndex].nFilledLen = m_inp_heap_ptr[nBufferIndex].nFilledLen; in empty_this_buffer() 4971 m_inp_mem_ptr[nBufferIndex].nTimeStamp = m_inp_heap_ptr[nBufferIndex].nTimeStamp; in empty_this_buffer() [all …]
|
D | omx_vdec.cpp | 429 m_inp_mem_ptr(NULL), in omx_vdec() 4267 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) { in free_input_buffer() 4271 index = bufferHdr - m_inp_mem_ptr; in free_input_buffer() 4523 if (!m_inp_mem_ptr) { in allocate_input_buffer() 4528 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in allocate_input_buffer() 4531 if (m_inp_mem_ptr == NULL) { in allocate_input_buffer() 4622 *bufferHdr = (m_inp_mem_ptr + i); in allocate_input_buffer() 5141 nPortIndex = buffer - m_inp_mem_ptr; in free_buffer() 5318 m_inp_mem_ptr[nBufferIndex].nFilledLen = m_inp_heap_ptr[nBufferIndex].nFilledLen; in empty_this_buffer() 5319 m_inp_mem_ptr[nBufferIndex].nTimeStamp = m_inp_heap_ptr[nBufferIndex].nTimeStamp; in empty_this_buffer() [all …]
|
D | omx_vdec_msm8974.cpp | 531 m_inp_mem_ptr(NULL), in omx_vdec() 3549 if (m_inp_mem_ptr && in set_parameter() 3639 if (m_inp_mem_ptr) { in set_parameter() 4026 } else if (m_inp_mem_ptr) { in set_parameter() 5093 if (m_inp_mem_ptr && !input_use_buffer) { in use_buffer() 5145 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) { in free_input_buffer() 5149 index = bufferHdr - m_inp_mem_ptr; in free_input_buffer() 5365 if (!m_inp_mem_ptr) { in allocate_input_buffer() 5370 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in allocate_input_buffer() 5373 if (m_inp_mem_ptr == NULL) { in allocate_input_buffer() [all …]
|
D | omx_vdec_hevc_swvdec.cpp | 529 m_inp_mem_ptr(NULL), in omx_vdec() 4844 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) in free_input_buffer() 4849 index = bufferHdr - m_inp_mem_ptr; in free_input_buffer() 5062 if(!m_inp_mem_ptr) in allocate_input_buffer() 5068 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in allocate_input_buffer() 5071 if (m_inp_mem_ptr == NULL) in allocate_input_buffer() 5179 *bufferHdr = (m_inp_mem_ptr + i); in allocate_input_buffer() 5757 nPortIndex = buffer - m_inp_mem_ptr; in free_buffer() 5958 m_inp_mem_ptr[nBufferIndex].nFilledLen = m_inp_heap_ptr[nBufferIndex].nFilledLen; in empty_this_buffer() 5959 m_inp_mem_ptr[nBufferIndex].nTimeStamp = m_inp_heap_ptr[nBufferIndex].nTimeStamp; in empty_this_buffer() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_hevc.cpp | 487 m_inp_mem_ptr(NULL), in omx_vdec() 3998 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) { in free_input_buffer() 4002 index = bufferHdr - m_inp_mem_ptr; in free_input_buffer() 4198 if (!m_inp_mem_ptr) { in allocate_input_buffer() 4203 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in allocate_input_buffer() 4206 if (m_inp_mem_ptr == NULL) { in allocate_input_buffer() 4293 *bufferHdr = (m_inp_mem_ptr + i); in allocate_input_buffer() 4790 nPortIndex = buffer - m_inp_mem_ptr; in free_buffer() 4940 m_inp_mem_ptr[nBufferIndex].nFilledLen = m_inp_heap_ptr[nBufferIndex].nFilledLen; in empty_this_buffer() 4941 m_inp_mem_ptr[nBufferIndex].nTimeStamp = m_inp_heap_ptr[nBufferIndex].nTimeStamp; in empty_this_buffer() [all …]
|
D | omx_vdec_hevc_swvdec.cpp | 532 m_inp_mem_ptr(NULL), in omx_vdec() 5041 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) in free_input_buffer() 5046 index = bufferHdr - m_inp_mem_ptr; in free_input_buffer() 5260 if(!m_inp_mem_ptr) in allocate_input_buffer() 5266 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in allocate_input_buffer() 5269 if (m_inp_mem_ptr == NULL) in allocate_input_buffer() 5379 *bufferHdr = (m_inp_mem_ptr + i); in allocate_input_buffer() 5962 nPortIndex = buffer - m_inp_mem_ptr; in free_buffer() 6162 m_inp_mem_ptr[nBufferIndex].nFilledLen = m_inp_heap_ptr[nBufferIndex].nFilledLen; in empty_this_buffer() 6163 m_inp_mem_ptr[nBufferIndex].nTimeStamp = m_inp_heap_ptr[nBufferIndex].nTimeStamp; in empty_this_buffer() [all …]
|
D | omx_vdec_v4l2.cpp | 581 m_inp_mem_ptr(NULL), in omx_vdec() 4175 if (m_inp_mem_ptr && in set_parameter() 4274 if (m_inp_mem_ptr) { in set_parameter() 4676 } else if (m_inp_mem_ptr) { in set_parameter() 5939 if (m_inp_mem_ptr && !input_use_buffer) { in use_buffer() 5991 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) { in free_input_buffer() 5995 index = bufferHdr - m_inp_mem_ptr; in free_input_buffer() 6218 if (!m_inp_mem_ptr) { in allocate_input_buffer() 6238 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in allocate_input_buffer() 6241 if (m_inp_mem_ptr == NULL) { in allocate_input_buffer() [all …]
|
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 667 m_inp_mem_ptr(NULL), in omx_vdec() 4269 if (m_inp_mem_ptr && in set_parameter() 4693 } else if (m_inp_mem_ptr) { in set_parameter() 5976 if (m_inp_mem_ptr && !input_use_buffer) { in use_buffer() 6027 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) { in free_input_buffer() 6032 index = bufferHdr - m_inp_mem_ptr; in free_input_buffer() 6175 if (!m_inp_mem_ptr) { in allocate_input_buffer() 6200 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in allocate_input_buffer() 6203 if (m_inp_mem_ptr == NULL) { in allocate_input_buffer() 6290 *bufferHdr = (m_inp_mem_ptr + i); in allocate_input_buffer() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 595 m_inp_mem_ptr(NULL), in omx_vdec() 4473 if (m_inp_mem_ptr && in set_parameter() 4575 if (m_inp_mem_ptr) { in set_parameter() 5015 } else if (m_inp_mem_ptr) { in set_parameter() 6448 if (m_inp_mem_ptr && !input_use_buffer) { in use_buffer() 6502 if (bufferHdr == NULL || m_inp_mem_ptr == NULL) { in free_input_buffer() 6506 index = bufferHdr - m_inp_mem_ptr; in free_input_buffer() 6746 if (!m_inp_mem_ptr) { in allocate_input_buffer() 6766 m_inp_mem_ptr = (OMX_BUFFERHEADERTYPE*) \ in allocate_input_buffer() 6769 if (m_inp_mem_ptr == NULL) { in allocate_input_buffer() [all …]
|