lib.h 448 B

12345678910111213141516171819202122
  1. #ifndef NULLSOFT_F263_LIB_H
  2. #define NULLSOFT_F263_LIB_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #define F263_OK 0
  7. #define F263_ERROR_TOO_MUCH_DATA 2
  8. #define F263_ERROR_NO_DATA 3
  9. #include "../Winamp/wa_ipc.h"
  10. void *F263_CreateDecoder();
  11. int F263_DecodeFrame(void *context, void *frameData, size_t frameSize, YV12_PLANES *yv12, int *width, int *height, int *keyframe);
  12. void F263_DestroyDecoder(void *context);
  13. #ifdef __cplusplus
  14. }
  15. #endif
  16. #endif