mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 11:45:30 +08:00
Fixed incorrect first window setting for fluid FilterAgent
This commit is contained in:
parent
fb326a3589
commit
ffaf4d5da4
@ -371,7 +371,8 @@ std::pair<int,int> cv::gimpl::FluidUpscaleMapper::linesReadAndNextWindow(int out
|
||||
|
||||
int cv::gimpl::FluidFilterAgent::firstWindow(std::size_t) const
|
||||
{
|
||||
return k.m_window + k.m_lpi - 1;
|
||||
int lpi = std::min(k.m_lpi, m_outputLines - m_producedLines);
|
||||
return k.m_window + lpi - 1;
|
||||
}
|
||||
|
||||
std::pair<int,int> cv::gimpl::FluidFilterAgent::linesReadAndnextWindow(std::size_t) const
|
||||
|
Loading…
Reference in New Issue
Block a user