Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/mpp/utils/
H A Dcamera_source.c115 struct v4l2_format vfmt; in camera_source_init() local
151 vfmt = (struct v4l2_format) {0}; in camera_source_init()
152 vfmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in camera_source_init()
155 vfmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in camera_source_init()
157 vfmt.fmt.pix.width = width; in camera_source_init()
158 vfmt.fmt.pix.height = height; in camera_source_init()
161 vfmt.fmt.pix.pixelformat = V4L2_yuv_cfg[format - MPP_FRAME_FMT_YUV]; in camera_source_init()
163 vfmt.fmt.pix.pixelformat = V4L2_RGB_cfg[format - MPP_FRAME_FMT_RGB]; in camera_source_init()
166 if (!vfmt.fmt.pix.pixelformat) in camera_source_init()
167 vfmt.fmt.pix.pixelformat = V4L2_PIX_FMT_NV12; in camera_source_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/test-drivers/vivid/
H A Dvivid-vid-out.c28 const struct vivid_fmt *vfmt = dev->fmt_out; in vid_out_queue_setup() local
29 unsigned planes = vfmt->buffers; in vid_out_queue_setup()
31 unsigned int size = dev->bytesperline_out[0] * h + vfmt->data_offset[0]; in vid_out_queue_setup()
34 for (p = vfmt->buffers; p < vfmt->planes; p++) in vid_out_queue_setup()
35 size += dev->bytesperline_out[p] * h / vfmt->vdownsampling[p] + in vid_out_queue_setup()
36 vfmt->data_offset[p]; in vid_out_queue_setup()
67 vfmt->data_offset[p]) in vid_out_queue_setup()
73 vfmt->data_offset[p] : size; in vid_out_queue_setup()
105 const struct vivid_fmt *vfmt = dev->fmt_out; in vid_out_buf_prepare() local
106 unsigned int planes = vfmt->buffers; in vid_out_buf_prepare()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/nvp6158_drv/
H A Dnvp6158_drv.c350 NVP6158_INFORMATION_S vfmt; in nvp6158_native_ioctl() local
457 if (copy_from_user(&vfmt, argp, sizeof(NVP6158_INFORMATION_S))) { in nvp6158_native_ioctl()
462 nvp6158_video_fmt_det(vfmt.ch, &vfmt); in nvp6158_native_ioctl()
464 nvp6168_video_fmt_det(vfmt.ch, &vfmt); in nvp6158_native_ioctl()
465 if(copy_to_user(argp, &vfmt, sizeof(NVP6158_INFORMATION_S))) in nvp6158_native_ioctl()
H A Dnvp6158_video.h114 int nvp6158_acp_SetVFmt(unsigned char ch, const unsigned char vfmt);
H A Dnvp6158_common.h201 nvp6158_input_videofmt vfmt; member
H A Dnvp6158_video.c827 int nvp6158_acp_SetVFmt(unsigned char ch, const unsigned char vfmt) in nvp6158_acp_SetVFmt() argument
962 unsigned char vfmt = chnmode%2; in nvp6158_set_chn_commonvalue() local
968 if(vfmt != PAL) in nvp6158_set_chn_commonvalue()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rk_stream/stream_cfg/
H A DRawStreamCapUnit.cpp555 struct v4l2_format *vfmt[3]; in do_capture_callback() local