libbpg-0.9.6
This commit is contained in:
parent
3035b41edf
commit
35a8402710
248 changed files with 232891 additions and 100 deletions
48
x265/source/encoder/CMakeLists.txt
Normal file
48
x265/source/encoder/CMakeLists.txt
Normal file
|
@ -0,0 +1,48 @@
|
|||
# vim: syntax=cmake
|
||||
|
||||
if(GCC)
|
||||
add_definitions(-Wno-uninitialized)
|
||||
if(CC_HAS_NO_STRICT_OVERFLOW)
|
||||
# GCC 4.9.2 gives warnings we know we can ignore in this file
|
||||
set_source_files_properties(slicetype.cpp PROPERTIES COMPILE_FLAGS -Wno-strict-overflow)
|
||||
endif(CC_HAS_NO_STRICT_OVERFLOW)
|
||||
endif()
|
||||
if(MSVC)
|
||||
add_definitions(/wd4701) # potentially uninitialized local variable 'foo' used
|
||||
endif()
|
||||
|
||||
if(LINKED_8BIT)
|
||||
list(APPEND APIFLAGS "-DLINKED_8BIT=1")
|
||||
endif(LINKED_8BIT)
|
||||
if(LINKED_10BIT)
|
||||
list(APPEND APIFLAGS "-DLINKED_10BIT=1")
|
||||
endif(LINKED_10BIT)
|
||||
if(LINKED_12BIT)
|
||||
list(APPEND APIFLAGS "-DLINKED_12BIT=1")
|
||||
endif(LINKED_12BIT)
|
||||
if(ENABLE_SHARED)
|
||||
list(APPEND APIFLAGS "-DENABLE_SHARED=1")
|
||||
endif(ENABLE_SHARED)
|
||||
|
||||
string(REPLACE ";" " " APIFLAGSTR "${APIFLAGS}")
|
||||
set_source_files_properties(api.cpp PROPERTIES COMPILE_FLAGS "${APIFLAGSTR}")
|
||||
|
||||
add_library(encoder OBJECT ../x265.h
|
||||
analysis.cpp analysis.h
|
||||
search.cpp search.h
|
||||
bitcost.cpp bitcost.h rdcost.h
|
||||
motion.cpp motion.h
|
||||
slicetype.cpp slicetype.h
|
||||
frameencoder.cpp frameencoder.h
|
||||
framefilter.cpp framefilter.h
|
||||
level.cpp level.h
|
||||
nal.cpp nal.h
|
||||
sei.cpp sei.h
|
||||
sao.cpp sao.h
|
||||
entropy.cpp entropy.h
|
||||
dpb.cpp dpb.h
|
||||
ratecontrol.cpp ratecontrol.h
|
||||
reference.cpp reference.h
|
||||
encoder.cpp encoder.h
|
||||
api.cpp
|
||||
weightPrediction.cpp)
|
Loading…
Add table
Add a link
Reference in a new issue