diff options
author | Jean-Francois Mauguit <jfmauguit@mac.com> | 2024-09-24 09:03:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 09:03:25 -0400 |
commit | bab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/vp6/NSVFactory.h | |
parent | 4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff) | |
parent | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff) | |
download | winamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz |
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/vp6/NSVFactory.h')
-rw-r--r-- | Src/vp6/NSVFactory.h | 22 |
1 files changed, 22 insertions, 0 deletions
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 |