Searched defs:fmtdesc (Results 1 - 5 of 5) sorted by path

/hardware/interfaces/camera/device/3.4/default/
H A DExternalCameraDevice.cpp792 struct v4l2_fmtdesc fmtdesc { struct
797 ret = TEMP_FAILURE_RETRY(ioctl(fd, VIDIOC_ENUM_FMT, &fmtdesc));
798 ALOGV("index:%d,ret:%d, format:%c%c%c%c", fmtdesc.index, ret,
799 fmtdesc.pixelformat & 0xFF,
800 (fmtdesc.pixelformat >> 8) & 0xFF,
801 (fmtdesc.pixelformat >> 16) & 0xFF,
802 (fmtdesc.pixelformat >> 24) & 0xFF);
803 if (ret == 0 && !(fmtdesc.flags & V4L2_FMT_FLAG_EMULATED)) {
805 kSupportedFourCCs.begin(), kSupportedFourCCs.end(), fmtdesc.pixelformat);
810 .pixel_format = fmtdesc
[all...]
/hardware/qcom/camera/msm8998/usbcamcore/src/
H A DQualcommUsbCamera.cpp1065 struct v4l2_fmtdesc fmtdesc; local
1067 memset(&fmtdesc, 0, sizeof(v4l2_fmtdesc));
1078 fmtdesc.index = i;
1079 fmtdesc.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
1080 if (-1 == ioctlLoop(camHal->fd, VIDIOC_ENUM_FMT, &fmtdesc)) {
1088 if(V4L2_PIX_FMT_MJPEG == fmtdesc.pixelformat){
1092 if(V4L2_PIX_FMT_H264 == fmtdesc.pixelformat){
/hardware/qcom/display/msm8909/sdm/libs/core/drm/
H A Dhw_info_drm.cpp407 struct v4l2_fmtdesc fmtdesc = {}; local
408 fmtdesc.type = type;
409 while (!Sys::ioctl_(fd, static_cast<int>(VIDIOC_ENUM_FMT), &fmtdesc)) {
411 GetSDMFormat(fmtdesc.pixelformat, &sdm_format);
415 fmtdesc.index++;
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/drm/
H A Dhw_info_drm.cpp396 struct v4l2_fmtdesc fmtdesc = {}; local
397 fmtdesc.type = type;
398 while (!Sys::ioctl_(fd, static_cast<int>(VIDIOC_ENUM_FMT), &fmtdesc)) {
400 GetSDMFormat(fmtdesc.pixelformat, &sdm_format);
404 fmtdesc.index++;
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
H A Dhw_info_drm.cpp396 struct v4l2_fmtdesc fmtdesc = {}; local
397 fmtdesc.type = type;
398 while (!Sys::ioctl_(fd, static_cast<int>(VIDIOC_ENUM_FMT), &fmtdesc)) {
400 GetSDMFormat(fmtdesc.pixelformat, &sdm_format);
404 fmtdesc.index++;

Completed in 562 milliseconds