Re: [FFmpeg-devel] [PATCH 01/12] avutil/frame: add AVFrame.alpha_mode

2025-02-20 Thread Niklas Haas
On Thu, 20 Feb 2025 10:39:56 +0100 Nicolas George wrote: > Niklas Haas (HE12025-02-19): > > FFmpeg currently handles alpha in a quasi-arbitrary way. Some filters/codecs > > assume alpha is premultiplied, others assume it is independent. If there is > > to be any hope for order in this chaos, we ne

Re: [FFmpeg-devel] [PATCH 01/12] avutil/frame: add AVFrame.alpha_mode

2025-02-20 Thread Nicolas George
Niklas Haas (HE12025-02-19): > FFmpeg currently handles alpha in a quasi-arbitrary way. Some filters/codecs > assume alpha is premultiplied, others assume it is independent. If there is > to be any hope for order in this chaos, we need to start by defining an enum > for the possible range of values

Re: [FFmpeg-devel] [PATCH 01/12] avutil/frame: add AVFrame.alpha_mode

2025-02-20 Thread Zhao Zhili
> On Feb 20, 2025, at 04:45, Niklas Haas wrote: > > From: Niklas Haas > > FFmpeg currently handles alpha in a quasi-arbitrary way. Some filters/codecs > assume alpha is premultiplied, others assume it is independent. If there is > to be any hope for order in this chaos, we need to start by de

[FFmpeg-devel] [PATCH 01/12] avutil/frame: add AVFrame.alpha_mode

2025-02-19 Thread Niklas Haas
From: Niklas Haas FFmpeg currently handles alpha in a quasi-arbitrary way. Some filters/codecs assume alpha is premultiplied, others assume it is independent. If there is to be any hope for order in this chaos, we need to start by defining an enum for the possible range of values. --- doc/APIcha