Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpeg: AV1 integration #1303

Merged
merged 4 commits into from
Jan 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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