Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/platform/
Dsh_veu.c396 struct sh_veu_vfmt *vfmt; in sh_veu_g_fmt() local
398 vfmt = sh_veu_get_vfmt(veu, f->type); in sh_veu_g_fmt()
400 pix->width = vfmt->frame.width; in sh_veu_g_fmt()
401 pix->height = vfmt->frame.height; in sh_veu_g_fmt()
403 pix->pixelformat = vfmt->fmt->fourcc; in sh_veu_g_fmt()
405 pix->bytesperline = vfmt->bytesperline; in sh_veu_g_fmt()
406 pix->sizeimage = vfmt->bytesperline * pix->height * in sh_veu_g_fmt()
407 vfmt->fmt->depth / vfmt->fmt->ydepth; in sh_veu_g_fmt()
515 static void sh_veu_colour_offset(struct sh_veu_dev *veu, struct sh_veu_vfmt *vfmt) in sh_veu_colour_offset() argument
518 unsigned int left = vfmt->frame.left & ~0x03; in sh_veu_colour_offset()
[all …]
/Linux-v4.19/drivers/media/platform/vivid/
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()
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()