Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
gst-plugins-bad
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,000
Issues
1,000
List
Boards
Labels
Service Desk
Milestones
Merge Requests
201
Merge Requests
201
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GStreamer
gst-plugins-bad
Commits
88f97241
Commit
88f97241
authored
Apr 16, 2019
by
Sebastian Dröge
🍵
Committed by
Sebastian Dröge
May 03, 2019
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decklink: Add support for widescreen NTSC/PAL
Same as non-widescreen but with a different pixel-aspect-ratio.
parent
a2436713
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
sys/decklink/gstdecklink.cpp
sys/decklink/gstdecklink.cpp
+14
-0
sys/decklink/gstdecklink.h
sys/decklink/gstdecklink.h
+6
-0
No files found.
sys/decklink/gstdecklink.cpp
View file @
88f97241
...
...
@@ -46,6 +46,12 @@ gst_decklink_mode_get_type (void)
{
GST_DECKLINK_MODE_NTSC_P
,
"NTSC SD 60p"
,
"ntsc-p"
},
{
GST_DECKLINK_MODE_PAL_P
,
"PAL SD 50p"
,
"pal-p"
},
{
GST_DECKLINK_MODE_NTSC_WIDESCREEN
,
"NTSC SD 60i Widescreen"
,
"ntsc-widescreen"
},
{
GST_DECKLINK_MODE_NTSC2398_WIDESCREEN
,
"NTSC SD 60i Widescreen (24 fps)"
,
"ntsc2398-widescreen"
},
{
GST_DECKLINK_MODE_PAL_WIDESCREEN
,
"PAL SD 50i Widescreen"
,
"pal-widescreen"
},
{
GST_DECKLINK_MODE_NTSC_P_WIDESCREEN
,
"NTSC SD 60p Widescreen"
,
"ntsc-p-widescreen"
},
{
GST_DECKLINK_MODE_PAL_P_WIDESCREEN
,
"PAL SD 50p Widescreen"
,
"pal-p-widescreen"
},
{
GST_DECKLINK_MODE_1080p2398
,
"HD1080 23.98p"
,
"1080p2398"
},
{
GST_DECKLINK_MODE_1080p24
,
"HD1080 24p"
,
"1080p24"
},
{
GST_DECKLINK_MODE_1080p25
,
"HD1080 25p"
,
"1080p25"
},
...
...
@@ -252,6 +258,8 @@ gst_decklink_audio_channels_get_type (void)
#define NTSC 10, 11, false, "bt601", FALSE
#define PAL 12, 11, true, "bt601", FALSE
#define NTSC_WS 40, 33, false, "bt601", FALSE
#define PAL_WS 16, 11, true, "bt601", FALSE
#define HD 1, 1, true, "bt709", TRUE
#define UHD 1, 1, true, "bt2020", TRUE
...
...
@@ -264,6 +272,12 @@ static const GstDecklinkMode modes[] = {
{
bmdModeNTSCp
,
720
,
486
,
30000
,
1001
,
false
,
NTSC
},
{
bmdModePALp
,
720
,
576
,
25
,
1
,
false
,
PAL
},
{
bmdModeNTSC
,
720
,
486
,
30000
,
1001
,
true
,
NTSC_WS
},
{
bmdModeNTSC2398
,
720
,
486
,
24000
,
1001
,
true
,
NTSC_WS
},
{
bmdModePAL
,
720
,
576
,
25
,
1
,
true
,
PAL_WS
},
{
bmdModeNTSCp
,
720
,
486
,
30000
,
1001
,
false
,
NTSC_WS
},
{
bmdModePALp
,
720
,
576
,
25
,
1
,
false
,
PAL_WS
},
{
bmdModeHD1080p2398
,
1920
,
1080
,
24000
,
1001
,
false
,
HD
},
{
bmdModeHD1080p24
,
1920
,
1080
,
24
,
1
,
false
,
HD
},
{
bmdModeHD1080p25
,
1920
,
1080
,
25
,
1
,
false
,
HD
},
...
...
sys/decklink/gstdecklink.h
View file @
88f97241
...
...
@@ -63,6 +63,12 @@ typedef enum {
GST_DECKLINK_MODE_NTSC_P
,
GST_DECKLINK_MODE_PAL_P
,
GST_DECKLINK_MODE_NTSC_WIDESCREEN
,
GST_DECKLINK_MODE_NTSC2398_WIDESCREEN
,
GST_DECKLINK_MODE_PAL_WIDESCREEN
,
GST_DECKLINK_MODE_NTSC_P_WIDESCREEN
,
GST_DECKLINK_MODE_PAL_P_WIDESCREEN
,
GST_DECKLINK_MODE_1080p2398
,
GST_DECKLINK_MODE_1080p24
,
GST_DECKLINK_MODE_1080p25
,
...
...
Tim Autin
@autintim
mentioned in issue
#986 (closed)
·
Jun 24, 2019
mentioned in issue
#986 (closed)
mentioned in issue #986
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment