Lines Matching refs:pixfmt
356 int v4l2_fill_pixfmt_mp(struct v4l2_pix_format_mplane *pixfmt, in v4l2_fill_pixfmt_mp() argument
367 pixfmt->width = width; in v4l2_fill_pixfmt_mp()
368 pixfmt->height = height; in v4l2_fill_pixfmt_mp()
369 pixfmt->pixelformat = pixelformat; in v4l2_fill_pixfmt_mp()
370 pixfmt->num_planes = info->mem_planes; in v4l2_fill_pixfmt_mp()
373 plane = &pixfmt->plane_fmt[0]; in v4l2_fill_pixfmt_mp()
400 plane = &pixfmt->plane_fmt[i]; in v4l2_fill_pixfmt_mp()
411 int v4l2_fill_pixfmt(struct v4l2_pix_format *pixfmt, u32 pixelformat, in v4l2_fill_pixfmt() argument
425 pixfmt->width = width; in v4l2_fill_pixfmt()
426 pixfmt->height = height; in v4l2_fill_pixfmt()
427 pixfmt->pixelformat = pixelformat; in v4l2_fill_pixfmt()
428 pixfmt->bytesperline = ALIGN(width, v4l2_format_block_width(info, 0)) * info->bpp[0]; in v4l2_fill_pixfmt()
429 pixfmt->sizeimage = 0; in v4l2_fill_pixfmt()
440 pixfmt->sizeimage += info->bpp[i] * in v4l2_fill_pixfmt()