mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
decklink: Add support for 2k modes
This commit is contained in:
parent
104f39dfe8
commit
11485e32ab
2 changed files with 14 additions and 2 deletions
|
@ -55,6 +55,10 @@ gst_decklink_mode_get_type (void)
|
||||||
{GST_DECKLINK_MODE_720p5994, "720p5994", "HD720 59.94p"},
|
{GST_DECKLINK_MODE_720p5994, "720p5994", "HD720 59.94p"},
|
||||||
{GST_DECKLINK_MODE_720p60, "720p60", "HD720 60p"},
|
{GST_DECKLINK_MODE_720p60, "720p60", "HD720 60p"},
|
||||||
|
|
||||||
|
{GST_DECKLINK_MODE_2048p2398, "2048p2398", "2k 23.98p"},
|
||||||
|
{GST_DECKLINK_MODE_2048p24, "2048p24", "2k 24p"},
|
||||||
|
{GST_DECKLINK_MODE_2048p25, "2048p25", "2k 25p"},
|
||||||
|
|
||||||
{0, NULL, NULL}
|
{0, NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -137,7 +141,11 @@ static const GstDecklinkMode modes[] = {
|
||||||
|
|
||||||
{bmdModeHD720p50, 1280, 720, 50, 1, false, HD},
|
{bmdModeHD720p50, 1280, 720, 50, 1, false, HD},
|
||||||
{bmdModeHD720p5994, 1280, 720, 60000, 1001, false, HD},
|
{bmdModeHD720p5994, 1280, 720, 60000, 1001, false, HD},
|
||||||
{bmdModeHD720p60, 1280, 720, 60, 1, false, HD}
|
{bmdModeHD720p60, 1280, 720, 60, 1, false, HD},
|
||||||
|
|
||||||
|
{bmdMode2k2398, 2048, 1556, 24000, 1001, false, HD},
|
||||||
|
{bmdMode2k24, 2048, 1556, 24, 1, false, HD},
|
||||||
|
{bmdMode2k25, 2048, 1556, 25, 1, false, HD}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,11 @@ typedef enum {
|
||||||
|
|
||||||
GST_DECKLINK_MODE_720p50,
|
GST_DECKLINK_MODE_720p50,
|
||||||
GST_DECKLINK_MODE_720p5994,
|
GST_DECKLINK_MODE_720p5994,
|
||||||
GST_DECKLINK_MODE_720p60
|
GST_DECKLINK_MODE_720p60,
|
||||||
|
|
||||||
|
GST_DECKLINK_MODE_2048p2398,
|
||||||
|
GST_DECKLINK_MODE_2048p24,
|
||||||
|
GST_DECKLINK_MODE_2048p25
|
||||||
} GstDecklinkModeEnum;
|
} GstDecklinkModeEnum;
|
||||||
#define GST_TYPE_DECKLINK_MODE (gst_decklink_mode_get_type ())
|
#define GST_TYPE_DECKLINK_MODE (gst_decklink_mode_get_type ())
|
||||||
GType gst_decklink_mode_get_type (void);
|
GType gst_decklink_mode_get_type (void);
|
||||||
|
|
Loading…
Reference in a new issue