[FFmpeg-devel] [PATCH 1/4] lavc/vp9dsp: R-V V ipred dc

flow gg hlefthleft at gmail.com
Sat Mar 2 11:48:37 EET 2024


Okay, reduced if/else in the response.

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

> Le lauantaina 2. maaliskuuta 2024, 9.42.06 EET flow gg a écrit :
> >
>
> You would need a lot fewer if/else if you passed the order/bit-width
> instead
> of the size as macro parameter.
>
> Similarly, this can be folded as a single .else:
>
> +.elseif \type == 127
> +        li           t1, 127
> +.elseif \type == 128
> +        li           t1, 128
> +.elseif \type == 129
> +        li           t1, 129
>
> --
> レミ・デニ-クールモン
> 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: 0001-lavc-vp9dsp-R-V-V-ipred-dc.patch
Type: text/x-patch
Size: 14146 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240302/e599cf8f/attachment.bin>


More information about the ffmpeg-devel mailing list