UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
src
hd-rum-translator
hd-rum-decompress.h
Go to the documentation of this file.
1
6
/*
7
* Copyright (c) 2014-2022 CESNET, z. s. p. o.
8
* All rights reserved.
9
*
10
* Redistribution and use in source and binary forms, with or without
11
* modification, is permitted provided that the following conditions
12
* are met:
13
*
14
* 1. Redistributions of source code must retain the above copyright
15
* notice, this list of conditions and the following disclaimer.
16
*
17
* 2. Redistributions in binary form must reproduce the above copyright
18
* notice, this list of conditions and the following disclaimer in the
19
* documentation and/or other materials provided with the distribution.
20
*
21
* 3. Neither the name of CESNET nor the names of its contributors may be
22
* used to endorse or promote products derived from this software without
23
* specific prior written permission.
24
*
25
* THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS
26
* "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING,
27
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
28
* AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
29
* EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
30
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
31
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
32
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
35
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
36
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37
*/
38
39
#ifdef __cplusplus
40
extern
"C"
{
41
#endif
42
43
struct
module
;
44
struct
state_recompress
;
45
46
enum
hd_rum_mode_t
{
NORMAL
,
BLEND
,
CONFERENCE
};
47
struct
hd_rum_output_conf
{
48
enum
hd_rum_mode_t
mode
;
49
const
char
*
arg
;
50
};
51
52
ssize_t
hd_rum_decompress_write
(
void
*
state
,
void
*buf,
size_t
count
);
53
void
*
hd_rum_decompress_init
(
struct
module
*
parent
,
struct
hd_rum_output_conf
conf,
const
char
*
capture_filter
,
struct
state_recompress
*recompress);
54
void
hd_rum_decompress_done
(
void
*
state
);
55
56
#ifdef __cplusplus
57
}
58
#endif
59
60
struct
video_frame
;
61
state
void ** state
Definition
aja_win32_stub.cpp:46
hd_rum_decompress_init
void * hd_rum_decompress_init(struct module *parent, struct hd_rum_output_conf conf, const char *capture_filter, struct state_recompress *recompress)
Definition
hd-rum-decompress.cpp:169
hd_rum_decompress_write
ssize_t hd_rum_decompress_write(void *state, void *buf, size_t count)
Definition
hd-rum-decompress.cpp:134
hd_rum_mode_t
hd_rum_mode_t
Definition
hd-rum-decompress.h:46
NORMAL
@ NORMAL
Definition
hd-rum-decompress.h:46
BLEND
@ BLEND
Definition
hd-rum-decompress.h:46
CONFERENCE
@ CONFERENCE
Definition
hd-rum-decompress.h:46
hd_rum_decompress_done
void hd_rum_decompress_done(void *state)
Definition
hd-rum-decompress.cpp:250
count
int count
Definition
hd-rum.c:44
parent
const char * parent
Definition
settings.cpp:198
capture_filter
Definition
capture_filter.cpp:54
hd_rum_output_conf
Definition
hd-rum-decompress.h:47
hd_rum_output_conf::mode
enum hd_rum_mode_t mode
Definition
hd-rum-decompress.h:48
hd_rum_output_conf::arg
const char * arg
Definition
hd-rum-decompress.h:49
module
Definition
module.h:111
state_recompress
Definition
hd-rum-recompress.cpp:102
video_frame
Struct video_frame represents a video frame and contains video description.
Definition
types.h:305
Generated on Wed Sep 25 2024 14:27:16 for UltraGrid by
1.12.0