> -----Original Message----- > From: Guo, Yejun > Sent: Friday, February 14, 2020 11:32 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Guo, Yejun <yejun....@intel.com> > Subject: [PATCH 2/3] libavcodec/libx264.c: refine code to extract function > x264_encode_set_roi > > Signed-off-by: Guo, Yejun <yejun....@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. Yejun _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".