[FFmpeg-devel] FFV1 high bit depth RGB

Paul B Mahol onemda at gmail.com
Wed Jul 4 16:12:03 CEST 2012


On 7/4/12, Georg Lippitsch <georg.lippitsch at gmx.at> wrote:
> Hi,
>
> I'm trying to add high bit depth RGB encoding to FFV1.
> Unfortunately, 16Bit doesn't seem to be as trivial as I hoped, since the
> JPEG200-RCT needs an additional bit of precision.
>
> So as a first step, I added 10 bit support by adding a new 10 bit packed
> RGB colorspace, and rewriting encode_rgb() / decode_rgb() in ffv1 to
> support it. That works well, and encoding is proven to be lossless with 10
>
> bit RGB input.
> Patches attached, any comments appreciated!

Please use git send-email next time.

>From quick look I have one comment:

ffv1 should support both le and be 30bit variant - take look at yuv formats....


More information about the ffmpeg-devel mailing list