From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 90DD5420B0 for ; Tue, 22 Feb 2022 09:34:47 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8163868B0B7; Tue, 22 Feb 2022 11:34:45 +0200 (EET) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id EAF4368AF51 for ; Tue, 22 Feb 2022 11:34:38 +0200 (EET) Received: by mail-pl1-f175.google.com with SMTP id l8so15112067pls.7 for ; Tue, 22 Feb 2022 01:34:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=+BHJSNj93xeA3YEFto9ySGVnZW33s3wVNP/6M/7tMt4=; b=VkHzD5Bh/WnZmUv/bb1fLPWFaKYSwFxeRX788vul2kgeF2YEJI4imwPn44nkTOsrhU id2Xk8nWO34Tdz9pM24S9R991OZMsbQ8ceyaZecKSTz10A2ZFfRZvGRATqn7pDAE9Bji wKg5JOCclrOhA4pSQYQTvgOzbpXRDFCFO4ze+HmnTV3u9rZpUYMuc9Z8OqUyGwoYr1dI gq9p1HPr5o0dEN9cmfl3FP3+axlOUCGqXiR9LIJiZOFaPJRNqgsP9R2WKtO9Xf8Uqn1Y /9kvSNmIZLWZh2CxoeOmemWvITUpkd4jmaCBCDYUR2wHbW+ZXlq/SeiRnpIJq9NuTjAw vAdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=+BHJSNj93xeA3YEFto9ySGVnZW33s3wVNP/6M/7tMt4=; b=grAWE6jtu66e2/7ba5WryGC12H9xRsYzhEwCfy5yXteollNBgV7ZrHKlWCeYeqtzL8 H8XuS6Gyizw6DeoXmK7IKxbKjSfs0NxQiNwV/TrSfsdpfRz5RRVn8Qd9a99KOc/bOQ0s PAwMXLwPkahvCmcdI9HcGgRM237/QrGSJtiJD3rc14CciyefsWwy6634/S3YnKrX1UCg Q3GsxrOZOaJIe9S0atNEEE+6yh6ZTY1CjM+r624yJTsBcVPhQI7oQVuHR5GqWXFHooIO glLTAe3xxV5sZ8nq//Y/rp0fvAk1W6b0pEGkDh7YTemlWbawaFGdAktjhIJL/XsogXPp Cjgw== X-Gm-Message-State: AOAM530/iqQWLiMR0Wtyvyl0oPCw808Gs1xSAnuCxEODHFUQwIibziTW IoQmTQ1ezBv90Ap9Wbrs25tEBSxwQvDH24mS/Gw+bG47XqImXg== X-Google-Smtp-Source: ABdhPJx+pwycbqrvlbPupM5IKZS2/p9MKQWMp96dSGxtDNFgNdNzHUc9O9x4OZx9crZyZKwJtmeXysNXnSvXKOjlSAA= X-Received: by 2002:a17:902:f20c:b0:14f:b0a4:726a with SMTP id m12-20020a170902f20c00b0014fb0a4726amr9227656plc.47.1645522477044; Tue, 22 Feb 2022 01:34:37 -0800 (PST) MIME-Version: 1.0 References: <20220219135809.1447-1-Victoria.Zhislina@intel.com> In-Reply-To: From: Victoria Zhislina Date: Tue, 22 Feb 2022 12:34:26 +0300 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH] libavfilter: zscale performance optimization >4x 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Paul, I've got exactly the same feelings on zing threading usage myself and decided to go along the standard ffmpeg threading route. It looks more consistent here. Megathanks for reviewing my patch, I've fixed everything you've mentioned and even more. On Tue, Feb 22, 2022 at 11:15 AM Paul B Mahol wrote: > On Tue, Feb 22, 2022 at 9:15 AM Paul B Mahol wrote: > > > > > > > On Tue, Feb 22, 2022 at 6:25 AM Lynne wrote: > > > >> 19 Feb 2022, 14:58 by niva213@gmail.com: > >> > >> > By ffmpeg threading support implementation via frame slicing and doing > >> > zimg_filter_graph_build that used to take 30-60% of each frame > processig > >> > only if necessary (some parameters changed) > >> > the performance increase vs original version > >> > in video downscale and color conversion >4x is seen > >> > on 64 cores Intel Xeon, 3x on i7-6700K (4 cores with HT) > >> > > >> > Signed-off-by: Victoria Zhislina > >> > > >> > >> Can't you patch such a feature into the upstream instead? > >> > > > > zscale already have own threading ability, but is very hard to use it, > > last time i tried. > > > > I mean zimg. > > > > > > > >> _______________________________________________ > >> ffmpeg-devel mailing list > >> ffmpeg-devel@ffmpeg.org > >> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > >> > >> To unsubscribe, visit link above, or email > >> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". > >> > > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".