No description
Find a file
Ray Essick 708f6f2e5e Recast FWD_QUANT to avoid -1 / unsigned confusion am: 5fcca088bd
Original change: 2134973

Change-Id: I4082e302b488a569c9dfbbdfcdeca450b12f2696
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-01 22:40:11 +00:00
cmake Fix fuzzer build failure in oss-fuzz for honggfuzz engine 2022-02-09 11:00:32 -08:00
common Recast FWD_QUANT to avoid -1 / unsigned confusion 2022-06-22 21:21:25 -07:00
decoder Merge "Decoder: add support for KEEP_THREADS_ACTIVE" 2022-02-23 18:52:13 +00:00
encoder Encoder: Rename INSERT_EPB 2022-02-28 04:57:49 +00:00
fuzzer Builds: Modular cmake scripts added 2022-02-02 11:14:55 +05:30
test Builds: Modular cmake scripts added 2022-02-02 11:14:55 +05:30
Android.bp Merge "Decoder: add support for KEEP_THREADS_ACTIVE" am: a3721a6a8c am: 9cc479ac3e am: 03c1887ff3 2022-02-23 20:19:54 +00:00
CMakeLists.txt Builds: Modular cmake scripts added 2022-02-02 11:14:55 +05:30
libavc_blocklist.txt Enable cfi for libavc 2020-12-17 05:43:36 -08:00
METADATA Add METADATA to libavc: Apache2=NOTICE 2020-04-30 16:15:18 -07:00
MODULE_LICENSE_APACHE2 Add MODULE_LICENSE_* and NOTICE file for libavc projet. 2016-03-14 14:36:00 -07:00
NOTICE Add MODULE_LICENSE_* and NOTICE file for libavc projet. 2016-03-14 14:36:00 -07:00
OWNERS Pruning departed users from OWNERS 2022-01-11 20:01:15 -08:00
PREUPLOAD.cfg point to new repo hooks for mainline uploads 2020-05-26 15:16:18 -07:00
README.md Builds: Modular cmake scripts added 2022-02-02 11:14:55 +05:30

LIBAVC

Getting Started Document

LibAVC 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/libavc
$ mkdir build
$ cd build
$ cmake ..
$ make

Cross-compiler based builds

Building for x86_32 on a x86_64 Linux machine

$ cd external/libavc
$ 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/libavc
$ 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