Searched refs:v4l2_fmt (Results 1 – 5 of 5) sorted by relevance
/aosp12/hardware/google/graphics/common/libscaler/ |
H A D | libscaler-m2m1shot.h | 38 unsigned int width, unsigned int height, unsigned int v4l2_fmt); 52 inline bool SetSrcFormat(unsigned int width, unsigned int height, unsigned int v4l2_fmt) { in SetSrcFormat() argument 53 return SetFormat(m_task.fmt_out, m_task.buf_out, width, height, v4l2_fmt); in SetSrcFormat() 56 inline bool SetDstFormat(unsigned int width, unsigned int height, unsigned int v4l2_fmt) { in SetDstFormat() argument 57 return SetFormat(m_task.fmt_cap, m_task.buf_cap, width, height, v4l2_fmt); in SetDstFormat()
|
H A D | libscaler-m2m1shot.cpp | 128 unsigned int width, unsigned int height, unsigned int v4l2_fmt) { in SetFormat() argument 133 fmt.fmt = v4l2_fmt; in SetFormat() 136 if (g_pixfmt_table[i].pixfmt == v4l2_fmt) { in SetFormat() 143 SC_LOGE("Format %#x is not supported", v4l2_fmt); in SetFormat() 149 SC_LOGE("Plane %d of format %#x must have even width", i, v4l2_fmt); in SetFormat()
|
/aosp12/frameworks/native/services/inputflinger/reader/ |
H A D | TouchVideoDevice.cpp | 87 struct v4l2_format v4l2_fmt; in create() local 88 v4l2_fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in create() 89 result = ioctl(fd.get(), VIDIOC_G_FMT, &v4l2_fmt); in create() 94 const uint32_t height = v4l2_fmt.fmt.pix.height; in create() 95 const uint32_t width = v4l2_fmt.fmt.pix.width; in create()
|
/aosp12/hardware/google/graphics/common/libhwjpeg/include/ |
H A D | exynos-hwjpeg.h | 174 virtual bool SetImageFormat(unsigned int v4l2_fmt, unsigned int width, unsigned int height, 402 virtual bool SetImageFormat(unsigned int v4l2_fmt, unsigned int width, unsigned int height) = 0; 571 virtual bool SetImageFormat(unsigned int v4l2_fmt, unsigned int width, unsigned int height, 611 virtual bool SetImageFormat(unsigned int v4l2_fmt, unsigned int width, unsigned int height);
|
/aosp12/hardware/google/graphics/common/libhwjpeg/ |
H A D | hwjpeg-v4l2.cpp | 149 bool CHWJpegV4L2Compressor::SetImageFormat(unsigned int v4l2_fmt, in SetImageFormat() argument 153 if ((m_v4l2Format.fmt.pix_mp.pixelformat == v4l2_fmt) && in SetImageFormat() 158 m_v4l2Format.fmt.pix_mp.pixelformat = v4l2_fmt; in SetImageFormat() 808 bool CHWJpegV4L2Decompressor::SetImageFormat(unsigned int v4l2_fmt, in SetImageFormat() argument 814 if ((p->pixelformat == v4l2_fmt) && in SetImageFormat() 824 m_v4l2Format.fmt.pix.pixelformat = v4l2_fmt; in SetImageFormat() 830 v4l2_fmt, width, height); in SetImageFormat()
|