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
@ -92,8 +96,8 @@ enum _BMDStreamingEncodingFrameRate {
typedef uint32_t BMDStreamingEncodingSupport;
enum _BMDStreamingEncodingSupport {
bmdStreamingEncodingModeNotSupported = 0,
bmdStreamingEncodingModeSupported,
bmdStreamingEncodingModeSupportedWithChanges
bmdStreamingEncodingModeSupported,
bmdStreamingEncodingModeSupportedWithChanges
};
/* Enum BMDStreamingVideoCodec - Video codecs */
@ -188,7 +192,7 @@ class IBMDStreamingH264NALParser;
/* Interface IBMDStreamingDeviceNotificationCallback - Device notification callbacks. */
class IBMDStreamingDeviceNotificationCallback : public IUnknown
class BMD_PUBLIC IBMDStreamingDeviceNotificationCallback : public IUnknown
{
public:
virtual HRESULT StreamingDeviceArrived (/* in */ IDeckLink* device) = 0;
@ -201,7 +205,7 @@ protected:
/* Interface IBMDStreamingH264InputCallback - H264 input callbacks. */
class IBMDStreamingH264InputCallback : public IUnknown
class BMD_PUBLIC IBMDStreamingH264InputCallback : public IUnknown
{
public:
virtual HRESULT H264NALPacketArrived (/* in */ IBMDStreamingH264NALPacket* nalPacket) = 0;
@ -217,7 +221,7 @@ protected:
/* Interface IBMDStreamingDiscovery - Installs device notifications */
class IBMDStreamingDiscovery : public IUnknown
class BMD_PUBLIC IBMDStreamingDiscovery : public IUnknown
{
public:
virtual HRESULT InstallDeviceNotifications (/* in */ IBMDStreamingDeviceNotificationCallback* theCallback) = 0;
@ -229,7 +233,7 @@ protected:
/* Interface IBMDStreamingVideoEncodingMode - Represents an encoded video mode. */
class IBMDStreamingVideoEncodingMode : public IUnknown
class BMD_PUBLIC IBMDStreamingVideoEncodingMode : public IUnknown
{
public:
virtual HRESULT GetName (/* out */ CFStringRef *name) = 0;
@ -252,7 +256,7 @@ protected:
/* Interface IBMDStreamingMutableVideoEncodingMode - Represents a mutable encoded video mode. */
class IBMDStreamingMutableVideoEncodingMode : public IBMDStreamingVideoEncodingMode
class BMD_PUBLIC IBMDStreamingMutableVideoEncodingMode : public IBMDStreamingVideoEncodingMode
{
public:
virtual HRESULT SetSourceRect (/* in */ uint32_t posX, /* in */ uint32_t posY, /* in */ uint32_t width, /* in */ uint32_t height) = 0;
@ -268,7 +272,7 @@ protected:
/* Interface IBMDStreamingVideoEncodingModePresetIterator - Enumerates encoding mode presets */
class IBMDStreamingVideoEncodingModePresetIterator : public IUnknown
class BMD_PUBLIC IBMDStreamingVideoEncodingModePresetIterator : public IUnknown
{
public:
virtual HRESULT Next (/* out */ IBMDStreamingVideoEncodingMode** videoEncodingMode) = 0;
@ -279,7 +283,7 @@ protected:
/* Interface IBMDStreamingDeviceInput - Created by QueryInterface from IDeckLink */
class IBMDStreamingDeviceInput : public IUnknown
class BMD_PUBLIC IBMDStreamingDeviceInput : public IUnknown
{
public:
@ -309,7 +313,7 @@ protected:
/* Interface IBMDStreamingH264NALPacket - Represent an H.264 NAL packet */
class IBMDStreamingH264NALPacket : public IUnknown
class BMD_PUBLIC IBMDStreamingH264NALPacket : public IUnknown
{
public:
virtual long GetPayloadSize (void) = 0;
@ -324,7 +328,7 @@ protected:
/* Interface IBMDStreamingAudioPacket - Represents a chunk of audio data */
class IBMDStreamingAudioPacket : public IUnknown
class BMD_PUBLIC IBMDStreamingAudioPacket : public IUnknown
{
public:
virtual BMDStreamingAudioCodec GetCodec (void) = 0;
@ -339,7 +343,7 @@ protected:
/* Interface IBMDStreamingMPEG2TSPacket - Represent an MPEG2 Transport Stream packet */
class IBMDStreamingMPEG2TSPacket : public IUnknown
class BMD_PUBLIC IBMDStreamingMPEG2TSPacket : public IUnknown
{
public:
virtual long GetPayloadSize (void) = 0;
@ -351,7 +355,7 @@ protected:
/* Interface IBMDStreamingH264NALParser - For basic NAL parsing */
class IBMDStreamingH264NALParser : public IUnknown
class BMD_PUBLIC IBMDStreamingH264NALParser : public IUnknown
{
public:
virtual HRESULT IsNALSequenceParameterSet (/* in */ IBMDStreamingH264NALPacket* nal) = 0;
@ -366,8 +370,8 @@ protected:
extern "C" {
IBMDStreamingDiscovery* CreateBMDStreamingDiscoveryInstance (void);
IBMDStreamingH264NALParser* CreateBMDStreamingH264NALParser (void);
IBMDStreamingDiscovery* BMD_PUBLIC CreateBMDStreamingDiscoveryInstance (void);
IBMDStreamingH264NALParser* BMD_PUBLIC CreateBMDStreamingH264NALParser (void);
}