AJA NTV2 SDK  17.6.0.1664
NTV2 SDK 17.6.0.1664
ntv2overlay.cpp File Reference

Implementation of NTV2Overlay demonstration class. More...

#include "ntv2overlay.h"
#include "ntv2devicescanner.h"
#include "ajabase/common/types.h"
#include "ajabase/system/process.h"
#include "ajabase/system/systemtime.h"
#include "ajaanc/includes/ancillarylist.h"
#include <iostream>
Include dependency graph for ntv2overlay.cpp:

Go to the source code of this file.

Macros

#define OVRLFAIL   BURNFAIL
 
#define OVRLWARN   BURNWARN
 
#define OVRLDBG   BURNDBG
 
#define OVRLNOTE   BURNNOTE
 
#define OVRLINFO   BURNINFO
 

Functions

static const uint32_t kAppSignature (((((uint32_t)( 'O'))<< 24)|(((uint32_t)( 'v'))<< 16)|(((uint32_t)( 'r'))<< 8)|(((uint32_t)( 'l'))<< 0)))
 
static bool DrawVLine (NTV2Buffer &buf, const NTV2RasterInfo &info, const ULWord argbPixValue, const ULWord pixThickness, const ULWord xPos, const ULWord yTop, const ULWord height)
 
static bool DrawHLine (NTV2Buffer &buf, const NTV2RasterInfo &info, const ULWord argbPixValue, const ULWord vThickness, const ULWord yPos, const ULWord xLeft, const ULWord width)
 
static bool DrawBox (NTV2Buffer &buf, const NTV2RasterInfo &info, const ULWord argbPixValue, const UWord pixThickness, const UWord topLeftX, const UWord topLeftY, const ULWord width, const ULWord height)
 
static ULWord gPlayEnterCount (0)
 
static ULWord gPlayExitCount (0)
 

Detailed Description

Implementation of NTV2Overlay demonstration class.

Definition in file ntv2overlay.cpp.

Macro Definition Documentation

◆ OVRLDBG

#define OVRLDBG   BURNDBG

Definition at line 20 of file ntv2overlay.cpp.

◆ OVRLFAIL

#define OVRLFAIL   BURNFAIL

Definition at line 18 of file ntv2overlay.cpp.

◆ OVRLINFO

#define OVRLINFO   BURNINFO

Definition at line 22 of file ntv2overlay.cpp.

◆ OVRLNOTE

#define OVRLNOTE   BURNNOTE

Definition at line 21 of file ntv2overlay.cpp.

◆ OVRLWARN

#define OVRLWARN   BURNWARN

Definition at line 19 of file ntv2overlay.cpp.

Function Documentation

◆ DrawBox()

static bool DrawBox ( NTV2Buffer buf,
const NTV2RasterInfo info,
const ULWord  argbPixValue,
const UWord  pixThickness,
const UWord  topLeftX,
const UWord  topLeftY,
const ULWord  width,
const ULWord  height 
)
static

Definition at line 255 of file ntv2overlay.cpp.

◆ DrawHLine()

static bool DrawHLine ( NTV2Buffer buf,
const NTV2RasterInfo info,
const ULWord  argbPixValue,
const ULWord  vThickness,
const ULWord  yPos,
const ULWord  xLeft,
const ULWord  width 
)
static

Definition at line 245 of file ntv2overlay.cpp.

◆ DrawVLine()

static bool DrawVLine ( NTV2Buffer buf,
const NTV2RasterInfo info,
const ULWord  argbPixValue,
const ULWord  pixThickness,
const ULWord  xPos,
const ULWord  yTop,
const ULWord  height 
)
static

Definition at line 235 of file ntv2overlay.cpp.

◆ gPlayEnterCount()

static ULWord gPlayEnterCount ( )
static

◆ gPlayExitCount()

static ULWord gPlayExitCount ( )

◆ kAppSignature()

static const uint32_t kAppSignature ( ((((uint32_t)('O'))<< 24)|(((uint32_t)('v'))<< 16)|(((uint32_t)('r'))<< 8)|(((uint32_t)('l'))<< 0))  )
static