Discussion:
camera ndk, how to set camera focus mode
周青
2018-07-26 03:04:22 UTC
Permalink
.h
#include <NdkCameraCaptureSession.h>
#include <NdkCameraDevice.h>
#include <NdkCameraError.h>
#include <NdkCameraManager.h>
#include <NdkCameraMetadata.h>
#include <NdkCameraMetadataTags.h>
#include <NdkCaptureRequest.h>


I dont know when get a entry by tag how to set.

ACameraMetadata_getConstEntry(mCameraMetadata,
ACAMERA_CONTROL_AF_MODE, &afMode);
ACameraMetadata_getConstEntry(mCameraMetadata,
ACAMERA_CONTROL_AF_AVAILABLE_MODES, &af);
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/bb165d78-b8c8-496c-a212-770e617fe87f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...