forked from pingplug/assrender
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for BT.709, restructure sources
Color spaces are now automatically guessed based on video dimensions unless the user specifies a specific color space.
- Loading branch information
Martin Herkt
committed
Apr 20, 2012
1 parent
f93fbef
commit b0b86f3
Showing
11 changed files
with
629 additions
and
545 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
cmake_minimum_required(VERSION 2.8) | ||
|
||
project(assrender) | ||
|
||
find_package(PkgConfig REQUIRED) | ||
pkg_check_modules(LIBASS REQUIRED libass>=0.10.0) | ||
find_package(EXPAT REQUIRED) | ||
find_package(ZLIB REQUIRED) | ||
|
||
if (CMAKE_COMPILER_IS_GNUCXX) | ||
add_definitions("-Wall -Wno-comment -pedantic -std=gnu99") | ||
set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "-s") | ||
set(CMAKE_C_FLAGS_RELEASE "-O3") | ||
endif() | ||
|
||
add_subdirectory(src) |
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 |
---|---|---|
@@ -1,17 +1,2 @@ | ||
cmake_minimum_required(VERSION 2.8) | ||
|
||
project(assrender) | ||
|
||
find_package(PkgConfig REQUIRED) | ||
pkg_check_modules(LIBASS REQUIRED libass>=0.10.0) | ||
find_package(EXPAT REQUIRED) | ||
find_package(ZLIB REQUIRED) | ||
|
||
if (CMAKE_COMPILER_IS_GNUCXX) | ||
add_definitions("-Wall -pedantic -std=gnu89") | ||
set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "-s") | ||
set(CMAKE_C_FLAGS_RELEASE "-O3") | ||
endif() | ||
|
||
add_library(assrender SHARED assrender.c) | ||
add_library(assrender SHARED render.c sub.c timecodes.c assrender.c) | ||
target_link_libraries(assrender ${LIBASS_LDFLAGS} ${EXPAT_LIBRARY} ${ZLIB_LIBRARY} avisynth.lib) |
Oops, something went wrong.