From patchwork Tue Nov 9 18:01:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 31354 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:d206:0:0:0:0:0 with SMTP id q6csp1495197iob; Tue, 9 Nov 2021 10:04:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJyIaCKQ6yNGT+NkvQN1a0ybLtvPDTnDQi0RDBCUe2S7fpcR8MSXasx2FfC/g9JdcW77NXDJ X-Received: by 2002:a05:6402:4381:: with SMTP id o1mr12149432edc.301.1636481064902; Tue, 09 Nov 2021 10:04:24 -0800 (PST) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id m5si42545886edc.80.2021.11.09.10.04.22; Tue, 09 Nov 2021 10:04:24 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@outlook.com header.s=selector1 header.b=gul3zKhg; arc=fail (body hash mismatch); spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 68FCB68AE4A; Tue, 9 Nov 2021 20:02:42 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-oln040092067021.outbound.protection.outlook.com [40.92.67.21]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9511E68ADEA for ; Tue, 9 Nov 2021 20:02:40 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rv+lgaIZ7hIosovENRijACSdRU312E3Y+N6FJhNDdcgM27R6YHpK6EBAXgkphkI23NO202aZelXUmYvwiekbQdOUBX29ynwERAxaTFtFbqjAk9kkJpv05gC0hjqGWtQ5Rr6QO3la6nQW+Bsa8hpo1EkLAiwr754ekYsolHvEGS3cBQw+a95o9/2K5Djr8P1OO8LS2/2GvPZdVpE4NCsYZcc6PBdaFHzkSZF0d22s23wduZC/ZolEmHDCHor6REjG5eTiVqDORm62DNF2urjuK0PFmZPQALaxu+0qP8fHT6wXXqiA5Lj0a5puanxougFdLMjqt3ofVBoro71BMpXSYg== 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=i2KbpsUHZrCQZt/W33q2dIhIG63FGsT0MFeliqtI6j4=; b=GHqqqmqkFdUuDJPSLsBBBR9GBIVSiaLSrk+EAECBQKZGgp3kqVwZXl5TjZSjVvmH26+6dyN/cx0QxuLJcyS0857jEOpQ6SuHp6BWcO1LTUQgKhlh3xyHe/CPkxqODzW0DLqFbmnc2XWKv1D5GrBQvzHRJr8pJbSr5JK46Tk3pOsBxnRSQith+cbsji9GVS6poF0756utgGnnJF7aNIRgiTN7vPfqssVdbLcasITag9be8Ja/xoIdagTiak4Hugng41UHQ+2srOnI/iuhmM2WVV+tmP9xAen+Vy2BfqYUIpb+qDudiXQhfv+xwf7OVx3sleSwPlKZ0TwOJNdaUUx4zQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i2KbpsUHZrCQZt/W33q2dIhIG63FGsT0MFeliqtI6j4=; b=gul3zKhg30Hc2GyUUHW88vLRY8LLGoyX2q6+XHsU1NFDtUl+eWgU0rvipXn2W1aqjNHRbGo0iRyaIlFEm5LxUKzOxn3FgpgWwnixli3ZMSAzZQwWYjr3/FMe0xJBMX8q1Ed9Q0ApisQRX0YhF/3nsk50SmsDy57GrGJEQt18z8XcyrA2pVKDV3MiUCIJXailsv8TwL2tEtCQzupOrz/KO4lLYBAdOeRIvQp/lZIh49XIqFk+1qU6M8JBtPcf5U7hjOgHvcorodj9TsqVWPNG9ktJL3RwQs3Z9ZPmbHJ3x3ECg3xKc6BYwcShSVWUstsKPPZ0eNraGLD814OYeJzqrA== Received: from AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) by AM6PR03MB3959.eurprd03.prod.outlook.com (2603:10a6:20b:20::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.16; Tue, 9 Nov 2021 18:02:39 +0000 Received: from AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::700f:d70b:3bb8:4d51]) by AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::700f:d70b:3bb8:4d51%8]) with mapi id 15.20.4669.016; Tue, 9 Nov 2021 18:02:39 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Tue, 9 Nov 2021 19:01:50 +0100 Message-ID: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: X-TMN: [WjH04FqezoxC69f5rO7wi4mHuoPsuz6x] X-ClientProxiedBy: FR0P281CA0081.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1e::7) To AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) X-Microsoft-Original-Message-ID: <20211109180155.881111-11-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from sblaptop.fritz.box (188.193.171.90) by FR0P281CA0081.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.5 via Frontend Transport; Tue, 9 Nov 2021 18:02:36 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8ff3eff3-a4e3-4400-e1b1-08d9a3ab1df1 X-MS-Exchange-SLBlob-MailProps: S/btQ8cKWiRIlshE2JAC11E3nazVg9Sy5UlHFc+jAVVrH0NlZ3falLl1kzDBUhsUxOWOV7AGDKGCnS6cW5PxBECf1nDlhci7xUaqlmgzzcNXxy1FlvOsbt0dkzTPD8nQX1dyxlwtBD2GXYs6XtGh5uLPxC7sZ7nr7Tssz00NaxHSZNh5xa4ttBc2Nk/GHIjjQYxtT1fvNlKjVt+aZEi8l75UZN7ubwYdvdAg+TTaz3zBwH9PfVxHJoP5VVZhh+waCIEUja2pTUd5yXKk2XJkVhLArOP4GQzZtjgXoqBXfDxIiGTGvdQPmI9TmYgp1RczoOzffdy6ICaEWQsydNhqCqrJLBB/6uMormP2bALUEGreXLIqi8xHtzw2wVsiviRRO1i3CngINnFzkvXmIK3JT5eER/Jp6E9k/uSbQTQ2ClauQb3OVan7J0JmX0Ts3VZHOmEPHrNF0drVjI2/4QnxmMpdC92toIANSs4SupxeV0PHIU0k9Yg9Ljx387zyGKUAnt9jN73AAobDJfOjPmR91jojFxkpxu7FTYpFXDlB4X5UNpC9raq9CNEeXPM0VWdEt2TWRk4VxBhFFkJWeIU19I+vGwlfzumbkdN1A/voaZLBCcLO2WJHeEZweMdg2cXIoNiOP2q7eAJLNzWo5Hdw0C0Jr0UXObVNfMKBDtim8IVd6IOYXytZ2a9Aja4V9wp7VTihb04I3PrE4eF+bO8nNccppAncDVLr6dUvd7cC4ch65i/2iby0vuFlxtHF4cXOH76ti8RHDoY= X-MS-TrafficTypeDiagnostic: AM6PR03MB3959: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bUXH656Gk83T3DqiYGJyUuzmCp0lGzlrckdcZ7tKToGqNTRI2PtanZ5zA71dQr+aS9k3EEJ5HM3rP8TGLip0cg0g0AVEa6dEoQm9IEZksSAE96pRVY3XG0aFWl+i8E7a1hxEOzrYcATY97CvBMdU8cOdTPRyjeSSxsFvxby0KCBwkT4nbazVE29uQe0+tFYWIVq/lX0Bet22jL5tHwEvrxPbZpPhJOcb8Y+rpL6RvGPvwhz9yFXt9Zzr4+rmdBRtAvq2BZix7o7P264FeNVp1fJBJd/DCzBy4lbiW5HWyDVBXmVMiMnuosg1BHPuJyM55R/HIocOgb5EYXFxQl4fG7Kg8FDVboIm8oVy0dm6hzRl9e4kIfJZN2QFDcQ7ae4MfM+XJx530W17sjLcOG9kCXdaCs+7QY85Jtr4inEecLeNr8pCZYQdR3uYCTo1veH1f7GGUirflwNjfihOcOyPeeKpMQKM9IR3uuEs4BTeCa1CjFilbnYhILJeD92rpVMlYqsFGEEpumECdkpu4AgY1g18hgT3NeyeJ5RddiQ80Uc= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LVSjXrOuf92qMJSPV0mzAk6bCuX7PcW73S6RCL3dAPPbtYFaJtiqF3TeMrkITIfm9z8P41xSMXU9iQb7M9Vo/UaJIGAtnr9mfAU+K1FhG44TkDPJn/YOguOa9ROmNJH1rn4KvAzXy7eIJLFqU+nUZYsYH4B0STUFvq5Hq+qOKTwg5iDFs32wRRTDFVs6nuYcEthnKIKcAy4vEmesgXTyCByv6VDM1eMEgr2+XwD3FHl945i4ffRskrpQ2qlcuOO50LAH7sQzj9vm27LL7cM9kgW01LSPoPknpvkDtRt3LLnlP5YLj9mNNetV7h9D0wVhhKi7PQpbUSph9COr8/pOr/RWriuZ57HuU/QDpRdovZqkJZSALpng0kEeu8TLs4cH/dc+7o2tRNX7eoRuezPyTxCpG2asZUwGq8WGKKn9m2vKmo+7ppek5xhX5l86V693Ib33WQPhAlnv9bpZMRfavlG63Py7T53tlpiJ7CihL1Edi5k5X2ecTp3WN/chzumJrr42zZoHY+Vv11UYBaJAqCr2APjz9u75PRTOTTJZlNCCs5nvj+ebdd6JEzpztZideVx1sk8Hlcg/da5v/WI/2n37zzI+MfqF899OyYdMgyQuo1ovnwihsgZ/rC+CG8QqsDWXfBkGyABAPvntwyWAAajaaT8EVrnzLld1Z0CBi5njhx25rwVhEWhUBuWciGnHUVcU7xViVZNxLjLS36J/iA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8ff3eff3-a4e3-4400-e1b1-08d9a3ab1df1 X-MS-Exchange-CrossTenant-AuthSource: AM7PR03MB6660.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2021 18:02:38.9460 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR03MB3959 Subject: [FFmpeg-devel] [PATCH 12/17] avcodec/dnxhddata: Remove avpriv_dnxhd_get_interlaced() X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: Eb6s1+C92FiK It is unused. Signed-off-by: Andreas Rheinhardt --- libavcodec/dnxhddata.c | 8 -------- libavcodec/dnxhddata.h | 1 - 2 files changed, 9 deletions(-) diff --git a/libavcodec/dnxhddata.c b/libavcodec/dnxhddata.c index 3a69a0f501..e3b260f328 100644 --- a/libavcodec/dnxhddata.c +++ b/libavcodec/dnxhddata.c @@ -1105,14 +1105,6 @@ int avpriv_dnxhd_get_hr_frame_size(int cid, int w, int h) return FFMAX(result, 8192); } -int avpriv_dnxhd_get_interlaced(int cid) -{ - const CIDEntry *entry = ff_dnxhd_get_cid_table(cid); - if (!entry) - return -1; - return entry->flags & DNXHD_INTERLACED ? 1 : 0; -} - static int dnxhd_find_hr_cid(AVCodecContext *avctx) { switch (avctx->profile) { diff --git a/libavcodec/dnxhddata.h b/libavcodec/dnxhddata.h index 898079cffc..ecb1cd0b2d 100644 --- a/libavcodec/dnxhddata.h +++ b/libavcodec/dnxhddata.h @@ -90,6 +90,5 @@ static av_always_inline uint64_t ff_dnxhd_parse_header_prefix(const uint8_t *buf int avpriv_dnxhd_get_frame_size(int cid); int avpriv_dnxhd_get_hr_frame_size(int cid, int w, int h); -int avpriv_dnxhd_get_interlaced(int cid); #endif /* AVCODEC_DNXHDDATA_H */