Re: [FFmpeg-devel] [PATCH V2] avcodec/libx265: add support for ROI-based encoding

2019-01-22 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Derek Buitenhuis > Sent: Tuesday, January 22, 2019 10:31 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH V2] avcodec/libx265: add support for &g

Re: [FFmpeg-devel] [PATCH V2] avcodec/libx265: add support for ROI-based encoding

2019-01-22 Thread Derek Buitenhuis
On 21/01/2019 14:40, Guo, Yejun wrote: [...] > +} else { > +// 8x8 block when qg-size is 8, 16*16 block otherwise Cosmetic: Comments should be /**/ to match the rest of the file. > +int mb_size = (ctx->params->rc.qgSize == 8) ? 8 : 16; > +int mbx =

[FFmpeg-devel] [PATCH V2] avcodec/libx265: add support for ROI-based encoding

2019-01-20 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- libavcodec/libx265.c | 67 1 file changed, 67 insertions(+) diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index 27c90b3..73a7e62 100644 --- a/libavcodec/libx265.c +++ b/libavcodec/libx265.c @@ -285,6