NSVFactory.h 520 B

1234567891011121314151617181920
  1. #pragma once
  2. #include "../nsv/svc_nsvFactory.h"
  3. // {262CCE92-78DC-47a9-AFFB-2471799CA799}
  4. static const GUID h264_nsv_guid =
  5. { 0x262cce92, 0x78dc, 0x47a9, { 0xaf, 0xfb, 0x24, 0x71, 0x79, 0x9c, 0xa7, 0x99 } };
  6. class NSVFactory : public svc_nsvFactory
  7. {
  8. public:
  9. static const char *getServiceName() { return "H.264 NSV Decoder"; }
  10. static GUID getServiceGuid() { return h264_nsv_guid; }
  11. IVideoDecoder *CreateVideoDecoder(int w, int h, double framerate, unsigned int fmt, int *flip);
  12. protected:
  13. RECVS_DISPATCH;
  14. };