Re: [FFmpeg-devel] [PATCH] avcodec/mips: Fix MMI macro replaces in HEVC Decoder

2022-08-18 Thread
> 2022年8月18日 16:29,Hao Chen 写道: > > There are still some bugs unresolved in HEVC decoding. The checkasm-hevc-pel > test failed. It's suggested to repair together. > > 在 2022/8/18 下午3:15, 戚铁铮 写道: >> The latest commit of Loongson MMI macro replaces were incorrect. >> It makes a mass of green ti

Re: [FFmpeg-devel] [PATCH v2 1/5] avutil: [loongarch] Update loongson_intrinsics.h to v1.1.0

2022-03-01 Thread
> 2022年2月28日 下午10:17,Michael Niedermayer 写道: > > On Mon, Feb 28, 2022 at 04:19:55PM +0800, 殷时友 wrote: >> >> >>> 2022年2月21日 下午11:00,Michael Niedermayer 写道: >>> >>> On Thu, Feb 17, 2022 at 07:11:47PM +0800, Hao Chen wrote: >>>> T

Re: [FFmpeg-devel] [PATCH v2 1/5] avutil: [loongarch] Update loongson_intrinsics.h to v1.1.0

2022-02-28 Thread
> 2022年2月21日 下午11:00,Michael Niedermayer 写道: > > On Thu, Feb 17, 2022 at 07:11:47PM +0800, Hao Chen wrote: >> The loongson_intrinsics.h file is updated from v1.0.3 version >> to v1.1.0. Some spelling mistakes are fixed and new functions are added. >> >> Signed-off-by: Hao Chen >> --- >> libav

Re: [FFmpeg-devel] Optimize HEVC decoding for loongarch

2022-02-17 Thread
> 2022年2月17日 下午7:11,Hao Chen 写道: > > ffmpeg -i 5_h265_1080p_60fps_3Mbps.mkv -f rawvideo -y /dev/null -an > before: 94fps > after : 191fps > > V2: Retrigger the patchwork.ffmpeg test. > > [PATCH v2 1/5] avutil: [loongarch] Update loongson_intrinsics.h to > [PATCH v2 2/5] avcodec: [loongarch] O

Re: [FFmpeg-devel] Optimize HEVC decoding for loongarch

2022-02-14 Thread
> 2022年2月14日 下午4:25,Hao Chen 写道: > > ffmpeg -i 5_h265_1080p_60fps_3Mbps.mkv -f rawvideo -y /dev/null -an > before: 94fps > after : 191fps > > [PATCH v1 1/5] avutil: [loongarch] Update loongson_intrinsics.h to > [PATCH v1 2/5] avcodec: [loongarch] Optimize Hevcdsp with LSX. > [PATCH v1 3/5] avc

Re: [FFmpeg-devel] Optimize Mpeg4 decoding for loongarch

2022-01-03 Thread
> 2021年12月29日 下午6:18,Hao Chen 写道: > > ./ffmpeg -i 8_mpeg4_1080p_24fps_12Mbps.avi -f rawvideo -y /dev/null -an > before:376fps > after :552fps > > V2: Revised PATCH 1/3 according to the comments. > V3: Resubmit these patches due to miss PATCH v2 1/3. > > [PATCH v3 1/3] avcodec: [loongarch] Opti

Re: [FFmpeg-devel] [PATCH 1/3] avcodec: [loongarch] Optimize hpeldsp with LASX.

2021-12-29 Thread
> 2021年12月24日 下午5:49,Hao Chen 写道: > > From: Shiyou Yin > > ./ffmpeg -i 8_mpeg4_1080p_24fps_12Mbps.avi -f rawvideo -y /dev/null -an > before:376fps > after :433fps > > Change-Id: Ic8018562093154887323b508b81d0f489c0d265d > Signed-off-by: Hao Chen > --- > libavcodec/hpeldsp.c

Re: [FFmpeg-devel] [PATCH 2/7] avcodec: [loongarch] Optimize h264_chroma_mc with LASX.

2021-12-14 Thread
> 2021年12月14日 下午3:15,Hao Chen 写道: > > From: Shiyou Yin > > ./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an > before:170 > after :183 > > Change-Id: I42ff23cc2dc7c32bd1b7e4274da9d9ec87065f20 > --- > libavcodec/h264chroma.c |2 + > libavcodec/h

Re: [FFmpeg-devel] [PATCH 1/7] avutil: [loongarch] Add support for loongarch SIMD.

2021-12-14 Thread
> 2021年12月14日 下午3:15,Hao Chen 写道: > > From: Shiyou Yin > > LSX and LASX is loongarch SIMD extention. > They are enabled by default if compiler support it, and can be disabled > with '--disable-lsx' '--disable-lasx'. > > Change-Id: Ie2608ea61dbd9b7fffadbf0ec2348bad6c124476 > --- > Makefile

Re: [FFmpeg-devel] Add support for loongarch.

2021-11-15 Thread
> 2021年11月9日 下午3:09,Shiyou Yin 写道: > > [PATCH 1/3] configure: Add support for loongarch. > [PATCH 2/3] avcodec: [loongarch] optimize get_cabac. > [PATCH 3/3] avcodec: [loongarch] Optimize decode_significance. > Ping. ___ ffmpeg-devel mailing list ff

Re: [FFmpeg-devel] Support for loongson loongarch.

2021-11-05 Thread
> 2021年11月4日 上午1:06,Michael Niedermayer <mailto:mich...@niedermayer.cc>> 写道: > > On Wed, Nov 03, 2021 at 03:42:19PM +0800, 殷时友 wrote: >> Dose anyone know who is responsible for the fate website? >> I can offer a server to do the fate test on loongarch, >>

Re: [FFmpeg-devel] Support for loongson loongarch.

2021-11-03 Thread
Dose anyone know who is responsible for the fate website? I can offer a server to do the fate test on loongarch, But I don’t know how to make it work for FFmpeg fate website. > 2021年11月2日 下午8:51,殷时友 写道: > > Hello > > I am trying to add support for loongarch(a new architect

[FFmpeg-devel] Support for loongson loongarch.

2021-11-02 Thread
Hello I am trying to add support for loongarch(a new architecture launched by Loongson) in ffmpeg, Should I donate a test machine or just offer a qemu before uploading patches? Alos, who should I contact if I want to add loongarch state into fate.ffmpeg.org . Any other

Re: [FFmpeg-devel] [PATCH v3 4/4] avcodec/mips: cabac.h provide fallback for wsbh instruction

2021-07-27 Thread
> 2021年7月23日 下午1:53,Jiaxun Yang 写道: > > wsbh is only avilable for MIPS R2+. > Provide a fallback for older processors. > > Signed-off-by: Jiaxun Yang > Reviewed-by: Shiyou Yin > --- > libavcodec/mips/cabac.h | 24 > 1 file changed, 24 insertions(+) > > diff --git a/li

Re: [FFmpeg-devel] [PATCH v3 3/4] avutil/mips: Use $at as MMI macro temporary register

2021-07-27 Thread
> 2021年7月23日 下午1:53,Jiaxun Yang 写道: > > Some function had exceed 30 inline assembly register oprands limiation > when using LOONGSON2 version of MMI macros. We can avoid that by take > $at, which is register reserved for assembler, as temporary register. > > As none of instructions used in thes

Re: [FFmpeg-devel] [PATCH v3 2/4] avcodec/mips: Use MMI marcos to replace Loongson3 instructions

2021-07-27 Thread
> 2021年7月23日 下午1:53,Jiaxun Yang 写道: > > Loongson3's extention instructions (prefixed with gs) are widely used > in our MMI codebase. However, these instructions are not avilable on > Loongson-2E/F while MMI code should work on these processors. > > Previously we introduced mmiutils marcos to pr

Re: [FFmpeg-devel] [PATCH v3 1/4] avutil/mips: Use MMI_{L, S}QC1 macro in {SAVE, RECOVER}_REG

2021-07-27 Thread
> 2021年7月23日 下午1:53,Jiaxun Yang 写道: > > {SAVE,RECOVER}_REG will be available for Loongson2 again, > also comment about the magic. > > Signed-off-by: Jiaxun Yang > Reviewed-by: Shiyou Yin > --- > libavutil/mips/mmiutils.h | 32 +--- > 1 file changed, 17 insertions(+

Re: [FFmpeg-devel] [PATCH V4] [mips] Optimize H264 decoding for MIPS platform.

2021-05-06 Thread
> 2021年4月12日 下午11:37,Shiyou Yin 写道: > > v2: Fixed a build error in [PATCH 2/5]. > v3: add patch 4/5. > v4: Fix bug in 2/5 caused by instruction 'lhu' on BIGENDIAN environment. > > [PATCH v4 1/5] avcodec/mips: Restore the initialization sequence of > [PATCH v4 2/5] avcodec/mips: Refine get_cabac

Re: [FFmpeg-devel] [PATCH v3 2/5] avcodec/mips: Refine get_cabac_inline_mips.

2021-04-28 Thread
> 2021年4月12日 下午11:59,殷时友 写道: > > >> 2021年3月31日 下午10:39,Michael Niedermayer 写道: >> >> On Tue, Mar 30, 2021 at 08:51:52PM +0800, Shiyou Yin wrote: >>> 1. Refined function get_cabac_inline_mips. >>> 2. Optimize function get_cabac_bypass and get_

Re: [FFmpeg-devel] [PATCH v3 2/5] avcodec/mips: Refine get_cabac_inline_mips.

2021-04-12 Thread
> 2021年3月31日 下午10:39,Michael Niedermayer 写道: > > On Tue, Mar 30, 2021 at 08:51:52PM +0800, Shiyou Yin wrote: >> 1. Refined function get_cabac_inline_mips. >> 2. Optimize function get_cabac_bypass and get_cabac_bypass_sign. >> >> Speed of decoding h264: 4.89x ==> 5.05x(tested on 3A4000). >> ---

Re: [FFmpeg-devel] [mips] Optimize H264 decoding for MIPS platform.

2021-03-31 Thread
Could you please help to merge these patches. > 2021年3月30日 下午8:51,Shiyou Yin 写道: > > v2: Fixed a build error in [PATCH 2/5]. > v3: add patch 4/5. > > [PATCH v3 1/5] avcodec/mips: Restore the initialization sequence of > [PATCH v3 2/5] avcodec/mips: Refine get_cabac_inline_mips. > [PATCH v3 3/5

Re: [FFmpeg-devel] [PATCH 0/4] avcodec Loongson-2 MMI fixes

2021-02-22 Thread
> 2021年2月19日 下午1:28,Jiaxun Yang 写道: > > Get MMI optimizations build for Loongson-2 again. > Tested on Loongson-2 and Loongson-3A. > > Jiaxun Yang (4): > avutil/mips: Use MMI_{L,S}QC1 macro in {SAVE,RECOVER}_REG > avutil/mips: Extract load store with shift C1 pair marco > avcodec/mips: Use MM