avi_decoder.h 691 B

123456789101112131415161718
  1. #pragma once
  2. #include "../Plugins/Input/in_avi/ifc_avivideodecoder.h"
  3. #include "../Plugins/Input/in_avi/svc_avidecoder.h"
  4. // {C5EC74D7-BE87-457c-BADA-0AA403F53822}
  5. static const GUID avi_bitmap_guid =
  6. { 0xc5ec74d7, 0xbe87, 0x457c, { 0xba, 0xda, 0xa, 0xa4, 0x3, 0xf5, 0x38, 0x22 } };
  7. class AVIDecoderCreator : public svc_avidecoder
  8. {
  9. public:
  10. static const char *getServiceName() { return "Bitmap AVI Decoder"; }
  11. static GUID getServiceGuid() { return avi_bitmap_guid; }
  12. int CreateVideoDecoder(const nsavi::AVIH *avi_header, const nsavi::STRH *stream_header, const nsavi::STRF *stream_format, const nsavi::STRD *stream_data, ifc_avivideodecoder **decoder);
  13. protected:
  14. RECVS_DISPATCH;
  15. };