qv4l2: moved crop calculation out of GL renderer
authorOve Brynestad <ovebryne@cisco.com>
Mon, 7 Jul 2014 14:32:41 +0000 (16:32 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Fri, 11 Jul 2014 13:31:58 +0000 (15:31 +0200)
commit0051bef269031857caa422bb9f2823c4ed7ae9b5
tree63eaf6f226a11286eac84efe6901d14ac86f4817
parent042ab5b264c7244a751bd16274a61b64446ae3ee
qv4l2: moved crop calculation out of GL renderer

Ongoing 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-gl.h