-
大小: 64KB文件类型: .rar金币: 1下载: 0 次发布日期: 2021-05-18
- 语言: 其他
- 标签: decklinksdk ubuntu
资源简介
ubuntu系统decklink的api,用于decklink开发和ffmpeg编译decklink
代码片段和文件信息
/* -LICENSE-START-
** Copyright (c) 2009 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
** this license (the “Software“) to use reproduce display distribute
** 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
** SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
** FOR ANY DAMAGES OR OTHER LIABILITY WHETHER IN CONTRACT TORT OR OTHERWISE
** ARISING FROM OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
** DEALINGS IN THE SOFTWARE.
** -LICENSE-END-
**/
#include
#include
#include
#include “DecklinkAPI.h“
#define kDecklinkAPI_Name “libDecklinkAPI.so“
#define KDecklinkPreviewAPI_Name “libDecklinkPreviewAPI.so“
typedef IDecklinkIterator* (*CreateIteratorFunc)(void);
typedef IDecklinkAPIInformation* (*CreateAPIInformationFunc)(void);
typedef IDecklinkGLScreenPreviewHelper* (*CreateOpenGLScreenPreviewHelperFunc)(void);
typedef IDecklinkVideoConversion* (*CreateVideoConversionInstanceFunc)(void);
typedef IDecklinkDiscovery* (*CreateDecklinkDiscoveryInstanceFunc)(void);
typedef IDecklinkVideoframeAncillaryPackets* (*CreateVideoframeAncillaryPacketsInstanceFunc)(void);
static pthread_once_t gDecklinkOnceControl = PTHREAD_ONCE_INIT;
static pthread_once_t gPreviewOnceControl = PTHREAD_ONCE_INIT;
static bool gLoadedDecklinkAPI = false;
static CreateIteratorFunc gCreateIteratorFunc = NULL;
static CreateAPIInformationFunc gCreateAPIInformationFunc = NULL;
static CreateOpenGLScreenPreviewHelperFunc gCreateOpenGLPreviewFunc = NULL;
static CreateVideoConversionInstanceFunc gCreateVideoConversionFunc = NULL;
static CreateDecklinkDiscoveryInstanceFunc gCreateDecklinkDiscoveryFunc = NULL;
static CreateVideoframeAncillaryPacketsInstanceFunc gCreateVideoframeAncillaryPacketsFunc = NULL;
static void InitDecklinkAPI (void)
{
void *libraryHandle;
libraryHandle = dlopen(kDecklinkAPI_Name RTLD_NOW|RTLD_GLOBAL);
if (!libraryHandle)
{
fprintf(stderr “%s\n“ dlerror());
return;
}
gLoadedDecklinkAPI = true;
gCreateIteratorFunc = (CreateIteratorFun
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 67387 2018-10-23 13:46 deckli
文件 13602 2018-10-23 13:46 deckli
文件 3051 2018-10-23 13:44 deckli
文件 3061 2018-10-23 13:44 deckli
文件 3251 2018-10-23 13:44 deckli
文件 3060 2018-10-23 13:44 deckli
文件 12801 2018-10-23 13:46 deckli
文件 2449 2018-10-23 13:46 deckli
文件 5959 2018-10-23 13:44 deckli
文件 5242 2018-10-23 13:44 deckli
文件 3986 2018-10-23 13:44 deckli
文件 4695 2018-10-23 13:44 deckli
文件 12854 2018-10-23 13:46 deckli
文件 4786 2018-10-23 13:46 deckli
文件 1753 2018-10-23 13:46 deckli
文件 2456 2018-10-23 13:44 deckli
文件 1875 2018-10-23 13:44 deckli
文件 1844 2018-10-23 13:44 deckli
文件 2029 2018-10-23 13:44 deckli
文件 1826 2018-10-23 13:44 deckli
文件 10000 2018-10-23 13:44 deckli
文件 8469 2018-10-23 13:44 deckli
文件 20437 2018-10-23 13:44 deckli
文件 5282 2018-10-23 13:44 deckli
文件 2589 2018-10-23 13:44 deckli
文件 7009 2018-10-23 13:44 deckli
文件 3717 2018-10-23 13:44 deckli
文件 5607 2018-10-23 13:44 deckli
文件 3483 2018-10-23 13:44 deckli
目录 0 2019-02-19 17:42 deckli
............此处省略3个文件信息
相关资源
-
ubuntu系统ffmpeg编译deckli
nk资源包 - ubuntu-10.10-desktop-i386.iso
- 10分钟在Ubuntu12.04安装OpenStack
- UBUNTU LINUX教程
- Ubuntu 11.04 Desktop i386 .iso
- WSL2使用xrdp连接xfce4桌面详细配置教程
- Ubuntu16.04源码安装Mininet
- ubuntu网络调试助手
- ubuntu16.04 amd64 make deb安装包
- linux ubuntu
- UbuntuLinux下通过ndiswrapper安装无线网卡
- ubuntu-16直接在迅雷里可
- WPS Ubuntu缺少字体
- ubuntu16.04安装包,百度云链接与密码
- ubuntu下 .img 镜像的制作
- Ubuntu下安装AFNI和FSL.pdf
- Ubuntu-14.04.1系统32位和64位种子
- Ubuntu16.04以及18.04两个系统的镜像
- ubuntu下openmeetings的详细安装步骤
- ubuntu下conio.h文件
- 基于Ubuntu15系统的tiny4412使用dnw烧录裸
- neocomplcache-7.1.zip自动提示
- VMware百度网盘链接.txt
- ubuntu下和QQ截图一样的截图工具
- Win7 U盘安装Ubuntu16.04 双系统详细教程
- Ubuntu14.04安装qtopia-free-2.2.0所需环境包
- Ubuntu离线安装NFS的安装包
- apktool工具
- ubuntu下的 cudnn-10.0-linux-x64-v7.6.4.38.tg
- 360Wifi Driver for Ubuntu编译安装
评论
共有 条评论