diff options
author | qinxialei <xialeiqin@gmail.com> | 2021-04-22 11:20:15 +0800 |
---|---|---|
committer | qinxialei <xialeiqin@gmail.com> | 2021-04-22 11:20:15 +0800 |
commit | 2381d803c76105f44717d75f089ec37f51e5cfe4 (patch) | |
tree | 33f40fb4dfd1039ac262d5f1c1065d298578ddc1 /src/gav1 | |
parent | e8d277081293b6fb2a5d469616baaa7a06f52496 (diff) | |
download | libgav1-2381d803c76105f44717d75f089ec37f51e5cfe4.tar.gz libgav1-2381d803c76105f44717d75f089ec37f51e5cfe4.tar.bz2 libgav1-2381d803c76105f44717d75f089ec37f51e5cfe4.zip |
New upstream version 0.16.3
Diffstat (limited to 'src/gav1')
-rw-r--r-- | src/gav1/decoder_settings.h | 6 | ||||
-rw-r--r-- | src/gav1/symbol_visibility.h | 7 | ||||
-rw-r--r-- | src/gav1/version.h | 2 |
3 files changed, 11 insertions, 4 deletions
diff --git a/src/gav1/decoder_settings.h b/src/gav1/decoder_settings.h index ab22a4d..7ee487f 100644 --- a/src/gav1/decoder_settings.h +++ b/src/gav1/decoder_settings.h @@ -62,7 +62,8 @@ typedef struct Libgav1DecoderSettings { Libgav1GetFrameBufferCallback get_frame_buffer; // Release frame buffer callback. Libgav1ReleaseFrameBufferCallback release_frame_buffer; - // Release input frame buffer callback. + // Release input frame buffer callback. This callback must be set when + // |frame_parallel| is true. Libgav1ReleaseInputBufferCallback release_input_buffer; // Passed as the private_data argument to the callbacks. void* callback_private_data; @@ -117,7 +118,8 @@ struct DecoderSettings { GetFrameBufferCallback get_frame_buffer = nullptr; // Release frame buffer callback. ReleaseFrameBufferCallback release_frame_buffer = nullptr; - // Release input frame buffer callback. + // Release input frame buffer callback. This callback must be set when + // |frame_parallel| is true. ReleaseInputBufferCallback release_input_buffer = nullptr; // Passed as the private_data argument to the callbacks. void* callback_private_data = nullptr; diff --git a/src/gav1/symbol_visibility.h b/src/gav1/symbol_visibility.h index ad7498c..116a514 100644 --- a/src/gav1/symbol_visibility.h +++ b/src/gav1/symbol_visibility.h @@ -58,6 +58,11 @@ // // Much of the above information and more can be found at // https://gcc.gnu.org/wiki/Visibility +// +// NOTE: A third-party build system for libgav1 can add -DLIBGAV1_PUBLIC= to the +// compiler command line to override the definition of LIBGAV1_PUBLIC in this +// header. This can be used to create a libgav1 static library that will not +// export any symbols when it is linked into a shared library. #if !defined(LIBGAV1_PUBLIC) #if defined(_WIN32) @@ -76,7 +81,7 @@ #else #define LIBGAV1_PUBLIC #endif // defined(LIBGAV1_BUILDING_DLL) && LIBGAV1_BUILDING_DLL -#else +#else // !defined(_WIN32) #if defined(__GNUC__) && __GNUC__ >= 4 #define LIBGAV1_PUBLIC __attribute__((visibility("default"))) #else diff --git a/src/gav1/version.h b/src/gav1/version.h index 78a573e..c018928 100644 --- a/src/gav1/version.h +++ b/src/gav1/version.h @@ -24,7 +24,7 @@ #define LIBGAV1_MAJOR_VERSION 0 #define LIBGAV1_MINOR_VERSION 16 -#define LIBGAV1_PATCH_VERSION 1 +#define LIBGAV1_PATCH_VERSION 3 #define LIBGAV1_VERSION \ ((LIBGAV1_MAJOR_VERSION << 16) | (LIBGAV1_MINOR_VERSION << 8) | \ |