avutil: add ROI (Region Of Interest) data struct and bump version
authorGuo, Yejun <yejun.guo@intel.com>
Thu, 10 Jan 2019 08:53:30 +0000 (16:53 +0800)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Thu, 17 Jan 2019 21:47:11 +0000 (21:47 +0000)
commit1ef4828276e4c568a13b4c57c08aa75470adec9f
tree6e7c005b9dff5869ceeb285395b36efd57e77c56
parentaf05070ddf8e748132047b265cebd7f893fb37f9
avutil: add ROI (Region Of Interest) data struct and bump version

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@intel.com>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
doc/APIchanges
libavutil/frame.c
libavutil/frame.h
libavutil/version.h