New upstream version 23.2.1+dfsg1

This commit is contained in:
Simon Chopin 2019-07-27 14:47:10 +02:00
parent cdc9a9fc87
commit b14f9eae6d
1017 changed files with 37232 additions and 11111 deletions

View file

@ -1,5 +1,5 @@
/* -LICENSE-START-
** Copyright (c) 2016 Blackmagic Design
** Copyright (c) 2018 Blackmagic Design
**
** Permission is hereby granted, free of charge, to any person or organization
** obtaining a copy of the software and accompanying documentation covered by
@ -7,14 +7,14 @@
** execute, and transmit the Software, and to prepare derivative works of the
** Software, and to permit third-parties to whom the Software is furnished to
** do so, all subject to the following:
**
**
** The copyright notices in the Software and this entire statement, including
** the above license grant, this restriction and the following disclaimer,
** must be included in all copies of the Software, in whole or in part, and
** all derivative works of the Software, unless such copies or derivative
** works are solely in the form of machine-executable object code generated by
** a source language processor.
**
**
** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
** FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
@ -37,6 +37,10 @@
#endif
#endif
#ifndef BMD_PUBLIC
#define BMD_PUBLIC
#endif
// Type Declarations
@ -65,12 +69,12 @@ enum _BMDDisplayMode {
bmdModeHD1080p25 = 'Hp25',
bmdModeHD1080p2997 = 'Hp29',
bmdModeHD1080p30 = 'Hp30',
bmdModeHD1080i50 = 'Hi50',
bmdModeHD1080i5994 = 'Hi59',
bmdModeHD1080i6000 = 'Hi60', // N.B. This _really_ is 60.00 Hz.
bmdModeHD1080p50 = 'Hp50',
bmdModeHD1080p5994 = 'Hp59',
bmdModeHD1080p6000 = 'Hp60', // N.B. This _really_ is 60.00 Hz.
bmdModeHD1080i50 = 'Hi50',
bmdModeHD1080i5994 = 'Hi59',
bmdModeHD1080i6000 = 'Hi60', // N.B. This _really_ is 60.00 Hz.
/* HD 720 Modes */
@ -78,19 +82,24 @@ enum _BMDDisplayMode {
bmdModeHD720p5994 = 'hp59',
bmdModeHD720p60 = 'hp60',
/* 2k Modes */
/* 2K Modes */
bmdMode2k2398 = '2k23',
bmdMode2k24 = '2k24',
bmdMode2k25 = '2k25',
/* DCI Modes (output only) */
/* 2K DCI Modes */
bmdMode2kDCI2398 = '2d23',
bmdMode2kDCI24 = '2d24',
bmdMode2kDCI25 = '2d25',
bmdMode2kDCI2997 = '2d29',
bmdMode2kDCI30 = '2d30',
bmdMode2kDCI50 = '2d50',
bmdMode2kDCI5994 = '2d59',
bmdMode2kDCI60 = '2d60',
/* 4k Modes */
/* 4K UHD Modes */
bmdMode4K2160p2398 = '4k23',
bmdMode4K2160p24 = '4k24',
@ -101,11 +110,43 @@ enum _BMDDisplayMode {
bmdMode4K2160p5994 = '4k59',
bmdMode4K2160p60 = '4k60',
/* DCI Modes (output only) */
/* 4K DCI Modes */
bmdMode4kDCI2398 = '4d23',
bmdMode4kDCI24 = '4d24',
bmdMode4kDCI25 = '4d25',
bmdMode4kDCI2997 = '4d29',
bmdMode4kDCI30 = '4d30',
bmdMode4kDCI50 = '4d50',
bmdMode4kDCI5994 = '4d59',
bmdMode4kDCI60 = '4d60',
/* 8K UHD Modes */
bmdMode8K4320p2398 = '8k23',
bmdMode8K4320p24 = '8k24',
bmdMode8K4320p25 = '8k25',
bmdMode8K4320p2997 = '8k29',
bmdMode8K4320p30 = '8k30',
bmdMode8K4320p50 = '8k50',
bmdMode8K4320p5994 = '8k59',
bmdMode8K4320p60 = '8k60',
/* 8K DCI Modes */
bmdMode8kDCI2398 = '8d23',
bmdMode8kDCI24 = '8d24',
bmdMode8kDCI25 = '8d25',
bmdMode8kDCI2997 = '8d29',
bmdMode8kDCI30 = '8d30',
bmdMode8kDCI50 = '8d50',
bmdMode8kDCI5994 = '8d59',
bmdMode8kDCI60 = '8d60',
/* RAW Modes for Cintel (input only) */
bmdModeCintelRAW = 'rwci', // Frame size up to 4096x3072, variable frame rate
bmdModeCintelCompressedRAW = 'rwcc', // Frame size up to 4096x3072, variable frame rate
/* Special Modes */
@ -140,7 +181,12 @@ enum _BMDPixelFormat {
/* AVID DNxHR */
bmdFormatDNxHR = 'AVdh'
bmdFormatDNxHR = 'AVdh',
/* Cintel formats */
bmdFormat12BitRAWGRBG = 'r12p', // 12-bit RAW data for bayer pattern GRBG
bmdFormat12BitRAWJPEG = 'r16p' // 12-bit RAW data arranged in tiles and JPEG compressed
};
/* Enum BMDDisplayModeFlags - Flags to describe the characteristics of an IDeckLinkDisplayMode. */
@ -149,7 +195,8 @@ typedef uint32_t BMDDisplayModeFlags;
enum _BMDDisplayModeFlags {
bmdDisplayModeSupports3D = 1 << 0,
bmdDisplayModeColorspaceRec601 = 1 << 1,
bmdDisplayModeColorspaceRec709 = 1 << 2
bmdDisplayModeColorspaceRec709 = 1 << 2,
bmdDisplayModeColorspaceRec2020 = 1 << 3
};
// Forward Declarations
@ -159,7 +206,7 @@ class IDeckLinkDisplayMode;
/* Interface IDeckLinkDisplayModeIterator - enumerates over supported input/output display modes. */
class IDeckLinkDisplayModeIterator : public IUnknown
class BMD_PUBLIC IDeckLinkDisplayModeIterator : public IUnknown
{
public:
virtual HRESULT Next (/* out */ IDeckLinkDisplayMode **deckLinkDisplayMode) = 0;
@ -170,7 +217,7 @@ protected:
/* Interface IDeckLinkDisplayMode - represents a display mode */
class IDeckLinkDisplayMode : public IUnknown
class BMD_PUBLIC IDeckLinkDisplayMode : public IUnknown
{
public:
virtual HRESULT GetName (/* out */ CFStringRef *name) = 0;