VideoThread.h 507 B

123456789101112131415161718192021
  1. #ifndef NULLSOFT_IN_FLV_VIDEOTHREAD_H
  2. #define NULLSOFT_IN_FLV_VIDEOTHREAD_H
  3. #include "../nsv/dec_if.h"
  4. #include "../Winamp/wa_ipc.h"
  5. #include "svc_flvdecoder.h"
  6. #include "ifc_flvvideodecoder.h"
  7. bool OnVideo(void *data, size_t length, int type, unsigned __int32 timestamp);
  8. void VideoFlush();
  9. extern int width, height;
  10. extern IVideoOutput *videoOutput;
  11. extern bool video_opened;
  12. void Video_Init();
  13. void Video_Stop();
  14. void Video_Close();
  15. bool Video_IsSupported(int type);
  16. bool Video_DecoderReady();
  17. #endif