On 12/2/18, Carl Eugen Hoyos <ceffm...@gmail.com> wrote: > 2018-12-02 18:06 GMT+01:00, Paul B Mahol <one...@gmail.com>: >> Signed-off-by: Paul B Mahol <one...@gmail.com> >> --- >> libavcodec/r210dec.c | 38 ++++++++++++++++++----------------- >> libavcodec/r210enc.c | 26 +++++++++++++++--------- >> tests/ref/vsynth/vsynth1-r210 | 6 +++--- >> tests/ref/vsynth/vsynth2-r210 | 6 +++--- >> tests/ref/vsynth/vsynth3-r210 | 6 +++--- >> 5 files changed, 45 insertions(+), 37 deletions(-) >> >> diff --git a/libavcodec/r210dec.c b/libavcodec/r210dec.c >> index dbc94c76bd..22b95e9092 100644 >> --- a/libavcodec/r210dec.c >> +++ b/libavcodec/r210dec.c >> @@ -27,11 +27,7 @@ >> >> static av_cold int decode_init(AVCodecContext *avctx) >> { >> - if ((avctx->codec_tag & 0xFFFFFF) == MKTAG('r', '1', '0', 0)) { >> - avctx->pix_fmt = AV_PIX_FMT_BGR48; >> - } else { >> - avctx->pix_fmt = AV_PIX_FMT_RGB48; >> - } >> + avctx->pix_fmt = AV_PIX_FMT_GBRP10; > > Does this patch cause a change in performance?
NOpe. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel