From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 99C304C9A1 for ; Tue, 27 May 2025 08:13:02 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 9E9BA68CBC6; Tue, 27 May 2025 11:12:57 +0300 (EEST) Received: from haasn.dev (haasn.dev [78.46.187.166]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 72BDA68C7D0 for ; Tue, 27 May 2025 11:12:50 +0300 (EEST) Received: from haasn.dev (unknown [10.30.1.1]) by haasn.dev (Postfix) with UTF8SMTP id 2B1254076C for ; Tue, 27 May 2025 10:12:50 +0200 (CEST) From: Niklas Haas To: ffmpeg-devel@ffmpeg.org Date: Tue, 27 May 2025 09:55:19 +0200 Message-ID: <20250527081242.22892-1-ffmpeg@haasn.xyz> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] (no subject) 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: Changes since v2: - refactored x86 loop to reduce per-line overhead and simplify the code; eliminate SSE instructions from the process function entirely and also reduce the number of allocated registers by one - remove alignment macro from SwsOpExec and align usage instead - chenge pixel_bits_in/out to block_size_in/out in SwsOpExec, and add precomputed pointer bump fields - fix SwsOpExec size assertion - reduce storage size of several SwsOp types - simplify SwsOpEntry and massively reduce its storage size, from ~300 bytes to around 50 bytes per entry - add lots of comments and documentation, especially for the x86 backend and the shuffle solver - eliminate initializer field override warning from x86 backend - switch from call/ret to jmp/jmp inside x86 op chain; massively speeds up some chains on hardware with dedicated loop buffers - add more vzeroupper calls to break dependencies throughout the code This branch is ~18% faster across the board, as a result of: - adding vzeroupper: ~12% - eliminating call/ret: ~4% - simplifying the x86 loop: ~1% The amount of rodata used has been reduced by ~80%. The latest branch can be found here: https://github.com/haasn/FFmpeg/tree/swscale6_clean _______________________________________________ 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".