mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 12:40:31 +00:00
video_compress: move compress_init_t below
In the header, first is external API and then internal (explicitily) so moved it the right place. updated @file doxy a bit (is for ext+int API)
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
* @author Martin Pulec <pulec@cesnet.cz>
|
||||
* @ingroup video_compress
|
||||
*
|
||||
* @brief API for video compress drivers.
|
||||
* @brief external vcompress API + internal one for video compress drivers
|
||||
*/
|
||||
/*
|
||||
* Copyright (c) 2009-2024 CESNET, z. s. p. o.
|
||||
* Copyright (c) 2009-2025 CESNET
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -80,15 +80,6 @@ struct module;
|
||||
//
|
||||
// Begins external API for video compression use
|
||||
//
|
||||
/**
|
||||
* @brief Initializes video compression
|
||||
*
|
||||
* @param[in] parent parent module
|
||||
* @param[in] cfg configuration string
|
||||
* @return driver internal state
|
||||
*/
|
||||
typedef struct module *(*compress_init_t)(struct module *parent,
|
||||
const char *cfg);
|
||||
// documented at definition
|
||||
void show_compress_help(bool full);
|
||||
// documented at definition
|
||||
@@ -111,6 +102,16 @@ std::shared_ptr<video_frame> compress_pop(struct compress_state *);
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
/**
|
||||
* @brief Initializes video compression
|
||||
*
|
||||
* @param[in] parent parent module
|
||||
* @param[in] cfg configuration string
|
||||
* @return driver internal state
|
||||
*/
|
||||
typedef struct module *(*compress_init_t)(struct module *parent,
|
||||
const char *cfg);
|
||||
|
||||
/**
|
||||
* @brief Compresses video frame
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user