No description
Find a file
2023-03-21 11:37:58 -07:00
.github/workflows cifuzz.yml: Limit CI fuzz to address and memory sanitizers 2023-03-21 11:37:58 -07:00
cmake cmake: Move hevcdec specific macros to its cmake file 2022-08-04 20:40:33 -07:00
common Add riscv64 to libhevc 2023-01-26 05:00:55 +00:00
decoder Add riscv64 to libhevc 2023-01-26 05:00:55 +00:00
encoder Merge "cmake: Move hevcdec specific macros to its cmake file" 2022-08-05 20:56:12 +00:00
fuzzer hevc_enc_fuzzer: build with c++11 2023-03-21 10:39:42 -07:00
test Merge "cmake: Move hevcdec specific macros to its cmake file" 2022-08-05 20:56:12 +00:00
Android.bp Add riscv64 to libhevc 2023-01-26 05:00:55 +00:00
CMakeLists.txt Builds: Modular cmake scripts added 2022-02-14 09:45:38 +05:30
FrameInfo.md Decoder: add support for QP and block_type map export in library 2022-08-04 11:40:43 +05:30
libhevc_blocklist.txt Remove assembly functions from CFI blocklist 2021-01-21 16:26:15 -08:00
LICENSE Add LICENSE to fix lint warning 2023-01-25 17:14:53 -08:00
METADATA Add METADATA to libhevc: Apache2=NOTICE 2020-04-28 08:53:23 -07:00
MODULE_LICENSE_APACHE2 Initial Version of HEVC decoder 2014-05-21 18:14:55 -07:00
NOTICE Initial Version of HEVC decoder 2014-05-21 18:14:55 -07:00
OWNERS Prune departed users from OWNERS 2021-11-07 22:10:00 -08:00
PREUPLOAD.cfg point to new repo hooks for mainline uploads 2020-05-26 15:17:47 -07:00
README.md Builds: Modular cmake scripts added 2022-02-14 09:45:38 +05:30

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