Home
last modified time | relevance | path

Searched refs:dup_fd (Results 1 – 14 of 14) sorted by relevance

/hardware/qcom/sm7250/display/sdm/libs/utils/
Dfence.cpp167 for (int dup_fd : dup_fds_) { in ~ScopedRef() local
168 close(dup_fd); in ~ScopedRef()
173 int dup_fd = Fence::Dup(fence); in Get() local
174 if (dup_fd >= 0) { in Get()
175 dup_fds_.push_back(dup_fd); in Get()
178 return dup_fd; in Get()
/hardware/google/graphics/common/libhwc2.1/libhwchelper/
DExynosHWCHelper.cpp792 int dup_fd = -1; in hwc_dup() local
795 dup_fd = dup(fd); in hwc_dup()
803 if ((dup_fd < 3) && (dup_fd != -1)) { in hwc_dup()
804 ALOGW("%s : Dupulicated Fd:%d is less than 3 : %d", __func__, fd, dup_fd); in hwc_dup()
808 setFenceInfo(dup_fd, display, type, ip, FENCE_FROM, pendingAllowed); in hwc_dup()
809 FT_LOGD("duplicated %d from %d", dup_fd, fd); in hwc_dup()
811 return dup_fd; in hwc_dup()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec.h128 unsigned int dup_fd; ///< duplicate file descriptor member
Domx_vdec_hevc_swvdec.h308 OMX_U32 dup_fd; member
Domx_vdec.h323 long dup_fd; member
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp4051 if ((m_meta_buffer_array[index].dup_fd != 0) && in meta_buffer_ref_add()
4062 if (m_meta_buffer_array[index].dup_fd == 0) in meta_buffer_ref_add()
4065 m_meta_buffer_array[index].dup_fd = dup(fd); in meta_buffer_ref_add()
4097 close(m_meta_buffer_array[ii].dup_fd); in meta_buffer_ref_remove()
4100 m_meta_buffer_array[ii].dup_fd = 0; in meta_buffer_ref_remove()
Domx_vdec_hevc_swvdec.cpp9783 if (out_dynamic_list[index].dup_fd && in buf_ref_add()
9793 if (out_dynamic_list[index].dup_fd == 0) in buf_ref_add()
9797 out_dynamic_list[index].dup_fd = dup(fd); in buf_ref_add()
9816 close(out_dynamic_list[i].dup_fd); in buf_ref_remove()
9819 out_dynamic_list[i].dup_fd = 0; in buf_ref_remove()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h314 OMX_U32 dup_fd; member
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h439 long dup_fd; member
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h326 long dup_fd; member
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h509 long dup_fd; member
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_hevc_swvdec.cpp9581 if (out_dynamic_list[index].dup_fd && in buf_ref_add()
9591 if (out_dynamic_list[index].dup_fd == 0) in buf_ref_add()
9595 out_dynamic_list[index].dup_fd = dup(fd); in buf_ref_add()
9614 close(out_dynamic_list[i].dup_fd); in buf_ref_remove()
9617 out_dynamic_list[i].dup_fd = 0; in buf_ref_remove()
Domx_vdec_msm8974.cpp10653 if (out_dynamic_list[i].dup_fd == 0) { in buf_ref_add()
10656 out_dynamic_list[i].dup_fd = dup(fd); in buf_ref_add()
10688 close(out_dynamic_list[i].dup_fd); in buf_ref_remove()
10691 out_dynamic_list[i].dup_fd = 0; in buf_ref_remove()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_vdec_v4l2.cpp10783 out_dynamic_list[i].dup_fd = -1; in allocate_output_headers()
13156 if (out_dynamic_list[i].dup_fd < 0) { in buf_ref_add()
13159 out_dynamic_list[i].dup_fd = dup(fd); in buf_ref_add()
13204 close(out_dynamic_list[i].dup_fd); in buf_ref_remove()
13205 out_dynamic_list[i].dup_fd = -1; in buf_ref_remove()