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 839454533D for ; Wed, 24 May 2023 21:28:19 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 02DFF68C15D; Thu, 25 May 2023 00:28:17 +0300 (EEST) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 40F0A68A279 for ; Thu, 25 May 2023 00:28:11 +0300 (EEST) Received: (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id 560221C0004 for ; Wed, 24 May 2023 21:28:10 +0000 (UTC) Date: Wed, 24 May 2023 23:28:09 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20230524212809.GM1391451@pb2> References: <20230524074833.15734-1-chenhao@loongson.cn> <20230524074833.15734-2-chenhao@loongson.cn> MIME-Version: 1.0 In-Reply-To: <20230524074833.15734-2-chenhao@loongson.cn> Subject: Re: [FFmpeg-devel] [PATCH v4 1/7] avcodec/la: add LSX optimization for h264 idct. 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: multipart/mixed; boundary="===============8181456906719977776==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============8181456906719977776== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="A2v+mM48+eG5yNzV" Content-Disposition: inline --A2v+mM48+eG5yNzV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 24, 2023 at 03:48:27PM +0800, Hao Chen wrote: > From: Shiyou Yin >=20 > loongson_asm.S is LoongArch asm optimization helper. > Add functions: > ff_h264_idct_add_8_lsx > ff_h264_idct8_add_8_lsx > ff_h264_idct_dc_add_8_lsx > ff_h264_idct8_dc_add_8_lsx > ff_h264_idct_add16_8_lsx > ff_h264_idct8_add4_8_lsx > ff_h264_idct_add8_8_lsx > ff_h264_idct_add8_422_8_lsx > ff_h264_idct_add16_intra_8_lsx > ff_h264_luma_dc_dequant_idct_8_lsx > Replaced function(LSX is sufficient for these functions): > ff_h264_idct_add_lasx > ff_h264_idct4x4_addblk_dc_lasx > ff_h264_idct_add16_lasx > ff_h264_idct8_add4_lasx > ff_h264_idct_add8_lasx > ff_h264_idct_add8_422_lasx > ff_h264_idct_add16_intra_lasx > ff_h264_deq_idct_luma_dc_lasx > Renamed functions: > ff_h264_idct8_addblk_lasx =3D=3D> ff_h264_idct8_add_8_lasx > ff_h264_idct8_dc_addblk_lasx =3D=3D> ff_h264_idct8_dc_add_8_lasx >=20 > ./configure --disable-lasx > ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an > before: 155fps > after: 161fps > --- > libavcodec/loongarch/Makefile | 3 +- > libavcodec/loongarch/h264_deblock_lasx.c | 2 +- > libavcodec/loongarch/h264dsp_init_loongarch.c | 39 +- > libavcodec/loongarch/h264dsp_lasx.c | 2 +- > .../{h264dsp_lasx.h =3D> h264dsp_loongarch.h} | 60 +- > libavcodec/loongarch/h264idct.S | 658 ++++++++++++ > libavcodec/loongarch/h264idct_lasx.c | 498 --------- > libavcodec/loongarch/h264idct_loongarch.c | 184 ++++ > libavcodec/loongarch/loongson_asm.S | 945 ++++++++++++++++++ > 9 files changed, 1848 insertions(+), 543 deletions(-) > rename libavcodec/loongarch/{h264dsp_lasx.h =3D> h264dsp_loongarch.h} (6= 8%) > create mode 100644 libavcodec/loongarch/h264idct.S > delete mode 100644 libavcodec/loongarch/h264idct_lasx.c > create mode 100644 libavcodec/loongarch/h264idct_loongarch.c > create mode 100644 libavcodec/loongarch/loongson_asm.S Applying: avcodec/la: add LSX optimization for h264 idct. =2Egit/rebase-apply/patch:1431: tab in indent. } else if (nnz) { warning: 1 line adds whitespace errors. [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If the United States is serious about tackling the national security threat= s=20 related to an insecure 5G network, it needs to rethink the extent to which = it values corporate profits and government espionage over security.-Bruce Schn= eier --A2v+mM48+eG5yNzV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZG6BYQAKCRBhHseHBAsP q2I+AJ9QzeVC+xTPrg1gE1Q9Dh56Smbf9ACaAuwuZ6OFjtIhRbyPv4xxWmch0QM= =YUNp -----END PGP SIGNATURE----- --A2v+mM48+eG5yNzV-- --===============8181456906719977776== 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 https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============8181456906719977776==--