From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/vp6/NSVFactory.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Src/vp6/NSVFactory.h (limited to 'Src/vp6/NSVFactory.h') diff --git a/Src/vp6/NSVFactory.h b/Src/vp6/NSVFactory.h new file mode 100644 index 00000000..c53f14ed --- /dev/null +++ b/Src/vp6/NSVFactory.h @@ -0,0 +1,22 @@ +#ifndef NULLSOFT_AACPLUSDECODER_NSVFACTORY_H +#define NULLSOFT_AACPLUSDECODER_NSVFACTORY_H + +#include "../nsv/svc_nsvFactory.h" + +// {D121CDF8-8443-4430-8AD0-237FF4AC0163} +static const GUID vp6_nsv_guid = +{ 0xd121cdf8, 0x8443, 0x4430, { 0x8a, 0xd0, 0x23, 0x7f, 0xf4, 0xac, 0x1, 0x63 } }; + + +class NSVFactory : public svc_nsvFactory +{ +public: + static const char *getServiceName() { return "VP6 NSV Decoder"; } + static GUID getServiceGuid() { return vp6_nsv_guid; } + IVideoDecoder *CreateVideoDecoder(int w, int h, double framerate, unsigned int fmt, int *flip); + +protected: + RECVS_DISPATCH; +}; + +#endif \ No newline at end of file -- cgit