Home
last modified time | relevance | path

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

/aosp12/hardware/google/gchips/libexynosutils/
H A Dexynos_format_v4l2.c50 int v4l2_pixel_format = -1; in HAL_PIXEL_FORMAT_2_V4L2_PIX() local
55 v4l2_pixel_format = V4L2_PIX_FMT_RGB32; in HAL_PIXEL_FORMAT_2_V4L2_PIX()
59 v4l2_pixel_format = V4L2_PIX_FMT_RGB24; in HAL_PIXEL_FORMAT_2_V4L2_PIX()
67 v4l2_pixel_format = V4L2_PIX_FMT_BGR32; in HAL_PIXEL_FORMAT_2_V4L2_PIX()
91 v4l2_pixel_format = V4L2_PIX_FMT_NV16; in HAL_PIXEL_FORMAT_2_V4L2_PIX()
95 v4l2_pixel_format = V4L2_PIX_FMT_NV12; in HAL_PIXEL_FORMAT_2_V4L2_PIX()
135 v4l2_pixel_format = V4L2_PIX_FMT_NV12MT; in HAL_PIXEL_FORMAT_2_V4L2_PIX()
163 return v4l2_pixel_format; in HAL_PIXEL_FORMAT_2_V4L2_PIX()
167 int v4l2_pixel_format) in V4L2_PIX_2_HAL_PIXEL_FORMAT() argument
171 switch (v4l2_pixel_format) { in V4L2_PIX_2_HAL_PIXEL_FORMAT()
[all …]
/aosp12/hardware/google/graphics/common/libscaler/
H A Dlibscaler.cpp48 int v4l2_pixel_format = -1; in hal_pixfmt_to_v4l2() local
53 v4l2_pixel_format = V4L2_PIX_FMT_RGB32; in hal_pixfmt_to_v4l2()
57 v4l2_pixel_format = V4L2_PIX_FMT_RGB24; in hal_pixfmt_to_v4l2()
65 v4l2_pixel_format = V4L2_PIX_FMT_BGR32; in hal_pixfmt_to_v4l2()
89 v4l2_pixel_format = V4L2_PIX_FMT_NV16; in hal_pixfmt_to_v4l2()
93 v4l2_pixel_format = V4L2_PIX_FMT_NV12; in hal_pixfmt_to_v4l2()
111 v4l2_pixel_format = V4L2_PIX_FMT_YUYV; in hal_pixfmt_to_v4l2()
115 v4l2_pixel_format = V4L2_PIX_FMT_UYVY; in hal_pixfmt_to_v4l2()
119 v4l2_pixel_format = V4L2_PIX_FMT_NV61; in hal_pixfmt_to_v4l2()
133 v4l2_pixel_format = V4L2_PIX_FMT_NV12MT; in hal_pixfmt_to_v4l2()
[all …]
/aosp12/hardware/google/gchips/include/
H A Dexynos_format.h206 int v4l2_pixel_format);
254 unsigned int v4l2_pixel_format,
268 unsigned int v4l2_pixel_format);
280 unsigned int v4l2_pixel_format);
/aosp12/hardware/libhardware/modules/camera/3_4/
H A Dstream_format.cpp96 int StreamFormat::V4L2ToHalPixelFormat(uint32_t v4l2_pixel_format) { in V4L2ToHalPixelFormat() argument
98 switch (v4l2_pixel_format) { in V4L2ToHalPixelFormat()
113 HAL_LOGV("Unrecognized v4l2 pixel format %u", v4l2_pixel_format); in V4L2ToHalPixelFormat()
H A Dstream_format.h49 inline uint32_t v4l2_pixel_format() const { return v4l2_pixel_format_; } in v4l2_pixel_format() function
59 static int V4L2ToHalPixelFormat(uint32_t v4l2_pixel_format);
H A Dv4l2_wrapper.cpp517 desired_format.v4l2_pixel_format(), in SetFormat()
632 request_context->camera_buffer->SetFourcc(format_->v4l2_pixel_format()); in EnqueueRequest()
/aosp12/hardware/google/graphics/common/libgscaler/
H A Dlibgscaler_obj.cpp59 static int v4l2_pixfmt_to_yuvinfo(unsigned int v4l2_pixel_format, unsigned int * bpp, unsigned int … in v4l2_pixfmt_to_yuvinfo() argument
61 switch (v4l2_pixel_format) { in v4l2_pixfmt_to_yuvinfo()
105 static int gsc_get_yuv_bpp(unsigned int v4l2_pixel_format) in gsc_get_yuv_bpp() argument
109 if (v4l2_pixfmt_to_yuvinfo(v4l2_pixel_format, &bpp, &planes) < 0) in gsc_get_yuv_bpp()
115 static int gsc_get_yuv_planes(unsigned int v4l2_pixel_format) in gsc_get_yuv_planes() argument
119 if (v4l2_pixfmt_to_yuvinfo(v4l2_pixel_format, &bpp, &planes) < 0) in gsc_get_yuv_planes()