Home
last modified time | relevance | path

Searched refs:buffer_index (Results 1 – 20 of 20) sorted by relevance

/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_tonemapper.cpp178 uint8_t buffer_index = session->current_buffer_index_; in ToneMap() local
179 const private_handle_t *dst_hnd = session->intermediate_buffer_[buffer_index]; in ToneMap()
183 buffer_sync_handler_.SyncMerge(session->release_fence_fd_[buffer_index], acquire_fd, &merged_fd); in ToneMap()
189 if (session->release_fence_fd_[buffer_index] >= 0) { in ToneMap()
190 CloseFd(&session->release_fence_fd_[buffer_index]); in ToneMap()
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_tonemapper.cpp178 uint8_t buffer_index = session->current_buffer_index_; in ToneMap() local
179 const private_handle_t *dst_hnd = session->intermediate_buffer_[buffer_index]; in ToneMap()
183 buffer_sync_handler_.SyncMerge(session->release_fence_fd_[buffer_index], acquire_fd, &merged_fd); in ToneMap()
189 if (session->release_fence_fd_[buffer_index] >= 0) { in ToneMap()
190 CloseFd(&session->release_fence_fd_[buffer_index]); in ToneMap()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_tonemapper.cpp84 uint8_t buffer_index = current_buffer_index_; in OnTask() local
86 (buffer_info_[buffer_index].private_data); in OnTask()
225 uint8_t buffer_index = session->current_buffer_index_; in ToneMap() local
226 int &release_fence_fd = session->release_fence_fd_[buffer_index]; in ToneMap()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_tonemapper.cpp84 uint8_t buffer_index = current_buffer_index_; in OnTask() local
86 (buffer_info_[buffer_index].private_data); in OnTask()
225 uint8_t buffer_index = session->current_buffer_index_; in ToneMap() local
226 int &release_fence_fd = session->release_fence_fd_[buffer_index]; in ToneMap()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_tonemapper.cpp84 uint8_t buffer_index = current_buffer_index_; in OnTask() local
86 (buffer_info_[buffer_index].private_data); in OnTask()
228 uint8_t buffer_index = session->current_buffer_index_; in ToneMap() local
229 int &release_fence_fd = session->release_fence_fd_[buffer_index]; in ToneMap()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_tonemapper.cpp84 uint8_t buffer_index = current_buffer_index_; in OnTask() local
86 (buffer_info_[buffer_index].private_data); in OnTask()
227 uint8_t buffer_index = session->current_buffer_index_; in ToneMap() local
228 int &release_fence_fd = session->release_fence_fd_[buffer_index]; in ToneMap()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_tonemapper.cpp84 uint8_t buffer_index = current_buffer_index_; in OnTask() local
86 (buffer_info_[buffer_index].private_data); in OnTask()
228 uint8_t buffer_index = session->current_buffer_index_; in ToneMap() local
229 int &release_fence_fd = session->release_fence_fd_[buffer_index]; in ToneMap()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device.cpp1441 struct venc_bufferflush buffer_index; in venc_flush() local
1446 buffer_index.flush_mode = VEN_FLUSH_INPUT; in venc_flush()
1447 ioctl_msg.in = (void*)&buffer_index; in venc_flush()
1455 buffer_index.flush_mode = VEN_FLUSH_OUTPUT; in venc_flush()
1456 ioctl_msg.in = (void*)&buffer_index; in venc_flush()
Domx_video_base.cpp4044 int buffer_index = -1; in empty_buffer_done() local
4047 buffer_index = (buffer - m_inp_mem_ptr); in empty_buffer_done()
4051 ((buffer_index > m_sInPortDef.nBufferCountActual) && in empty_buffer_done()
4060 if(mUseProxyColorFormat && ((OMX_U32)buffer_index < m_sInPortDef.nBufferCountActual)) { in empty_buffer_done()
Dvideo_encoder_device_copper.cpp1393 struct venc_bufferflush buffer_index; in venc_flush() local
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp1653 struct venc_bufferflush buffer_index; in venc_flush() local
1657 buffer_index.flush_mode = VEN_FLUSH_INPUT; in venc_flush()
1658 ioctl_msg.in = (void*)&buffer_index; in venc_flush()
1664 buffer_index.flush_mode = VEN_FLUSH_OUTPUT; in venc_flush()
1665 ioctl_msg.in = (void*)&buffer_index; in venc_flush()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp1652 struct venc_bufferflush buffer_index; in venc_flush() local
1656 buffer_index.flush_mode = VEN_FLUSH_INPUT; in venc_flush()
1657 ioctl_msg.in = (void*)&buffer_index; in venc_flush()
1663 buffer_index.flush_mode = VEN_FLUSH_OUTPUT; in venc_flush()
1664 ioctl_msg.in = (void*)&buffer_index; in venc_flush()
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
Domx_video_base.cpp4684 int buffer_index = -1; in empty_buffer_done() local
4686buffer_index = buffer - ((mUseProxyColorFormat && !mUsesColorConversion) ? meta_buffer_hdr : m_inp… in empty_buffer_done()
4689 ((buffer_index > (int)m_sInPortDef.nBufferCountActual))) { in empty_buffer_done()
4698 (buffer_index >= 0 && (buffer_index < (int)m_sInPortDef.nBufferCountActual))) { in empty_buffer_done()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Domx_vdec_copper.cpp8254 OMX_U32 buffer_index = 0; in handle_demux_data() local
8262 buffer_index = p_buf_hdr - ((OMX_BUFFERHEADERTYPE *)m_inp_mem_ptr); in handle_demux_data()
8263 if (buffer_index > drv_ctx.ip_buf.actualcount) in handle_demux_data()
8265 DEBUG_PRINT_ERROR("handle_demux_data:Buffer index is incorrect (%d)", buffer_index); in handle_demux_data()
8269 p_demux_data = (OMX_U8 *) m_desc_buffer_ptr[buffer_index].buf_addr; in handle_demux_data()
8330 m_desc_buffer_ptr[buffer_index].desc_data_size = (m_demux_entries * 16) + sizeof(OMX_U32); in handle_demux_data()
8331 DEBUG_PRINT_LOW("desc table data size=%d", m_desc_buffer_ptr[buffer_index].desc_data_size); in handle_demux_data()
Domx_vdec.cpp8817 OMX_U32 buffer_index = 0; in handle_demux_data() local
8825 buffer_index = p_buf_hdr - ((OMX_BUFFERHEADERTYPE *)m_inp_mem_ptr); in handle_demux_data()
8826 if (buffer_index > drv_ctx.ip_buf.actualcount) in handle_demux_data()
8828 DEBUG_PRINT_ERROR("handle_demux_data:Buffer index is incorrect (%d)", buffer_index); in handle_demux_data()
8832 p_demux_data = (OMX_U8 *) m_desc_buffer_ptr[buffer_index].buf_addr; in handle_demux_data()
8893 m_desc_buffer_ptr[buffer_index].desc_data_size = (m_demux_entries * 16) + sizeof(OMX_U32); in handle_demux_data()
8894 DEBUG_PRINT_LOW("desc table data size=%d", m_desc_buffer_ptr[buffer_index].desc_data_size); in handle_demux_data()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec.cpp8863 OMX_U32 buffer_index = 0; in handle_demux_data() local
8870 buffer_index = p_buf_hdr - ((OMX_BUFFERHEADERTYPE *)m_inp_mem_ptr); in handle_demux_data()
8872 if (buffer_index > drv_ctx.ip_buf.actualcount) { in handle_demux_data()
8873 DEBUG_PRINT_ERROR("handle_demux_data:Buffer index is incorrect (%d)", buffer_index); in handle_demux_data()
8877 p_demux_data = (OMX_U8 *) m_desc_buffer_ptr[buffer_index].buf_addr; in handle_demux_data()
8932 m_desc_buffer_ptr[buffer_index].desc_data_size = (m_demux_entries * 16) + sizeof(OMX_U32); in handle_demux_data()
8933 DEBUG_PRINT_LOW("desc table data size=%d", m_desc_buffer_ptr[buffer_index].desc_data_size); in handle_demux_data()
Domx_vdec_hevc.cpp8043 OMX_U32 buffer_index = 0; in handle_demux_data() local
8050 buffer_index = p_buf_hdr - ((OMX_BUFFERHEADERTYPE *)m_inp_mem_ptr); in handle_demux_data()
8051 if (buffer_index > drv_ctx.ip_buf.actualcount) { in handle_demux_data()
8052 DEBUG_PRINT_ERROR("handle_demux_data:Buffer index is incorrect (%lu)", buffer_index); in handle_demux_data()
8056 p_demux_data = (OMX_U8 *) m_desc_buffer_ptr[buffer_index].buf_addr; in handle_demux_data()
8106 m_desc_buffer_ptr[buffer_index].desc_data_size = (m_demux_entries * 16) + sizeof(OMX_U32); in handle_demux_data()
8107 DEBUG_PRINT_LOW("desc table data size=%d", m_desc_buffer_ptr[buffer_index].desc_data_size); in handle_demux_data()
Domx_vdec_msm8974.cpp10110 OMX_U32 buffer_index = 0; in handle_demux_data() local
10117 buffer_index = p_buf_hdr - ((OMX_BUFFERHEADERTYPE *)m_inp_mem_ptr); in handle_demux_data()
10118 if (buffer_index > drv_ctx.ip_buf.actualcount) { in handle_demux_data()
10119 … DEBUG_PRINT_ERROR("handle_demux_data:Buffer index is incorrect (%u)", (unsigned int)buffer_index); in handle_demux_data()
10123 p_demux_data = (OMX_U8 *) m_desc_buffer_ptr[buffer_index].buf_addr; in handle_demux_data()
10173 m_desc_buffer_ptr[buffer_index].desc_data_size = (m_demux_entries * 16) + sizeof(OMX_U32); in handle_demux_data()
10174 …DEBUG_PRINT_LOW("desc table data size=%u", (unsigned int)m_desc_buffer_ptr[buffer_index].desc_data… in handle_demux_data()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c510 OMX_INDEXTYPE buffer_index; in mm_jpeg_session_config_main_buffer_offset() local
530 QOMX_IMAGE_EXT_BUFFER_OFFSET_NAME, &buffer_index); in mm_jpeg_session_config_main_buffer_offset()
545 rc = OMX_SetParameter(p_session->omx_handle, buffer_index, &frame_info); in mm_jpeg_session_config_main_buffer_offset()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp9337 OMX_U32 buffer_index = 0; in handle_demux_data() local
9345 buffer_index = p_buf_hdr - ((OMX_BUFFERHEADERTYPE *)m_inp_mem_ptr); in handle_demux_data()
9346 if (buffer_index > drv_ctx.ip_buf.actualcount) in handle_demux_data()
9348 DEBUG_PRINT_ERROR("handle_demux_data:Buffer index is incorrect (%lu)", buffer_index); in handle_demux_data()
9352 p_demux_data = (OMX_U8 *) m_desc_buffer_ptr[buffer_index].buf_addr; in handle_demux_data()
9413 m_desc_buffer_ptr[buffer_index].desc_data_size = (m_demux_entries * 16) + sizeof(OMX_U32); in handle_demux_data()
9414 DEBUG_PRINT_LOW("desc table data size=%lu", m_desc_buffer_ptr[buffer_index].desc_data_size); in handle_demux_data()