In the new mediarecorder interface:
base/include/media/mediarecorder.h
    status_t    setCamera(const sp<ICamera>& camera);

The plan is still Jpeg capture ( camera.cpp ) and mediarecorder can
share 1 camera object.

CameraService is a common service and ICamera (BnCamera) work as
Client.

ICamera seem work as  input device and preview device of
MeidaRecorder.

### 2 ####
Generally speaking , I don't think the preview data == the video frame
data.

So It seems ICamera interface is not enough.

Do we consider add some methods in ICamera  :
1. set a callback to get the VideoFrame data .
2. add function to start / stop give the VideoFrame , it is different
to startPreview or stopPreview.


### 2 ####
this PVAuthor file:
/external/opencore/android/author/android_camera_input.cpp
It depend on Class (in Camera.h). I don't think it is necessary.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to