diff options
author | Iliyan Malchev <malchev@google.com> | 2011-03-28 16:10:12 -0700 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-03-28 16:28:57 -0700 |
commit | 40c364136f09e82602692f359bcf8aa9b0df18d3 (patch) | |
tree | 0f4c13679a5dca5199c38285c5e85455e794e9b5 /include/media/stagefright/CameraSource.h | |
parent | 45538666db67a3fd528765b22bd4da30280128ef (diff) | |
download | frameworks_base-40c364136f09e82602692f359bcf8aa9b0df18d3.zip frameworks_base-40c364136f09e82602692f359bcf8aa9b0df18d3.tar.gz frameworks_base-40c364136f09e82602692f359bcf8aa9b0df18d3.tar.bz2 |
frameworks/base: some camera-interface cleanup
Methods getNumberOfVideoBuffers() and getVideoBuffer() as well as struct
image_rect_struct are no longer used (instead, the necessary information is
passed through ANativeWindow.)
Change-Id: If4b11446fc9ccbde1f6b45bc70c0d0b8e54376eb
Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'include/media/stagefright/CameraSource.h')
-rw-r--r-- | include/media/stagefright/CameraSource.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/include/media/stagefright/CameraSource.h b/include/media/stagefright/CameraSource.h index 4a39fbf..bb25bae 100644 --- a/include/media/stagefright/CameraSource.h +++ b/include/media/stagefright/CameraSource.h @@ -99,34 +99,6 @@ public: virtual sp<MetaData> getFormat(); /** - * Retrieve the total number of video buffers available from - * this source. - * - * This method is useful if these video buffers are used - * for passing video frame data to other media components, - * such as OMX video encoders, in order to eliminate the - * memcpy of the data. - * - * @return the total numbner of video buffers. Returns 0 to - * indicate that this source does not make the video - * buffer information availalble. - */ - size_t getNumberOfVideoBuffers() const; - - /** - * Retrieve the individual video buffer available from - * this source. - * - * @param index the index corresponding to the video buffer. - * Valid range of the index is [0, n], where n = - * getNumberOfVideoBuffers() - 1. - * - * @return the video buffer corresponding to the given index. - * If index is out of range, 0 should be returned. - */ - sp<IMemory> getVideoBuffer(size_t index) const; - - /** * Tell whether this camera source stores meta data or real YUV * frame data in video buffers. * |