vfmt              392 drivers/media/platform/sh_veu.c 	struct sh_veu_vfmt *vfmt;
vfmt              394 drivers/media/platform/sh_veu.c 	vfmt = sh_veu_get_vfmt(veu, f->type);
vfmt              396 drivers/media/platform/sh_veu.c 	pix->width		= vfmt->frame.width;
vfmt              397 drivers/media/platform/sh_veu.c 	pix->height		= vfmt->frame.height;
vfmt              399 drivers/media/platform/sh_veu.c 	pix->pixelformat	= vfmt->fmt->fourcc;
vfmt              401 drivers/media/platform/sh_veu.c 	pix->bytesperline	= vfmt->bytesperline;
vfmt              402 drivers/media/platform/sh_veu.c 	pix->sizeimage		= vfmt->bytesperline * pix->height *
vfmt              403 drivers/media/platform/sh_veu.c 		vfmt->fmt->depth / vfmt->fmt->ydepth;
vfmt              505 drivers/media/platform/sh_veu.c static void sh_veu_colour_offset(struct sh_veu_dev *veu, struct sh_veu_vfmt *vfmt)
vfmt              508 drivers/media/platform/sh_veu.c 	unsigned int left = vfmt->frame.left & ~0x03;
vfmt              509 drivers/media/platform/sh_veu.c 	unsigned int top = vfmt->frame.top;
vfmt              514 drivers/media/platform/sh_veu.c 	vfmt->offset_y = offset;
vfmt              516 drivers/media/platform/sh_veu.c 	switch (vfmt->fmt->fourcc) {
vfmt              520 drivers/media/platform/sh_veu.c 		y_line = ALIGN(vfmt->frame.width, 16);
vfmt              521 drivers/media/platform/sh_veu.c 		vfmt->offset_c = offset + y_line * vfmt->frame.height;
vfmt              528 drivers/media/platform/sh_veu.c 		vfmt->offset_c = 0;
vfmt              539 drivers/media/platform/sh_veu.c 	struct sh_veu_vfmt *vfmt;
vfmt              554 drivers/media/platform/sh_veu.c 	vfmt = sh_veu_get_vfmt(veu, f->type);
vfmt              557 drivers/media/platform/sh_veu.c 	vfmt->fmt		= sh_veu_find_fmt(f);
vfmt              559 drivers/media/platform/sh_veu.c 	vfmt->frame.width	= pix->width;
vfmt              560 drivers/media/platform/sh_veu.c 	vfmt->frame.height	= pix->height;
vfmt              561 drivers/media/platform/sh_veu.c 	vfmt->bytesperline	= pix->bytesperline;
vfmt              563 drivers/media/platform/sh_veu.c 	sh_veu_colour_offset(veu, vfmt);
vfmt              574 drivers/media/platform/sh_veu.c 		f->type, pix->width, pix->height, vfmt->fmt->fourcc);
vfmt              858 drivers/media/platform/sh_veu.c 	struct sh_veu_vfmt *vfmt = sh_veu_get_vfmt(veu, vq->type);
vfmt              860 drivers/media/platform/sh_veu.c 	unsigned int size = vfmt->bytesperline * vfmt->frame.height *
vfmt              861 drivers/media/platform/sh_veu.c 		vfmt->fmt->depth / vfmt->fmt->ydepth;
vfmt              885 drivers/media/platform/sh_veu.c 	struct sh_veu_vfmt *vfmt;
vfmt              888 drivers/media/platform/sh_veu.c 	vfmt = sh_veu_get_vfmt(veu, vb->vb2_queue->type);
vfmt              889 drivers/media/platform/sh_veu.c 	sizeimage = vfmt->bytesperline * vfmt->frame.height *
vfmt              890 drivers/media/platform/sh_veu.c 		vfmt->fmt->depth / vfmt->fmt->ydepth;
vfmt               28 drivers/media/platform/vivid/vivid-vid-out.c 	const struct vivid_fmt *vfmt = dev->fmt_out;
vfmt               29 drivers/media/platform/vivid/vivid-vid-out.c 	unsigned planes = vfmt->buffers;
vfmt               31 drivers/media/platform/vivid/vivid-vid-out.c 	unsigned int size = dev->bytesperline_out[0] * h + vfmt->data_offset[0];
vfmt               34 drivers/media/platform/vivid/vivid-vid-out.c 	for (p = vfmt->buffers; p < vfmt->planes; p++)
vfmt               35 drivers/media/platform/vivid/vivid-vid-out.c 		size += dev->bytesperline_out[p] * h / vfmt->vdownsampling[p] +
vfmt               36 drivers/media/platform/vivid/vivid-vid-out.c 			vfmt->data_offset[p];
vfmt               67 drivers/media/platform/vivid/vivid-vid-out.c 				       vfmt->data_offset[p])
vfmt               73 drivers/media/platform/vivid/vivid-vid-out.c 				       vfmt->data_offset[p] : size;
vfmt              105 drivers/media/platform/vivid/vivid-vid-out.c 	const struct vivid_fmt *vfmt = dev->fmt_out;
vfmt              106 drivers/media/platform/vivid/vivid-vid-out.c 	unsigned int planes = vfmt->buffers;
vfmt              111 drivers/media/platform/vivid/vivid-vid-out.c 	for (p = vfmt->buffers; p < vfmt->planes; p++)
vfmt              112 drivers/media/platform/vivid/vivid-vid-out.c 		size += dev->bytesperline_out[p] * h / vfmt->vdownsampling[p];