diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-08-30 21:33:10 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2011-09-01 13:37:14 +0800 |
commit | a8e409f8f9b40737d0b03355894b5e141d0aff6b (patch) | |
tree | 8799a5eecc61038ccf054d905ca3f4492ae18f30 /include/camera | |
parent | 77d2e08add3ba24fdc527809408028efe3e06b6b (diff) | |
download | frameworks_av-a8e409f8f9b40737d0b03355894b5e141d0aff6b.zip frameworks_av-a8e409f8f9b40737d0b03355894b5e141d0aff6b.tar.gz frameworks_av-a8e409f8f9b40737d0b03355894b5e141d0aff6b.tar.bz2 |
Add video snapshot camera parameter.
The API is still hidden.
bug:5187868
Change-Id: I59e1b5774ca32be049723d1a0887faa90d8884bb
Diffstat (limited to 'include/camera')
-rw-r--r-- | include/camera/CameraParameters.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/camera/CameraParameters.h b/include/camera/CameraParameters.h index 6c91dfc..4a4bcfb 100644 --- a/include/camera/CameraParameters.h +++ b/include/camera/CameraParameters.h @@ -495,6 +495,25 @@ public: // Example value: "true" or "false". Read/write. static const char KEY_RECORDING_HINT[]; + // Returns true if video snapshot is supported. That is, applications + // can call Camera.takePicture during recording. Applications do not need to + // call Camera.startPreview after taking a picture. The preview will be + // still active. Other than that, taking a picture during recording is + // identical to taking a picture normally. All settings and methods related + // to takePicture work identically. Ex: KEY_PICTURE_SIZE, + // KEY_SUPPORTED_PICTURE_SIZES, KEY_JPEG_QUALITY, KEY_ROTATION, and etc. + // The picture will have an EXIF header. FLASH_MODE_AUTO and FLASH_MODE_ON + // also still work, but the video will record the flash. + // + // Applications can set shutter callback as null to avoid the shutter + // sound. It is also recommended to set raw picture and post view callbacks + // to null to avoid the interrupt of preview display. + // + // Field-of-view of the recorded video may be different from that of the + // captured pictures. + // Example value: "true" or "false". Read only. + static const char KEY_VIDEO_SNAPSHOT_SUPPORTED[]; + // Value for KEY_ZOOM_SUPPORTED or KEY_SMOOTH_ZOOM_SUPPORTED. static const char TRUE[]; static const char FALSE[]; |