forked from darbyjohnston/tlRender
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added SvtAV1 encoder and dav1d decoder.
- Loading branch information
Showing
8 changed files
with
88 additions
and
5 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
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,21 @@ | ||
include(ExternalProject) | ||
|
||
|
||
set(SvtAV1_TAG v1.8.0) | ||
set(SvtAV1_ARGS ${TLRENDER_EXTERNAL_ARGS}) | ||
|
||
list(APPEND SvtAV1_ARGS | ||
-DENABLE_NASM=ON | ||
) | ||
|
||
|
||
ExternalProject_Add( | ||
SvtAV1 | ||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/SvtAV1 | ||
DEPENDS NASM | ||
GIT_REPOSITORY "https://gitlab.com/AOMediaCodec/SVT-AV1.git" | ||
GIT_TAG ${SvtAV1_TAG} | ||
LIST_SEPARATOR | | ||
CMAKE_ARGS ${SvtAV1_ARGS} | ||
) | ||
|
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,21 @@ | ||
include(ExternalProject) | ||
|
||
|
||
set(dav1d_TAG 1.3.0) | ||
|
||
set(dav1d_CONFIGURE ${CMAKE_COMMAND} -E env PYTHONPATH="" -- meson setup -Denable_tools=false -Denable_tests=false --default-library=static -Dlibdir=${CMAKE_INSTALL_PREFIX}/lib --prefix=${CMAKE_INSTALL_PREFIX} build) | ||
set(dav1d_BUILD export PYTHONPATH="" && cd build && ninja) | ||
set(dav1d_INSTALL export PYTHONPATH="" && cd build && ninja install) | ||
|
||
ExternalProject_Add( | ||
dav1d | ||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/dav1d | ||
DEPENDS NASM | ||
GIT_REPOSITORY "https://code.videolan.org/videolan/dav1d.git" | ||
GIT_TAG ${dav1d_TAG} | ||
CONFIGURE_COMMAND ${dav1d_CONFIGURE} | ||
BUILD_COMMAND ${dav1d_BUILD} | ||
INSTALL_COMMAND ${dav1d_INSTALL} | ||
BUILD_IN_SOURCE 1 | ||
) | ||
|
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 |
---|---|---|
|
@@ -34,7 +34,8 @@ namespace tl | |
ProRes_4444, | ||
ProRes_XQ, | ||
VP9, | ||
|
||
AV1, | ||
|
||
Count | ||
}; | ||
TLRENDER_ENUM(Profile); | ||
|
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