[FFmpeg-devel] [PATCH 2/4] lavc/rv34dsp: R-V V rv34_inv_transform_dc

flow gg hlefthleft at gmail.com
Sat Feb 10 03:57:57 EET 2024


Okay, I have updated them in the response

Rémi Denis-Courmont <remi at remlab.net> 于2024年2月10日周六 05:14写道:

> Le keskiviikkona 7. helmikuuta 2024, 2.12.22 EET flow gg a écrit :
> > My carelessness.. fixed it in the reply.
>
> I know I said to avoid scalar multiplications, but this may be taking it a
> little too far. Either this works:
>    slli t1, t0, 9
>    sh2add t0, t0, t0
>    sub t0, t1, t0
> or just:
>    li t1, 13 * 13 * 3
>    mul t0, t0, t1
>
> Also the second vsetvl seems pointless, unless you specifically meant that
> the
> pointer was aligned to 32 bits?
>
> --
> Rémi Denis-Courmont
> http://www.remlab.net/
>
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-lavc-rv34dsp-R-V-V-rv34_inv_transform_dc.patch
Type: text/x-patch
Size: 5127 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240210/b8516a45/attachment.bin>


More information about the ffmpeg-devel mailing list