From patchwork Mon Nov 25 09:58:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 3228921 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 79B6CC045B for ; Mon, 25 Nov 2013 09:58:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DBAFF200FF for ; Mon, 25 Nov 2013 09:58:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BD662201FA for ; Mon, 25 Nov 2013 09:58:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751068Ab3KYJ6m (ORCPT ); Mon, 25 Nov 2013 04:58:42 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:58468 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750739Ab3KYJ6l (ORCPT ); Mon, 25 Nov 2013 04:58:41 -0500 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWT00JZHD1SKU30@mailout2.samsung.com> for linux-media@vger.kernel.org; Mon, 25 Nov 2013 18:58:40 +0900 (KST) X-AuditID: cbfee61a-b7f316d000007e34-53-52931f50ccf6 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 93.04.32308.05F13925; Mon, 25 Nov 2013 18:58:40 +0900 (KST) Received: from AMDC2362.DIGITAL.local ([106.120.53.23]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MWT004BMD1ERF40@mmp2.samsung.com>; Mon, 25 Nov 2013 18:58:40 +0900 (KST) From: Jacek Anaszewski To: linux-media@vger.kernel.org Cc: sw0312.kim@samsung.com, andrzej.p@samsung.com, s.nawrocki@samsung.com, Jacek Anaszewski , Kyungmin Park Subject: [PATCH v2 02/16] s5p-jpeg: Fix output YUV 4:2:0 fourcc for decoder Date: Mon, 25 Nov 2013 10:58:09 +0100 Message-id: <1385373503-1657-3-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1385373503-1657-1-git-send-email-j.anaszewski@samsung.com> References: <1385373503-1657-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHJMWRmVeSWpSXmKPExsVy+t9jQd0A+clBBtuWyVvMetnOYtF79Tmj xdmmN+wWPRu2slocftPOajFj8ks2BzaPvi2rGD0+b5ILYIrisklJzcksSy3St0vgyvi25yxz wVT2igfLdjA3MP5l7WLk5JAQMJHYf2IulC0mceHeerYuRi4OIYHpjBIPrzczgSSEBNqZJE6/ UQWx2QQMJX6+eA0WFxGQl3jSewOsgVlgKaPExUlH2EESwgLeEufe7gebyiKgKtF7ZyZYA6+A u8SR/XNZuhg5gLYpSMyZZANicgp4SMyfxAqxyl1iyY+N7BMYeRcwMqxiFE0tSC4oTkrPNdQr TswtLs1L10vOz93ECA6VZ1I7GFc2WBxiFOBgVOLhtaicFCTEmlhWXJl7iFGCg1lJhPe05OQg Id6UxMqq1KL8+KLSnNTiQ4zSHCxK4rwHWq0DhQTSE0tSs1NTC1KLYLJMHJxSDYx+r9v7kzg6 t+Y/X/I34HSr6ZmCBelrpe0Y9A1YT68LKDOWbWByDLS0iFoscWn5C6mLi45OKGd6vsD/fcxR /4sO2ruldvxTqp5X1Pim5siRrMpJPDt5fhc0ngt5svyuT39aSjFHT7olu7bulnfnVJmEj1z5 6rV/cWFP5lEbi7L+S6IhZ6s8fJVYijMSDbWYi4oTAaURWLERAgAA Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Output samples during decoding phase for the YUV 4:2:0 format are arranged in the manner compatible with 2-planar NV12, not 3-planar YUV420 fourcc. Signed-off-by: Jacek Anaszewski Signed-off-by: Kyungmin Park --- drivers/media/platform/s5p-jpeg/jpeg-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c b/drivers/media/platform/s5p-jpeg/jpeg-core.c index 2234944..0f567c5 100644 --- a/drivers/media/platform/s5p-jpeg/jpeg-core.c +++ b/drivers/media/platform/s5p-jpeg/jpeg-core.c @@ -58,7 +58,7 @@ static struct s5p_jpeg_fmt formats_enc[] = { static struct s5p_jpeg_fmt formats_dec[] = { { .name = "YUV 4:2:0 planar, YCbCr", - .fourcc = V4L2_PIX_FMT_YUV420, + .fourcc = V4L2_PIX_FMT_NV12, .depth = 12, .colplanes = 3, .h_align = 4,