[FFmpeg-devel] is libswscale maintained?

Rémi Denis-Courmont remi at remlab.net
Thu Sep 12 18:28:32 EEST 2024



Le 12 septembre 2024 16:43:29 GMT+03:00, Ramiro Polla <ramiro.polla at gmail.com> a écrit :
>Hi,
>
>On Wed, Sep 11, 2024 at 2:21 AM Michael Niedermayer
><michael at niedermayer.cc> wrote:
>> On Wed, Sep 11, 2024 at 02:45:59AM +0300, Andrew Randrianasulu wrote:
>> > https://trac.ffmpeg.org/ticket/3345
>> > https://trac.ffmpeg.org/ticket/7978
>>
>> I was not aware of these and ATM i dont have time but
>> these smell like some constant somewhere is a little off
>
>Coincidentally it's the exact same issue I had asked about on IRC one
>day before.
>
>I'm working on a fix which involves calculating the coefficient,
>offset, and max value in ff_sws_init_range_convert() based on the bit
>depth. The constants could be fixed and hardcoded again, but I prefer
>having a clear explanation of where they come from in code.
>
>It requires updating simd code (to take 3 extra parameters: int coeff,
>int offset, int amax), and I don't have access to loongson or riscv.

Just comment the would-be broken code out?


More information about the ffmpeg-devel mailing list