Go to the source code of this file.
Enumerations | |
| enum | { ITU_CODEC_BITSTREAM_PACKED = 0, ITU_CODEC_BITSTREAM_G192 = 1 } |
Functions | |
| void | itu_codec_bitstream_write (const uint8_t out_data[], int number_of_bits, int mode, FILE *fp_bitstream) |
| Write a frame of data to an output file. | |
| int | itu_codec_bitstream_read (uint8_t in_data[], int16_t *p_frame_error_flag, int number_of_bits, int mode, FILE *fp_bitstream) |
| Read a frame of data from an input file. | |
| int itu_codec_bitstream_read | ( | uint8_t | in_data[], | |
| int16_t * | p_frame_error_flag, | |||
| int | number_of_bits, | |||
| int | mode, | |||
| FILE * | fp_bitstream | |||
| ) |
Read a frame of data from an input file.
| in_data | The buffer for the data to be read. | |
| p_frame_error_flags | ???. | |
| number_of_bits | The number of bits to be read. | |
| mode | 0 = continuous, 1 = ITU G.192 codec bitstream format. | |
| fp_bitstream | The file context to be read from. |
| void itu_codec_bitstream_write | ( | const uint8_t | out_data[], | |
| int | number_of_bits, | |||
| int | mode, | |||
| FILE * | fp_bitstream | |||
| ) |
Write a frame of data to an output file.
| out_data | The buffer for the data to be written. | |
| number_of_bits | The number of bits to be written. | |
| mode | 0 = continuous, 1 = ITU G.192 codec bitstream format. | |
| fp_bitstream | The file context to be written to. |
1.4.7