Skip to content

Commit 14ceb1e

Browse files
committed
Fix comment typo
1 parent b1c4f69 commit 14ceb1e

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

Source/astcenc_integer_sequence.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// ----------------------------------------------------------------------------
3-
// Copyright 2011-2021 Arm Limited
3+
// Copyright 2011-2024 Arm Limited
44
//
55
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
66
// use this file except in compliance with the License. You may obtain a copy
@@ -464,10 +464,10 @@ static inline void write_bits(
464464
}
465465

466466
/**
467-
* @brief Read up to 8 bits at an arbitrary bit offset.
467+
* @brief Read up to 16 bits from two bytes.
468468
*
469-
* The stored value is at most 8 bits, but can be stored at an offset of between 0 and 7 bits so may
470-
* span two separate bytes in memory.
469+
* This function reads a packed N-bit field from two bytes in memory. The stored value must exist
470+
* within the two bytes, but can start at an arbitary bit offset and span the two bytes in memory.
471471
*
472472
* @param bitcount The number of bits to read.
473473
* @param bitoffset The bit offset to read from, between 0 and 7.

Source/astcenccli_entry.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// ----------------------------------------------------------------------------
3-
// Copyright 2020-2023 Arm Limited
3+
// Copyright 2020-2024 Arm Limited
44
//
55
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
66
// use this file except in compliance with the License. You may obtain a copy
@@ -16,10 +16,11 @@
1616
// ----------------------------------------------------------------------------
1717

1818
/**
19-
* @brief Platform-specific function implementations.
19+
* @brief Application entry point.
2020
*
21-
* This module contains the CLI entry point which also performs the role of
22-
* validating the host extended ISA support meets the needs of the tools.
21+
* This module contains the command line entry point which also performs the
22+
* role of validating the host extended ISA support meets the needs of the
23+
* tools.
2324
*/
2425

2526
#include <cstdio>

0 commit comments

Comments
 (0)