This change redefines the `cc_test` modules within the test
directory as `cc_binary` modules.
Previously, these `cc_test` modules were effectively acting as wrappers
around executable binaries, solely for the purpose of generating test
executables. This approach did not allow for the direct installation of
these executables on devices.
Changing these modules to `cc_binary` allows the resulting executables
are produced as standalone binaries, enabling their deployment and
execution on test devices.
Bug: 33315805
Test: 1. m hevcdec
2. m hevcenc
3. verifying both binaries exists and can be called
Flag: EXEMPT TEST_ONLY
Change-Id: I70945c15895e2e18eb3fa0d5c109a3d0fdaf7f05
The assembler in this project needs updating, but we want to enable the
bti-report=error flag globally.
Change-Id: Id7d8e3c52c74f007c73729bac35b76c23cd02956
These functions are similar to ihevc_itrans_recon_* with the exception
that instead of computing recon directly they store residue to the
destination buffer. This helps with additional transformation of the
residue coefficients (rotation, rdpcm, ccp) before adding to the
prediction data to generate the final recon.
Test: Build
Change-Id: I9f84e66f5e9595162335cb152a6329a0f8d23337
range extension profile toolsets were guarded based on chroma format
information instead of profile. This is fixed.
Test: ./hevcdec -c test.cfg
Change-Id: I484b07f367d46a60112d3ef7c4a431bf72047e6e
These color formats are no longer supported. The decoder now returns
an error if configured for any of these output formats
Test: ./hevcdec
Change-Id: I944c539000f26898d5985cd6806f2968d4365f63
There were a few switch case blocks that didn't cover all possible
cases.
- ME_USER_DEFINED wasn't used anywhere, so removed it.
- In all the other cases fixed, uncovered cases are not reachable,
so added a default with a log for those cases.
These above changes require some default initializations.
Bug: 244507923
Test: Builds
Add riscv64 to libhevc using the C functions.
Test: lunch aosp_riscv64-userdebug && mmma external/libhevc
Change-Id: I19c9b230e746e41d0d33ba185f1e0b940d80c9a7
so that consumer's can use header_libs and static_libs instead
of absolute paths in include_dirs. Sort export_include_dirs: [] entries.
Bug: 201944383
Test: build
Change-Id: Ib2cae8e1f2991166193822ba1c5f5a518fb172a3
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
fuzzer/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Iee5e51d0c121359a6bc308643d8365ef3329eefa
Keeping in original blocklist.
Bug: 158010610
Bug: 173497308
Test: ran atest DecoderConformanceTest, ImageReaderDecoderTest,
VideoDecoderPerfTest, VideoEncoderTest, CodecDecoderSurfaceTest and VideoEncoderDecoderTest.
Compare the before and after enabling CFI results since there was a number of tests
that were initially failing.
Change-Id: I51f99cefacbeeedb6ccfcb9d826c6016d7e7edd6
Bug: 158010610
Bug: 173497308
Test: Ran atest with DecoderConformanceTest, ImageReaderDecoderTest,
VideoDecoderPerfTest, VideoEncoderTest. Compare the
before and after enabling CFI results since there was a number of tests
that were initially failing.
Change-Id: I4d5ff6818b50755b233b0e3530f46b3680da9bb7
Current design of HEVC Decoder creates new threads
to process each frame. This CL adds support to reuse
the threads across frames.
Test: manual
Bug: 167126301
Change-Id: Ic57133b25203dae9ed5d3d974e6137a733531da7
Update language to comply with Android’s inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for
reference
Bug: 161896447
Bug: 162245450
Test: build topic
Change-Id: Ibf4d9446cfc72e4dc98bae3712536b31a02d2ad9
Merged-In: Ibf4d9446cfc72e4dc98bae3712536b31a02d2ad9
Modules contributing mainline modules (APK/APEX) should set
min_sdk_version as well as apex_available.
For now setting min_sdk_version doesn't change build outputs.
But build-time checks will be added soon.
Bug: 152655956
Test: m
Change-Id: I951905d4181af2334a0918215a64a6008e317fff
They should perhaps be cc_binary instead, though cc_test makes it clear
we don't want to actually ship them on the device. So just mark them as
not being gtests.
Test: treehugger
Change-Id: Iad72813748b937a5f6f96673954ed0381c3f37d5
There is no memalign on Darwin.
So disable the build for macOS till memalign is replaced with
an alternative.
Test: Review
Bug: 140696633
Change-Id: Icf36be19a8b6bd22cf2827e95d262020df5bdba0
Adds host support to libhevcdec, which will allow us to fuzz this target
on host in the future.
Test: Build libhevc on host.
Bug: 133261679
Change-Id: I006b00f659c382bc996981d27bba67f086267af7
Keep sanitizers in diagnostics mode but don't recover from them so we
get errors in tombstones.
Bug: 110791537
Test: mma -j
Change-Id: Id36356d8ed4cfc4913a2c9dc32f7ac7389fcaa6f
Previously there was no other sanitization, so in order for the
blacklist to be picked up CFI had to be enabled. With integer_overflow
enabled, we no longer need it enabled explicitly in the build file.
Since libhevc is a static library, both CFI and non-CFI variants will
be built and linked accordingly.
If libhevc is used as a shared library in the future, we'll need to
explicitly re-enable CFI in the build file.
Bug: 63926619
Test: Library builds.
Change-Id: If852aa732d12f1176f57c3c9f7f4574d709c13ab