obs-studio/build_dependencies/aja/include/ajadriver/ntv2vpid.h

35 lines
925 B
C
Raw Normal View History

2023-03-04 18:33:16 +01:00
/*
* SPDX-License-Identifier: MIT
* Copyright (C) 2004 - 2021 AJA Video Systems, Inc.
*/
////////////////////////////////////////////////////////////
//
// Filename: ntv2vpid.h
// Purpose: Common VPID
//
///////////////////////////////////////////////////////////////
#ifndef NTV2VPID_HEADER
#define NTV2VPID_HEADER
#include "ntv2system.h"
#include "ntv2vpidfromspec.h"
#include "ntv2xptlookup.h"
#include "ntv2kona.h"
VPIDChannel GetChannelFrom425XPT(ULWord index);
bool ReadSDIInVPID(Ntv2SystemContext* context, NTV2Channel channel, ULWord* valueA, ULWord* valueB);
bool SetSDIOutVPID(Ntv2SystemContext* context, NTV2Channel channel, ULWord valueA, ULWord valueB);
bool AdjustFor4KDC(Ntv2SystemContext* context, VPIDControl* pControl);
bool FindVPID(Ntv2SystemContext* context, NTV2OutputXptID startingXpt, VPIDControl* pControl);
bool SetVPIDOutput(Ntv2SystemContext* context, NTV2Channel channel);
#endif