mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
avcodec/x86/vvc/alf: Don't modify rsp unnecessarily
The vvc_alf_filter functions don't use x86inc's stack managment feature at all; they merely push and pop some regs themselves. So don't tell x86inc to provide stack (which in this case entails aligning the stack). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -456,7 +456,7 @@ SECTION .text
|
||||
; const uint8_t *src, ptrdiff_t src_stride, const ptrdiff_t width, cosnt ptr_diff_t height,
|
||||
; const int16_t *filter, const int16_t *clip, ptrdiff_t vb_pos, ptrdiff_t pixel_max);
|
||||
; ******************************
|
||||
cglobal vvc_alf_filter_%2_%1bpc, 10, 15, 12+2*(ps!=1)+2*LUMA, 0-0x30, dst, dst_stride, src, src_stride, width, height, filter, clip, vb_pos, pixel_max, \
|
||||
cglobal vvc_alf_filter_%2_%1bpc, 10, 15, 12+2*(ps!=1)+2*LUMA, dst, dst_stride, src, src_stride, width, height, filter, clip, vb_pos, pixel_max, \
|
||||
x, s1, s2, s3, s4
|
||||
%if !LUMA
|
||||
; chroma does not use registers m5 and m8. Swap them to reduce the amount
|
||||
|
||||
Reference in New Issue
Block a user