Home | History | Annotate | Download | only in login

Lines Matching refs:Camera

26 // All communication with camera driver is performed on a separate camera
28 class Camera : public base::RefCountedThreadSafe<Camera> {
55 Camera(Delegate* delegate, base::Thread* thread, bool mirrored);
57 // Initializes camera device on camera thread. Corresponding delegate's
59 // nothing if camera is successfully initialized already. Sets the desired
60 // width and height of the frame to receive from camera.
63 // Uninitializes the camera on camera thread. Can be called anytime, any
67 // Starts capturing video frames on camera thread. Frames can be retrieved
83 // Destructor is private so only its base class can delete Camera objects.
84 ~Camera();
85 friend class base::RefCountedThreadSafe<Camera>;
98 // Task for camera thread that queries camera about the next frame and
107 // Transforms raw data received from camera into SkBitmap with desired
111 // Actual routines that run on camera thread and call delegate's callbacks.
130 // Returns true if the code is executed on camera thread right now, false
134 // Posts task to camera thread.
138 // Defines a buffer in memory where one frame from the camera is stored.
144 // Delegate that receives the frames from the camera.
151 // All the members below are accessed only on camera thread.
158 // Vector of buffers where to store video frames from camera.
164 // Desired size of the frame to get from camera. If it doesn't match
165 // camera's supported resolution, higher resolution is selected (if
171 // Size of the frame that camera will give to us. It may not match the
180 // Image where camera frames are stored for UI thread to pick up.
189 DISALLOW_COPY_AND_ASSIGN(Camera);