Hi,

On Thu, Feb 13, 2020 at 10:41 PM Guo, Yejun <yejun....@intel.com> wrote:

> For some cases, the regions of interest do not change, it is not
> convenient to always prepare the roi data for every frame.


Since side-data is refcounted, can't you just keep the "last" one in memory
and refcount it? That way, if you wanted to know if it's the same, you can
compare pointers, or if you want to access the ROI data directly, you can
do that, but it doesn't require a copy.

Ronald
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to