Vuo 2.4.2
Loading...
Searching...
No Matches
VuoBlackmagicVideoMode.h.in
1/**
2 * @file
3 * VuoBlackmagicVideoMode C type definition.
4 *
5 * @copyright Copyright © 2012–2022 Kosada Incorporated.
6 * This code may be modified and distributed under the terms of the MIT License.
7 * For more information, see https://vuo.org/license.
8 */
9
10#pragma once
11
12/// @{ List type.
13typedef void * VuoList_VuoBlackmagicVideoMode;
14#define VuoList_VuoBlackmagicVideoMode_TYPE_DEFINED
15/// @}
16
17/**
18 * @ingroup VuoTypes
19 * @defgroup VuoBlackmagicVideoMode VuoBlackmagicVideoMode
20 * Video resolution and framerate.
21 *
22 * @{
23 */
24
25/**
26 * Video resolution and framerate.
27 */
28typedef enum
29{
30%MODE_DECLARATIONS%
31} VuoBlackmagicVideoMode;
32
33VuoBlackmagicVideoMode VuoBlackmagicVideoMode_makeFromJson(struct json_object *js);
34struct json_object *VuoBlackmagicVideoMode_getJson(const VuoBlackmagicVideoMode value);
35VuoList_VuoBlackmagicVideoMode VuoBlackmagicVideoMode_getAllowedValues(void);
36char *VuoBlackmagicVideoMode_getSummary(const VuoBlackmagicVideoMode value);
37
38VuoBlackmagicVideoMode VuoBlackmagicVideoMode_makeFromBMDDisplayMode(const uint32_t value);
39uint32_t VuoBlackmagicVideoMode_getBMDDisplayMode(const VuoBlackmagicVideoMode value);
40
41#define VuoBlackmagicVideoMode_SUPPORTS_COMPARISON
42bool VuoBlackmagicVideoMode_areEqual(const VuoBlackmagicVideoMode valueA, const VuoBlackmagicVideoMode valueB);
43bool VuoBlackmagicVideoMode_isLessThan(const VuoBlackmagicVideoMode valueA, const VuoBlackmagicVideoMode valueB);
44
45/**
46 * Automatically generated function.
47 */
48///@{
49VuoBlackmagicVideoMode VuoBlackmagicVideoMode_makeFromString(const char *str);
50char *VuoBlackmagicVideoMode_getString(const VuoBlackmagicVideoMode value);
51void VuoBlackmagicVideoMode_retain(VuoBlackmagicVideoMode value);
52void VuoBlackmagicVideoMode_release(VuoBlackmagicVideoMode value);
53///@}
54
55/**
56 * @}
57 */