#include "DecoderSoftwareInterface.h" DecoderSoftwareInterface::DecoderSoftwareInterface(void) { } DecoderSoftwareInterface::~DecoderSoftwareInterface(void) { } bool DecoderSoftwareInterface::init(int srcWth,int srcHth,int dstWth,int dstHth,int oPixFmt,HWND hwnd) { return decoder.decoder_sw_init(srcWth,srcHth,dstWth,dstHth,oPixFmt); } void DecoderSoftwareInterface::decoding(unsigned char* in_buf,int in_len) { decoder.decoder_sw_decoding(in_buf,in_len); } void DecoderSoftwareInterface::release() { decoder.decoder_sw_release(); } void DecoderSoftwareInterface::setDecodingCallback(CallbackFun fun) { decoder.set_decoding_callback(fun); }