qv4l2: add and use storage for renderer independent frame info
authorOve Brynestad <ovebryne@cisco.com>
Mon, 30 Jun 2014 11:32:59 +0000 (13:32 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Fri, 11 Jul 2014 13:27:20 +0000 (15:27 +0200)
commit7a79d4a17db33744d730c825cee0903b8a3576fe
tree81b5196e0524e48366bc0404d2cb148358c5c2e9
parent6d9f642f7df220967fd531cc686d55358d51b0ee
qv4l2: add and use storage for renderer independent frame info

This starts work to move aspect/crop/scale calculations from individual render
classes to the common capture-win class. Currently different renderers use
slightly different code to calculate the various cropping/scaling/etc. data.
This makes it hard to maintain.

Signed-off-by: Ove Brynestad <ovebryne@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/qv4l2/capture-win-gl.cpp
utils/qv4l2/capture-win-qt.cpp
utils/qv4l2/capture-win.cpp
utils/qv4l2/capture-win.h