|
libaaruformat 1.0
Aaru Data Preservation Suite - Format Library
|
Go to the source code of this file.
Functions | |
| int32_t | aaruf_cst_transform (const uint8_t *interleaved, uint8_t *sequential, const size_t length) |
| Transforms interleaved subchannel data to sequential format. | |
| int32_t | aaruf_cst_untransform (const uint8_t *sequential, uint8_t *interleaved, const size_t length) |
| Reverses the CST (Claunia's Subchannel Transform) transformation from sequential to interleaved data. | |
| int32_t aaruf_cst_transform | ( | const uint8_t * | interleaved, |
| uint8_t * | sequential, | ||
| const size_t | length ) |
Transforms interleaved subchannel data to sequential format.
Converts interleaved subchannel data into a sequential format for further processing.
| interleaved | Pointer to the interleaved data buffer. |
| sequential | Pointer to the output sequential data buffer. |
| length | Length of the data buffer. |
Definition at line 35 of file cst.c.
References AARUF_ERROR_BUFFER_TOO_SMALL, AARUF_ERROR_NOT_ENOUGH_MEMORY, and AARUF_STATUS_OK.
Referenced by write_sector_subchannel().
| int32_t aaruf_cst_untransform | ( | const uint8_t * | sequential, |
| uint8_t * | interleaved, | ||
| const size_t | length ) |
Reverses the CST (Claunia's Subchannel Transform) transformation from sequential to interleaved data.
| sequential | Pointer to the sequential data buffer. |
| interleaved | Pointer to the output buffer for interleaved data. |
| length | Length of the data in bytes. |
Definition at line 193 of file cst.c.
References AARUF_ERROR_BUFFER_TOO_SMALL, AARUF_ERROR_NOT_ENOUGH_MEMORY, and AARUF_STATUS_OK.
Referenced by process_data_block().