History

Mainly update DecodeCurrentAccessUnit and associated functions to do threaded parallel frame decodings.

Add additional function PrefetchLastPicForThread and variables for better control of threaded decoding in the case of multi-slice with one slice group contains one slice.

xiaotiansf committed 7 years ago

Commit b0f95c41 parent 8b881449 files · +279 −89Browse files

Showing the changes to codec/decoder/core/src/wels_decoder_thread.cpp (1 of 9 files). Show all

Unified · Split

codec/decoder/core/src/wels_decoder_thread.cpp+6−0
@@ -57,6 +57,12 @@ · 56 unmodified lines
5757 #define HW_NCPU_NAME "hw.ncpu"
5858 #endif
5959 #endif
60+#ifdef ANDROID_NDK
61+#include <cpu-features.h>
62+#endif
63+#ifdef __ANDROID__
64+#include <android/api-level.h>
65+#endif
6066
6167 #include "wels_decoder_thread.h"
6268 #include <stdio.h>

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t