[FFmpeg-devel] [PATCH] R10k deocder
Michael Niedermayer
michaelni
Tue Sep 14 00:00:20 CEST 2010
On Mon, Sep 13, 2010 at 11:31:11PM +0200, James Darnley wrote:
> On 23 August 2010 15:40, Diego Biurrun <diego at biurrun.de> wrote:
> > On Sun, Aug 15, 2010 at 05:40:52PM +0200, James Darnley wrote:
> >>
> >> I've attached a patch for the decoder which removes most of the
> >> duplication. ?Almost everything is identical to the r210 decoder.
> >
> > This is missing a changelog and documentation update.
> >
>
> I've done the changelog. By the docs you mean doc/general.texi which
> lists the available encoders/decoders? If so, then I've done that. I
> duplicated the r210 line below and replaced the parts as needed.
>
> If/when you commit, don't forget to credit Zhou Zongyi for the original work.
>
> Changes from the previous patch are below.
>
> >diff --git a/Changelog b/Changelog
> >index 70849ea..29b4d8e 100644
> >--- a/Changelog
> >+++ b/Changelog
> >@@ -34,6 +34,7 @@ version <next>:
> > - a64 codec
> > - MMS-HTTP support
> > - G.722 ADPCM audio decoder
> >+- R10k video decoder
> >
> >
> > version 0.6:
> >diff --git a/doc/general.texi b/doc/general.texi
> >index a692e04..9a3200f 100644
> >--- a/doc/general.texi
> >+++ b/doc/general.texi
> >@@ -460,6 +460,7 @@ following image formats are supported:
> > @tab fourcc: 'smc '
> > @item QuickTime video (RPZA) @tab @tab X
> > @tab fourcc: rpza
> >+ at item R10K AJA Kona 10-bit RGB Codec @tab @tab X
> > @item R210 Quicktime Uncompressed RGB 10-bit @tab @tab X
> > @item Raw Video @tab X @tab X
> > @item RealVideo 1.0 @tab X @tab X
> >diff --git a/libavcodec/r210dec.c b/libavcodec/r210dec.c
> >index 5916feb..b1fe62d 100644
> >--- a/libavcodec/r210dec.c
> >+++ b/libavcodec/r210dec.c
> >@@ -121,6 +121,6 @@ AVCodec r10k_decoder = {
> > decode_close,
> > decode_frame,
> > CODEC_CAP_DR1,
> >- .long_name = NULL_IF_CONFIG_SMALL("Uncompressed RGB 10-bit"),
> >+ .long_name = NULL_IF_CONFIG_SMALL("AJA Kona 10-bit RGB Codec"),
> > };
> > #endif
patches should be ok if tested
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100914/05baa76c/attachment.pgp>
More information about the ffmpeg-devel
mailing list