Xilinx / Vitis_Libraries

Vitis Libraries
https://docs.xilinx.com/r/en-US/Vitis_Libraries
Apache License 2.0
897 stars 357 forks source link

L1 example autowhitebalance gain1 is not valid to be used for xf::cv::AWBGainUpdate #159

Closed wayneguo166 closed 1 year ago

wayneguo166 commented 2 years ago

in xf_autowhitebalance_accel.cpp Line60, I can find gain0 is gotten, but in Line62 I find gain1 is used for xf::cv::AWBGainUpdate which is not valid. Suppose gain0 shoud be used for xf::cv::AWBGainUpdate.

vt-lib-support commented 1 year ago

Hi @wayneguo166 ,

gain0 and gain1 are ping pong buffers. You can notice them used in such manner in the function calls in line 96 and line 102. Hence, gain1 is used for AWBGainUpdate.

wayneguo166 commented 1 year ago

noted and thanks.