[FFmpeg-devel] [PATCH 11/11] avcodec/vvcdec: add Intra Block Copy decoder
Ronald S. Bultje
rsbultje at gmail.com
Sat Feb 24 15:20:24 EET 2024
Hi,
On Thu, Feb 22, 2024 at 2:15 AM Nuo Mi <nuomi2021 at gmail.com> wrote:
> +static void ibc_fill_vir_buf(const VVCLocalContext *lc, const CodingUnit
> *cu)
> [..]
>
+ av_image_copy_plane(ibc_buf, ibc_stride, src, src_stride,
> cu->cb_width >> hs << ps , cu->cb_height >> vs);
>
I'm admittedly not super-familiar with VVC, but I wonder why we need the
double buffering here (from ref_pos in pic to ibc_buf, and then back from
ibc_buf back to cur block in pic)? In AV1, this is done with just a single
copy. Why is this done this way?
Ronald
More information about the ffmpeg-devel
mailing list