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.
22 lines
491 B
C++
22 lines
491 B
C++
#pragma once
|
|
#define _DECODER_INTERFACE_EXPORT_
|
|
|
|
#include "DecoderFactory.h"
|
|
#include "decoder_hw_d.h"
|
|
|
|
class DecoderHardwareDInterface : public DecoderInterface
|
|
{
|
|
public:
|
|
DecoderHardwareDInterface(void);
|
|
~DecoderHardwareDInterface(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_Hardware_D decoder;
|
|
};
|
|
|