Home
last modified time | relevance | path

Searched refs:fmtdesc (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDevice.cpp856 struct v4l2_fmtdesc fmtdesc { in getCandidateSupportedFormatsLocked() struct
861 ret = TEMP_FAILURE_RETRY(ioctl(fd, VIDIOC_ENUM_FMT, &fmtdesc)); in getCandidateSupportedFormatsLocked()
862 ALOGV("index:%d,ret:%d, format:%c%c%c%c", fmtdesc.index, ret, in getCandidateSupportedFormatsLocked()
863 fmtdesc.pixelformat & 0xFF, in getCandidateSupportedFormatsLocked()
864 (fmtdesc.pixelformat >> 8) & 0xFF, in getCandidateSupportedFormatsLocked()
865 (fmtdesc.pixelformat >> 16) & 0xFF, in getCandidateSupportedFormatsLocked()
866 (fmtdesc.pixelformat >> 24) & 0xFF); in getCandidateSupportedFormatsLocked()
867 if (ret == 0 && !(fmtdesc.flags & V4L2_FMT_FLAG_EMULATED)) { in getCandidateSupportedFormatsLocked()
869 kSupportedFourCCs.begin(), kSupportedFourCCs.end(), fmtdesc.pixelformat); in getCandidateSupportedFormatsLocked()
874 .pixel_format = fmtdesc.pixelformat}; in getCandidateSupportedFormatsLocked()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_info_drm.cpp396 struct v4l2_fmtdesc fmtdesc = {}; in GetRotatorFormatsForType() local
397 fmtdesc.type = type; in GetRotatorFormatsForType()
398 while (!Sys::ioctl_(fd, static_cast<int>(VIDIOC_ENUM_FMT), &fmtdesc)) { in GetRotatorFormatsForType()
400 GetSDMFormat(fmtdesc.pixelformat, &sdm_format); in GetRotatorFormatsForType()
404 fmtdesc.index++; in GetRotatorFormatsForType()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
Dhw_info_drm.cpp396 struct v4l2_fmtdesc fmtdesc = {}; in GetRotatorFormatsForType() local
397 fmtdesc.type = type; in GetRotatorFormatsForType()
398 while (!Sys::ioctl_(fd, static_cast<int>(VIDIOC_ENUM_FMT), &fmtdesc)) { in GetRotatorFormatsForType()
400 GetSDMFormat(fmtdesc.pixelformat, &sdm_format); in GetRotatorFormatsForType()
404 fmtdesc.index++; in GetRotatorFormatsForType()
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
Dhw_info_drm.cpp409 struct v4l2_fmtdesc fmtdesc = {}; in GetRotatorFormatsForType() local
410 fmtdesc.type = type; in GetRotatorFormatsForType()
411 while (!Sys::ioctl_(fd, static_cast<int>(VIDIOC_ENUM_FMT), &fmtdesc)) { in GetRotatorFormatsForType()
413 GetSDMFormat(fmtdesc.pixelformat, &sdm_format); in GetRotatorFormatsForType()
417 fmtdesc.index++; in GetRotatorFormatsForType()
/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_info_drm.cpp487 struct v4l2_fmtdesc fmtdesc = {}; in GetRotatorFormatsForType() local
488 fmtdesc.type = type; in GetRotatorFormatsForType()
489 while (!Sys::ioctl_(fd, static_cast<int>(VIDIOC_ENUM_FMT), &fmtdesc)) { in GetRotatorFormatsForType()
491 GetSDMFormat(fmtdesc.pixelformat, &sdm_format); in GetRotatorFormatsForType()
495 fmtdesc.index++; in GetRotatorFormatsForType()
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_info_drm.cpp569 struct v4l2_fmtdesc fmtdesc = {}; in GetRotatorFormatsForType() local
570 fmtdesc.type = type; in GetRotatorFormatsForType()
571 while (!Sys::ioctl_(fd, static_cast<int>(VIDIOC_ENUM_FMT), &fmtdesc)) { in GetRotatorFormatsForType()
573 GetSDMFormat(fmtdesc.pixelformat, &sdm_format); in GetRotatorFormatsForType()
577 fmtdesc.index++; in GetRotatorFormatsForType()
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQualcommUsbCamera.cpp1065 struct v4l2_fmtdesc fmtdesc; in getPreviewCaptureFmt() local
1067 memset(&fmtdesc, 0, sizeof(v4l2_fmtdesc)); in getPreviewCaptureFmt()
1078 fmtdesc.index = i; in getPreviewCaptureFmt()
1079 fmtdesc.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in getPreviewCaptureFmt()
1080 if (-1 == ioctlLoop(camHal->fd, VIDIOC_ENUM_FMT, &fmtdesc)) { in getPreviewCaptureFmt()
1088 if(V4L2_PIX_FMT_MJPEG == fmtdesc.pixelformat){ in getPreviewCaptureFmt()
1092 if(V4L2_PIX_FMT_H264 == fmtdesc.pixelformat){ in getPreviewCaptureFmt()