stacker.h 605 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef POSTPROCESSD__STACKER_H
  2. #define POSTPROCESSD__STACKER_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. struct stacker {
  7. void *obj;
  8. };
  9. typedef struct stacker stacker_t;
  10. stacker_t *
  11. stacker_create(int verbose, struct Imagedata imagedata);
  12. void
  13. stacker_add_image(stacker_t *st, unsigned char *data, int width, int height);
  14. char *
  15. stacker_get_result(stacker_t *st);
  16. char *
  17. stacker_postprocess(stacker_t *st, unsigned char *data, int width, int height);
  18. int
  19. stacker_get_width(stacker_t *st);
  20. int
  21. stacker_get_height(stacker_t *st);
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif //POSTPROCESSD__STACKER_H