Clone this repo:
  1. c83a76b Upgrade libhevc to v1.6.0 am: 4d311bca90 am: 69743a7ab9 by Suyog Pawar · 5 months ago main master
  2. 69743a7 Upgrade libhevc to v1.6.0 am: 4d311bca90 by Suyog Pawar · 5 months ago
  3. 4d311bc Upgrade libhevc to v1.6.0 by Suyog Pawar · 5 months ago
  4. 8dd2b33 libhevc: Update encoder logic to handle iframe interval and bframes by Suyog Pawar · 6 months ago
  5. 3e1c032 Upgrade libhevc to v1.5.1 am: 8dce5b1d35 am: 135d56fbf9 by Srujan Vandrangi · 8 months ago android15-tests-dev

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