-
Notifications
You must be signed in to change notification settings - Fork 460
[avce] Expand zero ROI to minimum supported size #2487
base: master
Are you sure you want to change the base?
Conversation
Fixes: Intel-Media-SDK#2013 Signed-off-by: Dmitry Ermilov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be put this check to CheckAndFixOpenRectQueryLike?
@lakulako , I did it at first. But then I noticed that the same CheckAndFixOpenRectQueryLike is called from run-time part (
So moved new condition outside. |
Shouldn't Init behave the same? |
I assume while for Query zero values (like no values) makes sense, for processing part zero values are useless, rather invalid. |
BTW, let's align HEVC and AVC here. Actually I thought HEVC behaved as I described above but now I'm not sure:). @yskuridi , could you say how after your ROI change HEVC behaves:
|
Yes. |
@eistarov , can you please comment? Is it correct behavior? |
I think, correct behavior would be to consider zero-rects as valid at Query and ignore at Init/run-time. Exception for Query required only due to "special" max supported NumROI report mechanic:
|
Thanks @eistarov ! |
Fixes: #2013
Signed-off-by: Dmitry Ermilov [email protected]