Lines Matching refs:p_format
410 TAIL_ALLOC_OBJECT_CONST_PTR(struct v4l2_format, p_format); in main()
412 p_format->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in main()
413 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
417 p_format->type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in main()
418 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
424 p_format->type = V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY; in main()
425 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
430 p_format->type = V4L2_BUF_TYPE_VIDEO_OVERLAY; in main()
431 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
436 p_format->type = V4L2_BUF_TYPE_VBI_CAPTURE; in main()
437 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
441 p_format->type = V4L2_BUF_TYPE_SLICED_VBI_CAPTURE; in main()
442 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
447 p_format->type = V4L2_BUF_TYPE_SDR_CAPTURE; in main()
448 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
453 p_format->type = V4L2_BUF_TYPE_SDR_OUTPUT; in main()
454 ioctl(-1, VIDIOC_G_FMT, p_format); in main()
462 init_v4l2_format(p_format, V4L2_BUF_TYPE_VIDEO_OUTPUT); in main()
463 ioctl(-1, VIDIOC_S_FMT, p_format); in main()
464 print_ioctl_v4l2(p_format, "VIDIOC_S_FMT", V4L2_BUF_TYPE_VIDEO_OUTPUT); in main()
466 init_v4l2_format(p_format, V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE); in main()
467 ioctl(-1, VIDIOC_S_FMT, p_format); in main()
468 print_ioctl_v4l2(p_format, "VIDIOC_S_FMT", in main()
472 init_v4l2_format(p_format, V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY); in main()
473 ioctl(-1, VIDIOC_S_FMT, p_format); in main()
474 print_ioctl_v4l2(p_format, "VIDIOC_S_FMT", in main()
477 init_v4l2_format(p_format, V4L2_BUF_TYPE_VIDEO_OVERLAY); in main()
478 ioctl(-1, VIDIOC_S_FMT, p_format); in main()
479 print_ioctl_v4l2(p_format, "VIDIOC_S_FMT", in main()
482 init_v4l2_format(p_format, V4L2_BUF_TYPE_VBI_CAPTURE); in main()
483 ioctl(-1, VIDIOC_S_FMT, p_format); in main()
484 print_ioctl_v4l2(p_format, "VIDIOC_S_FMT", V4L2_BUF_TYPE_VBI_CAPTURE); in main()
486 init_v4l2_format(p_format, V4L2_BUF_TYPE_SLICED_VBI_CAPTURE); in main()
487 ioctl(-1, VIDIOC_S_FMT, p_format); in main()
488 print_ioctl_v4l2(p_format, "VIDIOC_S_FMT", in main()
492 init_v4l2_format(p_format, V4L2_BUF_TYPE_SDR_CAPTURE); in main()
493 ioctl(-1, VIDIOC_S_FMT, p_format); in main()
494 print_ioctl_v4l2(p_format, "VIDIOC_S_FMT", V4L2_BUF_TYPE_SDR_CAPTURE); in main()
497 init_v4l2_format(p_format, V4L2_BUF_TYPE_SDR_OUTPUT); in main()
498 ioctl(-1, VIDIOC_S_FMT, p_format); in main()
499 print_ioctl_v4l2(p_format, "VIDIOC_S_FMT", V4L2_BUF_TYPE_SDR_OUTPUT); in main()
505 init_v4l2_format(p_format, V4L2_BUF_TYPE_VIDEO_OUTPUT); in main()
506 ioctl(-1, VIDIOC_TRY_FMT, p_format); in main()
507 print_ioctl_v4l2(p_format, "VIDIOC_TRY_FMT", in main()
510 init_v4l2_format(p_format, V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE); in main()
511 ioctl(-1, VIDIOC_TRY_FMT, p_format); in main()
512 print_ioctl_v4l2(p_format, "VIDIOC_TRY_FMT", in main()
516 init_v4l2_format(p_format, V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY); in main()
517 ioctl(-1, VIDIOC_TRY_FMT, p_format); in main()
518 print_ioctl_v4l2(p_format, "VIDIOC_TRY_FMT", in main()
521 init_v4l2_format(p_format, V4L2_BUF_TYPE_VIDEO_OVERLAY); in main()
522 ioctl(-1, VIDIOC_TRY_FMT, p_format); in main()
523 print_ioctl_v4l2(p_format, "VIDIOC_TRY_FMT", in main()
526 init_v4l2_format(p_format, V4L2_BUF_TYPE_VBI_CAPTURE); in main()
527 ioctl(-1, VIDIOC_TRY_FMT, p_format); in main()
528 print_ioctl_v4l2(p_format, "VIDIOC_TRY_FMT", V4L2_BUF_TYPE_VBI_CAPTURE); in main()
530 init_v4l2_format(p_format, V4L2_BUF_TYPE_SLICED_VBI_CAPTURE); in main()
531 ioctl(-1, VIDIOC_TRY_FMT, p_format); in main()
532 print_ioctl_v4l2(p_format, "VIDIOC_TRY_FMT", in main()
536 init_v4l2_format(p_format, V4L2_BUF_TYPE_SDR_CAPTURE); in main()
537 ioctl(-1, VIDIOC_TRY_FMT, p_format); in main()
538 print_ioctl_v4l2(p_format, "VIDIOC_TRY_FMT", V4L2_BUF_TYPE_SDR_CAPTURE); in main()
541 init_v4l2_format(p_format, V4L2_BUF_TYPE_SDR_OUTPUT); in main()
542 ioctl(-1, VIDIOC_TRY_FMT, p_format); in main()
543 print_ioctl_v4l2(p_format, "VIDIOC_TRY_FMT", V4L2_BUF_TYPE_SDR_OUTPUT); in main()