Lines Matching refs:fmt
24 struct video_format fmt; in main() local
71 if (video_get_format(video_dev, VIDEO_EP_OUT, &fmt)) { in main()
77 fmt.width = CONFIG_VIDEO_WIDTH; in main()
78 fmt.height = CONFIG_VIDEO_HEIGHT; in main()
79 fmt.pitch = fmt.width * 2; in main()
80 fmt.pixelformat = VIDEO_PIX_FMT_RGB565; in main()
82 if (video_set_format(video_dev, VIDEO_EP_OUT, &fmt)) { in main()
87 LOG_INF("- Format: %c%c%c%c %ux%u %u", (char)fmt.pixelformat, (char)(fmt.pixelformat >> 8), in main()
88 (char)(fmt.pixelformat >> 16), (char)(fmt.pixelformat >> 24), fmt.width, fmt.height, in main()
89 fmt.pitch); in main()
96 bsize = fmt.pitch * fmt.height; in main()