Message ID | 1478773883-12083-2-git-send-email-m.szyprowski@samsung.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linux-samsung-soc-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 89D6B601C0 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Thu, 10 Nov 2016 10:31:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7337329614 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Thu, 10 Nov 2016 10:31:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67D8D29618; Thu, 10 Nov 2016 10:31:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4ACDB29616 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Thu, 10 Nov 2016 10:31:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932276AbcKJKbl (ORCPT <rfc822;patchwork-linux-samsung-soc@patchwork.kernel.org>); Thu, 10 Nov 2016 05:31:41 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:35062 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755024AbcKJKbj (ORCPT <rfc822;linux-samsung-soc@vger.kernel.org>); Thu, 10 Nov 2016 05:31:39 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OGF00JC398NC680@mailout3.w1.samsung.com>; Thu, 10 Nov 2016 10:31:35 +0000 (GMT) Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20161110103135eucas1p2c265f313525adb0f5a0e498d7592a9aa~FqQXZykwb2292222922eucas1p2J; Thu, 10 Nov 2016 10:31:35 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges4.samsung.com (EUCPMTA) with SMTP id 50.CA.28332.68C44285; Thu, 10 Nov 2016 10:31:34 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20161110103134eucas1p12d51176e2f40390b7ae8356471e79084~FqQWy9RgT2364923649eucas1p1K; Thu, 10 Nov 2016 10:31:34 +0000 (GMT) X-AuditID: cbfec7f4-f791c6d000006eac-40-58244c86e1d2 Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 66.CD.07726.78C44285; Thu, 10 Nov 2016 10:31:35 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OGF00DAR98IFU80@eusync2.samsung.com>; Thu, 10 Nov 2016 10:31:34 +0000 (GMT) From: Marek Szyprowski <m.szyprowski@samsung.com> To: linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski <m.szyprowski@samsung.com>, Sylwester Nawrocki <s.nawrocki@samsung.com>, Krzysztof Kozlowski <krzk@kernel.org>, Seung-Woo Kim <sw0312.kim@samsung.com>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Javier Martinez Canillas <javier@osg.samsung.com>, Andrzej Hajda <a.hajda@samsung.com> Subject: [PATCH 1/4] s5p-mfc: Correct scratch buffer size of H.263 decoder Date: Thu, 10 Nov 2016 11:31:20 +0100 Message-id: <1478773883-12083-2-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1478773883-12083-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGIsWRmVeSWpSXmKPExsWy7djPc7ptPioRBnvv2VjcWneO1WLjjPWs FtfP21nsuPmFzeLN2zVMFufPb2C36NmwldVixvl9TBZrj9xltzj8ph3InfySzYHbY9OqTjaP Lf132T36tqxi9Pi8SS6AJYrLJiU1J7MstUjfLoEr4/KJyywFSzkrPl16x9TA+J69i5GTQ0LA RGLTlxPMELaYxIV769m6GLk4hASWMkqsfjOHCSQhJPCZUaJ9lxhMQ/PslUwQRcsYJdZO2gDV 0cAksX/+J7BRbAKGEl1vu9hAbBEBJ4mFs/6ygxQxCxxkkjj+8xtQOweHsICXxOJjISA1LAKq EteWngLr5RXwkGjYvoARYpucxMljk1lBbE4BT4mWzTMZQeZICLSzSyyfu5MdZI6EgKzEpgNQ L7hItH3/DmULS7w6vgXqTRmJzo6DTBB2P6NEU6s2hD2DUeLcW14I21ri8PGLYLuYBfgkJm2b zgwxnleio00IosRD4ujCP2wQtqNE+/oNzBC/z2GUOLL1MesERpkFjAyrGEVSS4tz01OLTfSK E3OLS/PS9ZLzczcxAmP79L/jX3YwLj5mdYhRgINRiYe3Q1M5Qog1say4MvcQowQHs5IIb7+X SoQQb0piZVVqUX58UWlOavEhRmkOFiVx3j0LroQLCaQnlqRmp6YWpBbBZJk4OKUaGGWviWQ+ lP+oPalOVSJf1e/CrH/WW47t7g6In6QeuuCzbez1di79W3/CVrzeIeE8ZXlxwENvq76lz0+s KNearMiUX2kfVnb6q5ode/ClI8IsGja7UgIv1Mq12l+yYVDukdv/WN+4kuniwcuMW7e1PLp/ c3XUdKkTXy8mcn6KeLzsj+DmI2/dlZVYijMSDbWYi4oTAZG5xl3pAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrOLMWRmVeSWpSXmKPExsVy+t/xK7rtPioRBm+viVjcWneO1WLjjPWs FtfP21nsuPmFzeLN2zVMFufPb2C36NmwldVixvl9TBZrj9xltzj8ph3InfySzYHbY9OqTjaP Lf132T36tqxi9Pi8SS6AJcrNJiM1MSW1SCE1Lzk/JTMv3VYpNMRN10JJIS8xN9VWKULXNyRI SaEsMacUyDMyQAMOzgHuwUr6dgluGZdPXGYpWMpZ8enSO6YGxvfsXYycHBICJhLNs1cyQdhi EhfurWfrYuTiEBJYwihx8e1+VginiUniw7KDbCBVbAKGEl1vu8BsEQEniYWz/rKDFDELHGaS ODnpB3MXIweHsICXxOJjISA1LAKqEteWnmIGsXkFPCQati9ghNgmJ3Hy2GRWEJtTwFOiZfNM sLgQUM2HXf0sExh5FzAyrGIUSS0tzk3PLTbUK07MLS7NS9dLzs/dxAgM9G3Hfm7ewXhpY/Ah RgEORiUe3g5N5Qgh1sSy4srcQ4wSHMxKIrz9XioRQrwpiZVVqUX58UWlOanFhxhNgY6ayCwl mpwPjMK8knhDE0NzS0MjYwsLcyMjJXHekg9XwoUE0hNLUrNTUwtSi2D6mDg4pRoY/R9teO+T tWdJ74uo/dWbXKcypRwWbwpltONsKw/bbszQfPuMT/MplmfbNMK/9z1ylsnUes3Gf/nP53ep R7kEl2ab8ZbuXdlu5rrO40LNlaWhBbvrsnZ6JWfpcL5+ns/BHFL9WsIs9/OznYdd5Yz/z+d2 6pPfFMol3aP1f5ll786Ur8czv/xVYinOSDTUYi4qTgQAVPfOlIoCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20161110103134eucas1p12d51176e2f40390b7ae8356471e79084 X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRs=?= =?UTF-8?B?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRtT?= =?UTF-8?B?YW1zdW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20161110103134eucas1p12d51176e2f40390b7ae8356471e79084 X-RootMTR: 20161110103134eucas1p12d51176e2f40390b7ae8356471e79084 References: <1478773883-12083-1-git-send-email-m.szyprowski@samsung.com> <CGME20161110103134eucas1p12d51176e2f40390b7ae8356471e79084@eucas1p1.samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-samsung-soc.vger.kernel.org> X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/media/platform/s5p-mfc/regs-mfc-v6.h b/drivers/media/platform/s5p-mfc/regs-mfc-v6.h index 83e01f3..d2cd359 100644 --- a/drivers/media/platform/s5p-mfc/regs-mfc-v6.h +++ b/drivers/media/platform/s5p-mfc/regs-mfc-v6.h @@ -386,7 +386,8 @@ ((w) * 144 + 8192 * (h) + 49216 + 1048576) #define S5P_FIMV_SCRATCH_BUF_SIZE_VC1_DEC_V6(w, h) \ (2096 * ((w) + (h) + 1)) -#define S5P_FIMV_SCRATCH_BUF_SIZE_H263_DEC_V6(w, h) ((w) * 400) +#define S5P_FIMV_SCRATCH_BUF_SIZE_H263_DEC_V6(w, h) \ + S5P_FIMV_SCRATCH_BUF_SIZE_MPEG4_DEC_V6(w, h) #define S5P_FIMV_SCRATCH_BUF_SIZE_VP8_DEC_V6(w, h) \ ((w) * 32 + (h) * 128 + (((w) + 1) / 2) * 64 + 2112) #define S5P_FIMV_SCRATCH_BUF_SIZE_H264_ENC_V6(w, h) \