Searched refs:vfmt (Results 1 – 3 of 3) sorted by relevance
400 struct sh_veu_vfmt *vfmt; in sh_veu_g_fmt() local402 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() argument522 unsigned int left = vfmt->frame.left & ~0x03; in sh_veu_colour_offset()[all …]
40 const struct vivid_fmt *vfmt = dev->fmt_out; in vid_out_queue_setup() local41 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()
128 const struct vivid_fmt *vfmt; in vid_cap_queue_setup() local141 vfmt = vivid_get_format(dev, mp->pixelformat); in vid_cap_queue_setup()145 vfmt->data_offset[p]) in vid_cap_queue_setup()