[FFmpeg-devel] [PATCH V4 1/2] avutil: add ROI data struct and bump version

Derek Buitenhuis derek.buitenhuis at gmail.com
Fri Dec 28 18:05:41 EET 2018


On 28/12/2018 10:09, Guo, Yejun wrote:
> The encoders such as libx264 support different QPs offset for different MBs,
> it makes possible for ROI-based encoding. It makes sense to add support
> within ffmpeg to generate/accept ROI infos and pass into encoders.
> 
> Typical usage: After AVFrame is decoded, a ffmpeg filter or user's code
> generates ROI info for that frame, and the encoder finally does the
> ROI-based encoding.
> 
> The ROI info is maintained as side data of AVFrame.
> 
> Signed-off-by: Guo, Yejun <yejun.guo at intel.com>
> ---
>  libavutil/frame.c   |  1 +
>  libavutil/frame.h   | 23 +++++++++++++++++++++++
>  libavutil/version.h |  2 +-
>  3 files changed, 25 insertions(+), 1 deletion(-)

Seems OK, I think.

- Derek


More information about the ffmpeg-devel mailing list