| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
* Always compile astc_utils with -O3, since it is very slow when built
with fastbuild.
* Add missing licenses() declarations.
* Declare test library as testonly.
* Run BUILD file formatter.
Additionally, fix one ambiguous usage of auto in src/decoder/parition.cc
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce UTILS_RELEASE_ASSERT, which crashes if the condition isn't
met, even on release builds.
Update integer_sequence_codec and partition to use the new tests to
validate input parameters, and update the tests so that they expect the
crash to occur even on release builds.
Bug: 112691516, 112669735
Change-Id: Ic82edeffc64ca0f2b0d17f1c63563dfd8d9cdd71
|
|
Contains an implementation of an ASTC decoder that is able to pass the
dEQP ASTC LDR tests.
astc-codec has no external dependencies for the main library, only for
test code, and is licensed under the Apache license.
Components:
include/ - Public API that can decode ASTC LDR data into a RGBA UNORM8
buffer.
src/base/ - Base library with common functionality not directly related
to ASTC decoding. Contains a uint128 implementation, BitStream for
reading/writing bits with a primitive (or uint128 type), Optional
implementation (to not take a dependency on C++17), and more.
src/decoder/ - Internal implementation of the ASTC decoder.
src/base/test/, src/decoder/test/ - Unit tests (and a fuzzing test) for
the astc decoder.
src/decoder/testdata/ - Sample ASTC images and golden image results for
testing.
src/decoder/tools/ - A tool to inspect contents of an ASTC file.
third_party/ - Third party libraries, only used for tests.
Change-Id: Ia98e5a7dc847daa3d3a48c5e62d94b8fb1cb98bd
|