Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/media/platform/
Dsh_veu.c400 struct sh_veu_vfmt *vfmt; in sh_veu_g_fmt() local
402 vfmt = sh_veu_get_vfmt(veu, f->type); in sh_veu_g_fmt()
404 pix->width = vfmt->frame.width; in sh_veu_g_fmt()
405 pix->height = vfmt->frame.height; in sh_veu_g_fmt()
407 pix->pixelformat = vfmt->fmt->fourcc; in sh_veu_g_fmt()
409 pix->bytesperline = vfmt->bytesperline; in sh_veu_g_fmt()
410 pix->sizeimage = vfmt->bytesperline * pix->height * in sh_veu_g_fmt()
411 vfmt->fmt->depth / vfmt->fmt->ydepth; in sh_veu_g_fmt()
519 static void sh_veu_colour_offset(struct sh_veu_dev *veu, struct sh_veu_vfmt *vfmt) in sh_veu_colour_offset() argument
522 unsigned int left = vfmt->frame.left & ~0x03; in sh_veu_colour_offset()
[all …]
/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-vid-out.c40 const struct vivid_fmt *vfmt = dev->fmt_out; in vid_out_queue_setup() local
41 unsigned planes = vfmt->buffers; in vid_out_queue_setup()
46 for (p = vfmt->buffers; p < vfmt->planes; p++) in vid_out_queue_setup()
47 size += dev->bytesperline_out[p] * h / vfmt->vdownsampling[p]; in vid_out_queue_setup()
Dvivid-vid-cap.c128 const struct vivid_fmt *vfmt; in vid_cap_queue_setup() local
141 vfmt = vivid_get_format(dev, mp->pixelformat); in vid_cap_queue_setup()
145 vfmt->data_offset[p]) in vid_cap_queue_setup()