qv4l2: update common size variables at GL resize
authorOve Brynestad <ovebryne@cisco.com>
Tue, 8 Jul 2014 07:22:08 +0000 (09:22 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Fri, 11 Jul 2014 13:31:59 +0000 (15:31 +0200)
commitf2215f3ff2b6c9eff1e3c4922d5a3a00ababefd5
treeb2b5e6feafc420b765f88afecb968c8c900a3f8d
parent0051bef269031857caa422bb9f2823c4ed7ae9b5
qv4l2: update common size variables at GL resize

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