|
AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Go to the documentation of this file.
7 #ifndef __NTV2_CEA608to708_TRANSLATORCHANNEL_
8 #define __NTV2_CEA608to708_TRANSLATORCHANNEL_
135 virtual void Reset (
void);
223 int m_608PopOn_OnScreenWindowID;
224 int m_608PopOn_OffScreenWindowID;
225 int m_608RollUp_WindowID;
226 int m_608PaintOn_WindowID;
227 int m_608Text_WindowID;
228 int m_lastUsedWindowID;
229 bool m_708TranslateEnable;
237 #endif // __NTV2_CEA608to708_TRANSLATORCHANNEL_
virtual bool QueueServiceBlock_SetWindowAttributes(const int inServiceNum, const CC708WindowAttr &inAttr)
const int NTV2_CC708Default608EffectSpeed
const int NTV2_CC708Default608PrintDir
@ NTV2_CC708TextTagDialog
@ NTV2_CC708PenEdgeTypeNone
@ NTV2_CC708DispEffectSnap
const int NTV2_CC708Default608Opacity
CC708WindowAttr windowAttr
virtual bool Init608CCPenColor(CC708PenColor &outColor, const NTV2Line21Mode inMode=NTV2_CC608_CapModePopOn) const
virtual bool QueueServiceBlock_SetCurrentWindow(int serviceNum, int windowID)
const int NTV2_CC708DefaultTextWindowID
virtual ~CNTV2CaptionTranslatorChannel608to708()
virtual bool GetCurrentPenColor(CC708PenColor &outColor) const
virtual bool DoTextRestart(void)
CC708WindowParms windowParms
True if window has any content (i.e. characters) written to it.
virtual bool QueueServiceBlock_ClearWindows(int serviceNum, UByte windowMap)
virtual bool QueueServiceBlock_Delay(int serviceNum, const UByte delay)
I am a reference-counted pointer template class. I am intended to be a proxy for an underlying object...
virtual bool GetNextServiceBlockInfoFromQueue(size_t &outBlockSize, size_t &outDataSize, int &outServiceNum, bool &outIsExtended)
const int NTV2_CC708Default608Underline
virtual bool Parse608MidRowCommand(UByte char608_1, UByte char608_2, std::string &outDebugStr)
virtual bool DoDeleteToEndOfRow(void)
virtual bool QueueServiceBlock_DefineWindow(const int inServiceNum, const int inWindowID, const CC708WindowParms &inParms)
virtual bool DoResumeTextDisplay(void)
const int NTV2_CC708Default608TextTag
const int NTV2_CC708NumPopOnWindows
const int NTV2_CC708Default608DisplayEffect
virtual bool IsWindowDirty(const int winID) const
virtual bool Init608CCWindowAttributes(CC708WindowAttr &outAttr, const NTV2Line21Mode inMode=NTV2_CC608_CapModePopOn) const
virtual bool GetCurrentEditWindowID(int *pWindowID=0, NTV2Line21Mode mode=NTV2_CC608_CapModeUnknown, bool *pbNewWindow=0)
const int NTV2_CC708Default608PenSize
virtual bool IsWindowDefined(const int winID) const
virtual void Reset(void)
Restores my state – caption channel CC1, screen 0, cursor at row 15 column 1, pop-on mode,...
const int NTV2_CC708Default608FontStyle
virtual void Set708TranslateEnable(bool enable)
const int NTV2_CC708Default608Italics
const int NTV2_CC708DefaultPopOnWindowID
const int NTV2_CC708Default608PopOnPenStyleID
const int NTV2_CC608_TextRowHeight
const int NTV2_CC708Default608WordWrap
virtual bool Parse608SpecialCharacter(UByte char608_1, UByte char608_2, std::string &outDebugStr)
virtual bool DoCarriageReturn(void)
virtual bool Get708TranslateEnable(void) const
const int NTV2_CC708Default608PopOnWindowStyleID
virtual bool DeleteWindow(int winID)
const int NTV2_CC708DefaultRollUpAnchorV
virtual bool Parse608CharacterData(UByte char608_1, UByte char608_2, std::string &outDebugStr)
virtual size_t GetNextServiceBlockDataFromQueue(UByte *pOutDataBuffer)
@ NTV2_CC708BorderTypeNone
const int NTV2_CC708Default608WindowPriority
const int NTV2_CC708ScreenCellHeight
AJARefPtr< CNTV2CaptionTranslatorChannel608to708 > CNTV2CaptionTranslatorChannel608to708Ptr
I am a simple, thread-safe queue of CEA-708 caption service blocks.
const int NTV2_CC708Default608TextPenStyleID
@ NTV2_CC708PenOffsetNormal
@ NTV2_CC608_CapModeUnknown
Unknown or invalid caption mode.
virtual void Set708ServiceNumber(int serviceNum)
static bool Create(CNTV2CaptionTranslatorChannel608to708Ptr &outInstance)
virtual size_t GetNextServiceBlockFromQueue(UByte *pOutDataBuffer)
const int NTV2_CC708Default608PenEdgeType
virtual bool QueueServiceBlock_DeleteWindows(int serviceNum, UByte windowEnables)
virtual bool Init608CCWindowParms(CC708WindowParms &outParms, const NTV2Line21Mode inMode=NTV2_CC608_CapModePopOn) const
const bool NTV2_CC708NoWordWrap
virtual UWord GetWindowRowOffset(int windowID) const
@ NTV2_CC708ScrollDirBtoT
virtual bool QueueServiceBlock_Reset(int serviceNum)
const int NTV2_CC708Default608TextWindowStyleID
virtual bool QueueServiceBlock_TwoByteData(int serviceNum, UByte ccChar1, UByte ccChar2)
@ NTV2_CC708PenSizeStandard
virtual bool QueueServiceBlock_SetPenColor(const int inServiceNum, const CC708PenColor &inColor)
const int NTV2_CC708Default608Justify
virtual int GetCurrentModeWindowID(void)
virtual bool SetChannel(const NTV2Line21Channel inChannel)
Changes the caption channel that I handle.
virtual bool QueueServiceBlock_SetPenLocation(const int inServiceNum, const CC708PenLocation &pLoc)
virtual bool Init608CCPenAttributes(CC708PenAttr &outAttr, const NTV2Line21Mode inMode=NTV2_CC608_CapModePopOn) const
const int NTV2_CC708DefaultRollUpWindowID
const int NTV2_CC708Default608ScrollDir
virtual bool DoEraseDisplayedMemory(void)
const int NTV2_CC708Default608RollUpWindowStyleID
virtual bool QueueServiceBlock_SetPenAttributes(const int inServiceNum, const CC708PenAttr &inAttr)
Declares the CNTV2CaptionDecodeChannel608 class.
const int NTV2_CC708Default608PenOffset
static bool Convert608CharacterTo708(const UByte inChar608, UByte &outChar708_1, UByte &outChar708_2)
const int NTV2_CC708Default608TextEffectSpeed
virtual bool Parse608AttributeCommand(UByte char608_1, UByte char608_2, std::string &outDebugStr)
virtual bool QueueServiceBlock_DisplayWindows(int serviceNum, UByte windowMap)
NTV2Line21Mode
The CEA-608 modes: pop-on, roll-up (2, 3 and 4-line), and paint-on.
virtual bool DoFlashOn(void)
virtual bool Parse608TabOffsetCommand(UByte char608_1, UByte char608_2, std::string &outDebugStr)
const int NTV2_CC708DefaultPaintOnWindowID
virtual bool GetCurrentPenAttributes(CC708PenAttr &outAttr) const
Declares the CNTV2CaptionEncoder708 class.
const bool NTV2_CC708NoUnderline(false)
const int NTV2_CC708DefaultRollUpAnchorH
const int NTV2_CC708Default608EffectDir
@ NTV2_CC708FontStyleMonoSansSerif
bool bDirty
True if this window has been "defined" with a DefineWindow command.
NTV2Line21Channel
The CEA-608 caption channels: CC1 thru CC4, TX1 thru TX4, plus XDS.
virtual bool QueueServiceBlock_HideWindows(int serviceNum, UByte windowMap)
virtual bool QueueServiceBlock_DelayCancel(int serviceNum)
virtual bool DoEraseNonDisplayedMemory(void)
virtual bool DoBackspace(void)
virtual bool QueueServiceBlock_ToggleWindows(int serviceNum, UByte windowMap)
virtual bool GetCurrentPenLocation(CC708PenLocation &outLoc, int inWindowID=NTV2_CC708WindowIDMin - 1) const
@ NTV2_CC708EffectDirLtoR
virtual bool Init608CCPenLocation(CC708PenLocation &outLoc, const NTV2Line21Mode inMode=NTV2_CC608_CapModePopOn) const
const int NTV2_CC708Default608BorderType
const bool NTV2_CC708NoItalics(false)
virtual bool DoEndOfCaption(void)
virtual bool DoRollUpCaption(const UWord inRowCount)
virtual bool QueueServiceBlock_CharacterData(int serviceNum, UByte ccChar)
virtual bool Parse608PACCommand(UByte char608_1, UByte char608_2, std::string &outDebugStr)
@ NTV2_CC608_CapModePopOn
Pop-on caption mode.
virtual bool Parse608CharacterSetCommand(UByte char608_1, UByte char608_2, std::string &outDebugStr)
const int NTV2_CC708Default608RollUpPenStyleID
struct CC708WindowStatus CC708WindowStatus
virtual int Get708ServiceNumber(void) const
virtual bool Init608CCWindowStatus(int winID, NTV2Line21Mode mode=NTV2_CC608_CapModePopOn)
Declares the CNTV2Caption708ServiceBlockQueue class.
const UWord NTV2_CC608_MaxRow(15)
The maximum permissible row index number (located at the bottom of the screen).