From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jammy Huang Date: Tue, 21 Dec 2021 10:13:34 +0800 Subject: [PATCH v5 00/10] add aspeed-jpeg support for aspeed-video In-Reply-To: References: <20211118074030.685-1-jammy_huang@aspeedtech.com> <5ab806d1-e407-1fa4-83ec-93ebe8df7db4@xs4all.nl> <6e0da74e-ddce-3c94-42a1-f98833489d60@xs4all.nl> <549aaf9a-cd72-e200-0329-30f6c71b8ed7@aspeedtech.com> Message-ID: List-Id: To: linux-aspeed@lists.ozlabs.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Sakari, On 2021/12/21 ?? 03:55, sakari.ailus at linux.intel.com wrote: > Hi Jammy, > > On Tue, Dec 07, 2021 at 11:03:00AM +0800, Jammy Huang wrote: >> Hi Hans, >> >> The implementation of decoder for this format as been available here. >> https://github.com/AspeedTech-BMC/aspeed_codec > The format documentation should point to this, as well as other > documentation there is. OK, I will add this into format documentation as well. > > I'm not sure there have been specific requirements of license, but it's the > first time I see MPL 2.0 being used in such context. It's eventually > convertible to GPL (or LGPL) although the route is inconvenient at best. > Or would people be happy with MPL code in v4l-utils? In order to have aspeed-jpeg format to work on openbmc's KVM, I was working on noVNC. And this codec library is part of the code to make it work. Before I put this source on github, I am not sure which kind of license is suitable. So I check what noVNC used, https://github.com/novnc/noVNC/blob/master/LICENSE.txt. That's why I adapted MPL 2.0. If you think GPL(or LGPL) is more suitable, I can make a switch. > > I wonder what others think. > -- Best Regards Jammy From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 50C84C433F5 for ; Tue, 21 Dec 2021 02:15:22 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4JJ0RD4dJBz3bjT for ; Tue, 21 Dec 2021 13:15:20 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=aspeedtech.com (client-ip=211.20.114.71; helo=twspam01.aspeedtech.com; envelope-from=jammy_huang@aspeedtech.com; receiver=) Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4JJ0Qk208yz2xBJ; Tue, 21 Dec 2021 13:14:51 +1100 (AEDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 1BL28DUG011549; Tue, 21 Dec 2021 10:08:13 +0800 (GMT-8) (envelope-from jammy_huang@aspeedtech.com) Received: from [192.168.2.115] (192.168.2.115) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 21 Dec 2021 10:13:34 +0800 Message-ID: Date: Tue, 21 Dec 2021 10:13:34 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH v5 00/10] add aspeed-jpeg support for aspeed-video Content-Language: en-US To: "sakari.ailus@linux.intel.com" References: <20211118074030.685-1-jammy_huang@aspeedtech.com> <5ab806d1-e407-1fa4-83ec-93ebe8df7db4@xs4all.nl> <6e0da74e-ddce-3c94-42a1-f98833489d60@xs4all.nl> <549aaf9a-cd72-e200-0329-30f6c71b8ed7@aspeedtech.com> From: Jammy Huang In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [192.168.2.115] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 1BL28DUG011549 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "linux-aspeed@lists.ozlabs.org" , "andrew@aj.id.au" , "gregkh@linuxfoundation.org" , "openbmc@lists.ozlabs.org" , "eajames@linux.ibm.com" , "linux-media@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Hans Verkuil , "mchehab@kernel.org" , "linux-arm-kernel@lists.infradead.org" , "laurent.pinchart@ideasonboard.com" Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" Hi Sakari, On 2021/12/21 上午 03:55, sakari.ailus@linux.intel.com wrote: > Hi Jammy, > > On Tue, Dec 07, 2021 at 11:03:00AM +0800, Jammy Huang wrote: >> Hi Hans, >> >> The implementation of decoder for this format as been available here. >> https://github.com/AspeedTech-BMC/aspeed_codec > The format documentation should point to this, as well as other > documentation there is. OK, I will add this into format documentation as well. > > I'm not sure there have been specific requirements of license, but it's the > first time I see MPL 2.0 being used in such context. It's eventually > convertible to GPL (or LGPL) although the route is inconvenient at best. > Or would people be happy with MPL code in v4l-utils? In order to have aspeed-jpeg format to work on openbmc's KVM, I was working on noVNC. And this codec library is part of the code to make it work. Before I put this source on github, I am not sure which kind of license is suitable. So I check what noVNC used, https://github.com/novnc/noVNC/blob/master/LICENSE.txt. That's why I adapted MPL 2.0. If you think GPL(or LGPL) is more suitable, I can make a switch. > > I wonder what others think. > -- Best Regards Jammy From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C1ED0C433EF for ; Tue, 21 Dec 2021 05:50:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4wyr479K1x+0tTKcQHkhMfVzmt8Lq3Z2YPsLkVfva1A=; b=EnP6Yyr8qV3hHX JUqvzf74qu3q6PuJtOlrOKab9eozK02PQMkucN5QBSLE2UaXFLqKbTOhIHs2sbzK99/CDvL7xWfTI NGrXTdZD0C5sXL0TTBDlGm7A9ZQph9U8ortVrLt87UhQHoYLTevfCeGYV9ghCd7GP2uqI1N1l+ZEy IPSZdUpvJ3+ymYlxT5/MjbnYx7WNmcRTg2DjNAda/MVzQtirKYN4iDiuYT3pbyG2fsSDm6GGKWnq4 s5TVfnrGp5p9zOdnkjebFs1w3U7dwjU7FpKSdE/T0YQ8e0h8/cBTqRksOd9aduCtibl7aavDcB6dE gzI/KsLuM17FtVWXrKBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mzY12-005ZK7-GH; Tue, 21 Dec 2021 05:48:48 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mzY10-005ZJv-9W for linux-arm-kernel@bombadil.infradead.org; Tue, 21 Dec 2021 05:48:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :In-Reply-To:From:References:CC:To:Subject:MIME-Version:Date:Message-ID: Sender:Reply-To:Content-ID:Content-Description; bh=gpXySNW3sbOnIa4BVYH/jDKFaiuIT8qbB8mkPCmRv28=; b=U1MNp13IIMB7cWoEtY9RdudNIT 7MLYYeNQP4netTOw1tAMFml4xUV88dLqokdBB7HEYYoJ9ZHtmHnK/Z7JqpRc4TnxOEwBgxtIubQKm EBARATEUo5yUKwd7ooBEjRyW1eis1KDSxUfZIAshDdNHG48fG2KhUg/QG5VA7rdlBHFeR7lb3Ytbs YQs5E2iYvGmG9KP9dTvGKacs6xgFRX1034xaIwVlgPNgeiERyVEmelpMWR2aiDBdm0eo0UIpK8ruH bmlxSl/ZIB4+1BnsFvg8xOs5k3ocd/IkaMT3zOLUo3M/h8xXTgSsfIdbMgdVjr8LcuRElFYLbWe9Q pKc8JniQ==; Received: from twspam01.aspeedtech.com ([211.20.114.71]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mzUfp-002dRZ-MR for linux-arm-kernel@lists.infradead.org; Tue, 21 Dec 2021 02:14:44 +0000 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 1BL28DUG011549; Tue, 21 Dec 2021 10:08:13 +0800 (GMT-8) (envelope-from jammy_huang@aspeedtech.com) Received: from [192.168.2.115] (192.168.2.115) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 21 Dec 2021 10:13:34 +0800 Message-ID: Date: Tue, 21 Dec 2021 10:13:34 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH v5 00/10] add aspeed-jpeg support for aspeed-video Content-Language: en-US To: "sakari.ailus@linux.intel.com" CC: Hans Verkuil , "eajames@linux.ibm.com" , "mchehab@kernel.org" , "joel@jms.id.au" , "andrew@aj.id.au" , "gregkh@linuxfoundation.org" , "laurent.pinchart@ideasonboard.com" , "linux-media@vger.kernel.org" , "openbmc@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "linux-aspeed@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" References: <20211118074030.685-1-jammy_huang@aspeedtech.com> <5ab806d1-e407-1fa4-83ec-93ebe8df7db4@xs4all.nl> <6e0da74e-ddce-3c94-42a1-f98833489d60@xs4all.nl> <549aaf9a-cd72-e200-0329-30f6c71b8ed7@aspeedtech.com> From: Jammy Huang In-Reply-To: X-Originating-IP: [192.168.2.115] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 1BL28DUG011549 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211221_021442_347631_1F97774E X-CRM114-Status: GOOD ( 14.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org SGkgU2FrYXJpLAoKT24gMjAyMS8xMi8yMSDkuIrljYggMDM6NTUsIHNha2FyaS5haWx1c0BsaW51 eC5pbnRlbC5jb20gd3JvdGU6Cj4gSGkgSmFtbXksCj4KPiBPbiBUdWUsIERlYyAwNywgMjAyMSBh dCAxMTowMzowMEFNICswODAwLCBKYW1teSBIdWFuZyB3cm90ZToKPj4gSGkgSGFucywKPj4KPj4g VGhlIGltcGxlbWVudGF0aW9uIG9mIGRlY29kZXIgZm9yIHRoaXMgZm9ybWF0IGFzIGJlZW4gYXZh aWxhYmxlIGhlcmUuCj4+IGh0dHBzOi8vZ2l0aHVi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gSQphZGFwdGVkIE1QTCAyLjAuCgpJZiB5b3UgdGhpbmsg R1BMKG9yIExHUEwpIGlzIG1vcmUgc3VpdGFibGUsIEkgY2FuIG1ha2UgYSBzd2l0Y2guCgoKPgo+ IEkgd29uZGVyIHdoYXQgb3RoZXJzIHRoaW5rLgo+Ci0tIApCZXN0IFJlZ2FyZHMKSmFtbXkKCgpf X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpsaW51eC1hcm0t a2VybmVsIG1haWxpbmcgbGlzdApsaW51eC1hcm0ta2VybmVsQGxpc3RzLmluZnJhZGVhZC5vcmcK aHR0cDovL2xpc3RzLmluZnJhZGVhZC5vcmcvbWFpbG1hbi9saXN0aW5mby9saW51eC1hcm0ta2Vy bmVsCg== From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B69EBC433F5 for ; Tue, 21 Dec 2021 02:15:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231802AbhLUCO6 (ORCPT ); Mon, 20 Dec 2021 21:14:58 -0500 Received: from twspam01.aspeedtech.com ([211.20.114.71]:50868 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230060AbhLUCO6 (ORCPT ); Mon, 20 Dec 2021 21:14:58 -0500 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 1BL28DUG011549; Tue, 21 Dec 2021 10:08:13 +0800 (GMT-8) (envelope-from jammy_huang@aspeedtech.com) Received: from [192.168.2.115] (192.168.2.115) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 21 Dec 2021 10:13:34 +0800 Message-ID: Date: Tue, 21 Dec 2021 10:13:34 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH v5 00/10] add aspeed-jpeg support for aspeed-video Content-Language: en-US To: "sakari.ailus@linux.intel.com" CC: Hans Verkuil , "eajames@linux.ibm.com" , "mchehab@kernel.org" , "joel@jms.id.au" , "andrew@aj.id.au" , "gregkh@linuxfoundation.org" , "laurent.pinchart@ideasonboard.com" , "linux-media@vger.kernel.org" , "openbmc@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "linux-aspeed@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" References: <20211118074030.685-1-jammy_huang@aspeedtech.com> <5ab806d1-e407-1fa4-83ec-93ebe8df7db4@xs4all.nl> <6e0da74e-ddce-3c94-42a1-f98833489d60@xs4all.nl> <549aaf9a-cd72-e200-0329-30f6c71b8ed7@aspeedtech.com> From: Jammy Huang In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [192.168.2.115] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 1BL28DUG011549 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi Sakari, On 2021/12/21 上午 03:55, sakari.ailus@linux.intel.com wrote: > Hi Jammy, > > On Tue, Dec 07, 2021 at 11:03:00AM +0800, Jammy Huang wrote: >> Hi Hans, >> >> The implementation of decoder for this format as been available here. >> https://github.com/AspeedTech-BMC/aspeed_codec > The format documentation should point to this, as well as other > documentation there is. OK, I will add this into format documentation as well. > > I'm not sure there have been specific requirements of license, but it's the > first time I see MPL 2.0 being used in such context. It's eventually > convertible to GPL (or LGPL) although the route is inconvenient at best. > Or would people be happy with MPL code in v4l-utils? In order to have aspeed-jpeg format to work on openbmc's KVM, I was working on noVNC. And this codec library is part of the code to make it work. Before I put this source on github, I am not sure which kind of license is suitable. So I check what noVNC used, https://github.com/novnc/noVNC/blob/master/LICENSE.txt. That's why I adapted MPL 2.0. If you think GPL(or LGPL) is more suitable, I can make a switch. > > I wonder what others think. > -- Best Regards Jammy