55 * @author Martin Pulec <[email protected] > 66 */
77 /*
8- * Copyright (c) 2012-2024 CESNET, z. s. p. o.
8+ * Copyright (c) 2012-2025 CESNET
99 * All rights reserved.
1010 *
1111 * Redistribution and use in source and binary forms, with or without
3838 */
3939
4040#ifdef HAVE_CONFIG_H
41- #include "config.h"
41+ #include "config.h" // for HAVE_LIBV4LCONVERT
4242#endif /* HAVE_CONFIG_H */
4343
4444#ifdef HAVE_LIBV4LCONVERT
5555#include <fcntl.h>
5656#include <inttypes.h>
5757#include <pthread.h>
58+ #include <stdbool.h> // for bool, false, true
5859#include <stdio.h>
5960#include <stdlib.h>
6061#include <string.h>
6162#include <sys/ioctl.h>
6263#include <sys/mman.h>
64+ #include <sys/time.h> // for gettimeofday, timeval
6365#include <unistd.h>
6466
6567enum {
@@ -69,16 +71,21 @@ enum {
6971#define MOD_NAME "[V4L cap.] "
7072
7173#include "debug.h"
72- #include "host.h"
7374#include "lib_common.h"
7475#include "tv.h"
76+ #include "types.h" // for device_info, video_desc, tile, vid...
7577#include "utils/color_out.h"
7678#include "utils/list.h"
7779#include "utils/macros.h"
7880#include "utils/misc.h" // ug_strerror
7981#include "v4l2_common.h"
80- #include "video.h"
8182#include "video_capture.h"
83+ #include "video_capture_params.h" // for vidcap_params_get_fmt, vidcap_para...
84+ #include "video_codec.h" // for codec_is_planar, get_codec_name
85+ #include "video_frame.h" // for get_interlacing_suffix, vf_alloc_desc
86+
87+ struct audio_frame ;
88+ struct vidcap_params ;
8289
8390/* prototypes of functions defined in this module */
8491static void print_fps (int fd , struct v4l2_frmivalenum * param );
0 commit comments