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

Rémi Denis-Courmont remi at remlab.net
Sat Mar 2 11:03:23 EET 2024


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/





More information about the ffmpeg-devel mailing list