We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ae7bf0 commit d9357bbCopy full SHA for d9357bb
components/x264/CMakeLists.txt
@@ -0,0 +1,20 @@
1
+file(REAL_PATH "x264-snapshot-20181221-2245-stable" x264_THIRDPARTY_ROOT)
2
+
3
+idf_component_register(
4
+ SRC_DIRS
5
+ "${x264_THIRDPARTY_ROOT}/common"
6
+ "${x264_THIRDPARTY_ROOT}/encoder"
7
+ EXCLUDE_SRCS
8
+ "${x264_THIRDPARTY_ROOT}/common/opencl.c"
9
+ "${x264_THIRDPARTY_ROOT}/common/threadpool.c"
10
+ "${x264_THIRDPARTY_ROOT}/common/win32thread.c"
11
+ "${x264_THIRDPARTY_ROOT}/encoder/rdo.c"
12
+ "${x264_THIRDPARTY_ROOT}/encoder/slicetype.c"
13
+ INCLUDE_DIRS "." "${x264_THIRDPARTY_ROOT}"
14
+)
15
16
+target_compile_options(${COMPONENT_LIB} PRIVATE
17
+ -Wno-error=format-truncation=
18
+ -DBIT_DEPTH=8
19
+ -DHIGH_BIT_DEPTH=0
20
0 commit comments