Message ID | 20230414015543.6580-1-ming.qian@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-media-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 481B1C77B61 for <linux-media@archiver.kernel.org>; Fri, 14 Apr 2023 01:56:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229636AbjDNB4N (ORCPT <rfc822;linux-media@archiver.kernel.org>); Thu, 13 Apr 2023 21:56:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbjDNB4L (ORCPT <rfc822;linux-media@vger.kernel.org>); Thu, 13 Apr 2023 21:56:11 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2066.outbound.protection.outlook.com [40.107.105.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84E8F2709; Thu, 13 Apr 2023 18:56:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c6cILiX4wXF9K41Hkq59e83/ZEsdfzhIem+tEY5qpIF6pN14+4nu980lLP61xACkT/aVD1OYoxqHTTdc/m1lcKhubfreG6j6VMeXiZ7Xm/fSc3eP7Jt6KVnybHTj4w3iNoKbXMhVjhEgoBoiaJLadGyP3KX+po1zaLyOeunvvoyQua5R59uMN5xRJOt46nGhXmeB3fi0e7zpfYSIb2LelMMjuKbDKiFJQMpke1oOgCbEsat0NIDMXDotbrRGXLymB6j0p9FIUuN4OtwVgcgStnjwSQb/KT0lVorFyz5sZ3b/pDl5+Vfp7EgZQc9XwZhkaylSA9CkdZTHCdbtWDY/Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Zk4IZ76MKU4M3xvdoZJ5jc+nIK0/ySTzVEZsnaSj4Eo=; b=LpqyWX4l5AZZLx3baF6vGhdsMDQVAYpPMX3H1ZNlPbpJjwCOmUvzG6/xK99SzLo40xubrNd1Hxlv2Wy8bIZC+wO+MlgSHFvTj9zl9+YikmP9YQbLEpANGx2vWSktzAVGv0eXyLHIa/mi3e4oK98lJcePnsLbWguOhPNJD6uumdCAfzBtO3Wqq+/ErG14jisj5fVRWRDPNnk1KRI/TC8nGmJ9wkbtCvDUVA5q4z3MzKz7YdyWC+E5SWTIlHZSHgeo1D2ECkAxY6PzrMNPwrtF920UxWrvZut6vjRtrTMSJbO2tvJ9E/AZ7ZadWSmf0+18ekwtEi0zwrNoan2cEqr0BA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Zk4IZ76MKU4M3xvdoZJ5jc+nIK0/ySTzVEZsnaSj4Eo=; b=RxAto07WQj8Cq3Kufz2JhgYOLcdsbG7l+MXwnVWpB3wJH+S+wwOZX7mZOoIDdhNCJ7x7xr+heCngGJRfIqJPuf5QOf4+V2gdC9rJLDSpDmAlprGBA9oIF/xd3V9TLRYBLP4xJpBTInOITmt8EZMJgibcMihlfOc3B39RfIxE8Dg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB6346.eurprd04.prod.outlook.com (2603:10a6:10:10c::14) by PA4PR04MB9342.eurprd04.prod.outlook.com (2603:10a6:102:2a6::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.38; Fri, 14 Apr 2023 01:56:08 +0000 Received: from DB8PR04MB6346.eurprd04.prod.outlook.com ([fe80::632b:b1a2:25a1:d364]) by DB8PR04MB6346.eurprd04.prod.outlook.com ([fe80::632b:b1a2:25a1:d364%3]) with mapi id 15.20.6298.030; Fri, 14 Apr 2023 01:56:08 +0000 From: Ming Qian <ming.qian@nxp.com> To: mchehab@kernel.org, hverkuil-cisco@xs4all.nl Cc: shawnguo@kernel.org, robh+dt@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, xiahong.bao@nxp.com, eagle.zhou@nxp.com, tao.jiang_2@nxp.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] media: amphion: drop repeated codec data for vc1l format Date: Fri, 14 Apr 2023 09:55:42 +0800 Message-Id: <20230414015543.6580-1-ming.qian@nxp.com> X-Mailer: git-send-email 2.38.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2P153CA0017.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::10) To DB8PR04MB6346.eurprd04.prod.outlook.com (2603:10a6:10:10c::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB8PR04MB6346:EE_|PA4PR04MB9342:EE_ X-MS-Office365-Filtering-Correlation-Id: b34842ff-afb8-4866-e5b9-08db3c8b69cc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iR1HoQh9A8SoG0YBN864NZt2FCh1bTP1detjICHUqWw4IVNwC4kZpjM6WkKSZhioe9V8PpnsXkJEuhHClCNOKM5HT3RwWHwcns/uwTrsKVYbPSNGq2rXsSUDyIL2stGLWCmrjWoJ3aeboG7Nmia2eGq+NJ+lyR36Uva6r4Rz1Ps3Fj5Es2y7p8wzCRbfrbYcfL7YUW1ouZ7AeMomfRKfYT/EnFe+VtPiLtSujREkorW0twX9eNIwWROUoNsYML9G/oTlFZjblp/N2b+h15h6r/IpwgWvRu6U+WR3ow4SyQSBDTpj2Y/yuAu21i7PHg013aSdMFVpp6iMe1fZsDGbf1WUKyyebYxuE9IGnHLKqWzIYucKbYDz+sHuGHEl4qZx1zYnQ+ou2XjeLKHhRgQqAbn+3HxFY97SBVDKzEtsBRnwqyNhPSK3WjQkLMbAsVU06HxAokAlWsDX2qWIL6TdeL0IJ/xpebhX2Ezaex1hhQUA1MM6Z10ZqsJmr6gPtxnlX7zwCeAGkqC+GBES5M/GpsfXbf1HXO+LNoGyy94awshZIkZAEeTCi6TGWybYZsSj+spaYiVKhkGuw+CSyqX+5gQ1xU09iBW9nQGuD7nSvSsWoOYbdQPCh/bR5TveiwZohg+AMFUM54Z1vaPaGq5ZYiLtt359jnQ/ivPJKhQ3+sw= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR04MB6346.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(366004)(396003)(136003)(376002)(39860400002)(451199021)(478600001)(6512007)(52116002)(186003)(26005)(5660300002)(44832011)(6506007)(1076003)(2906002)(316002)(6666004)(4326008)(6486002)(66476007)(66946007)(66556008)(8676002)(8936002)(41300700001)(7416002)(83380400001)(38350700002)(36756003)(2616005)(38100700002)(86362001)(32563001)(357404004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rNaL1GAFuNVud+L4Nh24cZk7DgIVa2/S36s1WDnHzFKxQs6qWdUXATpoXrrg962qEq85CpiJvVAgTuAhiYlj8IJJ3IEKO7VbkOoxw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nqMkIEEdJmPKeyymtC5djNPeblRIJ8vgJGroIgjuEjVJbIvSTt3Iqf9qh+AFzh1N91YNAr6Y5x9PKQn5Fxz7Qj5XbFyzrPMYFKCmzXLinV9pTLeI6IzXIeMk3oknE2QPkzq8+xtIMsbkUOl2yliN6UVrQ3V6baMHcxPdIkGDcABMRrg6G3moozYlbmZl0UWQuqjGLvtLw3HvzjOjSxUnNWf0M1tZ8O4pdxXBK0HuufjHGCzufcRiMkxX3UjG1pqtdPbLhXIzwlgLhWFBO62t4kZmZZBsuX1AYPcKwL78NDMAIQrF/yAUPwrGDB1VVAaqwbKYQrnRAvRby5VJF0fkaeL76u8aTuJ/KtM70RP8xrLUsrSI6NKF5EcW8bwZxOveCs+1+9Y85KEDlWsbVDnSypTS9r/gdU9Tr X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b34842ff-afb8-4866-e5b9-08db3c8b69cc X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB6346.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Apr 2023 01:56:07.9515 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 32VLx44TrDgRQc+JfNysFFIsVL9WcAJLO0uUSxkojMUtL63cjAgScPJBkVy+65U9XJs+wJqqnIQmFP/2l5WoZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB9342 Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org |
Series |
media: amphion: drop repeated codec data for vc1l format
|
expand
|
diff --git a/drivers/media/platform/amphion/vpu_malone.c b/drivers/media/platform/amphion/vpu_malone.c index ef44bff9fbaf..e96994437429 100644 --- a/drivers/media/platform/amphion/vpu_malone.c +++ b/drivers/media/platform/amphion/vpu_malone.c @@ -1344,6 +1344,8 @@ static int vpu_malone_insert_scode_vc1_l_seq(struct malone_scode_t *scode) int size = 0; u8 rcv_seqhdr[MALONE_VC1_RCV_SEQ_HEADER_LEN]; + if (vpu_vb_is_codecconfig(to_vb2_v4l2_buffer(scode->vb))) + scode->need_data = 0; if (scode->inst->total_input_count) return 0; scode->need_data = 0;