Message ID | AS8P250MB0744A86B751D659F61B9A53F8F1B2@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Superseded |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a21:1509:b0:1a9:af23:56c1 with SMTP id nq9csp2272011pzb; Mon, 29 Apr 2024 14:18:35 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW6/CL9vc4lsHxgMMsTAfdjzZ/+eOosNKQgrsvOkkORTYQ6pO5JgUde4uWFsSg01lAVu2SGxYKOW0JBgLp+a/8UXnjykqI2U7H1Bw== X-Google-Smtp-Source: AGHT+IE3wrxM5ezDscoqntk6s4F1vRKuvgaDuUXESMUebte64Oy+SNwYWMZn9h9C/pj4WIF5NBNv X-Received: by 2002:a50:9fca:0:b0:572:459f:c7a1 with SMTP id c68-20020a509fca000000b00572459fc7a1mr7456079edf.16.1714425515599; Mon, 29 Apr 2024 14:18:35 -0700 (PDT) Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id h14-20020a056402280e00b00572024e88b6si11212058ede.489.2024.04.29.14.18.35; Mon, 29 Apr 2024 14:18:35 -0700 (PDT) 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=IbbB7Nks; 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 02E1C68D4EC; Tue, 30 Apr 2024 00:16:23 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04olkn2049.outbound.protection.outlook.com [40.92.73.49]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 35CC968D581 for <ffmpeg-devel@ffmpeg.org>; Tue, 30 Apr 2024 00:16:20 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BdzfpARguxeK9A7llc5HMJhePR3ASgSAna6akuNVDJnj+4wNp/UA35cSQp15zje9R1su5DejWiy0o5iwTG51hKEC1gf1xn7VZQagBB/B6Qyupvr23zqLGhqH/+mG6B2kSHoPfCj5ujmIERTD/Sane/o+i+SuqPlGu/ccNfRR83bAAcEjH6KmlW6zxp2Z7FjRLzct2xvvzbzyWF3k/4nkzTJpuKhP0FcUA6mDeJw7BnvT2HPG4TNmPfoSEQaRcyEBk4GLkb3xM+WbS7ulIwsp5rDykGLmfJclVYy1xbWIB2KrHs+JHIZjgepNwJId9g+XBM6SbyXJbQjSHbB2ciE5lw== 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=eBK/z989gcNltQSWpeCi0fPGWxbktnARAGoUcfAlpPE=; b=RLRqzKk01Jowc4NKTiIkBWNocrjn4/B3KFVu/07kMGimwh9HIGHjqfl6Cvwm7roA2Pm143zyxgaXt81WjN8DHp6QrDPTzPdLG3SpToGypYXIyzoFBfUjXb3/TVFlAx8nU3q+rbxtg5QdLJ0l5zH0hDyUo8VAySf6ImZIEgGHSlAuy9NthLDbBX/gJotSHis6AR4QCtm3QY43KNeie+orKfx0h6lVtjVnVaqADgb6xdO6K0WXA745T3/hThJsUCXexrnKV5sAjAl6ibzR0WOM1cllXMlrdrBhJ3wgqMhkQD535QW01a0H7MaVAVeIKma+46lpCCIDDJEqYF7q7RUfaA== 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=eBK/z989gcNltQSWpeCi0fPGWxbktnARAGoUcfAlpPE=; b=IbbB7Nksi22bOY+z5WVReboUKH6NSdVdPgXsEnfnyInFf8hqDzUVOKFLIpkFWRedQlfi92Ab88uqTlJ1Be7jg9YEM7ktoWiGf0GQ4Ra1qS2eBSOO/Te1UrbLOrnmJFnvBtyyHW1N8B5BMIE2LM5S8sdAP7YUP1jt8zig9YfoyUMuMe0AH2LOygWFEP8TjbOx6eU1yQOUwnO2tYUMPYLphUBZB5sJ1vGzglNU0lF2Bu+42GldNFekWLFU+m/f9k2IF3enazjZHIxXsysgNmOq8GTZ0MYYVcmwZ0m0zny1GsSNYvXOWOQ81JyUjxGhtvTosPg2nv5gcWC0eyqEep1cPQ== Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) by GVXP250MB1057.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:1b5::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.34; Mon, 29 Apr 2024 21:16:19 +0000 Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::1f29:8206:b8c3:45bb]) by AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::1f29:8206:b8c3:45bb%3]) with mapi id 15.20.7519.031; Mon, 29 Apr 2024 21:16:19 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Mon, 29 Apr 2024 23:14:18 +0200 Message-ID: <AS8P250MB0744A86B751D659F61B9A53F8F1B2@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.40.1 In-Reply-To: <GV1SPRMB0021759DDCCEFEB3B9609B808F1B2@GV1SPRMB0021.EURP250.PROD.OUTLOOK.COM> References: <GV1SPRMB0021759DDCCEFEB3B9609B808F1B2@GV1SPRMB0021.EURP250.PROD.OUTLOOK.COM> X-TMN: [mlEvB38gaoJylMtOOoT671uQJildCZM/EbjLVIYfyXk=] X-ClientProxiedBy: ZR0P278CA0199.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:6a::21) To AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) X-Microsoft-Original-Message-ID: <20240429211438.3274834-23-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P250MB0744:EE_|GVXP250MB1057:EE_ X-MS-Office365-Filtering-Correlation-Id: 4ed41fe2-0498-42bd-d6cc-08dc68919ce8 X-Microsoft-Antispam: BCL:0; ARA:14566002|461199019|440099019|3412199016|1710799017; X-Microsoft-Antispam-Message-Info: ian+GjQeSP8x3MGbn7tfUvu2YFblT4twBwgxedOODw0Gt8horcNIWO1UjgDzzTaOyEbM3C4PTTVp3LOPMosOkjEOwZUuCerVWbiFtKH5VXC1ZpKQ6Y1L5W9mlo9pwHMQrqfLmTbIrBWbGTwLAV+iCtJ9Op7tliUZr7Spu4K1dzF/wNYBEvo3ZotsplYbto9KhxQZroKKV/owmqsxVNCliOKehE3RLE+k210FxZjYo3xMeyWteorS2aebABrIpGB4/2EwHY+ZLlyhiGexwRZcjnRBqeqgp7ZZjEi0Ymi9EDsvWyVZSKboBAMCJ6BmVZM6kqaE7US4rInDcAPmtP6XBD7H36C9TfQMVEUU6SBX4jxQrG/pbSl1DUAvAeM+3q8lgaIB29V6AMPiA75ZXyVBA2p16DToLolH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YUBvABlocmdqKmXAq8cmc/uBl+T8ymsfb+QO57GuKcbXE2UB56xTRUsXeyjTYshXsRRD7UP3Vsb36j/bD0A++V7diNxRilxesyqjLqDuirSgutBuY4BaSkosUSsoX0EJ0ElL781vZq2BhzjVl6BCp6l/blzii4frkPRBUecNYzJU5WiE7RuwqKCgn13gBIoVd6YDPv74+EJZi9yWpc+oXlx7en+cXCn6yPjbyE7aCha+dIgRZomcl2urvinm7enhR1GnZJCt9Hxj+uWUnBn9hmGbSbGx8rSUbYezH0/7ORHaujBMOuyKJp78OhWpC3PfcH8gackoyjtwg36Tg6pVYl+K0iftBGFOg+Di7RNoJtdvb5NcuP9cTRfV5gF2dz2szDMk9jCQeIoPi0KH61GMOiP/RFn6AJGb5kHjtv+nhl1NhhG2UQKkAaZhJ+MPwu/mhYhlZkrnk6hgAPZn5b/Zcq8FWRXGg/jet8pYHMRVzhZjkDL4KbeDzw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4ed41fe2-0498-42bd-d6cc-08dc68919ce8 X-MS-Exchange-CrossTenant-AuthSource: AS8P250MB0744.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2024 21:16:19.3927 (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: GVXP250MB1057 Subject: [FFmpeg-devel] [PATCH 37/57] avcodec/mpeg12dec: Only initialize IDCT for IPU X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Cc: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: AVp55xZy8sYy |
Series |
[FFmpeg-devel,01/14] avcodec/get_buffer: Remove redundant check
|
expand
|
diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c index 097e4ba19a..3cd706de36 100644 --- a/libavcodec/mpeg12dec.c +++ b/libavcodec/mpeg12dec.c @@ -2830,8 +2830,9 @@ static av_cold int ipu_decode_init(AVCodecContext *avctx) MpegEncContext *m = &s->m; avctx->pix_fmt = AV_PIX_FMT_YUV420P; + m->avctx = avctx; - ff_mpv_decode_init(m, avctx); + ff_idctdsp_init(&m->idsp, avctx); ff_mpeg12_init_vlcs(); for (int i = 0; i < 64; i++) {
This is all that is used. This is in preparation for further commits that will extend ff_mpv_decode_init() in a way that will make it possible to fail and require cleanup. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/mpeg12dec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)