aboutsummaryrefslogtreecommitdiffstats
path: root/h263-enc/psb_h263.h
diff options
context:
space:
mode:
authorxli111 <xiaowei.a.li@intel.com>2011-04-07 19:06:41 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:02:43 -0700
commit1ee76a46b2f7ae597909a98a1574d8d35b31052f (patch)
treee7bc0053303ac4107eee226a50c2e2d31db2f1bc /h263-enc/psb_h263.h
parentaf4becf7aac73aff75dd68241b4825a12f8905cf (diff)
downloadandroid_hardware_intel_common_omx-components-1ee76a46b2f7ae597909a98a1574d8d35b31052f.tar.gz
android_hardware_intel_common_omx-components-1ee76a46b2f7ae597909a98a1574d8d35b31052f.tar.bz2
android_hardware_intel_common_omx-components-1ee76a46b2f7ae597909a98a1574d8d35b31052f.zip
new feature : auto switch between buffer sharing and none buffer sharing
Change-Id: Ied93f8c4235bd85f722105f368234cb2ee7c216f Signed-off-by: xli111 <xiaowei.a.li@intel.com>
Diffstat (limited to 'h263-enc/psb_h263.h')
-rw-r--r--h263-enc/psb_h263.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/h263-enc/psb_h263.h b/h263-enc/psb_h263.h
index c7178c8..0a0071b 100644
--- a/h263-enc/psb_h263.h
+++ b/h263-enc/psb_h263.h
@@ -106,14 +106,14 @@ private:
/* end of vcp setting helpers */
/* share buffer setting */
- OMX_ERRORTYPE InitShareBufferingSettings();
- OMX_ERRORTYPE EnterShareBufferingMode();
- OMX_ERRORTYPE ExitShareBufferingMode();
- OMX_ERRORTYPE EnableBufferSharingMode();
- OMX_ERRORTYPE DisableBufferSharingMode();
+ OMX_ERRORTYPE EnterBufferSharingMode(void);
+ OMX_ERRORTYPE ExitBufferSharingMode(void);
+ OMX_ERRORTYPE RequestToEnableBufferSharingMode(void);
+ OMX_ERRORTYPE RequestToDisableBufferSharingMode(void);
+ OMX_ERRORTYPE CheckAndEnableBufferSharingMode(void);
OMX_ERRORTYPE RequestShareBuffers(MixVideo* mix, int width, int height);
- OMX_ERRORTYPE RegisterShareBufferToPort();
- OMX_ERRORTYPE RegisterShareBufferToLib();
+ OMX_ERRORTYPE RegisterShareBuffersToPort(void);
+ OMX_ERRORTYPE RegisterShareBuffersToLib(void);
/* end of share buffer setting */