Hi guys,

I want to rotate the preview and capture screen of my camera because
the camera hardware came in 90 degree angle.

It's much easier to change the hardware design but that's not gonna
happen in my case.So, I'm looking for software solution for rotating
the output of camera.
Doing a little search of froyo code, I found that upper layer using
v4l2 for camera control and there is a rotate flag. I tried to change
that flag but failed.
These are what happened when I inserted 90 degree rotation flag.
a) the system became very slow (started from boot animation)
b) the camera display is not right(looks like putting 640x480 buffer
cut in 480 per line in 640 frame. if you know what I mean)

I notice in samsung platform, they use camera buffer(fimc) for
framebuffer (correct me if I'm wrong). Somehow changing the rotation
flag effects the size of fimc which leads to a big display disaster
started from boot animation through out the whole display system.

I'm still try to figure out how v4l corp(or resize) the image to fit
the image size after rotation.

Thanks ~

Jerry







-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to