diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/camera/Camera.h | 4 | ||||
-rw-r--r-- | include/camera/ICamera.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/camera/Camera.h b/include/camera/Camera.h index 81848b3..b1b2e95 100644 --- a/include/camera/Camera.h +++ b/include/camera/Camera.h @@ -83,7 +83,7 @@ public: // pass the buffered IGraphicBufferProducer to the camera service status_t setPreviewTexture(const sp<IGraphicBufferProducer>& bufferProducer); - // start preview mode, must call setPreviewDisplay first + // start preview mode, must call setPreviewTexture first status_t startPreview(); // stop preview mode @@ -92,7 +92,7 @@ public: // get preview state bool previewEnabled(); - // start recording mode, must call setPreviewDisplay first + // start recording mode, must call setPreviewTexture first status_t startRecording(); // stop recording mode diff --git a/include/camera/ICamera.h b/include/camera/ICamera.h index f3a186e..b025735 100644 --- a/include/camera/ICamera.h +++ b/include/camera/ICamera.h @@ -50,7 +50,7 @@ public: virtual status_t unlock() = 0; // pass the buffered IGraphicBufferProducer to the camera service - virtual status_t setPreviewTexture( + virtual status_t setPreviewTarget( const sp<IGraphicBufferProducer>& bufferProducer) = 0; // set the preview callback flag to affect how the received frames from @@ -64,7 +64,7 @@ public: virtual status_t setPreviewCallbackTarget( const sp<IGraphicBufferProducer>& callbackProducer) = 0; - // start preview mode, must call setPreviewDisplay first + // start preview mode, must call setPreviewTarget first virtual status_t startPreview() = 0; // stop preview mode |