Hi

I have some questions for Camera API maintainers.

I found that Camera API doesn't provide way to set viewfinder resolution or 
preview image resolution. Do you have any plans to add support for these 
features? We need these features for reference camera application which I am 
implementing for meego handset platform. I thought that maybe I could add 
support for these features by myself.


My plan is following:


1. add new methods to QCameraImageCapture for setting preview image resolution 
and viewfinder resolution:


QImageEncoderSettings previewSettings() const;
void setPreviewSettings(const QImageEncoderSettings& settings);

QVideoEncoderSettings viewfinderSettings() const;
void setViewfinderSettings(const QVideoEncoderSettings& settings);



2. Implement QMediaControl plugins QCameraViewfinderControl and 
QCameraViewfinderControl. These are used to transfer preview image and 
viewfinder settings to camera backend.



3. Modify CameraBinSession to set preview and viewfinder caps to camerabin.



I am able to implement support for camerabin backend only. In case of other 
backends(s60, mediacapture) setPreviewSettings() and setViewfinderSettings() 
would do nothing. Is that a problem? If I implement this change and make a 
submit request will it be accepted? We need to resolve this problem somehow for 
MeeGo handset camera UI and I thought that with same effort I could make 
general solution for this. If API change required by this is not acceptable we 
have to consider to implement some kind of meego only solution which doesn't 
change public API.

Any comments are welcome, especially from Camera API maintainers :)


Br,

Joonas



________________________________
SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary 
or legally privileged information. In case you are not the original intended 
Recipient of the message, you must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message and you are requested to 
delete it and inform the sender. Any views expressed in this message are those 
of the individual sender unless otherwise stated. Nothing contained in this 
message shall be construed as an offer or acceptance of any offer by Sasken 
Communication Technologies Limited ("Sasken") unless sent with that express 
intent and with due authority of Sasken. Sasken has taken enough precautions to 
prevent the spread of viruses. However the company accepts no liability for any 
damage caused by any virus transmitted by this email.
Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback

Reply via email to