[FFmpeg-devel] [FFmpeg-devel-irc] IRC log for 2010-09-17
Sun Sep 26 21:55:49 CEST 2010
On Fri, Sep 24, 2010 at 04:35:38PM +0200, Michael Niedermayer wrote:
> On Fri, Sep 24, 2010 at 02:11:02AM -0700, Jason Garrett-Glaser wrote:
> > On Thu, Sep 23, 2010 at 8:37 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > > On Thu, Sep 23, 2010 at 08:20:54PM -0700, Jason Garrett-Glaser wrote:
> > >> >> [19:48:17] <Dark_Shikari> we're going to have to write a downsampling/dither module since swscale doesn't have one
> > >> >
> > >> > swscale has that since eternity
> > >>
> > >> Since when can swscale output to 10-bit or 9-bit, given 16-bit input?
> > >
> > > 16bit formats are amongth the supported input and output formats
> > >
> > > converting to 10 or 9 bit should then just be a matter of changing scaling
> > > and cliping which doesnt seem hard.
> > > if you say precissely what you need i could try to look into where the problem
> > > is but i cant promisse that ill have the time to look into it soon
> > We need 16-bit -> 8, 9, and 10 bit conversion with dithering. It's
> > not hard, but the issue is primarily an API one, unless we already
> > have a way of telling swscale how many bits to output to.
> ok, would a
> * Allocates and returns a SwsContext. You need it to perform
> * scaling/conversion operations using sws_scale().
> * @return a pointer to an allocated context, or NULL in case of error
> struct SwsContext *sws_getContext(SwsParams *params);
> solve this ?
> if yes i can add this together with AVOptions access to it, this also should
> squish a few issues stefano had with AVOptions in relation to sws
should be done approximatly
is there a volunteer to make vf_scale use the new API?
and is that enough or is there something else that i should implement
adding a src/dst_bits field in the context and AVOption in options.c is just a
2 line change now
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel