diff options
author | Henrik Gramner <henrik@gramner.com> | 2014-02-10 00:58:04 +0200 |
---|---|---|
committer | Henrik Gramner <henrik@gramner.com> | 2015-08-04 20:13:09 +0200 |
commit | 826790f59640a84813e8dd81c2bba559516f8e4d (patch) | |
tree | cab688555f8910eb79107898774a5fc6f8b0afd7 /libavcodec/x86 | |
parent | 99f8fc725de4de7dcb8f125220e17082ea4b81cc (diff) | |
download | ffmpeg-826790f59640a84813e8dd81c2bba559516f8e4d.tar.gz |
x86inc: Support arbitrary stack alignments
Change ALLOC_STACK to always align the stack before allocating stack space for
consistency. Previously alignment would occur either before or after allocating
stack space depending on whether manual alignment was required or not.
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/h264_deblock.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/h264_deblock.asm b/libavcodec/x86/h264_deblock.asm index 14c8205bab..5151f3c9cd 100644 --- a/libavcodec/x86/h264_deblock.asm +++ b/libavcodec/x86/h264_deblock.asm @@ -446,13 +446,13 @@ cglobal deblock_%1_luma_8, 5,5,8,2*%2 ; int8_t *tc0) ;----------------------------------------------------------------------------- INIT_MMX cpuname -cglobal deblock_h_luma_8, 0,5,8,0x60+HAVE_ALIGNED_STACK*12 +cglobal deblock_h_luma_8, 0,5,8,0x60+12 mov r0, r0mp mov r3, r1m lea r4, [r3*3] sub r0, 4 lea r1, [r0+r4] -%define pix_tmp esp+12*HAVE_ALIGNED_STACK +%define pix_tmp esp+12 ; transpose 6x16 -> tmp space TRANSPOSE6x8_MEM PASS8ROWS(r0, r1, r3, r4), pix_tmp |