[Cellar] [FFV1] Adding Bayer support

Jerome Martinez <jerome@mediaarea.net> Fri, 12 January 2018 21:11 UTC

Return-Path: <jerome@mediaarea.net>
X-Original-To: cellar@ietfa.amsl.com
Delivered-To: cellar@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2EF55126C19 for <cellar@ietfa.amsl.com>; Fri, 12 Jan 2018 13:11:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.621
X-Spam-Level:
X-Spam-Status: No, score=-2.621 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jyKr3BnkCkSl for <cellar@ietfa.amsl.com>; Fri, 12 Jan 2018 13:11:41 -0800 (PST)
Received: from 9.mo1.mail-out.ovh.net (9.mo1.mail-out.ovh.net [178.32.108.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E9FFB1200FC for <cellar@ietf.org>; Fri, 12 Jan 2018 13:11:40 -0800 (PST)
Received: from player691.ha.ovh.net (gw6.ovh.net [213.251.189.206]) by mo1.mail-out.ovh.net (Postfix) with ESMTP id E3EFBCC27F for <cellar@ietf.org>; Fri, 12 Jan 2018 22:11:38 +0100 (CET)
Received: from [192.168.2.120] (p5DDB56EF.dip0.t-ipconnect.de [93.219.86.239]) (Authenticated sender: jerome@mediaarea.net) by player691.ha.ovh.net (Postfix) with ESMTPSA id B5FE026008C for <cellar@ietf.org>; Fri, 12 Jan 2018 22:11:37 +0100 (CET)
To: Codec Encoding for LossLess Archiving and Realtime transmission <cellar@ietf.org>
From: Jerome Martinez <jerome@mediaarea.net>
Message-ID: <96b8ef11-ab4d-99fd-b260-ebec6b563a6c@mediaarea.net>
Date: Fri, 12 Jan 2018 22:11:38 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-GB
X-Ovh-Tracer-Id: 2632635460638740625
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtuddrledvgddugeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecufedttdenuc
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/DFWnNGkJr7GKS7112-7-5c4Y73o>
Subject: [Cellar] [FFV1] Adding Bayer support
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Codec Encoding for LossLess Archiving and Realtime transmission <cellar.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cellar>, <mailto:cellar-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cellar/>
List-Post: <mailto:cellar@ietf.org>
List-Help: <mailto:cellar-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cellar>, <mailto:cellar-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Jan 2018 21:11:44 -0000

I added a pull request on GitHub:
https://github.com/FFmpeg/FFV1/pull/100
Suggesting to use DgCoCg-R transformation before transformation for 
Bayer "color space".
This is a new colorspace_type value so we could put it in FFV1 v0 to v3 
without conflict with decoders in the wild.

I did not send the patch sooner, waiting for another patch to be 
accepted and waiting for finishing my corresponding encoder (so it is 
currently theory), but as we are talking about adding more planes and 
the corresponding metadata, I would like to be sure we handle this case 
in FFV1 v4.

Jérôme