From patchwork Sun Aug 18 20:13:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramiro Polla X-Patchwork-Id: 51077 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:b6ca:0:b0:48e:c0f8:d0de with SMTP id s10csp1575578vqj; Sun, 18 Aug 2024 13:36:20 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX1CPRbti1sPkyyDA9zudZWQDpjPgDlZclBCRxVxYoenbr+p9Hsch29FQtC5gM9ZGovOSEHFhaFdoHoiMbhyZGVN7G0AeV/uA40wg== X-Google-Smtp-Source: AGHT+IE47mG6ofuuUGkdO4jYDqGqOLNVrhKeRn2FSZg1tKddml1ZjnK44oMxtBcDVD9C1bOdNFGs X-Received: by 2002:a2e:a585:0:b0:2ef:23af:f202 with SMTP id 38308e7fff4ca-2f3be5f0304mr86568331fa.46.1724013380237; Sun, 18 Aug 2024 13:36:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1724013380; cv=none; d=google.com; s=arc-20160816; b=Efor1+aXSXRIdL0kyF67A8KfLhy9+1FKkPV9KTmlNbK7yc91aMVct9Bq4Te2PvNgGg dZrXbyNd38RUXqwx2Kha8+Yk2iFidve1SBjegAp1Z/gCaL8xaNrZ06M1mR6YaNMfhWAb JEmx3bLCA4G2vDDJLp7iYy3XM/0YInIJtT4EkoQhpKQb8LbBE4kgRUZ9GKbkbouwT0Il 1iFOtsV9Ry45lv9HA800c9qvY56MAOPuXToKmU0fGqh+OAvvhMnLuEhyJtes+7aR30bw DvntMs2CaaB28ruJFZ/wLysG6gP/FGAizunPvgfMDqV/OIbP33tvqsxaZwwR5Jnw2dz8 mtag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=j3TYXc6pGNN/EGYPmQH9pPxFiwSBUvnOm8W6tBloyfk=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=Kk1buCpYZcdI8qCuNyaB63QZWxxlNC+b3uqwdZOzpDBWCADTLNUMM/K4JCvPi+W1kB wWyAJuiNJn+tIA96XcQKkKAZY+MxsLXf8jKgVZ7+CO22KlN5VIZOLlmm4l91JQ5QF92c phRrxhzra2gmljjtFWDTDV5K0OeoN3gmMvsx6ktql6bS287ui1Nu2EqgqynOI7nfgRri pd7p4l3xT3oKwn6MNEH8lPyEVEXVTzRaB2cYH4TncQ1LttZoRxOISrsAf75f8ZX/Z0dJ 1W/IGBLKrVISkrUYte7WpjncaZb1lz76xJDQvgTmk3m1ytuiUK31pvGNtqzHMG4DLDbY c7PA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=jhM0dzGB; 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=gmail.com; dara=fail header.i=@gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id a640c23a62f3a-a838398d7e3si470192966b.1010.2024.08.18.13.36.19; Sun, 18 Aug 2024 13:36:20 -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=@gmail.com header.s=20230601 header.b=jhM0dzGB; 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=gmail.com; dara=fail header.i=@gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E7C9F68DDE7; Sun, 18 Aug 2024 23:13:45 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 189FA68DDD0 for ; Sun, 18 Aug 2024 23:13:36 +0300 (EEST) Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-3718eaf4046so2177716f8f.3 for ; Sun, 18 Aug 2024 13:13:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724012015; x=1724616815; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=cdCRx34vUZuk65KNMd+COyACckFYXEgMwGcuSz2PpZo=; b=jhM0dzGBklucgV/vZLSnuKw3mN2/Km/vMLMr+1i3dLD8v86IUtpYwQ1lv1yqph3lre VvOV8vebXRr6J0ouD3hxbf+87N6qUNXKRHQLOIoweWNKYL2isSUDvrrtPSOz4ucjwo/M OFTSNbYtjmCAESNnt6z1bmV57rWNZ7n6PwUlCuH8iYX/2op6XMaXNBxwS8odPRWEE8v+ afyaTN5VbyfC8ZNjLWbp2BpZWuqTcJH1oQJS1KYtH8O6x8YCKNigNh+FhET4rKjKBy4z syJGstwqUstGX6qnEVo6+ZOb9FspuisWUVSQT7OYUQKmhsKH61JloYCOPxkV6J8moYPX 8dUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724012015; x=1724616815; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cdCRx34vUZuk65KNMd+COyACckFYXEgMwGcuSz2PpZo=; b=IIiJ1LlzQDYz42bHlZ+V5VmSDOO7FWw35fUEyKWlB3Lp+JCCIVpDPcYhKze0YKfWBu +gf7YdkFkLhgtT6MrvIS06iYLBjZEMoX+WW51ObtczxlIFx+QgR/2rtdwh3aWTs12s76 n9eOu/uZJA6gmyzuIChB8N4O24ZyjPUycNBULDTAfCVR0XUmVlT7MOn951AVmGIVqacZ fWQ6yltSHQnXibmB1slnTgueRf0zwfXirTxBwN3c1aF0YhryqjnY88K5fplosZbYEBxe FF+Fg+WRNJVCPrTO9mbHT4KI8IbgIjaPSC4C/s0RvbOI5jfMk/2ULwAHKmGISKjKbAa2 h41A== X-Gm-Message-State: AOJu0YxsLMgPRVG1dI14xImOMrAn84P2TI3/4ZBLFf9oU5Uq069/yn1M woa/607WRaTkwRnYmVEKVPdD4ZYEjuD4WCvpZ9jJLeWGDWA38MpIcYnTDK+R X-Received: by 2002:adf:f843:0:b0:368:6564:751b with SMTP id ffacd0b85a97d-371946513fdmr6474108f8f.32.1724012014941; Sun, 18 Aug 2024 13:13:34 -0700 (PDT) Received: from localhost.localdomain (205.66-130-109.adsl-dyn.isp.belgacom.be. [109.130.66.205]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37189896c5bsm8739931f8f.80.2024.08.18.13.13.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Aug 2024 13:13:34 -0700 (PDT) From: Ramiro Polla To: ffmpeg-devel@ffmpeg.org Date: Sun, 18 Aug 2024 22:13:24 +0200 Message-Id: <20240818201326.100492-5-ramiro.polla@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240818201326.100492-1-ramiro.polla@gmail.com> References: <20240818201326.100492-1-ramiro.polla@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 5/7] avcodec/x86/mpegvideoencdsp: fix comment for draw_edges_mmx 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: yM2FbgwG1y3s Not only w == 8 and w == 16 are supported, but also w == 4. --- libavcodec/x86/mpegvideoencdsp_init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/x86/mpegvideoencdsp_init.c b/libavcodec/x86/mpegvideoencdsp_init.c index ec174b15aa..503548e668 100644 --- a/libavcodec/x86/mpegvideoencdsp_init.c +++ b/libavcodec/x86/mpegvideoencdsp_init.c @@ -95,8 +95,7 @@ int ff_pix_norm1_sse2(const uint8_t *pix, int line_size); #undef PHADDD #endif /* HAVE_SSSE3_INLINE */ -/* Draw the edges of width 'w' of an image of size width, height - * this MMX version can only handle w == 8 || w == 16. */ +/* Draw the edges of width 'w' of an image of size width, height */ static void draw_edges_mmx(uint8_t *buf, int wrap, int width, int height, int w, int h, int sides) {