[FFmpeg-devel] [PATCH 2/2] libavcodec/libaomenc.c: Support lossless encoding

Ryo Hirafuji ryo.hirafuji at link-u.co.jp
Sun Apr 5 13:41:41 EEST 2020


Hi, Moritz.

Yeah, you are right! And sorry.

After the discussion, I will move this change from "lossless patch" to
"gray patch".

Thanks.

2020年4月5日(日) 19:28 Moritz Barsnick <barsnick at gmx.net>:

> On Sat, Apr 04, 2020 at 18:53:41 +0900, Ryo Hirafuji wrote:
> > AV1 support lossless encoding.
> > In this patch, I added a command line flag to enable it.
>
> > @@ -154,7 +158,7 @@ static av_cold void dump_enc_cfg(AVCodecContext
> *avctx,
> >      av_log(avctx, level, "aom_codec_enc_cfg\n");
> >      av_log(avctx, level, "generic settings\n"
> >                           "  %*s%u\n  %*s%u\n  %*s%u\n  %*s%u\n  %*s%u\n"
> > -                         "  %*s%u\n  %*s%u\n"
> > +                         "  %*s%u\n  %*s%u\n  %*s%u\n"
> >                           "  %*s{%u/%u}\n  %*s%u\n  %*s%d\n  %*s%u\n",
> >             width, "g_usage:",           cfg->g_usage,
> >             width, "g_threads:",         cfg->g_threads,
> > @@ -163,6 +167,7 @@ static av_cold void dump_enc_cfg(AVCodecContext
> *avctx,
> >             width, "g_h:",               cfg->g_h,
> >             width, "g_bit_depth:",       cfg->g_bit_depth,
> >             width, "g_input_bit_depth:", cfg->g_input_bit_depth,
> > +           width, "monochrome:",        cfg->monochrome,
> >             width, "g_timebase:",        cfg->g_timebase.num,
> cfg->g_timebase.den,
> >             width, "g_error_resilient:", cfg->g_error_resilient,
> >             width, "g_pass:",            cfg->g_pass,
>
> Shouldn't this be part of the gray patch?
>
> Moritz
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list