Xilinx/Vitis_Libraries

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

wayneguo166 opened this issue · 2 comments

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.

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.

noted and thanks.