LibMWCapture
3.3.1
LibMWCapture Documentation
|
#include "mw_cc708_base_types.h"
#include "mw_error_code.h"
Go to the source code of this file.
Macros | |
#define | LIBMWCCDECODER_API |
Functions | |
LIBMWCCDECODER_API mw_cc708_decoder_t * | MWCreateCC708Decoder () |
MWCreateCC708Decoder Creates the 708 decoder. More... | |
LIBMWCCDECODER_API void | MWDestoryCC708Decoder (mw_cc708_decoder_t *pDecoder) |
MWDestoryCC708Decoder Destorys the 708 decoder. More... | |
LIBMWCCDECODER_API void | MWResetCC708Decoder (mw_cc708_decoder_t *pDecoder) |
MWResetCC708Decoder Resets the 708 decoder. More... | |
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. More... | |
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. More... | |
LIBMWCCDECODER_API MW_CC_RESULT | MWEnableOutputChannel (mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t mcc) |
MWEnableOutputChannel Enable output channel. More... | |
LIBMWCCDECODER_API MW_CC_RESULT | MWEnableOutputChannels (mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t *mcc, int array_num) |
MWEnableOutputChannels. More... | |
LIBMWCCDECODER_API MW_CC_RESULT | MWDisableOutputChannel (mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t mcc) |
MWDisableOutputChannel Disable output channel. More... | |
LIBMWCCDECODER_API MW_CC_RESULT | MWDisableOutputChannels (mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t *mcc, int array_num) |
MWDisableOutputChannels Disable output channel. More... | |
LIBMWCCDECODER_API MW_CC_RESULT | MWDecodeCC608 (mw_cc708_decoder_t *pDecoder, const unsigned char *pData, int nDatalength) |
MWDecodeCC608 Decodes CC608 ANC data. More... | |
LIBMWCCDECODER_API MW_CC_RESULT | MWDecodeCC708 (mw_cc708_decoder_t *pDecoder, const unsigned char *pData, int nDatalength) |
MWDecodeCC708 Decodes CC708 ANC data. More... | |
#define LIBMWCCDECODER_API |
Definition at line 33 of file mw_cc708_decoder.h.
LIBMWCCDECODER_API mw_cc708_decoder_t* MWCreateCC708Decoder | ( | ) |
MWCreateCC708Decoder Creates the 708 decoder.
LIBMWCCDECODER_API MW_CC_RESULT MWDecodeCC608 | ( | mw_cc708_decoder_t * | pDecoder, |
const unsigned char * | pData, | ||
int | nDatalength | ||
) |
MWDecodeCC608 Decodes CC608 ANC data.
[in] | pDecoder | The pointer of the decoder |
[in] | pData | The pointer of anc data |
[in] | nDatalength | Length of anc data |
LIBMWCCDECODER_API MW_CC_RESULT MWDecodeCC708 | ( | mw_cc708_decoder_t * | pDecoder, |
const unsigned char * | pData, | ||
int | nDatalength | ||
) |
MWDecodeCC708 Decodes CC708 ANC data.
[in] | pDecoder | The pointer of the decoder |
[in] | pData | The pointer of anc data |
[in] | nDatalength | Length of anc data |
LIBMWCCDECODER_API void MWDestoryCC708Decoder | ( | mw_cc708_decoder_t * | pDecoder | ) |
MWDestoryCC708Decoder Destorys the 708 decoder.
[in] | pDecoder | The pointer of the decoder |
LIBMWCCDECODER_API MW_CC_RESULT MWDisableOutputChannel | ( | mw_cc708_decoder_t * | pDecoder, |
mw_cc708_channel_t | mcc | ||
) |
MWDisableOutputChannel Disable output channel.
[in] | pDecoder | The pointer of the decoder |
[in] | mcc | The symbol of channel |
LIBMWCCDECODER_API MW_CC_RESULT MWDisableOutputChannels | ( | mw_cc708_decoder_t * | pDecoder, |
mw_cc708_channel_t * | mcc, | ||
int | array_num | ||
) |
MWDisableOutputChannels Disable output channel.
[in] | pDecoder | The pointer of the decoder |
[in] | mcc | The pointer to channel arrays |
[in] | array_num | The length of channel arrays |
LIBMWCCDECODER_API MW_CC_RESULT MWEnableOutputChannel | ( | mw_cc708_decoder_t * | pDecoder, |
mw_cc708_channel_t | mcc | ||
) |
MWEnableOutputChannel Enable output channel.
[in] | pDecoder | The pointer of the decoder |
[in] | mcc | The symbol of channel |
LIBMWCCDECODER_API MW_CC_RESULT MWEnableOutputChannels | ( | mw_cc708_decoder_t * | pDecoder, |
mw_cc708_channel_t * | mcc, | ||
int | array_num | ||
) |
MWEnableOutputChannels.
[in] | pDecoder | The pointer of the decoder |
[in] | mcc | The pointer to channel arrays |
[in] | array_num | The length of channel arrays |
LIBMWCCDECODER_API void MWResetCC708Decoder | ( | mw_cc708_decoder_t * | pDecoder | ) |
MWResetCC708Decoder Resets the 708 decoder.
[in] | pDecoder | The pointer of the decoder |
LIBMWCCDECODER_API void MWSetCC708DecoderCallback | ( | mw_cc708_decoder_t * | pDecoder, |
void(*)(int service, void *userdata) | pHandle, | ||
void * | pUserdata | ||
) |
MWSetCC708DecoderCallback Sets the callbalck of the decoder to remind the output update.
[in] | pDecoder | The pointer of the decoder |
[in] | pHandle | The pointer of the callback function |
[in] | pUserdata | The pointer of the callback caller |
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.
[in] | pDecoder | The pointer of the decoder |
[in] | b608 | If true,it will decode 608 data of the input data |
[in] | b708 | If true,it will decode 708 data of the input data |