-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
semc: added camera source,kernel and other fixes
Change-Id: I3ba20d8858f1c820a7b31695202f2918f9f1c24d
- Loading branch information
1 parent
6c9c4a3
commit 5cd7049
Showing
15 changed files
with
5,973 additions
and
773 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,36 @@ | ||
ifeq ($(TARGET_BOOTLOADER_BOARD_NAME),es209ra) | ||
|
||
# When zero we link against libmmcamera; when 1, we dlopen libmmcamera. | ||
DLOPEN_LIBMMCAMERA:=1 | ||
|
||
|
||
LOCAL_PATH:= $(call my-dir) | ||
|
||
include $(CLEAR_VARS) | ||
LOCAL_MODULE_TAGS := optional | ||
|
||
LOCAL_SRC_FILES:= LibCameraWrapper.cpp | ||
LOCAL_SRC_FILES:= QualcommCameraHardware.cpp | ||
|
||
LOCAL_SHARED_LIBRARIES:= libdl libutils libcutils libcamera_client | ||
LOCAL_CFLAGS:= -DDLOPEN_LIBMMCAMERA=$(DLOPEN_LIBMMCAMERA) | ||
|
||
LOCAL_MODULE := libcamera | ||
LOCAL_MODULE_TAGS := optional | ||
## Can be raised to 6 to improve framerate, at the cost of allocating | ||
## more ADSP memory. Use 0xa68000 as pool size in kernel to test | ||
LOCAL_CFLAGS+= -DNUM_PREVIEW_BUFFERS=4 -D_ANDROID_ | ||
|
||
LOCAL_C_INCLUDES+= \ | ||
$(TARGET_OUT_HEADERS)/mm-camera \ | ||
$(TARGET_OUT_HEADERS)/mm-still/jpeg \ | ||
|
||
LOCAL_PRELINK_MODULE := false | ||
LOCAL_SHARED_LIBRARIES:= libutils libui libcamera_client liblog libcutils libmmjpeg | ||
|
||
LOCAL_SHARED_LIBRARIES+= libbinder | ||
ifneq ($(DLOPEN_LIBMMCAMERA),1) | ||
LOCAL_SHARED_LIBRARIES+= liboemcamera | ||
else | ||
LOCAL_SHARED_LIBRARIES+= libdl | ||
endif | ||
|
||
LOCAL_MODULE:= libcamera | ||
include $(BUILD_SHARED_LIBRARY) | ||
|
||
endif |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.