#pragma once /* CD-ROM sector functions. * * Implemented: * eight-to-fourteen modulation (encoding and decoding) * sync header creation and verification * error detection code creation and verification * reed-solomon product-code creation and verification * sector scrambling and descrambling (currently unverified) * * Unimplemented: * reed-solomon product-code correction * cross-interleave reed-solomon creation, verification, and correction * CD-ROM XA mode 2 forms 1 & 2 support * subcode insertion and removal * subcode decoding from CUE files * channel frame expansion and reduction */ #include #include #include #include #include #include #include #include #include #include