Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751062AbaLPOPn (ORCPT ); Tue, 16 Dec 2014 09:15:43 -0500 Received: from bhuna.collabora.co.uk ([93.93.135.160]:39170 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750863AbaLPOPm (ORCPT ); Tue, 16 Dec 2014 09:15:42 -0500 Message-ID: <54903E88.2070701@collabora.com> Date: Tue, 16 Dec 2014 09:15:36 -0500 From: Nicolas Dufresne User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Philipp Zabel , Jean-Michel Hautbois CC: Steve Longerbeam , linux-kernel , =?UTF-8?B?RnLDqWTDqXJpYyBTdXJlYXU=?= , Fabio Estevam Subject: Re: i.MX6 CSC and scaler References: <548F272E.3040808@gmail.com> <548F2DD6.70805@collabora.com> <1418736635.3374.64.camel@pengutronix.de> In-Reply-To: <1418736635.3374.64.camel@pengutronix.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 2014-12-16 08:30, Philipp Zabel a écrit : > For the IPU IC mem2mem scaler/CSC, v4l2transform with scaling capability > would be the perfect fit Thanks you for clarifying. Jean-Michel, are you going to work on this ? If so, feel free to contact me directly for pointers. You'll find me as stormer on IRC freenode on both #v4l2 and #gstreamer. What would need to be done: a) Import scaler negotiation code from videoscale element, and merge it into v4l2transform negotiation. It is likely that wtay (Wim Tayman) have some code already for you, has on the SW side he is currently working on merging videoscale and videoconvert together as it's faster this way. b) Complete the handling of G_CROP (if required add G_SELECTION). Most HW scaler will allocate aligned buffers, but can reach a 1 or 2 pixels precision through CROP or SELECTION. cheers, Nicolas -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/