[FFmpeg-devel] [PATCH] R10k deocder

James Darnley james.darnley
Mon Sep 13 23:31:11 CEST 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-r10k-decoder.patch
Type: application/octet-stream
Size: 4170 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100913/01d40676/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-r10k-tags-for-some-demuxers.patch
Type: application/octet-stream
Size: 1491 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100913/01d40676/attachment-0001.obj>



More information about the ffmpeg-devel mailing list