Lines Matching refs:pixfmt
335 struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; in ivtv_g_fmt_vid_cap() local
337 pixfmt->width = itv->cxhdl.width; in ivtv_g_fmt_vid_cap()
338 pixfmt->height = itv->cxhdl.height; in ivtv_g_fmt_vid_cap()
339 pixfmt->colorspace = V4L2_COLORSPACE_SMPTE170M; in ivtv_g_fmt_vid_cap()
340 pixfmt->field = V4L2_FIELD_INTERLACED; in ivtv_g_fmt_vid_cap()
342 pixfmt->pixelformat = V4L2_PIX_FMT_NV12_16L16; in ivtv_g_fmt_vid_cap()
344 pixfmt->sizeimage = pixfmt->height * 720 * 3 / 2; in ivtv_g_fmt_vid_cap()
345 pixfmt->bytesperline = 720; in ivtv_g_fmt_vid_cap()
347 pixfmt->pixelformat = V4L2_PIX_FMT_MPEG; in ivtv_g_fmt_vid_cap()
348 pixfmt->sizeimage = 128 * 1024; in ivtv_g_fmt_vid_cap()
349 pixfmt->bytesperline = 0; in ivtv_g_fmt_vid_cap()
399 struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; in ivtv_g_fmt_vid_out() local
403 pixfmt->width = itv->main_rect.width; in ivtv_g_fmt_vid_out()
404 pixfmt->height = itv->main_rect.height; in ivtv_g_fmt_vid_out()
405 pixfmt->colorspace = V4L2_COLORSPACE_SMPTE170M; in ivtv_g_fmt_vid_out()
406 pixfmt->field = V4L2_FIELD_INTERLACED; in ivtv_g_fmt_vid_out()
410 pixfmt->field = (itv->yuv_info.lace_mode & IVTV_YUV_SYNC_MASK) ? in ivtv_g_fmt_vid_out()
414 pixfmt->field = V4L2_FIELD_NONE; in ivtv_g_fmt_vid_out()
417 pixfmt->field = V4L2_FIELD_ANY; in ivtv_g_fmt_vid_out()
420 pixfmt->pixelformat = V4L2_PIX_FMT_NV12_16L16; in ivtv_g_fmt_vid_out()
421 pixfmt->bytesperline = 720; in ivtv_g_fmt_vid_out()
422 pixfmt->width = itv->yuv_info.v4l2_src_w; in ivtv_g_fmt_vid_out()
423 pixfmt->height = itv->yuv_info.v4l2_src_h; in ivtv_g_fmt_vid_out()
425 pixfmt->sizeimage = in ivtv_g_fmt_vid_out()
426 1080 * ((pixfmt->height + 31) & ~31); in ivtv_g_fmt_vid_out()
428 pixfmt->pixelformat = V4L2_PIX_FMT_MPEG; in ivtv_g_fmt_vid_out()
429 pixfmt->sizeimage = 128 * 1024; in ivtv_g_fmt_vid_out()
430 pixfmt->bytesperline = 0; in ivtv_g_fmt_vid_out()
1366 int pixfmt; in ivtv_g_fbuf() local
1396 pixfmt = (data[0] >> 3) & 0xf; in ivtv_g_fbuf()
1398 fb->fmt.pixelformat = pixel_format[pixfmt]; in ivtv_g_fbuf()
1423 pixfmt &= 7; in ivtv_g_fbuf()
1426 if (pixfmt == 1 || pixfmt > 4) in ivtv_g_fbuf()
1430 if (pixfmt == 2 || pixfmt == 3) in ivtv_g_fbuf()
1437 if (pixfmt == 2 || pixfmt == 3) in ivtv_g_fbuf()