55 * @author Martin Pulec <[email protected] > 66 * @ingroup video_compress
77 *
8- * @brief API for video compress drivers.
8+ * @brief external vcompress API + internal one for video compress drivers
99 */
1010/*
11- * Copyright (c) 2009-2024 CESNET, z. s. p. o.
11+ * Copyright (c) 2009-2025 CESNET
1212 * All rights reserved.
1313 *
1414 * Redistribution and use in source and binary forms, with or without
@@ -80,15 +80,6 @@ struct module;
8080//
8181// Begins external API for video compression use
8282//
83- /* *
84- * @brief Initializes video compression
85- *
86- * @param[in] parent parent module
87- * @param[in] cfg configuration string
88- * @return driver internal state
89- */
90- typedef struct module *(*compress_init_t )(struct module *parent,
91- const char *cfg);
9283// documented at definition
9384void show_compress_help (bool full);
9485// documented at definition
@@ -111,6 +102,16 @@ std::shared_ptr<video_frame> compress_pop(struct compress_state *);
111102#include < string>
112103#include < vector>
113104
105+ /* *
106+ * @brief Initializes video compression
107+ *
108+ * @param[in] parent parent module
109+ * @param[in] cfg configuration string
110+ * @return driver internal state
111+ */
112+ typedef struct module *(*compress_init_t )(struct module *parent,
113+ const char *cfg);
114+
114115/* *
115116 * @brief Compresses video frame
116117 *
0 commit comments