From patchwork Tue Jan 17 02:31:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ming Qian X-Patchwork-Id: 644501 Return-Path: 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 1CEBDC54EBE for ; Tue, 17 Jan 2023 02:32:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235323AbjAQCcV (ORCPT ); Mon, 16 Jan 2023 21:32:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235196AbjAQCcU (ORCPT ); Mon, 16 Jan 2023 21:32:20 -0500 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2057.outbound.protection.outlook.com [40.107.7.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 465D624107; Mon, 16 Jan 2023 18:32:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G5+fQtrF7gC6/+K4Qj68qGVPpeAG6xGW9ivbQlwGVR/nfBOksUdDLq10nTt9IH82sAD7swBvD4u27fNPffqKDE3sWj6kcaq/3GbplXZEKrVu35gh5W99LhgBrsGeHX+JawDi3CQQrGAdWgCh6xjOu+iS7+8vGbwUAFLilrsPaboVmonfaM5rf36kDZSV4xqsTMQs1OhvK84EnxiFUuA5gQfilIM6pXil9dwS8zpijWsvVv4C9XvWWFzUR0dbWmXRHgbdZt0LEi5+TWC9R/7yNDIEYhSubSuSVAyyHi5pOJ/LRWWKBb5Pe7I50DM4d7cA1ombMt2z996yz5jLpi567A== 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=TssVzuDy/1cF+tAGcddRyhQgwX5T66VEzp9nT+80AtU=; b=Uot0jJxCMh3S/dPNZuc5vEwpGkkysD+3AoT0gWyrUvDIkQ+skkQO5XCX6P8drdXGyAk2ybvGk7O/zlk/j/AC7H/ho5HkPysYNed+nTrj83HeK0A/VkT/59KqRgi2V9EWYfVlQbz31Qx+G9W0M/IS1GLayz+d3q3k76inyviCfJeXLcNtUnMmFjt3SCEPIQn5haTHjBjQTmoRaH6EPgWMxXrVDsaWRQDB5uIA1qK2ji3OSoptofohNZPBRXCtHahs67HKL1XyfkBhFaA2HgPt2kFkv/g3pxnG8Ua7tnebtR8jyu3zu9ZKWoT6zi07bNn6RvvEqegDJltjEpil/jnrxg== 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=TssVzuDy/1cF+tAGcddRyhQgwX5T66VEzp9nT+80AtU=; b=bkcOYJZv+TTi8s1nid6EOIDrh1LZdybRff6IFumvpo4IerLJALUcZAUob9CnLvORujeVIQwYguqOzxCcuHvq8Lr2Nl2cCgvNeLBsz8+hlRhpAHUTIX5YJFESl1+8qY11TcJUdejyQrUBnEfD6GRpy7OTzMO9GY6UV+ZfXgsScDI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) by DBBPR04MB7786.eurprd04.prod.outlook.com (2603:10a6:10:1e8::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.23; Tue, 17 Jan 2023 02:32:13 +0000 Received: from AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::3a82:42b3:f1ed:5c3d]) by AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::3a82:42b3:f1ed:5c3d%7]) with mapi id 15.20.6002.013; Tue, 17 Jan 2023 02:32:12 +0000 From: Ming Qian 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 v4 0/2] media: amphion: decoder add support to RealVideo Date: Tue, 17 Jan 2023 10:31:53 +0800 Message-Id: X-Mailer: git-send-email 2.38.1 X-ClientProxiedBy: SI2P153CA0028.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::9) To AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB6341:EE_|DBBPR04MB7786:EE_ X-MS-Office365-Filtering-Correlation-Id: 99090e76-8572-402a-0949-08daf8330a47 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8q58CyUmhtZg5ufR3Glmpg/4SQ2808cgMs83ZeD9gaZjyNnV/U3Z4O7ca8GMfg94AKMRe35wUmG1UEE7OgL1WCd0zlPL0408PoD6GdxUpm/ikXzvNVKx+xvuqSucHWLqh88PQQSgYubjNg02FJXbYugh0pgttkRUSNV0Y/q5Yjc6CBuToF7vQH/LsYLKbdczLj6oPtN7Py4xxYbk3/YQCcGIUzQ7sVEY59GbEJWlafq+oMICvIFTjd/7VhuPeD50HvKCHuHmHK1oeX+pME67KicVCN1pahqLn04Uglmg7TxXxrahhBqpvgRAS3i6JoEnU0yQc9toishIb34MC+XZVfZdKrJSVdz4KEBWieSrIo0ldc+K4mRdskPbQlc7vLCCufN2sH3l1aMXc52mYh8TsdeQsKj5dx3j4afAXHgu5ibEdxU/noCfrc4ncVo+/fx048qrnzIIyc6hRgqRBmw+/fFQA54iiXV4gNe5ldLAVMf6Q95IcDjfNzZB6HlQbiDDiBnUPNSFSb1o+f4fLb/+p9pB6iyZTFPXYdwm2jX8BlZpIE1NH9fvRwSUIwxGHLfvjB1AqvSP6OA/8T+h+ODXg6D+EKCP0Z5tZMxjdF4ihz2zzFb/FcLs2BqMC+XiYc46iLic6TXG9FnWXrqNbR1NjlJWQW1UDUPVnsR/bY5d1PtfOzOdIdYQfuGZQ5atELFNXc9hm/4qrKPzpl0h9lXKLg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB6341.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(376002)(136003)(396003)(346002)(366004)(451199015)(86362001)(66556008)(41300700001)(2616005)(66476007)(66946007)(6512007)(186003)(26005)(8676002)(4326008)(36756003)(5660300002)(38350700002)(8936002)(6666004)(478600001)(52116002)(6506007)(316002)(4744005)(7416002)(2906002)(38100700002)(6486002)(44832011); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: MBpqkW4eIKgXd41s/Tg1NH7Ab7EWzil8g9M94RXRMUB3fQ3jIpd7ZFBcyQA9rcCDgSNRM2uI+c31XnqrBA8RnIRcq6/XvCrlfo5S9X4bI2C5BWhPKXkoj7+txdRqlmbvJNGGTtwIhfdMHLZcj0q4dwOImvSKu9p/AVuhLUDKCpL5gjghPbOv4CXNyZ7WTsI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o2cMsZhEZW2ea2LZdAW02W38hB2cM+0G45fsH7qkLGEjXT6Gk7dQ0PThIighzJwhnYDDMnPWMxScyzuXyF+3HRAMtd9+3qCa32oU9MQ9xDpLSqwtZ7vAPURG/utDdtLfbOeBiR+DgZ0roNcQWx/CoTW9WNkWCvr+2HGXoyuZuCDKriKFHqh698FtBqH2HToxVeWYkv3ml6g9bFNGlBzXvbCkzierCmkkax4BHuL84zoowVZlQiKJ/QHV+72sDKA6Teko3jZwQStbrKLVUPSnB0jgb5wsjKiofYIJVbxrZAnBtrd90PfrDr/sIbgs9f X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 99090e76-8572-402a-0949-08daf8330a47 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6341.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jan 2023 02:32:12.9075 (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: C3HlN05bicSFwPd34kOo7nItxuWxR/PPQauudJQsP2RRnlwSFSZGoxGwkz4G/SNasP2sAfyR2kqF/GAH7SflSg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7786 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org RealVideo, or also spelled as Real Video, is a suite of proprietary video compression formats developed by RealNetworks - the specific format changes with the version. RealVideo codecs are identified by four-character codes. RV30 and RV40 are RealNetworks' proprietary H.264-based codecs. amphion decoder can support decoding RV30 and RV40 streams. v4 - fix typo and improve style v3 - define respective formats for RV30 and RV40 v2 - correct the format name from RealMedia to RealVideo Ming Qian (2): media: add RealVideo format RV30 and RV40 media: amphion: support to decode RealVideo video .../media/v4l/pixfmt-compressed.rst | 20 ++++++++++++++++ drivers/media/platform/amphion/vdec.c | 14 +++++++++++ drivers/media/platform/amphion/vpu_malone.c | 23 +++++++++++++++++++ drivers/media/platform/amphion/vpu_malone.h | 1 + drivers/media/v4l2-core/v4l2-ioctl.c | 2 ++ include/uapi/linux/videodev2.h | 2 ++ 6 files changed, 62 insertions(+)