Implement customFocusPoint in camerabin backend.

Send a regions-of-interest event containing a rectangle surrounding the
focus point to the camera source when the camera's focusPointMode
is QCameraFocus::CustomFocusPoint.  Reset the regions-of-interest if the
focusPointMode changes to any other value.

[ChangeLog][GStreamer] Implement customFocusPoint in camerabin backend.

Change-Id: If75405733b18d476dff5467abae3f08271caf06a
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
Andrew den Exter
2014-02-10 13:25:39 +10:00
committed by Andrew den Exter
parent 6347605341
commit 4ba4f1a51d
4 changed files with 141 additions and 7 deletions

View File

@@ -89,6 +89,7 @@ void CameraBinViewfinderSettings::setViewfinderParameter(ViewfinderParameter par
switch (parameter) {
case Resolution:
m_resolution = value.toSize();
break;
case PixelAspectRatio:
case MinimumFrameRate:
case MaximumFrameRate: