Home
last modified time | relevance | path

Searched refs:pix_format (Results 1 – 23 of 23) sorted by relevance

/drivers/media/video/sn9c102/
Dsn9c102_core.c145 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 …]
Dsn9c102_tas5110d.c96 .pix_format = {
Dsn9c102_tas5110c1b.c128 .pix_format = {
Dsn9c102_sensor.h261 struct v4l2_pix_format pix_format; member
Dsn9c102_tas5130d1b.c139 .pix_format = {
Dsn9c102_mt9v111.c228 .pix_format = {
Dsn9c102_hv7131d.c236 .pix_format = {
Dsn9c102_hv7131r.c335 .pix_format = {
Dsn9c102_pas202bcb.c288 .pix_format = {
Dsn9c102_pas106b.c265 .pix_format = {
Dsn9c102_mi0343.c324 .pix_format = {
Dsn9c102_mi0360.c411 .pix_format = {
Dsn9c102_ov7660.c510 .pix_format = {
Dsn9c102_ov7630.c579 .pix_format = {
/drivers/media/video/
Dstk-webcam.c980 struct v4l2_pix_format *pix_format = &f->fmt.pix; in stk_vidioc_g_fmt_vid_cap() local
991 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 …]
Dcafe_ccic.c174 struct v4l2_pix_format pix_format; member
622 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 …]
/drivers/media/video/et61x251/
Det61x251_core.c122 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 …]
Det61x251_sensor.h91 struct v4l2_pix_format pix_format; member
Det61x251_tas5130d1b.c118 .pix_format = {
/drivers/media/video/zc0301/
Dzc0301_sensor.h86 struct v4l2_pix_format pix_format; member
Dzc0301_core.c124 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()
Dzc0301_pb0330.c155 .pix_format = {
Dzc0301_pas202bcb.c325 .pix_format = {