7 #ifndef __NTV2_LINE21_CAPTIONER_
8 #define __NTV2_LINE21_CAPTIONER_
49 static bool DecodeLine (
const UByte * pLineData,
UByte & outChar1,
UByte & outChar2);
60 static bool DecodeLine (
const std::vector<uint8_t> & inLineData, std::vector<uint8_t> & outData);
69 static const UByte * FindFirstDataBit_NTSC (
const void * pInVideoLine);
77 static std::vector<uint8_t>::size_type FindFirstDataBit_NTSC (
const std::vector<uint8_t> & in2VUYLine);
82 static const UWord CC_LINE_WIDTH_PIXELS = 720;
83 static const UWord ENCODE_LINE_LENGTH_BYTES = CC_LINE_WIDTH_PIXELS * 2;
111 virtual void InitEncodeBuffer (
void);
116 UByte mEncodeBuffer [CC_LINE_WIDTH_PIXELS * 2];
117 bool mEncodeBufferInitialized;
119 ULWord mEncodePixelOffset;
120 ULWord mEncodeFirstDataBitOffset;
124 #endif // __NTV2_LINE21_CAPTIONER_