Skip to content

Commit

Permalink
swscale: [LA] Optimize swscale funcs in input.c
Browse files Browse the repository at this point in the history
Optimized 7 funcs with LSX and LASX:
1. yuy2ToUV_c
2. yvy2ToUV_c
3. uyvyToUV_c
4. nv12ToUV_c
5. nv21ToUV_c
6. abgrToA_c
7. rgbaToA_c

Reviewed-by: colleague of Shiyou Yin
Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
yinshiyou authored and michaelni committed Apr 11, 2024
1 parent 8b76df9 commit 2a7d622
Show file tree
Hide file tree
Showing 6 changed files with 652 additions and 18 deletions.
1 change: 1 addition & 0 deletions libswscale/loongarch/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ LSX-OBJS-$(CONFIG_SWSCALE) += loongarch/swscale.o \
loongarch/input.o \
loongarch/output.o \
loongarch/output_lsx.o \
loongarch/input_lsx.o \
loongarch/yuv2rgb_lsx.o
Loading

0 comments on commit 2a7d622

Please sign in to comment.