Skip to content
Snippets Groups Projects
Commit 55c44b61 authored by Dominik Loidolt's avatar Dominik Loidolt
Browse files

Fix typos

parent 7849e827
No related branches found
No related tags found
1 merge request!34Update cmp_tool to version v0.13
......@@ -89,7 +89,7 @@ const char* cmp_get_error_string(enum cmp_error code)
case CMP_ERROR_PAR_MAX_USED_BITS:
return "Maximum used bits parameters are not valid";
case CMP_ERROR_PAR_NULL:
return "Pointer to the compression parameters structure is NULL.";
return "Pointer to the compression parameters structure is NULL";
case CMP_ERROR_CHUNK_NULL:
return "Pointer to the chunk is NULL. No data, no compression";
......
......@@ -297,7 +297,7 @@ static __inline uint32_t re_map_to_pos(uint32_t value_to_unmap)
/**
* @brief decompress the next code word in the bitstream and decorate it with
* @brief decompress the next code word in the bitstream and decorrelate it with
* the model
*
* @param setup pointer to the decoder setup
......@@ -316,7 +316,7 @@ static int decode_value(const struct decoder_setup *setup, uint32_t *decoded_val
/* map the unsigned decode value back to a signed value */
*decoded_value = re_map_to_pos(*decoded_value);
/* decorate data the data with the model */
/* decorrelate data the data with the model */
*decoded_value += round_fwd(model, setup->lossy_par);
/* we mask only the used bits in case there is an overflow when adding the model */
......
......@@ -260,7 +260,7 @@ static __inline uint64_t bit_read_bits(struct bit_decoder *dec, unsigned int nb_
/**
* @brief same as bit_read_bits32() but only returns 32 bit
* @brief same as bit_read_bits32() but only returns maximum 32 bit
* @warning do not read more bits than the local register has unconsumed bits.
* If you do this, the bit_refill function will return the BIT_OVERFLOW
* status the next time the register is refilled.
......@@ -268,7 +268,7 @@ static __inline uint64_t bit_read_bits(struct bit_decoder *dec, unsigned int nb_
* @param dec pointer to a bit_decoder context
* @param nb_bits number of bits to read; only works if 1 <= nb_bits <= 32
*
* @returns extracted 32 bit value
* @returns extracted maximum 32 bit value
*/
static __inline uint32_t bit_read_bits32(struct bit_decoder *dec, unsigned int nb_bits)
......
......@@ -125,7 +125,7 @@ static uint32_t chunk_round_trip(void *data, uint32_t data_size,
int LLVMFuzzerTestOneInput(const uint8_t *src, size_t size)
{
struct cmp_par cmp_par;
struct cmp_par *cmp_par_ptr=NULL;
struct cmp_par *cmp_par_ptr = NULL;
const uint8_t *model = NULL;
void *up_model = NULL;
uint32_t cmp_size_bound;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment