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 E8FA0447C4 for ; Wed, 26 Oct 2022 07:25:41 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B304168BB4C; Wed, 26 Oct 2022 10:25:38 +0300 (EEST) Received: from mail-qv1-f42.google.com (mail-qv1-f42.google.com [209.85.219.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A735968B9A8 for ; Wed, 26 Oct 2022 10:25:32 +0300 (EEST) Received: by mail-qv1-f42.google.com with SMTP id x13so9299647qvn.6 for ; Wed, 26 Oct 2022 00:25:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=obe-tv.20210112.gappssmtp.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=GeClVtI2hkwX5hozwmM4MOWM1pB/cd84F9Est9agpy4=; b=ei0f6/BnYxeNMDIRObjtvKPl0YS434XXObMsVzFk/zQQT9+O7F5DUQ90a24i4m7Syw LTo+L7Dy/7osK4WUtodu2HEoBGKMkNPtQdqIGgFVuvS/5t6BMCyQgqwpW0KFTF4iTuWG vnSFvYIbn3nB8Z3W8lf4ebepVkgMwPD9VELqDnbdFhivnZ0gWn/J+MAV+ZfSEeqCxQ5q vE6BKCdBLzmOtolShIZxOtaTmFCCJKmXbrGjwD1RoVzZUZbFR47KtyfoxG5JVq08QjO4 IVJzqCcH2gnbwkmjz1NXFye3z0+sIsjFJmYQ04LL6T7/KTu2Y8sWSADxMSHEYsSVFgDt +IQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GeClVtI2hkwX5hozwmM4MOWM1pB/cd84F9Est9agpy4=; b=6OxCSNHELeyulxCw8tJcI8ZXMjc1hFtDYcEZ1R3SZdh+bL+mBz8aHU0RU7mJwbGLmG u7xgAkAn/nqdLeiGx4Mt13omHRLyHoHyG/AEkQ8IeoWy5G56J/czNtsa6bHz2sIRm89O Mx9BM0qHP9WIAAp19iA9dr1rD0EtDEDqWYUK9ev/opdCMTnmck3lPM9e8FL4+ML+6IGU 57yKE2CGHB+Ilemm/janK6oAXy6zmroZBqSSp2JI6IrZyufQnuGH5jcF9LHGZOHD0VT4 0uoKC67f1luEQoq5hQanF1Z1TIBzGsEBdD6YDsqopBvnD+EB6YjdnwCR4hUX4HWjdAH1 k5eg== X-Gm-Message-State: ACrzQf1eYunoKO4MIsKBu4HjVVAtWIJJnRmiGvuD4Jsp0SyIMt5dUO2V wspHNlZ60Z9c0y2St3Us+cw5SvbdtKgyrGdw0Z5ATNm/pak= X-Google-Smtp-Source: AMsMyM4Gvy1QeK257ImLTLKV92Onf7S3aRqOSFyghdHEyvRDdvJEmXQVGsQ3Hc8teW2VF/iSFTl/JP59a1dMLx5qqSg= X-Received: by 2002:a05:6214:3013:b0:4bb:1be2:f542 with SMTP id ke19-20020a056214301300b004bb1be2f542mr21707262qvb.7.1666769130599; Wed, 26 Oct 2022 00:25:30 -0700 (PDT) MIME-Version: 1.0 References: <2b7f9605-518a-4cda-6503-7842f22fa620@das-werkstatt.com> In-Reply-To: <2b7f9605-518a-4cda-6503-7842f22fa620@das-werkstatt.com> From: Kieran Kunhya Date: Wed, 26 Oct 2022 08:25:18 +0100 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] FFV1 slicecrc: "hashxx" instead of "CRC" for speed? 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: On Tue, 25 Oct 2022, 21:32 Peter B., wrote: > Hi everyone :) > > Would it possibly have a significant impact on coding speed of FFV1's > slicecrc option (Where a CRC is calculated for each frame slice), to use > a faster algorithm instead (if one exists)? > I'm wondering if, for example something like "xxHash" may warrant a try? > (Haven't found CRC vs xxHash benchmarks yet, but I'm still looking) > > Anyhow, > Thanks for any of your time :D I haven't benchmarked the overhead of the CRC in FFv1 vs the encode or decode process. But FFmpeg's CRC could be optimised using multiple unrolled tables or SIMD or other approaches. Regards, Kieran Kunhya _______________________________________________ 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".