From 3fc5ee6298f8c3ab9567ac9d507973ddf147b8f7 Mon Sep 17 00:00:00 2001 From: Armin Begovic Date: Fri, 6 Dec 2024 15:15:45 +0100 Subject: [PATCH] decklink: Add missing video modes to gst_decklink_mode_get_type() Part-of: --- .../gst-docs/symbols/symbol_index.json | 16 ++++ .../docs/plugins/gst_plugins_cache.json | 80 +++++++++++++++++++ .../sys/decklink/gstdecklink.cpp | 17 ++++ 3 files changed, 113 insertions(+) diff --git a/subprojects/gst-docs/symbols/symbol_index.json b/subprojects/gst-docs/symbols/symbol_index.json index 1d29dc7ed5..f270ac02e8 100644 --- a/subprojects/gst-docs/symbols/symbol_index.json +++ b/subprojects/gst-docs/symbols/symbol_index.json @@ -9625,6 +9625,22 @@ "GstDecklinkModes::8kp50", "GstDecklinkModes::8kp5994", "GstDecklinkModes::8kp60", + "GstDecklinkModes::640x480p60", + "GstDecklinkModes::800x600p60", + "GstDecklinkModes::1440x900p50", + "GstDecklinkModes::1440x900p60", + "GstDecklinkModes::1440x1080p50", + "GstDecklinkModes::1440x1080p60", + "GstDecklinkModes::1600x1200p50", + "GstDecklinkModes::1600x1200p60", + "GstDecklinkModes::1920x1200p50", + "GstDecklinkModes::1920x1200p60", + "GstDecklinkModes::1920x1440p50", + "GstDecklinkModes::1920x1440p60", + "GstDecklinkModes::2560x1440p50", + "GstDecklinkModes::2560x1440p60", + "GstDecklinkModes::2560x1600p50", + "GstDecklinkModes::2560x1600p60", "GstDecklinkModes::auto", "GstDecklinkModes::ntsc", "GstDecklinkModes::ntsc-p", diff --git a/subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json b/subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json index 656b21a773..102e012e2b 100644 --- a/subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json +++ b/subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json @@ -18051,6 +18051,86 @@ "desc": "8k dci 60p", "name": "8kdcip60", "value": "67" + }, + { + "desc": "640x480 60p", + "name": "640x480p60", + "value": "68" + }, + { + "desc": "800x600 60p", + "name": "800x600p60", + "value": "69" + }, + { + "desc": "1440x900 50p", + "name": "1440x900p50", + "value": "70" + }, + { + "desc": "1440x900 60p", + "name": "1440x900p60", + "value": "71" + }, + { + "desc": "1440x1080 50p", + "name": "1440x1080p50", + "value": "72" + }, + { + "desc": "1440x1080 60p", + "name": "1440x1080p60", + "value": "73" + }, + { + "desc": "1600x1200 50p", + "name": "1600x1200p50", + "value": "74" + }, + { + "desc": "1600x1200 60p", + "name": "1600x1200p60", + "value": "75" + }, + { + "desc": "1920x1200 50p", + "name": "1920x1200p50", + "value": "76" + }, + { + "desc": "1920x1200 60p", + "name": "1920x1200p60", + "value": "77" + }, + { + "desc": "1920x1440 50p", + "name": "1920x1440p50", + "value": "78" + }, + { + "desc": "1920x1440 60p", + "name": "1920x1440p60", + "value": "79" + }, + { + "desc": "2560x1440 50p", + "name": "2560x1440p50", + "value": "80" + }, + { + "desc": "2560x1440 60p", + "name": "2560x1440p60", + "value": "81" + }, + { + "desc": "2560x1600 50p", + "name": "2560x1600p50", + "value": "82" + }, + { + "desc": "2560x1600 60p", + "name": "2560x1600p60", + "value": "83" } ] }, diff --git a/subprojects/gst-plugins-bad/sys/decklink/gstdecklink.cpp b/subprojects/gst-plugins-bad/sys/decklink/gstdecklink.cpp index 11ca7abf07..467ecb1170 100644 --- a/subprojects/gst-plugins-bad/sys/decklink/gstdecklink.cpp +++ b/subprojects/gst-plugins-bad/sys/decklink/gstdecklink.cpp @@ -127,6 +127,23 @@ gst_decklink_mode_get_type (void) {GST_DECKLINK_MODE_8Kp5994, "8k dci 59.94p", "8kdcip5994"}, {GST_DECKLINK_MODE_8Kp60, "8k dci 60p", "8kdcip60"}, + {GST_DECKLINK_MODE_640x480p60, "640x480 60p", "640x480p60"}, + {GST_DECKLINK_MODE_800x600p60, "800x600 60p", "800x600p60"}, + {GST_DECKLINK_MODE_1440x900p50, "1440x900 50p", "1440x900p50"}, + {GST_DECKLINK_MODE_1440x900p60, "1440x900 60p", "1440x900p60"}, + {GST_DECKLINK_MODE_1440x1080p50, "1440x1080 50p", "1440x1080p50"}, + {GST_DECKLINK_MODE_1440x1080p60, "1440x1080 60p", "1440x1080p60"}, + {GST_DECKLINK_MODE_1600x1200p50, "1600x1200 50p", "1600x1200p50"}, + {GST_DECKLINK_MODE_1600x1200p60, "1600x1200 60p", "1600x1200p60"}, + {GST_DECKLINK_MODE_1920x1200p50, "1920x1200 50p", "1920x1200p50"}, + {GST_DECKLINK_MODE_1920x1200p60, "1920x1200 60p", "1920x1200p60"}, + {GST_DECKLINK_MODE_1920x1440p50, "1920x1440 50p", "1920x1440p50"}, + {GST_DECKLINK_MODE_1920x1440p60, "1920x1440 60p", "1920x1440p60"}, + {GST_DECKLINK_MODE_2560x1440p50, "2560x1440 50p", "2560x1440p50"}, + {GST_DECKLINK_MODE_2560x1440p60, "2560x1440 60p", "2560x1440p60"}, + {GST_DECKLINK_MODE_2560x1600p50, "2560x1600 50p", "2560x1600p50"}, + {GST_DECKLINK_MODE_2560x1600p60, "2560x1600 60p", "2560x1600p60"}, + {0, NULL, NULL} };