aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorNuo Mi <nuomi2021@gmail.com>2024-01-03 23:52:52 +0800
committerNuo Mi <nuomi2021@gmail.com>2024-01-07 09:01:04 +0800
commit02d600c568d14a201c776712bc5775e17c59078a (patch)
treeb365045fbccb7112acf17c96d2ef7055c8fd605d /libavcodec
parent26769024d1cb63078b7dd5c470daedb8dbe4e5bd (diff)
downloadffmpeg-02d600c568d14a201c776712bc5775e17c59078a.tar.gz
vvcdec: add TODO for combining transform, lmcs_scale_chroma, and add_residual
Thanks for the suggestion from Lynne.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vvc/vvc_intra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vvc/vvc_intra.c b/libavcodec/vvc/vvc_intra.c
index 43de312a71..214ad38c8c 100644
--- a/libavcodec/vvc/vvc_intra.c
+++ b/libavcodec/vvc/vvc_intra.c
@@ -552,6 +552,8 @@ static void itransform(VVCLocalContext *lc, TransformUnit *tu, const int tu_idx,
if (chroma_scale)
fc->vvcdsp.intra.lmcs_scale_chroma(lc, temp, tb->coeffs, w, h, cu->x0, cu->y0);
+ // TODO: Address performance issue here by combining transform, lmcs_scale_chroma, and add_residual into one function.
+ // Complete this task before implementing ASM code.
fc->vvcdsp.itx.add_residual(dst, chroma_scale ? temp : tb->coeffs, w, h, stride);
if (tu->joint_cbcr_residual_flag && tb->c_idx)