Searched refs:pix_format (Results 1 – 23 of 23) sorted by relevance
145 struct v4l2_pix_format* p = &(cam->sensor.pix_format); in sn9c102_request_buffers()584 if (cam->sensor.pix_format.pixelformat == V4L2_PIX_FMT_SN9C10X || in sn9c102_find_eof_header()585 cam->sensor.pix_format.pixelformat == V4L2_PIX_FMT_JPEG) in sn9c102_find_eof_header()678 *(pos + 564) = cam->sensor.pix_format.width & 0xFF; in sn9c102_write_jpegheader()679 *(pos + 563) = (cam->sensor.pix_format.width >> 8) & 0xFF; in sn9c102_write_jpegheader()680 *(pos + 562) = cam->sensor.pix_format.height & 0xFF; in sn9c102_write_jpegheader()681 *(pos + 561) = (cam->sensor.pix_format.height >> 8) & 0xFF; in sn9c102_write_jpegheader()725 imagesize = (cam->sensor.pix_format.width * in sn9c102_urb_complete()726 cam->sensor.pix_format.height * in sn9c102_urb_complete()727 cam->sensor.pix_format.priv) / 8; in sn9c102_urb_complete()[all …]
96 .pix_format = {
128 .pix_format = {
261 struct v4l2_pix_format pix_format; member
139 .pix_format = {
228 .pix_format = {
236 .pix_format = {
335 .pix_format = {
288 .pix_format = {
265 .pix_format = {
324 .pix_format = {
411 .pix_format = {
510 .pix_format = {
579 .pix_format = {
980 struct v4l2_pix_format *pix_format = &f->fmt.pix; in stk_vidioc_g_fmt_vid_cap() local991 pix_format->width = stk_sizes[i].w; in stk_vidioc_g_fmt_vid_cap()992 pix_format->height = stk_sizes[i].h; in stk_vidioc_g_fmt_vid_cap()993 pix_format->field = V4L2_FIELD_NONE; in stk_vidioc_g_fmt_vid_cap()994 pix_format->colorspace = V4L2_COLORSPACE_SRGB; in stk_vidioc_g_fmt_vid_cap()995 pix_format->priv = 0; in stk_vidioc_g_fmt_vid_cap()996 pix_format->pixelformat = dev->vsettings.palette; in stk_vidioc_g_fmt_vid_cap()998 pix_format->bytesperline = pix_format->width; in stk_vidioc_g_fmt_vid_cap()1000 pix_format->bytesperline = 2 * pix_format->width; in stk_vidioc_g_fmt_vid_cap()1001 pix_format->sizeimage = pix_format->bytesperline in stk_vidioc_g_fmt_vid_cap()[all …]
174 struct v4l2_pix_format pix_format; member622 struct v4l2_pix_format *fmt = &cam->pix_format; in cafe_ctlr_image()634 switch (cam->pix_format.pixelformat) { in cafe_ctlr_image()655 cam_err(cam, "Unknown format %x\n", cam->pix_format.pixelformat); in cafe_ctlr_image()914 fmt.fmt.pix = cam->pix_format; in cafe_cam_configure()942 cam->dma_buf_size = cam->pix_format.sizeimage; in cafe_alloc_dma_bufs()1022 if (len > cam->pix_format.sizeimage) in cafe_deliver_buffer()1023 len = cam->pix_format.sizeimage; in cafe_deliver_buffer()1193 buf->v4lbuf.length = PAGE_ALIGN(cam->pix_format.sizeimage); in cafe_setup_siobuf()1648 cam->pix_format = fmt->fmt.pix; in cafe_vidioc_s_fmt_vid_cap()[all …]
122 struct v4l2_pix_format* p = &(cam->sensor.pix_format); in et61x251_request_buffers()362 imagesize = (cam->sensor.pix_format.width * in et61x251_urb_complete()363 cam->sensor.pix_format.height * in et61x251_urb_complete()364 cam->sensor.pix_format.priv) / 8; in et61x251_urb_complete()403 if (cam->sensor.pix_format.pixelformat == in et61x251_urb_complete()448 cam->sensor.pix_format.pixelformat == in et61x251_urb_complete()1123 err += et61x251_set_scale(cam, rect->width / s->pix_format.width); in et61x251_init()1137 err += et61x251_set_pix_format(cam, &s->pix_format); in et61x251_init()1139 err += s->set_pix_format(cam, &s->pix_format); in et61x251_init()1143 if (s->pix_format.pixelformat == V4L2_PIX_FMT_ET61X251) in et61x251_init()[all …]
91 struct v4l2_pix_format pix_format; member
118 .pix_format = {
86 struct v4l2_pix_format pix_format; member
124 struct v4l2_pix_format* p = &(cam->sensor.pix_format); in zc0301_request_buffers()342 imagesize = (cam->sensor.pix_format.width * in zc0301_urb_complete()343 cam->sensor.pix_format.height * in zc0301_urb_complete()344 cam->sensor.pix_format.priv) / 8; in zc0301_urb_complete()1282 s->pix_format.width = rect->width; in zc0301_vidioc_s_crop()1283 s->pix_format.height = rect->height; in zc0301_vidioc_s_crop()1367 struct v4l2_pix_format* pfmt = &(cam->sensor.pix_format); in zc0301_vidioc_g_fmt()1394 struct v4l2_pix_format* pfmt = &(s->pix_format); in zc0301_vidioc_try_s_fmt()
155 .pix_format = {
325 .pix_format = {