From patchwork Tue Nov 19 14:26:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 3202441 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 C5104C045B for ; Tue, 19 Nov 2013 14:27:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A37882037E for ; Tue, 19 Nov 2013 14:27:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2FF5520373 for ; Tue, 19 Nov 2013 14:27:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752905Ab3KSO1e (ORCPT ); Tue, 19 Nov 2013 09:27:34 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:55572 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752796Ab3KSO1a (ORCPT ); Tue, 19 Nov 2013 09:27:30 -0500 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWI00M2HLHQNH40@mailout3.samsung.com> for linux-media@vger.kernel.org; Tue, 19 Nov 2013 23:27:29 +0900 (KST) X-AuditID: cbfee61b-b7fd56d000001fc6-50-528b75502b44 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 08.46.08134.0557B825; Tue, 19 Nov 2013 23:27:29 +0900 (KST) Received: from AMDC2362.DIGITAL.local ([106.120.53.23]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MWI00IBKLHFEGB0@mmp1.samsung.com>; Tue, 19 Nov 2013 23:27:28 +0900 (KST) From: Jacek Anaszewski To: linux-media@vger.kernel.org Cc: kyungmin.park@samsung.com, s.nawrocki@samsung.com, sw0312.kim@samsung.com, Jacek Anaszewski Subject: [PATCH 02/16] s5p-jpeg: Fix output YUV 4:2:0 fourcc for decoder Date: Tue, 19 Nov 2013 15:26:54 +0100 Message-id: <1384871228-6648-3-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1384871228-6648-1-git-send-email-j.anaszewski@samsung.com> References: <1384871228-6648-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrFJMWRmVeSWpSXmKPExsVy+t9jAd3A0u4gg+f9rBa9V58zWpxtesNu 0bNhK6vF4TftrBYzJr9kc2D16NuyitHj8ya5AKYoLpuU1JzMstQifbsEroxve84yF0xlr3iw bAdzA+Nf1i5GTg4JAROJZxNesUHYYhIX7q0Hsrk4hAQWMUrsPbydHcJpZ5JYNOULO0gVm4Ch xM8Xr5lAbBEBeYknvTfAupkFaiSmbL0BViMs4CFxfeVdZhCbRUBV4sHT2SwgNq+Au8T6vkNA mzmAtilIzJlkAxLmBCqfsnA7WKsQUMn5jSfZJzDyLmBkWMUomlqQXFCclJ5rpFecmFtcmpeu l5yfu4kRHCLPpHcwrmqwOMQowMGoxMM7wb0rSIg1say4MvcQowQHs5IIb2N+d5AQb0piZVVq UX58UWlOavEhRmkOFiVx3oOt1oFCAumJJanZqakFqUUwWSYOTqkGxvqr4j37u65sSNP9u2qB eEbGy+VxusdPhJQmuBRt2FZt3PZ7RaGcpPWq5UoC7+I+hPWYRx7NSAkv1Dv12fCei7SxsGjM z9rjlk9muB1btzUxOPNqZs/2OYmB1SwP28MdZha3J7bYLmJ2TZd9Ie1Zwbwl29ljzr1tifqa q/cmPzknJ8Tx8KiuEktxRqKhFnNRcSIAKzfUYA0CAAA= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.4 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,