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 B275540EF2 for ; Thu, 10 Feb 2022 11:34:08 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9C0CA68B16A; Thu, 10 Feb 2022 13:34:05 +0200 (EET) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 337BA68AACC for ; Thu, 10 Feb 2022 13:34:00 +0200 (EET) Received: by mail-pl1-f182.google.com with SMTP id j4so1568477plj.8 for ; Thu, 10 Feb 2022 03:34:00 -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=fFU8ust0DroD6rl1X65SCXmL+GBEWS8EhAOgDFaZ4BY=; b=fw36cMWFNMWZihMxCpyOee1dbTXbgrz4oU1A2J3bdT9m9Mkwzw67rNHWqijHsfvi73 CakxkrRsJ/MTilX7YI6IrBvTztrak7jD3V5zQ/BclHrJi563YFcm2Lm+LjUAX7uTBI8U YpOv+v+B/8LD0fCa8+YP7NvZXwfTEqqNriYOliXroDTy8FAWDtWQDKxX8b9PxVvuccEp n+0Zqk03eB7wL3lscB34a3PLEzzLDuvvkW0+QmmVmlThhx62isiddRvQ/pmU6CCtgVmz gP/MO70nZAvK+r3WuyqW+vYWV877UFA0cI00/0jGcWSjhKquWpQ5ZXyhbTcK8GHINZPp vySA== 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=fFU8ust0DroD6rl1X65SCXmL+GBEWS8EhAOgDFaZ4BY=; b=XhTeRCaa9O0KQvwPYgQdm104nzZVOYFf2mv6q8lH4sbH4jMF+SDZHSA7d0ZcZIVOgk Ch0dQccqEyY+PJeeGiefwzjHVbbEfkVaBoAgRKhuk/yak6ZQjNg6KnqseplW6sxgUo+d VFaN6ybCryyQhK4hB95wCPbUvs4hP4aVyPF52RwKsE0/CTqVoTX6xZhkg9bDuEaV9mvR Y/d3YeIHa3Bo82C52EE/WSG7uvembxZM/FSJ6abHIpDt+X5GF71i3UX2ui2A1rq1cUFg pFRQ/E/7xQwIgJEwmKEzHCZmlV7BD2DWtEICero8t3XvFYSm8hyQpSfTpkNtcqgoPoji ertA== X-Gm-Message-State: AOAM5326oB/u0L99pn7fdjtxct9fpLIxgDpT+XbRFuWSSAJqIxcOlko1 VF0CV3vbNaNIaeOuWIaYvmgEAZTnJxyPhSi26VKKDo53YX4= X-Google-Smtp-Source: ABdhPJyCXG3ybo6IcUjhMtwcOGP9Gev29B9+Hr21I8aPUPh6KzgbpA+Iw0SOOUB1BB7AlY4JVnVicbYNE6avqEbqIus= X-Received: by 2002:a17:903:124a:: with SMTP id u10mr6939500plh.63.1644492838188; Thu, 10 Feb 2022 03:33:58 -0800 (PST) MIME-Version: 1.0 References: <20220204093114.1502-1-Victoria.Zhislina@intel.com> In-Reply-To: From: Victoria Zhislina Date: Thu, 10 Feb 2022 14:33:43 +0300 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH] zscale video filter 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: Yes,yes,yes, moreover the graph should be rebuilt if some other parameters change - interpolation method etc, also when a single input splitted by zscaling to 2 different resolution streams. So I've submitted a new patch version that fixes everything. It has a lot of checks inside but they are absolutely necessary. They save 30-60% of performance in a single threading case! On Wed, Feb 9, 2022 at 12:38 PM Guillaume POIRIER wrote: > Hello Victoria, > > On Sun, 6 Feb 2022 at 16:12, Victoria Zhislina wrote: > > > I wasn't aware of the cases where width/height can change between frames > - > > never seen them in real life, but right you are, iI will change my code > > accordingly - to make re-init if some change happened. > > > If you want to create such a sample, take 2 short HEVC clips with > different resolutions, extract the ES, and concat them together: > > ffmpeg -i INPUT1.mp4 -codec copy -bsf:v hevc_mp4toannexb OUTPUT1.265 > ffmpeg -i INPUT2.mp4 -codec copy -bsf:v hevc_mp4toannexb OUTPUT2.265 > > cat OUTPUT1.265 OUTPUT2.265 > mixed_res.265 > > Guillaume > _______________________________________________ > 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".