* [FFmpeg-devel] [PATCH] vvcdec: add TODO for combining transform, lmcs_scale_chroma, and add_residual
@ 2024-01-03 15:52 Nuo Mi
2024-01-06 20:03 ` Lynne
0 siblings, 1 reply; 3+ messages in thread
From: Nuo Mi @ 2024-01-03 15:52 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Nuo Mi
Thanks for the suggestion from Lynne.
---
libavcodec/vvc/vvc_intra.c | 2 ++
1 file changed, 2 insertions(+)
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)
--
2.25.1
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [FFmpeg-devel] [PATCH] vvcdec: add TODO for combining transform, lmcs_scale_chroma, and add_residual
2024-01-03 15:52 [FFmpeg-devel] [PATCH] vvcdec: add TODO for combining transform, lmcs_scale_chroma, and add_residual Nuo Mi
@ 2024-01-06 20:03 ` Lynne
2024-01-07 1:11 ` Nuo Mi
0 siblings, 1 reply; 3+ messages in thread
From: Lynne @ 2024-01-06 20:03 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Jan 3, 2024, 16:53 by nuomi2021@gmail.com:
> Thanks for the suggestion from Lynne.
> ---
> libavcodec/vvc/vvc_intra.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> 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)
>
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-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [FFmpeg-devel] [PATCH] vvcdec: add TODO for combining transform, lmcs_scale_chroma, and add_residual
2024-01-06 20:03 ` Lynne
@ 2024-01-07 1:11 ` Nuo Mi
0 siblings, 0 replies; 3+ messages in thread
From: Nuo Mi @ 2024-01-07 1:11 UTC (permalink / raw)
To: FFmpeg development discussions and patches
On Sun, Jan 7, 2024 at 4:03 AM Lynne <dev@lynne.ee> wrote:
> Jan 3, 2024, 16:53 by nuomi2021@gmail.com:
>
> > Thanks for the suggestion from Lynne.
> > ---
> > libavcodec/vvc/vvc_intra.c | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > 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)
> >
>
> LGTM
>
Thank you, Lynne.
Pushed
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
>
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-01-07 1:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-03 15:52 [FFmpeg-devel] [PATCH] vvcdec: add TODO for combining transform, lmcs_scale_chroma, and add_residual Nuo Mi
2024-01-06 20:03 ` Lynne
2024-01-07 1:11 ` Nuo Mi
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git