2018-12-21 19:48 GMT+01:00, Paul B Mahol <one...@gmail.com>: > + if (s->luma) { > + ptr = p->data[0]; > + > + for (int y = 0; y < avctx->height; y++) { > + for (int x = 0; x < avctx->width; x++) { > + ptr[x] = av_clip_uint8(ptr[x] * 1.35); > + }
Without this multiplication, the y plane looks much more similar to the reference with respect to brightness. Thank you, Carl Eugen _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel