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 0F0DB4D203 for ; Thu, 13 Nov 2025 18:10:57 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'wBMPFe0hw+RoABxiFGRll/AGMd7vkBaumJag6C0qrSw=', expected b'yEnrepALYmFT7ixx8C03j17+mKwfzBMG3z+AxPXziq4=')) header.d=frankplowman.com header.i=post@frankplowman.com header.a=rsa-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1763057449; h=message-id : date : mime-version : to : references : in-reply-to : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : from; bh=pLfnRscQUvWC8HKsO/p9Lh43zDSEYYKjqFwLy6aXWfM=; b=AbA1NcGS2BtZ3LATbTHiCtkK+6CT7aIwePjlZX3m1q29uYYh1KfPszT0dGS9xuf9oIqcd 1L9Um6DfujLFcfCofL34bPNxgSSM5nQgCg+80rsNg30xscYl0GnHJBqh323tjBhUnieKoFy TraL3DKY5H1kWC20grPYxFx4N8vZmmkzuRcXL8l6aGTivCyU9ZlhGXCmM2mW1RfZScpEjkp HBQSLhpM5CxcLHNvy+lCVX3HpBMTSZ0ZJ4n4dCCGNPGkD3a2jeUKtptl2dF5PMOe7WDTNgq 1p4YbS2WKrhKtCw6oT0+ssfkwGu9u994dEtAn29RPoEpGoldZ4GvNPw9JJwQ== Received: from [172.19.0.2] (unknown [172.19.0.2]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id A344E68FD88; Thu, 13 Nov 2025 20:10:49 +0200 (EET) ARC-Seal: i=2; cv=pass; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1763057432; b=i+3bd5+SbzneCQ0DvrvBYi9xQA3elHJ1r7HtXjHhA+0Vtd+AeCcRucLasV7FatJuzdoxD qYcBk61+rWu7vdMG6a8m9u9kgqM5aGv9Kn6iGvuSM01Gb/Ij/p8cNd4UgU3GxemqQc6Pqqe jqRJwuHTJaxrOEIEkp/zwW7MN3PlwO6tJwVn5PJMDVV3exyE42Qu+B/XI+/Ql8qRY+TpjPJ h+VwcIDN7QLUzC1qT+qlJ1KWTSIkt1tGHw7HB7TowSjQOTBvmPLq+1HGyunvP7Kr5t913RA g0oo7e1KGmvtZxA9kIJFe07flX/QHdW9jrPGxwxWGLiiZGgyBSvo83lLNAKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1763057432; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=wBMPFe0hw+RoABxiFGRll/AGMd7vkBaumJag6C0qrSw=; b=YfAu0zuloGn3quyLcllU1m8gAbD11MyLx5x9CkBesgYtKfbGeQcTyiGTy2ZVFJDRY1XTe oysh+42aHJ8et9xWPHcVvDDR20rjD2ZigkWr/OpIarEQs6OeQQC+S79zpgRWV77CROv9dcl 2HnvexWvAUX+egkPGZCPjxLxABOR2LSd7AitlnMkkG9n6bFD+d44KSpJPqVUvov0QXlt0m5 B/67gvYezmP+iU9NEOEUo4Kd+H6I5UkQfVKMv2zPDgW6uc6RI7QE/y9EViIzGKkeYY7vv3f PAflbBu69g3NlrKFdVJkrFQTBo+OT+9Ew00eX2t5D4vcK6cJfKsfl75Q37ZA== ARC-Authentication-Results: i=2; ffmpeg.org; dkim=pass header.d=frankplowman.com header.i=post@frankplowman.com; arc=pass; dmarc=none Authentication-Results: ffmpeg.org; dkim=pass header.d=frankplowman.com header.i=post@frankplowman.com; arc=pass; dmarc=none Received: from sender-op-o19.zoho.eu (sender-op-o19.zoho.eu [136.143.169.19]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 9C11168FD2B for ; Thu, 13 Nov 2025 20:10:20 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; t=1763057418; cv=none; d=zohomail.eu; s=zohoarc; b=RKKvdwRRxg0I5+UjmPWxDUc+XBJOVizlgYmcExHDcKEdeqoy0VGx1NYboRKa6WJNKLcOh1HblRR0WdOoxSEZasK6cxKpGTKGYLSoACHLrDG9YYg9CJoIOnVMflQ/NiSAvM1dNUKvhHJqiX7wABZshyUiHl9xDwqmnvnVpr0cZ1c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1763057418; h=Content-Type:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=yEnrepALYmFT7ixx8C03j17+mKwfzBMG3z+AxPXziq4=; b=evhKLcfXXUXY43YfSQ5T4vaipbnC+aKgJGvmYuDVTd7bk9bF373QCMFmLwhfnqfWIj0ypv7zRWtrU4GJc2tlj9JmL6tQGS+KFM4zlQdP798UM4AEqlir+SaE4zrGNftFM5caNeoIVS/iy4gXEGdmyvQezQitePOKg0/P3wqGYv8= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=frankplowman.com; spf=pass smtp.mailfrom=post@frankplowman.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1763057418; s=zmail; d=frankplowman.com; i=post@frankplowman.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:References:From:From:In-Reply-To:Content-Type:Message-Id:Reply-To:Cc; bh=yEnrepALYmFT7ixx8C03j17+mKwfzBMG3z+AxPXziq4=; b=DfletqBQ3fMqE6MCXpsjI80JRWzdSnwugxYR27Q5pnCL2L1CK1T4wzdnLhgrBZL6 cVsgNNyMl5AT2M7gsKYgeAsng6y93UWnhz49CNqBQi0Bet1hKktWUBYSHEecUvRaQUT 2ENInR33wMJbyt5e4MfwckDt26STkoExHuyIZTHU= Received: by mx.zoho.eu with SMTPS id 1763057417341697.053224045126; Thu, 13 Nov 2025 19:10:17 +0100 (CET) Message-ID: Date: Thu, 13 Nov 2025 18:10:16 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB To: ffmpeg-devel@ffmpeg.org References: <91066f69-f95f-43c9-9b6e-33fcbd0ed944@frankplowman.com> In-Reply-To: X-Zoho-Virus-Status: 1 X-Zoho-Virus-Status: 1 X-Zoho-AV-Stamp: zmail-av-1.4.3/263.44.55 X-ZohoMailClient: External Message-ID-Hash: SR4MCVURT74ZTMBOZEZ4OARKJWIEEZZX X-Message-ID-Hash: SR4MCVURT74ZTMBOZEZ4OARKJWIEEZZX X-MailFrom: SRS0=WyNf=5V=frankplowman.com=post@ffmpeg.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] Re: [Question] Learning about VVC and wasm List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Frank Plowman via ffmpeg-devel Cc: Frank Plowman Content-Type: multipart/mixed; boundary="===============6855047904779125866==" Archived-At: List-Archive: List-Post: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============6855047904779125866== Content-Language: en-GB Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------W2788B7HFuFRVo4VKlN0UeEQ" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------W2788B7HFuFRVo4VKlN0UeEQ Content-Type: multipart/mixed; boundary="------------gD7hP3PjCG0aAI5FOC99kMAg"; protected-headers="v1" From: Frank Plowman To: ffmpeg-devel@ffmpeg.org Message-ID: Subject: Re: [FFmpeg-devel] Re: [Question] Learning about VVC and wasm References: <91066f69-f95f-43c9-9b6e-33fcbd0ed944@frankplowman.com> In-Reply-To: --------------gD7hP3PjCG0aAI5FOC99kMAg Content-Type: multipart/mixed; boundary="------------aQpFDzjAENL4DRnmzSkC6nDG" --------------aQpFDzjAENL4DRnmzSkC6nDG Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 13/11/2025 17:56, Sidd via ffmpeg-devel wrote: > Hi Frank, >=20 > Thanks for the reply, it seems like there is a lot for me to cover. >=20 > Regarding the assembly, since FFmpeg is known for handcrafting it, are > there any references of help in their docs regarding this? I have gone > through their ASM lessons and know the basics of them but am quite far > from being good at writing it. And if I may ask, what exactly are the > current drawbacks of the current C implementation? >=20 > Thank you for taking your time to answer my questions. >=20 The assembly lessons are the only "intro to SIMD" resource specifically for FFmpeg that I know of, but I'm sure you can find more stuff by googling. A more practical resource for x86 specifically is [1] on x86inc.asm. I think the most important thing is to practice. Yes, the learning curve is steep. I can't say I'm very good at writing SIMD. I'm not quite sure what you mean by "drawbacks of the current C implementation" -- as opposed to what? As I said, the C high-level decoder logic is in a good state, but the decoder is quite slow and needs more ASM to make it faster. Nit: top-posting is discouraged on mailing lists such as ffmpeg-devel. [1] https://blogs.gnome.org/rbultje/2017/07/14/writing-x86-simd-using-x86inc-= asm/ --=20 All the best, Frank --------------aQpFDzjAENL4DRnmzSkC6nDG Content-Type: application/pgp-keys; name="OpenPGP_0x03A84C6A098F2C6B.asc" Content-Disposition: attachment; filename="OpenPGP_0x03A84C6A098F2C6B.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xjMEaDsehBYJKwYBBAHaRw8BAQdAtPY6tq5662mjGsrl9wixeTHtvaO/qPBio/aX SmF+pjnNJUZyYW5rIFBsb3dtYW4gPHBvc3RAZnJhbmtwbG93bWFuLmNvbT7ClgQT FgoAPgIbAQIXgAUJAeEzrBYhBDTiSNa330dpcMczBAOoTGoJjyxrBQJoOyIVBQsJ CAcCBhUKCQgLAgQWAgMBAh4BAAoJEAOoTGoJjyxrMhUBAKT3f80IXiufxCSU1rve Xp5BKwvNbY6szRdR/m21m9GAAQCGhR6t64PlMspXLtwWq9o1vjKzjWH+Bgw+UybQ CG2zDM4zBGg7HsQWCSsGAQQB2kcPAQEHQPmGNV50IFIJBy9F60ZIxe5my91pL/Sl LUWq9Z5DHBsYwsA1BBgWCgAmFiEENOJI1rffR2lwxzMEA6hMagmPLGsFAmg7HsQC GwIFCQHhM4AAgQkQA6hMagmPLGt2IAQZFgoAHRYhBEh0l9eKWUIIcnmv1LvizNAX Sd6KBQJoOx7EAAoJELvizNAXSd6KtkEBAP0jS/nBlqaVJq0iNeNDk+PnKkNBmC9p i4SuwFD71nQfAP9eWO32RXbRoIwvbrdsalWxWYmqSOdIdQE51qGMsJUuAjtIAQDA 6o6O2o2pHnWWdSqKs7Zkp4BImBD+kztmzA0Du3vJeQD/TR+qrBCXaG1FCDKn9c+Q XQNtHTxI9c6dCywjkQljOAzOOARoOyM7EgorBgEEAZdVAQUBAQdAKS1xy5312Agk deedJEXplopXco5pyANBz/edWeb7zEkDAQgHwn4EGBYKACYWIQQ04kjWt99HaXDH MwQDqExqCY8sawUCaDsjOwIbDAUJAeEzgAAKCRADqExqCY8saxvgAP9zskNI1Sti DXM4RFMoJb1aQ5TPToQZSSkGhw7JyMbLpgD/VCG7BOFjKgJGtXYEb5zpmRzNzdEB QkLsgE/vAD9GXQs=3D =3DReZ+ -----END PGP PUBLIC KEY BLOCK----- --------------aQpFDzjAENL4DRnmzSkC6nDG-- --------------gD7hP3PjCG0aAI5FOC99kMAg-- --------------W2788B7HFuFRVo4VKlN0UeEQ Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature.asc" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQRIdJfXillCCHJ5r9S74szQF0neigUCaRYfCAUDAAAAAAAKCRC74szQF0neith9 AQCNMti/RswDCATZ8c/QG/TZWQA0kVFiyR/32wk9eLYZDAEA5HBiEdagh+OGHfOHi48FKtj6GpNt zxSmqH5RfSAWZQI= =PhGl -----END PGP SIGNATURE----- --------------W2788B7HFuFRVo4VKlN0UeEQ-- --===============6855047904779125866== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org --===============6855047904779125866==--