[FFmpeg-devel] the proper way to handle a special colorspace?
u-bo1b at 0w.se
u-bo1b at 0w.se
Sun Feb 10 19:49:01 CET 2013
On Sun, Feb 10, 2013 at 06:34:53PM +0000, Paul B Mahol wrote:
> On 2/10/13, compn <tempn at twmi.rr.com> wrote:
> > i think hes asking if it should be a new colorspace in swscale, or
> > added into the cinepak decoder/encoder common code.
> >
> > by your answer i think it has to be a new swscale colorspace?
>
> Please leave libswscale alone.
As much as I can see codecs declare which pixel formats they support
and it looks like ffmpeg can "automagically" convert between different
formats when necessary.
Of course I would like to reuse (and if necessary extend) the existing
infrastructure as much as possible, instead of doing the conversion
inside the encoder and decoder.
The colorspace does not seem to be used by other codecs but why not
support it properly? It may happen to be useful (e.g. on slow hardware
which of course nobody cares nowadays about but you never know).
Is it a wrong intention, or otherwise what and where should be changed?
Rl
More information about the ffmpeg-devel
mailing list