Searched refs:vfmt (Results 1 – 2 of 2) sorted by relevance
392 struct sh_veu_vfmt *vfmt; in sh_veu_g_fmt() local394 vfmt = sh_veu_get_vfmt(veu, f->type); in sh_veu_g_fmt()396 pix->width = vfmt->frame.width; in sh_veu_g_fmt()397 pix->height = vfmt->frame.height; in sh_veu_g_fmt()399 pix->pixelformat = vfmt->fmt->fourcc; in sh_veu_g_fmt()401 pix->bytesperline = vfmt->bytesperline; in sh_veu_g_fmt()402 pix->sizeimage = vfmt->bytesperline * pix->height * in sh_veu_g_fmt()403 vfmt->fmt->depth / vfmt->fmt->ydepth; in sh_veu_g_fmt()505 static void sh_veu_colour_offset(struct sh_veu_dev *veu, struct sh_veu_vfmt *vfmt) in sh_veu_colour_offset() argument508 unsigned int left = vfmt->frame.left & ~0x03; in sh_veu_colour_offset()[all …]
28 const struct vivid_fmt *vfmt = dev->fmt_out; in vid_out_queue_setup() local29 unsigned planes = vfmt->buffers; in vid_out_queue_setup()31 unsigned int size = dev->bytesperline_out[0] * h + vfmt->data_offset[0]; 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()36 vfmt->data_offset[p]; in vid_out_queue_setup()67 vfmt->data_offset[p]) in vid_out_queue_setup()73 vfmt->data_offset[p] : size; in vid_out_queue_setup()105 const struct vivid_fmt *vfmt = dev->fmt_out; in vid_out_buf_prepare() local106 unsigned int planes = vfmt->buffers; in vid_out_buf_prepare()[all …]