https://github.com/sony/pdaf-library
https://github.com/sony/pdaf-library
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sony/pdaf-library
- Owner: sony
- License: bsd-3-clause
- Created: 2016-03-25T18:40:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-28T07:31:52.000Z (over 9 years ago)
- Last Synced: 2025-03-29T08:04:35.315Z (7 months ago)
- Language: C
- Size: 568 KB
- Stars: 31
- Watchers: 21
- Forks: 25
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PDAF Library
## What is a PDAF Library
PDAF Library converts phase difference data from image sensor into defocus.
PDAF gets defocus from PDAF Library and notify defocus to HybridAF.
HybridAF controls PDAF and ContrastAF to get fine focus in short time.
Software components of PDAF, ContrastAF and HybridAF are assumed to be
developed by user. For detail, please refer to
[specification document](docs/PDAF_Library_API_Specification.pdf).### Repository structure
Folder and file structure of this repository is the following list.root/
src/ // Folder contains source code
PdafLibrary.c // Source code of PDAF Library
PdafLibrary.h // Header file of PDAF Library
PdafMathFunc.c // Source code of math function
PdafMathFunc.h // Header file of math function
docs/ // Folder contains document
PDAF_Library_API_Specification.pdf // Specification document
LICENSE // License file
README.md // This file
RELEASENOTE.md // Release note
### How to build PDAF LibraryPlease build PDAF Library on your environment in which you want.
The following example is simple "Application.mk" and "Android.mk"
to build shared library on Android NDK.
Please put PDAF Library source code and "Application.mk" and "Android.mk"
on same directory named "jni".
And command "ndk-build".```Makefile
#Application.mk
APP_ABI := arm64-v8a
APP_OPTIM := release
APP_PLATFROM := android-23 # Android 6.0
```
```Makefile
#Android.mk
include $(CLEAR_VARS)
LOCAL_PATH := .
LOCAL_MODULE := PdafLibrary
LOCAL_SRC_FILES := PdafLibrary.c PdafMathfunc.c
include $(BUILD_SHARED_LIBRARY)
```### How to use PDAF Library
Please see the following documentation.- [PDAF_Library_API_Specification.pdf](docs/PDAF_Library_API_Specification.pdf)
### Support platforms
- android
- windows 10 mobile## Release Notes
Please see the following link.- [Release Notes](RELEASENOTE.md)
## License
The BSD-3-Clause license.
See [LICENSE](LICENSE) for details.