diff options
author | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
---|---|---|
committer | Jef <jef@targetspot.com> | 2024-09-24 08:54:57 -0400 |
commit | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/vp6/NSVFactory.h | |
parent | 537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff) | |
download | winamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz |
Initial community commit
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 |