commit | 8dd2b3392a24b2eed124e50531e79fee9ab48fd6 | [log] [tgz] |
---|---|---|
author | Suyog Pawar <[email protected]> | Wed Jul 17 17:37:19 2024 +0530 |
committer | Harish Mahendrakar <[email protected]> | Wed Jul 17 21:23:49 2024 -0700 |
tree | 959bf4d24070f1116184689547d033277eb3a72b | |
parent | 95929e60212939a503f5a308d35c458124248488 [diff] |
libhevc: Update encoder logic to handle iframe interval and bframes This update improves the encoder's behavior and ensures it runs efficiently when the iframeinterval is less than or equal to maxbframes. In this case, the encoder ignores the maxbframes. Test: ./hevcenc
Supports:
Use the following commands for building on the target machine
$ cd external/libhevc $ mkdir build $ cd build $ cmake .. $ make
$ cd external/libhevc $ mkdir build $ cd build $ CFLAGS="-m32" CXXFLAGS="-m32" LDFLAGS="-m32" cmake .. $ make
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
$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch64_toolchain.cmake $ make
$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/aarch32_toolchain.cmake $ make