ConvectionKernels_ETC2_Rounding.h 1.1 KB

12345678910111213141516171819202122232425262728
  1. #pragma once
  2. #include <stdint.h>
  3. // This file is generated by the MakeTables app. Do not edit this file manually.
  4. namespace cvtt { namespace Tables { namespace ETC2 {
  5. const int g_alphaRoundingTableWidth = 13;
  6. const uint8_t g_alphaRoundingTables[16][13] =
  7. {
  8. { 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 3 },
  9. { 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3 },
  10. { 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3 },
  11. { 0, 0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3 },
  12. { 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3 },
  13. { 0, 0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3 },
  14. { 0, 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 3, 3 },
  15. { 0, 0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 3 },
  16. { 0, 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3, 3 },
  17. { 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3 },
  18. { 0, 0, 0, 1, 1, 1, 2, 2, 2, 3, 3, 3, 3 },
  19. { 0, 0, 0, 1, 1, 1, 2, 2, 3, 3, 3, 3, 3 },
  20. { 0, 0, 0, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3 },
  21. { 0, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3 },
  22. { 0, 0, 0, 0, 0, 1, 1, 2, 3, 3, 3, 3, 3 },
  23. { 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 3, 3, 3 },
  24. };
  25. }}}