1
0

ogg_theora_decoder.h 626 B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #include "../in_ogg/svc_oggdecoder.h"
  3. // {6018D413-172D-417a-929A-72ADC2B6E387}
  4. static const GUID ogg_theora_guid =
  5. { 0x6018d413, 0x172d, 0x417a, { 0x92, 0x9a, 0x72, 0xad, 0xc2, 0xb6, 0xe3, 0x87 } };
  6. class OggDecoderFactory : public svc_oggdecoder
  7. {
  8. public:
  9. static const char *getServiceName() { return "Ogg Theora Decoder"; }
  10. static GUID getServiceGuid() { return ogg_theora_guid; }
  11. ifc_oggdecoder *CreateDecoder(const ogg_packet *packet);
  12. protected:
  13. RECVS_DISPATCH;
  14. };
  15. class OggTheoraDecoder : public ifc_oggdecoder
  16. {
  17. public:
  18. OggTheoraDecoder(const ogg_packet *packet);
  19. protected:
  20. RECVS_DISPATCH;
  21. };