-
-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uncompressed: wip on generic compression
- Loading branch information
Showing
17 changed files
with
446 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,8 +159,8 @@ The placeholder `{codec}` can have these values: `LIBDE265`, `X265`, `AOM_DECODE | |
|
||
Further options are: | ||
|
||
* `WITH_UNCOMPRESSED_CODEC`: enable support for uncompressed images according to ISO/IEC 23001-17:2023. This is *experimental* | ||
and not available as a dynamic plugin. | ||
* `WITH_UNCOMPRESSED_CODEC`: enable support for uncompressed images according to ISO/IEC 23001-17:2024. This is *experimental* | ||
and not available as a dynamic plugin. When enabled, it adds a dependency to `zlib`, and optionally will use `brotli`. | ||
* `WITH_DEFLATE_HEADER_COMPRESSION`: enables support for compressed metadata. When enabled, it adds a dependency to `zlib`. | ||
Note that header compression is not widely supported yet. | ||
* `WITH_LIBSHARPYUV`: enables high-quality YCbCr/RGB color space conversion algorithms (requires `libsharpyuv`, | ||
|
@@ -170,7 +170,7 @@ Further options are: | |
* `PLUGIN_DIRECTORY`: the directory where libheif will search for dynamic plugins when the environment | ||
variable `LIBHEIF_PLUGIN_PATH` is not set. | ||
* `WITH_REDUCED_VISIBILITY`: only export those symbols into the library that are public API. | ||
Has to be turned off for running the tests. | ||
Has to be turned off for running some tests. | ||
|
||
### macOS | ||
|
||
|
@@ -377,5 +377,5 @@ The sample applications are distributed under the terms of the MIT License. | |
See COPYING for more details. | ||
Copyright (c) 2017-2020 Struktur AG</br> | ||
Copyright (c) 2017-2023 Dirk Farin</br> | ||
Copyright (c) 2017-2024 Dirk Farin</br> | ||
Contact: Dirk Farin <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
include(FindPackageHandleStandardArgs) | ||
|
||
find_path(BROTLI_DEC_INCLUDE_DIR "brotli/decode.h") | ||
find_path(BROTLI_ENC_INCLUDE_DIR "brotli/encode.h") | ||
|
||
find_library(BROTLI_COMMON_LIB NAMES brotlicommon) | ||
find_library(BROTLI_DEC_LIB NAMES brotlidec) | ||
find_library(BROTLI_ENC_LIB NAMES brotlienc) | ||
|
||
find_package_handle_standard_args(Brotli | ||
FOUND_VAR | ||
Brotli_FOUND | ||
REQUIRED_VARS | ||
BROTLI_COMMON_LIB | ||
BROTLI_DEC_INCLUDE_DIR | ||
BROTLI_DEC_LIB | ||
BROTLI_ENC_INCLUDE_DIR | ||
BROTLI_ENC_LIB | ||
FAIL_MESSAGE | ||
"Did not find Brotli" | ||
) | ||
|
||
|
||
set(HAVE_BROTLI ${Brotli_FOUND}) | ||
set(BROTLI_INCLUDE_DIRS ${BROTLI_DEC_INCLUDE_DIR} ${BROTLI_ENC_INCLUDE_DIR}) | ||
set(BROTLI_LIBS "${BROTLICOMMON_LIBRARY}" "${BROTLI_DEC_LIB}" "${BROTLI_ENC_LIB}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.