diff options
author | Patrick Roth <roth@stettbacher.ch> | 2021-07-01 10:54:34 +0200 |
---|---|---|
committer | Patrick Roth <roth@stettbacher.ch> | 2021-07-01 10:54:34 +0200 |
commit | 39529749bd4df513541bf259795ee6698f4fd679 (patch) | |
tree | f3ec2d2256d6f11f6c1b50c2815597c42c3843fd /color_pipe.h | |
parent | working copy (diff) | |
download | o3000-color-pipe-39529749bd4df513541bf259795ee6698f4fd679.tar.gz o3000-color-pipe-39529749bd4df513541bf259795ee6698f4fd679.zip |
change weights to -100.0...+100.0 per cent
The upper and lower horizontal trapeze line will change.
The vertical weight is not implemented now!
Diffstat (limited to 'color_pipe.h')
-rw-r--r-- | color_pipe.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/color_pipe.h b/color_pipe.h index b4c50da..9b52f23 100644 --- a/color_pipe.h +++ b/color_pipe.h @@ -293,10 +293,10 @@ struct trapcorr_data_t { int bit_channel; ///< Bits per color channel. int width; ///< image width in number of pixels int height; ///< image height in number of pixels - float wv; ///< vertical correction weight in per cent (NOTE not implemented yet!) - float wh; ///< horizontal correction weight in per cent - float wv_new; ///< this vertical correction weight in per cent is changed by API call (use double buffering) (NOTE not implemented yet!) - float wh_new; ///< this horizontal correction weight in per cent is changed by API call (use double buffering) + float wv; ///< vertical correction weight in per cent (range: -100.0 to +100.0) (NOTE not implemented yet!) + float wh; ///< horizontal correction weight in per cent (range: -100.0 to +100.0) + float wv_new; ///< double buffered vertical correction weight + float wh_new; ///< double buffered horizontal correction weight int map_init; ///< flag indicating perspective correction map is initialized |