Clone this repo:
  1. 0150e6a Upgrade libhevc to v1.3.0 by Harish Mahendrakar · 6 weeks ago main master
  2. 90aefb4 decoder: join threads in flush mode by srujan vandrangi · 2 months ago
  3. a0898d5 libhevc: tidy up android bp by Ram Mohan · 3 months ago
  4. 3f93763 encoder: Fix warnings due to -WSwitch by Harish Mahendrakar · 1 year, 4 months ago
  5. dfe6a9c OWNERS: Include avic_OWNERS by Harish Mahendrakar · 4 months ago

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