ImfLineOrder.h 826 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // SPDX-License-Identifier: BSD-3-Clause
  3. // Copyright (c) Contributors to the OpenEXR Project.
  4. //
  5. #ifndef INCLUDED_IMF_LINE_ORDER_H
  6. #define INCLUDED_IMF_LINE_ORDER_H
  7. //-----------------------------------------------------------------------------
  8. //
  9. // enum LineOrder
  10. //
  11. //-----------------------------------------------------------------------------
  12. #include "ImfExport.h"
  13. #include "ImfNamespace.h"
  14. OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
  15. enum IMF_EXPORT_ENUM LineOrder
  16. {
  17. INCREASING_Y = 0, // first scan line has lowest y coordinate
  18. DECREASING_Y = 1, // first scan line has highest y coordinate
  19. RANDOM_Y = 2, // only for tiled files; tiles are written
  20. // in random order
  21. NUM_LINEORDERS // number of different line orders
  22. };
  23. OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
  24. #endif