Lines Matching refs:fmt
283 bool exynos_v4l2_enum_fmt(int fd, enum v4l2_buf_type type, unsigned int fmt) in exynos_v4l2_enum_fmt() argument
294 if (fmtdesc.pixelformat == fmt) { in exynos_v4l2_enum_fmt()
295 … ALOGE("Passed fmt = %#x found pixel format[%d]: %s", fmt, fmtdesc.index, fmtdesc.description); in exynos_v4l2_enum_fmt()
313 int exynos_v4l2_g_fmt(int fd, struct v4l2_format *fmt) in exynos_v4l2_g_fmt() argument
324 if (!fmt) { in exynos_v4l2_g_fmt()
329 if (__v4l2_check_buf_type(fmt->type) == false) { in exynos_v4l2_g_fmt()
334 ret = ioctl(fd, VIDIOC_G_FMT, fmt); in exynos_v4l2_g_fmt()
345 static int __v4l2_s_fmt(int fd, unsigned int request, struct v4l2_format *fmt) in __v4l2_s_fmt() argument
356 if (!fmt) { in __v4l2_s_fmt()
361 if (__v4l2_check_buf_type(fmt->type) == false) { in __v4l2_s_fmt()
365 ret = ioctl(fd, request, fmt); in __v4l2_s_fmt()
381 int exynos_v4l2_try_fmt(int fd, struct v4l2_format *fmt) in exynos_v4l2_try_fmt() argument
383 return __v4l2_s_fmt(fd, VIDIOC_TRY_FMT, fmt); in exynos_v4l2_try_fmt()
386 int exynos_v4l2_s_fmt(int fd, struct v4l2_format *fmt) in exynos_v4l2_s_fmt() argument
388 return __v4l2_s_fmt(fd, VIDIOC_S_FMT, fmt); in exynos_v4l2_s_fmt()