summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-03-29 17:12:13 -0700
committerMathias Agopian <mathias@google.com>2012-03-29 17:12:13 -0700
commitdf7e6ea0c755fb95a77d21010105e3a2eac69ff8 (patch)
treeeddde11859c63816d83f985f3480ac3ec46bcfc3 /include
parentecdd39c5af016e2fa57cbfd837aa670b706dabd3 (diff)
downloadframeworks_av-df7e6ea0c755fb95a77d21010105e3a2eac69ff8.zip
frameworks_av-df7e6ea0c755fb95a77d21010105e3a2eac69ff8.tar.gz
frameworks_av-df7e6ea0c755fb95a77d21010105e3a2eac69ff8.tar.bz2
reduce IPCs in BufferQueue
Change-Id: I1f8c32a771a411476d225adc62d1f07c24f39a3e
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/SurfaceMediaSource.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/media/stagefright/SurfaceMediaSource.h b/include/media/stagefright/SurfaceMediaSource.h
index 936b057..c0dc074 100644
--- a/include/media/stagefright/SurfaceMediaSource.h
+++ b/include/media/stagefright/SurfaceMediaSource.h
@@ -101,6 +101,7 @@ public:
// (zero point, etc) are client-dependent and should be documented by the
// client.
virtual status_t queueBuffer(int buf, int64_t timestamp,
+ const Rect& crop, int scalingMode, uint32_t transform,
uint32_t* outWidth, uint32_t* outHeight, uint32_t* outTransform);
virtual void cancelBuffer(int buf);
@@ -111,13 +112,8 @@ public:
// Make sure this is called when the mutex is locked
virtual status_t onFrameReceivedLocked();
- virtual status_t setScalingMode(int mode) { return OK; } // no op for encoding
virtual int query(int what, int* value);
- // Just confirming to the ISurfaceTexture interface as of now
- virtual status_t setCrop(const Rect& reg) { return OK; }
- virtual status_t setTransform(uint32_t transform) {return OK;}
-
// setSynchronousMode set whether dequeueBuffer is synchronous or
// asynchronous. In synchronous mode, dequeueBuffer blocks until
// a buffer is available, the currently bound buffer can be dequeued and