Lines Matching refs:fmt
70 const struct video_format fmt) in video_display_frame() argument
74 .width = fmt.width, in video_display_frame()
76 .height = vbuf->bytesused / fmt.pitch, in video_display_frame()
86 struct video_format fmt; in main() local
132 if (video_get_format(video_dev, VIDEO_EP_OUT, &fmt)) { in main()
138 fmt.height = CONFIG_VIDEO_FRAME_HEIGHT; in main()
142 fmt.width = CONFIG_VIDEO_FRAME_WIDTH; in main()
143 fmt.pitch = fmt.width * 2; in main()
147 fmt.pixelformat = in main()
152 LOG_INF("- Video format: %c%c%c%c %ux%u", (char)fmt.pixelformat, in main()
153 (char)(fmt.pixelformat >> 8), (char)(fmt.pixelformat >> 16), in main()
154 (char)(fmt.pixelformat >> 24), fmt.width, fmt.height); in main()
156 if (video_set_format(video_dev, VIDEO_EP_OUT, &fmt)) { in main()
168 fie.format = &fmt; in main()
198 err = display_setup(display_dev, fmt.pixelformat); in main()
207 bsize = fmt.pitch * fmt.height; in main()
209 bsize = fmt.pitch * caps.min_line_count; in main()
248 if (is_colorbar_ok(vbuf->buffer, fmt)) { in main()
254 video_display_frame(display_dev, vbuf, fmt); in main()