BKE_writeframeserver.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*
  2. * ***** BEGIN GPL LICENSE BLOCK *****
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation; either version 2
  7. * of the License, or (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program; if not, write to the Free Software Foundation,
  16. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  17. *
  18. * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
  19. * All rights reserved.
  20. *
  21. * The Original Code is: all of this file.
  22. *
  23. * Contributor(s): none yet.
  24. *
  25. * ***** END GPL LICENSE BLOCK *****
  26. */
  27. #ifndef __BKE_WRITEFRAMESERVER_H__
  28. #define __BKE_WRITEFRAMESERVER_H__
  29. /** \file BKE_writeframeserver.h
  30. * \ingroup bke
  31. */
  32. #ifdef __cplusplus
  33. extern "C" {
  34. #endif
  35. struct RenderData;
  36. struct ReportList;
  37. struct Scene;
  38. int BKE_frameserver_start(
  39. void *context_v, struct Scene *scene, struct RenderData *rd, int rectx, int recty,
  40. struct ReportList *reports, bool preview, const char *suffix);
  41. void BKE_frameserver_end(void *context_v);
  42. int BKE_frameserver_append(
  43. void *context_v, struct RenderData *rd, int start_frame, int frame, int *pixels,
  44. int rectx, int recty, const char *suffix, struct ReportList *reports);
  45. int BKE_frameserver_loop(void *context_v, struct RenderData *rd, struct ReportList *reports);
  46. void *BKE_frameserver_context_create(void);
  47. void BKE_frameserver_context_free(void *context_v);
  48. #ifdef __cplusplus
  49. }
  50. #endif
  51. #endif