From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 03B89E0095C; Tue, 14 Jul 2015 07:51:14 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 76898E0086D for ; Tue, 14 Jul 2015 07:51:04 -0700 (PDT) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id 8B7A5F811D8; Tue, 14 Jul 2015 08:51:03 -0600 (MDT) Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 13EE8F811D7; Tue, 14 Jul 2015 08:51:03 -0600 (MDT) Message-ID: <55A521DF.2040902@mlbassoc.com> Date: Tue, 14 Jul 2015 08:51:11 -0600 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: <55A518F7.40204@mlbassoc.com> <55A51D9D.5090709@pseudoterminal.org> In-Reply-To: <55A51D9D.5090709@pseudoterminal.org> Subject: Re: OpenCV capture X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2015 14:51:14 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 2015-07-14 08:33, Carlos Rafael Giani wrote: > On 07/14/2015 04:13 PM, Gary Thomas wrote: >> I'd like to use OpenCV with my i.MX6 system to capture and >> process data directly from the camera(s) I have connected >> to the CPU. Sadly, these cameras (CCS, MIPI) produce I420 >> data but the OpenCV capture code can only work with GBR24. >> >> Is there a way to make this conversion happen, perhaps using >> the VPU/IPU (I'm not sure which)? >> > > I420 -> RGB/BGR should be doable with IPU and G2D. I recommend using G2D, since it is much more straightforward to use. GBR is not supported, but could you swap G and B inside OpenCV? Perhaps. How would I set things up to do this conversion in the IPU/G2D? -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------