[FFmpeg-devel] [PATCH 2/3] libavcodec/libx264.c: refine code to extract function x264_encode_set_roi

Guo, Yejun yejun.guo at intel.com
Sat Feb 29 06:51:20 EET 2020



> -----Original Message-----
> From: Guo, Yejun
> Sent: Wednesday, February 19, 2020 12:24 PM
> To: ffmpeg-devel at ffmpeg.org
> Subject: RE: [PATCH 2/3] libavcodec/libx264.c: refine code to extract function
> x264_encode_set_roi
> 
> 
> 
> > -----Original Message-----
> > From: Guo, Yejun
> > Sent: Friday, February 14, 2020 11:32 AM
> > To: ffmpeg-devel at ffmpeg.org
> > Cc: Guo, Yejun <yejun.guo at intel.com>
> > Subject: [PATCH 2/3] libavcodec/libx264.c: refine code to extract function
> > x264_encode_set_roi
> >
> > Signed-off-by: Guo, Yejun <yejun.guo at intel.com>
> > ---
> >  libavcodec/libx264.c | 148
> ++++++++++++++++++++++++++++-----------------------
> >  1 file changed, 80 insertions(+), 68 deletions(-)
> >
> > diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
> > index ca8f6c0..bad9351 100644
> > --- a/libavcodec/libx264.c
> > +++ b/libavcodec/libx264.c
> > @@ -289,6 +289,83 @@ static void reconfig_encoder(AVCodecContext *ctx,
> > const AVFrame *frame)
> >      }
> >  }
> >
> > +static int x264_encode_set_roi(const AVFrame *frame, AVCodecContext
> *ctx,
> > int bit_depth)
> > +{
> 
> hi, please ignore the other two patches of this patch set, while this patch to
> refine
> the code in libv264.c is valuable and ask for review, thanks.
> 

this patch (not include other patches of this patch set) ask for review, thanks.



More information about the ffmpeg-devel mailing list