Re: [FFmpeg-devel] [PATCH 3/5] avcodec/magicyuvenc: Don't modify input frame

2022-02-23 Thread Paul B Mahol
lgtm ___ 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".

[FFmpeg-devel] [PATCH 3/5] avcodec/magicyuvenc: Don't modify input frame

2022-02-22 Thread Andreas Rheinhardt
It need not be writable at all. Instead, use temporary buffers for decorrelation. Signed-off-by: Andreas Rheinhardt --- The prediction functions could be rewritten to allow src and dst to alias each other; yet LLVidEncDSPContext.diff_bytes has the requirement that dst has an alignment of 16. li