Searched refs:vfmt (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/drivers/media/platform/ |
H A D | sh_veu.c | 400 struct sh_veu_vfmt *vfmt; sh_veu_g_fmt() local 402 vfmt = sh_veu_get_vfmt(veu, f->type); sh_veu_g_fmt() 404 pix->width = vfmt->frame.width; sh_veu_g_fmt() 405 pix->height = vfmt->frame.height; sh_veu_g_fmt() 407 pix->pixelformat = vfmt->fmt->fourcc; sh_veu_g_fmt() 409 pix->bytesperline = vfmt->bytesperline; sh_veu_g_fmt() 410 pix->sizeimage = vfmt->bytesperline * pix->height * sh_veu_g_fmt() 411 vfmt->fmt->depth / vfmt->fmt->ydepth; sh_veu_g_fmt() 519 static void sh_veu_colour_offset(struct sh_veu_dev *veu, struct sh_veu_vfmt *vfmt) sh_veu_colour_offset() argument 522 unsigned int left = vfmt->frame.left & ~0x03; sh_veu_colour_offset() 523 unsigned int top = vfmt->frame.top; sh_veu_colour_offset() 528 vfmt->offset_y = offset; sh_veu_colour_offset() 530 switch (vfmt->fmt->fourcc) { sh_veu_colour_offset() 534 y_line = ALIGN(vfmt->frame.width, 16); sh_veu_colour_offset() 535 vfmt->offset_c = offset + y_line * vfmt->frame.height; sh_veu_colour_offset() 542 vfmt->offset_c = 0; sh_veu_colour_offset() 553 struct sh_veu_vfmt *vfmt; sh_veu_s_fmt() local 568 vfmt = sh_veu_get_vfmt(veu, f->type); sh_veu_s_fmt() 569 /* called after try_fmt(), hence vfmt != NULL. Implicit BUG_ON() below */ sh_veu_s_fmt() 571 vfmt->fmt = sh_veu_find_fmt(f); sh_veu_s_fmt() 572 /* vfmt->fmt != NULL following the same argument as above */ sh_veu_s_fmt() 573 vfmt->frame.width = pix->width; sh_veu_s_fmt() 574 vfmt->frame.height = pix->height; sh_veu_s_fmt() 575 vfmt->bytesperline = pix->bytesperline; sh_veu_s_fmt() 577 sh_veu_colour_offset(veu, vfmt); sh_veu_s_fmt() 588 f->type, pix->width, pix->height, vfmt->fmt->fourcc); sh_veu_s_fmt() 873 struct sh_veu_vfmt *vfmt; sh_veu_queue_setup() local 890 vfmt = sh_veu_get_vfmt(veu, vq->type); sh_veu_queue_setup() 891 size = vfmt->bytesperline * vfmt->frame.height * vfmt->fmt->depth / vfmt->fmt->ydepth; sh_veu_queue_setup() 914 struct sh_veu_vfmt *vfmt; sh_veu_buf_prepare() local 917 vfmt = sh_veu_get_vfmt(veu, vb->vb2_queue->type); sh_veu_buf_prepare() 918 sizeimage = vfmt->bytesperline * vfmt->frame.height * sh_veu_buf_prepare() 919 vfmt->fmt->depth / vfmt->fmt->ydepth; sh_veu_buf_prepare()
|
/linux-4.1.27/drivers/media/platform/vivid/ |
H A D | vivid-vid-out.c | 39 const struct vivid_fmt *vfmt = dev->fmt_out; vid_out_queue_setup() local 40 unsigned planes = vfmt->buffers; vid_out_queue_setup() 45 for (p = vfmt->buffers; p < vfmt->planes; p++) vid_out_queue_setup() 46 size += dev->bytesperline_out[p] * h / vfmt->vdownsampling[p]; vid_out_queue_setup()
|
H A D | vivid-vid-cap.c | 127 const struct vivid_fmt *vfmt; vid_cap_queue_setup() local 140 vfmt = vivid_get_format(dev, mp->pixelformat); vid_cap_queue_setup() 144 vfmt->data_offset[p]) vid_cap_queue_setup()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | radeon_state.c | 1544 DRM_DEBUG("hwprim 0x%x vfmt 0x%x %d..%d %d verts\n", radeon_cp_dispatch_vertex() 1652 DRM_DEBUG("hwprim 0x%x vfmt 0x%x %d..%d offset: %x nr %d\n", radeon_cp_dispatch_indices()
|
Completed in 276 milliseconds