<div dir="ltr">Hello.<div><br></div><div>Please consider reviewing gphoto2 camera plugin for QtMultimedia framework written by me some time ago. It is LGPL-licensed and works for several cameras I've tested yet:</div><div>
<a href="https://github.com/cyberbobs/qtmultimedia-gphoto">https://github.com/cyberbobs/qtmultimedia-gphoto</a><br></div><div><br></div><div>Maybe it will be preferrable to you to use my plugin as base (and share your changes :) instead of implementing whole functionality yourself.</div>
<div><br></div><div>Currently plugin supports setting the EV and ISO parameters, but I haven't implemented reporting the settings supported by camera itself yet. The sad thing is I haven't found any option to receive the supported exposure compensation values in the Qt front-end classes (QCamera, QCameraExposure, QML Camera item) despite the fact that backend QCameraExposureControl class supports reporting it. Note that QML Camera item still doesn't have access to the list of available ISO levels that QCameraExposure class supports :(</div>
<div><br></div><div>So IMO there is only one option for this functionality remains: implement it yourself (still I planned to do so when I have some free time to spare) and post it to Qt gerrit :)</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-08-01 16:42 GMT+04:00 cincirin <span dir="ltr"><<a href="mailto:cincirin@gmail.com" target="_blank">cincirin@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
   Hello,<br>
<br>
I'm trying to create a Qt media service plug-in, more exactly to<br>
implement Canon and Nikon camera plug-in.<br>
All main features are working well, i.e. live view, capture, viewfinder,<br>
etc.<br>
But now I want to have access to all supported Canon/Nikon exposures and<br>
other settings.<br>
QCameraExposure has three functions to know supportedAppertures,<br>
supportedIsoSensitivities and supportedShutterSpeed.<br>
But QCameraExposureControl has a lot of other flags to find other<br>
exposure parameter:<br>
QCameraExposureControl::ExposureCompensation - exposure compensation,<br>
specified as qreal EV value<br>
...<br>
QCameraExposureControl::ExtendedExposureParameter - the base value for<br>
platform specific extended parameters. For such parameters the<br>
sequential values starting from ExtendedExposureParameter shuld be used.<br>
<br>
The question is what functions should be called from high level<br>
QCamera*(Exposure/Focus/ImageProcessing, etc) classes in order to<br>
QCameraExposureControl::supportedParameterRange get be called with<br>
aforementioned  exposure parameter.<br>
I'm mainly interested in QCameraExposureControl::ExposureCompensation<br>
and QCameraExposureControl::ExtendedExposureParameter.<br>
<br>
Thank you.<br>
Regards,<br>
     Marius<br>
_______________________________________________<br>
Interest mailing list<br>
<a href="mailto:Interest@qt-project.org">Interest@qt-project.org</a><br>
<a href="http://lists.qt-project.org/mailman/listinfo/interest" target="_blank">http://lists.qt-project.org/mailman/listinfo/interest</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">С уважением, Борис.<br></div>
</div>