History

configure: Lower Android API level requirement of mediandk

AImage_delete is introduced in API level 24, while AMediaFormat_new is introduced in API level 21. We only need API level 21 to support NDK mediacodec. This change doesn't break or change of android_camera_indev since camera2ndk still needs API level 24.

Zhao Zhili committed 2 years ago

Commit 309cff31 parent e3650881 file · +1 −1Browse files

Unified · Split

configure+1−1
@@ -6645,7 +6645,7 @@ check_lib shell32 "windows.h shellapi.h" CommandLineToArgvW -lshell32 · 6644 unmodified lines
6645check_lib psapi "windows.h psapi.h" GetProcessMemoryInfo -lpsapi6645check_lib psapi "windows.h psapi.h" GetProcessMemoryInfo -lpsapi
6646 6646
6647check_lib android android/native_window.h ANativeWindow_acquire -landroid6647check_lib android android/native_window.h ANativeWindow_acquire -landroid
6648check_lib mediandk "stdint.h media/NdkImage.h" AImage_delete -lmediandk6648check_lib mediandk "stdint.h media/NdkMediaFormat.h" AMediaFormat_new -lmediandk
6649check_lib camera2ndk "stdbool.h stdint.h camera/NdkCameraManager.h" ACameraManager_create -lcamera2ndk6649check_lib camera2ndk "stdbool.h stdint.h camera/NdkCameraManager.h" ACameraManager_create -lcamera2ndk
6650 6650
6651enabled appkit && check_apple_framework AppKit6651enabled appkit && check_apple_framework AppKit

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