You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FP_ViewOnPlane/Src/Decoder_H264_ALL/DecoderSoftwareInterface.h

23 lines
485 B
C++

#pragma once
#define _DECODER_INTERFACE_EXPORT_
#include "DecoderFactory.h"
#include "decoder_sw.h"
class DecoderSoftwareInterface : public DecoderInterface
{
public:
DecoderSoftwareInterface(void);
~DecoderSoftwareInterface(void);
bool init(int srcWth,int srcHth,int dstWth = 0,int dstHth = 0,int oPixFmt = 0,HWND hwnd = 0);
void decoding(unsigned char* in_buf,int in_len);
void release();
void setDecodingCallback(CallbackFun fun);
private:
Decoder_Software decoder;
};