From 2381d803c76105f44717d75f089ec37f51e5cfe4 Mon Sep 17 00:00:00 2001 From: qinxialei Date: Thu, 22 Apr 2021 11:20:15 +0800 Subject: New upstream version 0.16.3 --- README.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 8ab8eab..3155970 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,18 @@ information on the AV1 video format can be found at From within the libgav1 directory: ```shell - $ git clone https://github.com/abseil/abseil-cpp.git third_party/abseil-cpp + $ git clone https://github.com/abseil/abseil-cpp.git third_party/abseil-cpp + ``` + + Note: Abseil is required by the examples and tests. libgav1 will depend on + it if `LIBGAV1_THREADPOOL_USE_STD_MUTEX` is set to `0` (see below). + +4. (Optional) [GoogleTest](https://github.com/google/googletest) + + From within the libgav1 directory: + + ```shell + $ git clone https://github.com/google/googletest.git third_party/googletest ``` ### Compile @@ -58,10 +69,11 @@ Configuration options: * `LIBGAV1_THREADPOOL_USE_STD_MUTEX`: controls use of std::mutex and absl::Mutex in ThreadPool. Defining this to 1 will remove any Abseil dependency from the core library. Automatically defined in - `src/utils/threadpool.h` if unset. + `src/utils/threadpool.h` if unset. Defaults to 1 on Android & iOS, 0 + otherwise. * `LIBGAV1_MAX_THREADS`: sets the number of threads that the library is - allowed to create. Has to be an integer > 0. Otherwise this is ignored. - The default value is 128. + allowed to create. Has to be an integer > 0. Otherwise this is ignored. The + default value is 128. * `LIBGAV1_FRAME_PARALLEL_THRESHOLD_MULTIPLIER`: the threshold multiplier that is used to determine when to use frame parallel decoding. Frame parallel decoding will be used if |threads| > |tile_count| * this multiplier. Has to -- cgit v1.2.3