28 #ifdef LIBMWCCDECODER_EXPORTS 29 #define LIBMWCCDECODER_API __declspec(dllexport) 30 #elif LIBMWCCDECODER_DLL 31 #define LIBMWCCDECODER_API __declspec(dllimport) 33 #define LIBMWCCDECODER_API 36 #include "mw_cc708_base_types.h" 37 #include "mw_error_code.h" LIBMWCCDECODER_API MW_CC_RESULT MWDisableOutputChannels(mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t *mcc, int array_num)
MWDisableOutputChannels Length of output channel array.
LIBMWCCDECODER_API MW_CC_RESULT MWEnableOutputChannels(mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t *mcc, int array_num)
MWEnableOutputChannels Sets the decoded CC output channels.
LIBMWCCDECODER_API void MWSetCC708DecoderCallback(mw_cc708_decoder_t *pDecoder, void(*pHandle)(int service, void *userdata), void *pUserdata)
MWSetCC708DecoderCallback Sets CC708 decoder callback function.
LIBMWCCDECODER_API MW_CC_RESULT MWEnableOutputChannel(mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t mcc)
MWEnableOutputChannel Sets the decoded CC output channel.
enum _cc708_channel mw_cc708_channel_t
Enumeration of cc708 channels.
LIBMWCCDECODER_API void MWDestoryCC708Decoder(mw_cc708_decoder_t *pDecoder)
MWDestoryCC708Decoder Unregisters CC708 decoder.
LIBMWCCDECODER_API MW_CC_RESULT MWDecodeCC608(mw_cc708_decoder_t *pDecoder, const unsigned char *pData, int nDatalength)
MWDecodeCC608 Decodes cc608 ANC.
LIBMWCCDECODER_API MW_CC_RESULT MWDisableOutputChannel(mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t mcc)
MWDisableOutputChannel Sets the channels not to output CC.
LIBMWCCDECODER_API void MWResetCC708Decoder(mw_cc708_decoder_t *pDecoder)
MWResetCC708Decoder Resets CC708 decoder.
enum _CC_RESULT MW_CC_RESULT
MW_CC_RESULT.
LIBMWCCDECODER_API void MWSetCC708DecodeType(mw_cc708_decoder_t *pDecoder, bool b608, bool b708)
MWSetCC708DecodeType Sets CC708 decoder to parsing CC data types.
_cc708_decoder cc708 decoder
Definition: mw_cc708_base_types.h:679
LIBMWCCDECODER_API mw_cc708_decoder_t * MWCreateCC708Decoder()
MWCreateCC708Decoder Creats CC708 decoder.
LIBMWCCDECODER_API MW_CC_RESULT MWDecodeCC708(mw_cc708_decoder_t *pDecoder, const unsigned char *pData, int nDatalength)
MWDecodeCC708 Decodes cc708 ANC.