Home
last modified time | relevance | path

Searched refs:enc (Results 1 – 11 of 11) sorted by relevance

/hardware/qcom/display/msm8998/libdrmutils/
Ddrm_res_mgr.cpp62 drmModeEncoder *enc = drmModeGetEncoder(dev_fd, conn->encoders[i]); in GetEncoder() local
63 if (enc && enc->encoder_type == DRM_MODE_ENCODER_DSI) { in GetEncoder()
64 *encoder = enc; in GetEncoder()
65 DRM_LOGI("Found encoder %d", enc->encoder_id); in GetEncoder()
72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) { in GetCrtc() argument
74 if (enc->possible_crtcs & (1 << i)) { in GetCrtc()
127 drmModeEncoder *enc = nullptr; in Init() local
128 if (!GetEncoder(dev_fd, conn, &enc)) { in Init()
135 if (!GetCrtc(dev_fd, res, enc, &crtc)) { in Init()
137 drmModeFreeEncoder(enc); in Init()
[all …]
/hardware/qcom/display/msm8909/libdrmutils/
Ddrm_res_mgr.cpp62 drmModeEncoder *enc = drmModeGetEncoder(dev_fd, conn->encoders[i]); in GetEncoder() local
63 if (enc && enc->encoder_type == DRM_MODE_ENCODER_DSI) { in GetEncoder()
64 *encoder = enc; in GetEncoder()
65 DRM_LOGI("Found encoder %d", enc->encoder_id); in GetEncoder()
72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) { in GetCrtc() argument
74 if (enc->possible_crtcs & (1 << i)) { in GetCrtc()
127 drmModeEncoder *enc = nullptr; in Init() local
128 if (!GetEncoder(dev_fd, conn, &enc)) { in Init()
135 if (!GetCrtc(dev_fd, res, enc, &crtc)) { in Init()
137 drmModeFreeEncoder(enc); in Init()
[all …]
/hardware/qcom/sm8150/display/libdrmutils/
Ddrm_res_mgr.cpp62 drmModeEncoder *enc = drmModeGetEncoder(dev_fd, conn->encoders[i]); in GetEncoder() local
63 if (enc && enc->encoder_type == DRM_MODE_ENCODER_DSI) { in GetEncoder()
64 *encoder = enc; in GetEncoder()
65 DRM_LOGI("Found encoder %d", enc->encoder_id); in GetEncoder()
72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) { in GetCrtc() argument
74 if (enc->possible_crtcs & (1 << i)) { in GetCrtc()
127 drmModeEncoder *enc = nullptr; in Init() local
128 if (!GetEncoder(dev_fd, conn, &enc)) { in Init()
135 if (!GetCrtc(dev_fd, res, enc, &crtc)) { in Init()
137 drmModeFreeEncoder(enc); in Init()
[all …]
/hardware/qcom/display/msm8909w_3100/libdrmutils/
Ddrm_res_mgr.cpp62 drmModeEncoder *enc = drmModeGetEncoder(dev_fd, conn->encoders[i]); in GetEncoder() local
63 if (enc && enc->encoder_type == DRM_MODE_ENCODER_DSI) { in GetEncoder()
64 *encoder = enc; in GetEncoder()
65 DRM_LOGI("Found encoder %d", enc->encoder_id); in GetEncoder()
72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) { in GetCrtc() argument
74 if (enc->possible_crtcs & (1 << i)) { in GetCrtc()
127 drmModeEncoder *enc = nullptr; in Init() local
128 if (!GetEncoder(dev_fd, conn, &enc)) { in Init()
135 if (!GetCrtc(dev_fd, res, enc, &crtc)) { in Init()
137 drmModeFreeEncoder(enc); in Init()
[all …]
/hardware/qcom/sdm845/display/libdrmutils/
Ddrm_res_mgr.cpp62 drmModeEncoder *enc = drmModeGetEncoder(dev_fd, conn->encoders[i]); in GetEncoder() local
63 if (enc && enc->encoder_type == DRM_MODE_ENCODER_DSI) { in GetEncoder()
64 *encoder = enc; in GetEncoder()
65 DRM_LOGI("Found encoder %d", enc->encoder_id); in GetEncoder()
72 static bool GetCrtc(int dev_fd, drmModeRes *res, drmModeEncoder *enc, drmModeCrtc **crtc) { in GetCrtc() argument
74 if (enc->possible_crtcs & (1 << i)) { in GetCrtc()
127 drmModeEncoder *enc = nullptr; in Init() local
128 if (!GetEncoder(dev_fd, conn, &enc)) { in Init()
135 if (!GetCrtc(dev_fd, res, enc, &crtc)) { in Init()
137 drmModeFreeEncoder(enc); in Init()
[all …]
/hardware/qcom/sdm845/display/libhistogram/
Dhistogram_collector.cpp102 auto enc = encoders_.find(con->encoders[i]); in find_encoder_by_connector_and_type() local
103 if (enc != encoders_.end() && (enc->second->encoder_type == type)) { in find_encoder_by_connector_and_type()
104 return enc->second; in find_encoder_by_connector_and_type()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp1097 struct v4l2_encoder_cmd enc; in venc_close() local
1101 enc.cmd = V4L2_ENC_CMD_STOP; in venc_close()
1102 ioctl(m_nDriver_fd, VIDIOC_ENCODER_CMD, &enc); in venc_close()
2484 struct v4l2_encoder_cmd enc; in venc_flush() local
2487 enc.cmd = V4L2_ENC_QCOM_CMD_FLUSH; in venc_flush()
2488 enc.flags = V4L2_QCOM_CMD_FLUSH_OUTPUT | V4L2_QCOM_CMD_FLUSH_CAPTURE; in venc_flush()
2490 if (ioctl(m_nDriver_fd, VIDIOC_ENCODER_CMD, &enc)) { in venc_flush()
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp3178 struct v4l2_encoder_cmd enc; in venc_handle_empty_eos_buffer() local
3212 memset(&enc, 0, sizeof(enc)); in venc_handle_empty_eos_buffer()
3213 enc.cmd = V4L2_ENC_CMD_STOP; in venc_handle_empty_eos_buffer()
3215 rc = ioctl(m_nDriver_fd, VIDIOC_ENCODER_CMD, &enc); in venc_handle_empty_eos_buffer()
3629 struct v4l2_encoder_cmd enc; in venc_flush() local
3643 enc.cmd = V4L2_QCOM_CMD_FLUSH; in venc_flush()
3644 enc.flags = V4L2_QCOM_CMD_FLUSH_OUTPUT | V4L2_QCOM_CMD_FLUSH_CAPTURE; in venc_flush()
3646 if (ioctl(m_nDriver_fd, VIDIOC_ENCODER_CMD, &enc)) { in venc_flush()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp3425 struct v4l2_encoder_cmd enc; in venc_handle_empty_eos_buffer() local
3459 memset(&enc, 0, sizeof(enc)); in venc_handle_empty_eos_buffer()
3460 enc.cmd = V4L2_ENC_CMD_STOP; in venc_handle_empty_eos_buffer()
3462 rc = ioctl(m_nDriver_fd, VIDIOC_ENCODER_CMD, &enc); in venc_handle_empty_eos_buffer()
3906 struct v4l2_encoder_cmd enc; in venc_flush() local
3913 enc.cmd = V4L2_QCOM_CMD_FLUSH; in venc_flush()
3914 enc.flags = V4L2_QCOM_CMD_FLUSH_OUTPUT | V4L2_QCOM_CMD_FLUSH_CAPTURE; in venc_flush()
3916 if (ioctl(m_nDriver_fd, VIDIOC_ENCODER_CMD, &enc)) { in venc_flush()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp3186 struct v4l2_encoder_cmd enc; in venc_flush() local
3189 enc.cmd = V4L2_ENC_QCOM_CMD_FLUSH; in venc_flush()
3190 enc.flags = V4L2_QCOM_CMD_FLUSH_OUTPUT | V4L2_QCOM_CMD_FLUSH_CAPTURE; in venc_flush()
3192 if (ioctl(m_nDriver_fd, VIDIOC_ENCODER_CMD, &enc)) { in venc_flush()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp3571 struct v4l2_encoder_cmd enc; in venc_flush() local
3585 enc.cmd = V4L2_ENC_QCOM_CMD_FLUSH; in venc_flush()
3586 enc.flags = V4L2_QCOM_CMD_FLUSH_OUTPUT | V4L2_QCOM_CMD_FLUSH_CAPTURE; in venc_flush()
3588 if (ioctl(m_nDriver_fd, VIDIOC_ENCODER_CMD, &enc)) { in venc_flush()