Re: [FFmpeg-devel] [PATCH v2 3/6] libx264: Update ROI behaviour to match documentation

2019-03-12 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Wednesday, March 13, 2019 8:18 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v2 3/6] libx264: Update ROI behaviour to > match d

[FFmpeg-devel] [PATCH v2 3/6] libx264: Update ROI behaviour to match documentation

2019-03-12 Thread Mark Thompson
Fix the quantisation offset - use the whole range, and don't change the offset size based on bit depth. Iterate the list in reverse order. The first region in the list is the one that applies in the case of overlapping regions. --- libavcodec/libx264.c | 51