Message ID | AM7PR03MB666078A6E2D1AF1D0579F4128F7E9@AM7PR03MB6660.eurprd03.prod.outlook.com |
---|---|
State | Accepted |
Commit | 4a9b460a096f7225856550c2eb3a41402b7b812d |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a6b:cd86:0:0:0:0:0 with SMTP id d128csp7107006iog; Thu, 23 Dec 2021 01:16:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxkFBj9dTay3WvXXDBEBNhXRoyhWIpc/KKWZ3dyx2Lk7eUAg89+/ZhBKNsGMmUzHA4P0KuO X-Received: by 2002:a17:907:7fa4:: with SMTP id qk36mr1212309ejc.308.1640250999707; Thu, 23 Dec 2021 01:16:39 -0800 (PST) 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 ht21si1829236ejc.442.2021.12.23.01.16.39; Thu, 23 Dec 2021 01:16:39 -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=LhwF8zg2; 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 8DB8C68B1A0; Thu, 23 Dec 2021 11:14:39 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-oln040092075109.outbound.protection.outlook.com [40.92.75.109]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1583568B164 for <ffmpeg-devel@ffmpeg.org>; Thu, 23 Dec 2021 11:14:36 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PUpKZKrhMsqHkvZgIdMzzlXBkF6rBA3667Ce4hJwtxH7YOC1MguCfST4ESAPefXwTtWWlV5IKrCbVAE5CDrwQQHQOnAO218ZkmjOmj8tYz0zPznn9pS1O72R3BLHcoYHNWGMa+bRuUbpChzCv537TIq5KEdfoTDlrjmDSI9RcOL+FcFBawJEWsjFgiRC+qyODG4t659eD8ckVkXSJVLQ1FIfTr6WFmo6zQvA50oRupUPX3lxgWM2gTOnK5IEqy22evqkBgzeRIWKD6YV0gkROjThv6LX3pP4g3asboPPd2zyCQNIKe+IcZrw0yfWthYMJr4O1uQGCye21vjVKVt2+A== 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=7udnUeWw1zUQN/8KTHtGb+/EyA+2HiqrQfPNkUfxE6c=; b=XE8akIpmSNNdpKVDy0c+prKehfB3iWWwCuY1jTpdZnf7KK+C6mlT3PaO9X5u40XJj6TQ6pvl0tu7zkBHK6RVsydcSoobdPYxQP8CGfB/jFYzoL6tX0oH+g2jPipErw0RFTkSK7PVslbB+TvbDerPUKPz4eT8NMlPM5PhG4O8pvLpQlzkqSTNtUcZL8nkz2iMI8ZurDsJ/hERMNjG7067TezRzKlxg1uao3FbfVEF2TfQvqXjLTBZAEH3jyKBSxM4U3L5vOVtRAh6LT0ww2bRi2sIPnW//pLz1yO+fEJeN3NQ1EZv42OM6Sjn3N7VR3q2g1fdMRg7EBxXBCoujRP1ng== 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=7udnUeWw1zUQN/8KTHtGb+/EyA+2HiqrQfPNkUfxE6c=; b=LhwF8zg24yyrW0di9rCZtDKNMkhlfN+mCxxvLtviTDebTeGtoGhOU/TazZnBXTRtgOrkCQ1fU0iD/7Q/HU9CyBS0AZAs6PwAusiDpLKQ6rvEvQFAfE8QNkImT3GuJckn9uxGFQjTR+oS5DuhBMmlIQHjUxy9q1f3Z0pTThM2Viqwa1gIvpukf5SeaYr67nql0LP5B+yy2+vMuAoZCbtviJn2qObAUJX4FL9L9PQNk/YyI6PiqOh5bDR6LFmf4Ze+sSoQ5P7eGmCrBZOhxVOBfOmZywhO9gxaQxvHQ0JmRjk8wXk2vEfmS2XEdk+lqjpDVx30kFRQPILbnv02eqpZ2Q== Received: from AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) by AM6PR03MB4614.eurprd03.prod.outlook.com (2603:10a6:20b:9::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4801.20; Thu, 23 Dec 2021 09:14:32 +0000 Received: from AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::f0dc:92f5:6bc2:45ca]) by AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::f0dc:92f5:6bc2:45ca%5]) with mapi id 15.20.4823.019; Thu, 23 Dec 2021 09:14:32 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Thu, 23 Dec 2021 10:13:40 +0100 Message-ID: <AM7PR03MB666078A6E2D1AF1D0579F4128F7E9@AM7PR03MB6660.eurprd03.prod.outlook.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <AM7PR03MB66606013F665BF849CE7CAD68F7D9@AM7PR03MB6660.eurprd03.prod.outlook.com> References: <AM7PR03MB66606013F665BF849CE7CAD68F7D9@AM7PR03MB6660.eurprd03.prod.outlook.com> X-TMN: [uFOsaiR6qB+Kx25EqlS5Cv952daSKcIT] X-ClientProxiedBy: AM4P190CA0016.EURP190.PROD.OUTLOOK.COM (2603:10a6:200:56::26) To AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) X-Microsoft-Original-Message-ID: <20211223091340.1450013-16-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 27084e17-586d-4521-633a-08d9c5f4a14b X-MS-Exchange-SLBlob-MailProps: S/btQ8cKWiR3EehW4kxQzdNcP2D/mG1JYWqBgP0Kj3pYN+sQ18JLA4R04X1J11oQnACHk4lDW4kYTYzdpsDhpNMB01xCi+aZNN0aeexhSVuFG2SbhNnReF4HV4XEdDJvcgv2I+UAxGlopzUyLzLBjPliMTqyJv+ETlMebfOmnewjUt8+6yiMloZl5MbkfRRZSl1alLQz80dMl9fMZjaeMzP+jkd7ho5bFYpuMBHLyb0OgV+p9KgJDtZF7vh3l4iVygXH6o4pnuPtza1HHdQlPAKFiHeSZEepUgKbutk1qbaFTBO4wiZyNn0mSiNgAbDtBwypJbOC4nZ+5vE4sAQnYPdKE+k/QmWuNkAiZXiA+hxq2ZQMJDKBDMDZbP0izTvzK0/GQVh1zEXQI4uweuffcifwAvsum4AIeDzQfWvcFQd+/n024S5spr3yYAqCrQV4NMfBNIJIA9Pz8KhUsA8fMti1I+rbn95hbZp4Im59JwlCij/vVZvfQ0NgkkmyRI+xgZXiaDuoCRcAWXnmtXkvfelGVrWnpR6Zd704QP90fe1bajxfSNT6E5cw7E4R2vnsYynmybQht0c6Pygx+ZCoGW0n0KyzRGMhrtv7ircegYGpATaQrolZjiitECC2zCKJRsgRBDp0FHGCBla4MllDIYWKTv5i1sBAr5BWBQg8Sy+DOwiY9K485qAabStabeAhIjftsot57p1fHm6bfQXppMm4t3HsjQpk3dXEPkDjXpGUVcfiWTLXrCX4jKTsFD28GN4yZb5kCic= X-MS-TrafficTypeDiagnostic: AM6PR03MB4614:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cXMxJmrH77v6HoDdYABRQJBLBd/68W7xDtqxpeU0a63dYXcUFFQelSd0GkFGrJJIfGwOG/hoQ/PZr3VBnNmu+NC97oSQJMXHMJYhRaUlh1HRt4zCoTR3G0ESpEn+w785ZXz4sDTrQq3B+k0pv3VoLaWMPhq4qtdOsLT7ANos3MtxDSDe1rbSHA4f2oTq0X8NiyOGutIr3RLCC2nVJ92liE7m9TD5wp/vwJwBOaItT7hIOOHnH01CVSGBl3jM8FOzHwrb4X2RMUDniUqTJKiLQCNmJw2fwpWOLOjSwCFdtp/IBBfdMF+8TiHqoV2iot53KscPP1BzwV3YF7FrDptHSJX4x+WvkFsm9wMISdZv/LEnU4hRR8kVkkq7A1ylGPsgFCDxExoufx99t8rmo+uGCc9dsE6MMPbKy4CKgy15ghllVd2dgRaA8owhB6SEsoOezOZSH7LdkXLoMpSTxfcrd2YR+3CNY+5Q3jm4pMkBvShtpcatxZ7xqu8On2R7yPQPRQalmV8DR/0W9bN0pUC8quGJWUFAqfJC+IXawYxLzbaBcMEX/aI/Jhdy+kD90NOIjyeqfipHVlL7o71pThqMZg== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bsevp91IIg5ObLPhs5DklzZLxqKf/XZ7NP2CGK4DFhzU71m2nJePa/ZQvShZ5C4snRkHbSo3eqoFf4VGppg7Y1TELwvS55yT8ruYUlrA1QYojjQt9uP/n1klnubUkMZFcp4LFsckDQRtd/jaU72xPP4zkT3xPDAf58IYubV2XifRDm1zdfBSVzfEmfyiova+rehGL3QOMyGE3ayt6pD3/rG0GNVwgzCSCg9scoZEemCmCrOM/4xQTUsuXc6zzNBsVp9c7cTaTIOVfh3Oio+S0lsTWhJBJGnFYUx2Vox3+IySdQUPhHz59wbxVOYEJ34bnKN24iZUYev0onlbfqoek/GVxFEsLLf2+/SzbUDSzlUvfBBJFEdopF+XFHQnp6Y268xGLU9PRSHs+xnPJ5pkvhCcr0FDsC0S+hV4dnuX0RMayZvHiHwAjbpI1lnt32CowJCDo+Xt5HbzrxabzH/DO3ARhEiybOK5DPqBXemY9ipCWzI/0ndEltMqzhV/qhsXBuedPu90Vj4cS8IOppcCh3m/gP4DZ6fSHebnxqHAmQuvtNYUGTW+iI1tYq37NduGCYD7Y4cStfYjNSHonWOXA5pgPuwARF6cwYydndhuBYPcGbJPvwqvgkslDDymOEenAcSVwKO0cF0IGq5a82Usgu0MrItDx/yUBnkhEwAbxykJYtUlZg6fm9CSyALQU2n9hUAL3+lc+n21UNr85wjQIsrLJxk5iUyPHoh+wE/VpaXxyMTqO0voYJmXPnywedBVyrNf1bkLGYbeTuHpIMJCW3NJFi2iFvaQnF8HYjt+IOyxqZ94LlvlH8mvZm7PB1iJ1UYjxOkUUKUpdYTy2Z/150h0sOVOFR5WA4gDHC+Rwm+y53G3lEgGDVzM7sqRmq8L2vUKopaJw7+fYiazIupE+lf0lnX9MRAQeChruCgIPoMB6pEHCnPHAZ4J43wZ4OnHBDvjqaxTn1nQeH9IPil8kw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 27084e17-586d-4521-633a-08d9c5f4a14b X-MS-Exchange-CrossTenant-AuthSource: AM7PR03MB6660.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2021 09:14:32.0431 (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: AM6PR03MB4614 Subject: [FFmpeg-devel] [PATCH 30/30] avcodec/mpegvideo: Check for no_rounding at compile-time if possible 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: gnCyidXuE35h |
Series |
[FFmpeg-devel,01/14] avcodec/mjpegenc: Use custom close function directly
|
expand
|
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | fail | Make fate failed |
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 7626f97be5..8b16b4ec0b 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -2052,7 +2052,7 @@ void mpv_reconstruct_mb_internal(MpegEncContext *s, int16_t block[12][64], } }else{ op_qpix = s->me.qpel_put; - if ((!s->no_rounding) || s->pict_type==AV_PICTURE_TYPE_B){ + if ((is_mpeg12 || !s->no_rounding) || s->pict_type == AV_PICTURE_TYPE_B) { op_pix = s->hdsp.put_pixels_tab; }else{ op_pix = s->hdsp.put_no_rnd_pixels_tab;
It is partially possible if it is inlined whether we deal with MPEG-1/2, because no_rounding is never set for MPEG-1/2. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/mpegvideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)