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" 77 void MWSetCC708DecoderCallback(mw_cc708_decoder_t *pDecoder,
void(*pHandle)(
int service,
void *userdata),
void *pUserdata);
107 MW_CC_RESULT
MWEnableOutputChannels(mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t *mcc,
int array_num);
139 MW_CC_RESULT
MWDecodeCC608(mw_cc708_decoder_t *pDecoder,
const unsigned char *pData,
int nDatalength);
150 MW_CC_RESULT
MWDecodeCC708(mw_cc708_decoder_t *pDecoder,
const unsigned char *pData,
int nDatalength);
LIBMWCCDECODER_API MW_CC_RESULT MWDecodeCC708(mw_cc708_decoder_t *pDecoder, const unsigned char *pData, int nDatalength)
MWDecodeCC708 Decodes CC708 ANC data.
LIBMWCCDECODER_API mw_cc708_decoder_t * MWCreateCC708Decoder()
MWCreateCC708Decoder Creates the 708 decoder.
LIBMWCCDECODER_API MW_CC_RESULT MWDisableOutputChannels(mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t *mcc, int array_num)
MWDisableOutputChannels Disable output channel.
LIBMWCCDECODER_API MW_CC_RESULT MWDisableOutputChannel(mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t mcc)
MWDisableOutputChannel Disable output channel.
LIBMWCCDECODER_API void MWSetCC708DecodeType(mw_cc708_decoder_t *pDecoder, bool b608, bool b708)
MWSetCC708DecodeType Sets decode 608 data or 708 data of the input data.
LIBMWCCDECODER_API void MWDestoryCC708Decoder(mw_cc708_decoder_t *pDecoder)
MWDestoryCC708Decoder Destorys the 708 decoder.
LIBMWCCDECODER_API MW_CC_RESULT MWEnableOutputChannel(mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t mcc)
MWEnableOutputChannel Enable output channel.
LIBMWCCDECODER_API MW_CC_RESULT MWEnableOutputChannels(mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t *mcc, int array_num)
MWEnableOutputChannels.
LIBMWCCDECODER_API void MWResetCC708Decoder(mw_cc708_decoder_t *pDecoder)
MWResetCC708Decoder Resets the 708 decoder.
LIBMWCCDECODER_API void MWSetCC708DecoderCallback(mw_cc708_decoder_t *pDecoder, void(*pHandle)(int service, void *userdata), void *pUserdata)
MWSetCC708DecoderCallback Sets the callbalck of the decoder to remind the output update.
LIBMWCCDECODER_API MW_CC_RESULT MWDecodeCC608(mw_cc708_decoder_t *pDecoder, const unsigned char *pData, int nDatalength)
MWDecodeCC608 Decodes CC608 ANC data.
#define LIBMWCCDECODER_API