[FFmpeg-devel] v210 decoder patch

Michael Niedermayer michaelni
Wed Jul 18 02:05:44 CEST 2007


Hi

On Tue, Jul 17, 2007 at 07:41:54PM -0400, Francois Oligny-Lemieux wrote:
> Hi,
> 
> Thanks for your answers, it is very appreciated.
> 
> On 7/17/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> >
> > Hi
> 
> 
> 
> [...]
> 
> > how does AVI/RIFF would
> >
> > interface with swscale. From what I know it matches a CODEC_ID_XXX from a
> > > RIFF code, then load this codec and pass the packets to it. How would
> > this
> > > work with swscale ? Would it use CODEC_ID_RAWVIDEO ? CODEC_ID_RAWVIDEO
> > is
> >
> > yes
> >
> >
> > > implemented in raw.c. How would the convertion be triggered in raw.c ?
> >
> > it would not
> >
> >
> > > Would
> > > that mean I would have to make a new pixel format with 10-bits per pixel
> > > similar to YUV422. Then at some place in raw.c I would need to include
> > my
> > > convertion routine (see patch) to fill up this theorical 10-bpp YUV
> > picture.
> >
> > no, you must extend swscale to do the convertion
> 
> 
> Do you mean adding swscale functions calls inside libavcodec/raw.c ?

no
the only change needed in raw.c is likely adding a single line to
ff_raw_pixelFormatTags


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070718/628058eb/attachment.pgp>



More information about the ffmpeg-devel mailing list