Android 14.0.0 release 38
Correct comment spelling error. am: 0a6d0b2987 am: e104a82fe2 am: 9d8d3016bd am: 9a55d46bdb

Original change: https://android-review.googlesource.com/c/platform/external/libhevc/+/2519759

Change-Id: I33cede0eb559f76c8e5f44dc14508d28abfb3625
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
tree: e24bd4baf4dd84f3fc623805b221f96e03f5d119
  1. cmake/
  2. common/
  3. decoder/
  4. encoder/
  5. fuzzer/
  6. test/
  7. Android.bp
  8. CMakeLists.txt
  9. FrameInfo.md
  10. libhevc_blocklist.txt
  11. LICENSE
  12. METADATA
  13. MODULE_LICENSE_APACHE2
  14. NOTICE
  15. OWNERS
  16. PREUPLOAD.cfg
  17. README.md
README.md

LIBHEVC

Getting Started Document

LibHEVC build steps

Supports:

  • aarch32/aarch64 on Linux.
  • aarch32/aarch64 on Android.
  • x86_32/x86_64 on Linux.

Native Builds

Use the following commands for building on the target machine

$ cd external/libhevc
$ mkdir build
$ cd build
$ cmake ..
$ make

Cross-compiler based builds

Building for x86_32 on a x86_64 Linux machine

$ cd external/libhevc
$ mkdir build
$ cd build
$ CFLAGS="-m32" CXXFLAGS="-m32" LDFLAGS="-m32" cmake ..
$ make

Building for aarch32/aarch64

Update ‘CMAKE_C_COMPILER’, ‘CMAKE_CXX_COMPILER’, ‘CMAKE_C_COMPILER_AR’, and ‘CMAKE_CXX_COMPILER_AR’ in CMAKE_TOOLCHAIN_FILE passed below

$ cd external/libhevc
$ mkdir build
$ cd build

For aarch64

$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch64_toolchain.cmake
$ make

For aarch32

$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch32_toolchain.cmake
$ make