HuffTables.h 991 B

123456789101112131415161718192021222324252627282930313233
  1. /****************************************************************************
  2. *
  3. * Module Title : HuffTables.h
  4. *
  5. * Description : Video CODEC
  6. *
  7. * AUTHOR : Paul Wilkins
  8. *
  9. *****************************************************************************
  10. * Revision History
  11. *
  12. * 1.01 JBB 26 Jan 01 New Huffman Code
  13. * 1.00 PGW 12/10/00 Configuration baseline
  14. *
  15. *****************************************************************************
  16. */
  17. #ifndef HUFFTAB_H
  18. #define HUFFTAB_H
  19. #include "type_aliases.h"
  20. #include "huffman.h"
  21. /****************************************************************************
  22. * Hufman tables
  23. *****************************************************************************
  24. */
  25. // For details of tokens and extra bit breakdown see token definitions in huffman.h
  26. UINT8 ExtraBitLengths_VP5[MAX_ENTROPY_TOKENS] = { 0, 1, 1, 1, 1, 2, 3, 5, 6, 12, 0 };
  27. UINT32 DctRangeMinVals[MAX_ENTROPY_TOKENS] = { 0, 1, 2, 3, 4, 5, 7, 11, 27, 59, 0 };
  28. #endif