1
0

nsvdec.h 523 B

123456789101112131415161718192021
  1. #pragma once
  2. #include "duck_dxl.h"
  3. #include "../nsv/dec_if.h"
  4. class VP6_Decoder : public IVideoDecoder {
  5. public:
  6. VP6_Decoder(int w, int h);
  7. ~VP6_Decoder();
  8. int decode(int need_kf,
  9. void *in, int in_len,
  10. void **out, // out is set to a pointer to data
  11. unsigned int *out_type, // 'Y','V','1','2' is currently defined
  12. int *is_kf);
  13. void flush() { }
  14. void initMmx();
  15. private:
  16. int l_tcpu, l_pp;
  17. DXL_XIMAGE_HANDLE xim;
  18. YV12_PLANES vidbufdec;
  19. };