Skip to content

Commit

Permalink
* Build FFmpeg with AOMedia AV1 and SVT-AV1 codecs (pull #1303)
Browse files Browse the repository at this point in the history
Co-authored-by: n-kai-cj <n.kai.cj.github@gmail.com>
  • Loading branch information
bradh and n-kai-cj authored Jan 8, 2023
1 parent 988101d commit a01f397
Show file tree
Hide file tree
Showing 4 changed files with 254 additions and 22 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

* Build FFmpeg with AOMedia AV1 and SVT-AV1 codecs ([pull #1303](https://github.com/bytedeco/javacpp-presets/pull/1303))
* Map `c10::OptionalArrayRef<int64_t>` from PyTorch to `long...` as well for convenience ([issue #1300](https://github.com/bytedeco/javacpp-presets/issues/1300))
* Remove mapping for `c10::OptionalArrayRef` to simplify calls in presets for PyTorch ([issue #1300](https://github.com/bytedeco/javacpp-presets/issues/1300))
* Virtualize `btMotionState` and `btDefaultMotionState` from Bullet Physics SDK to allow callbacks ([pull #1297](https://github.com/bytedeco/javacpp-presets/pull/1297))
Expand Down
11 changes: 11 additions & 0 deletions ffmpeg/SVT-AV1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- SVT-AV1-v1.4.1/Source/Lib/Common/Codec/EbThreads.h 2022-12-10 09:30:47.000000000 +1100
+++ SVT-AV1-v1.4.1-patch/Source/Lib/Common/Codec/EbThreads.h 2023-01-06 08:15:06.978001264 +1100
@@ -78,7 +78,7 @@
#endif
#include <sched.h>
#include <pthread.h>
-#if defined(__linux__)
+#if defined(__linux__) && !defined(__ANDROID__)
#define EB_CREATE_THREAD(pointer, thread_function, thread_context) \
do { \
pointer = svt_create_thread(thread_function, thread_context); \
Loading

0 comments on commit a01f397

Please sign in to comment.