cd.hpp 936 B

1234567891011121314151617181920212223242526272829303132
  1. #pragma once
  2. /* CD-ROM sector functions.
  3. *
  4. * Implemented:
  5. * eight-to-fourteen modulation (encoding and decoding)
  6. * sync header creation and verification
  7. * error detection code creation and verification
  8. * reed-solomon product-code creation and verification
  9. * sector scrambling and descrambling (currently unverified)
  10. *
  11. * Unimplemented:
  12. * reed-solomon product-code correction
  13. * cross-interleave reed-solomon creation, verification, and correction
  14. * CD-ROM XA mode 2 forms 1 & 2 support
  15. * subcode insertion and removal
  16. * subcode decoding from CUE files
  17. * channel frame expansion and reduction
  18. */
  19. #include <nall/galois-field.hpp>
  20. #include <nall/matrix.hpp>
  21. #include <nall/reed-solomon.hpp>
  22. #include <nall/cd/crc16.hpp>
  23. #include <nall/cd/efm.hpp>
  24. #include <nall/cd/sync.hpp>
  25. #include <nall/cd/edc.hpp>
  26. #include <nall/cd/rspc.hpp>
  27. #include <nall/cd/scrambler.hpp>
  28. #include <nall/cd/session.hpp>