[FFmpeg-devel] [PATCH V6 1/2] avutil: add ROI (Region Of Interest) data struct and bump version
yejun.guo at intel.com
Tue Jan 8 03:13:44 EET 2019
> -----Original Message-----
> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf
> Of Michael Niedermayer
> Sent: Tuesday, January 08, 2019 3:21 AM
> To: FFmpeg development discussions and patches <ffmpeg-
> devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH V6 1/2] avutil: add ROI (Region Of
> Interest) data struct and bump version
> On Tue, Jan 08, 2019 at 03:54:14AM +0800, 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 | 35 +++++++++++++++++++++++++++++++++++
> > libavutil/version.h | 2 +-
> > 3 files changed, 37 insertions(+), 1 deletion(-)
> needs a update to doc/APIchanges
thanks, will update in a separate patch. (looks that this file is usually updated in a separated patch).
> Michael GnuPG fingerprint:
> Those who would give up essential Liberty, to purchase a little temporary
> Safety, deserve neither Liberty nor Safety -- Benjamin Franklin
More information about the ffmpeg-devel