|
40 | 40 | * |
41 | 41 | */ |
42 | 42 |
|
43 | | -#ifdef HAVE_CONFIG_H |
44 | | -#include "config.h" |
45 | | -#include "config_unix.h" |
46 | | -#include "config_win32.h" |
47 | | -#endif // HAVE_CONFIG_H |
48 | | - |
49 | | -#include "debug.h" |
50 | | -#include "host.h" |
51 | | -#include "lib_common.h" |
52 | | -#include "tv.h" |
53 | | -#include "video_compress.h" |
54 | | - |
55 | | -#include <CFHDTypes.h> |
| 43 | +#include <cstddef> // CFHD hdrs use size_t w/o include |
56 | 44 | #include <CFHDEncoder.h> |
| 45 | +#include <CFHDError.h> // for CFHD_Error |
| 46 | +#include <CFHDTypes.h> |
57 | 47 |
|
58 | | -#include "video.h" |
59 | | -#include "video_codec.h" |
| 48 | +#include <cassert> // for assert |
| 49 | +#include <condition_variable> |
| 50 | +#include <cstdint> // for uint32_t |
| 51 | +#include <cstdio> // for printf |
| 52 | +#include <cstdlib> // for atoi, free |
| 53 | +#include <cstring> // for strlen, NULL, memset, size_t, strdup |
60 | 54 | #include <memory> |
61 | | -#include <map> |
62 | 55 | #include <mutex> |
63 | | -#include <thread> |
64 | | -#include <vector> |
65 | 56 | #include <queue> |
66 | | -#include <condition_variable> |
| 57 | +#include <string> // for char_traits, basic_string |
| 58 | +#include <tuple> // for get, tuple |
| 59 | +#include <utility> // for move |
| 60 | +#include <vector> |
67 | 61 |
|
68 | 62 | #ifdef MEASUREMENT |
69 | 63 | #include <time.h> |
70 | 64 | #endif |
71 | | -#include "utils/misc.h" // to_fourcc |
| 65 | + |
| 66 | +#include "compat/strings.h" // for strncasecmp |
| 67 | +#include "debug.h" // for log_msg, LOG_LEVEL_ERROR, LOG, LOG_LEV... |
| 68 | +#include "host.h" // for INIT_NOERR |
| 69 | +#include "lib_common.h" // for REGISTER_MODULE, library_class |
| 70 | +#include "pixfmt_conv.h" // for get_best_decoder_from, decoder_t |
| 71 | +#include "tv.h" // for get_time_in_ns |
| 72 | +#include "types.h" // for video_desc, tile, video_frame, UYVY, RGB |
| 73 | +#include "utils/macros.h" // for TOSTRING, to_fourcc |
| 74 | +#include "video_codec.h" // for vc_get_linesize, get_codec_name |
| 75 | +#include "video_compress.h" // for codec, module_option, encoder, compres... |
| 76 | +#include "video_frame.h" // for vf_free, vf_alloc_desc_data, vf_copy_m... |
72 | 77 |
|
73 | 78 | #define DEFAULT_POOL_SIZE 16 |
74 | 79 | #define DEFAULT_THREAD_COUNT 8 |
|
0 commit comments