File: ICamera.patch

package info (click to toggle)
opencv 2.4.9.1%2Bdfsg-1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 126,800 kB
  • ctags: 62,729
  • sloc: xml: 509,055; cpp: 490,794; lisp: 23,208; python: 21,174; java: 19,317; ansic: 1,038; sh: 128; makefile: 72
file content (14 lines) | stat: -rw-r--r-- 707 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
*** src2.3.3/frameworks/base/include/camera/ICamera.h	2011-04-04 20:18:36.718480237 +0400
--- src_mock3.0.1/frameworks/base/include/camera/ICamera.h	2012-01-15 20:50:30.000000000 +0400
***************
*** 48,53 ****
--- 48,56 ----
      // pass the buffered ISurface to the camera service
      virtual status_t        setPreviewDisplay(const sp<ISurface>& surface) = 0;
  
+     // pass the preview texture. This is for 3.0 and higher versions of Android
+     setPreviewTexture(const sp<ISurfaceTexture>& surfaceTexture) = 0;
+ 
      // set the preview callback flag to affect how the received frames from
      // preview are handled.
      virtual void            setPreviewCallbackFlag(int flag) = 0;