sws/aarch64/yuv2rgb: honor iOS calling convention
authorClément Bœsch <clement@stupeflix.com>
Fri, 8 Apr 2016 11:39:22 +0000 (13:39 +0200)
committerClément Bœsch <clement@stupeflix.com>
Fri, 8 Apr 2016 15:58:43 +0000 (17:58 +0200)
commitcab9661dba472fc913fb43077c7b8dad13410e5e
tree433f4afff324c08227d801f20170dba2d86f566c
parent259879d32d124c60ef868e17e419c7c7c287674a
sws/aarch64/yuv2rgb: honor iOS calling convention

y_offset and y_coeff being successive 32-bit integers, they are packed
into 8 bytes instead of 2x8 bytes.

See https://developer.apple.com/library/ios/documentation/Xcode/Conceptual/iPhoneOSABIReference/Articles/ARM64FunctionCallingConventions.html

> iOS diverges from Procedure Call Standard for the ARM 64-bit
> Architecture in several ways
[...]
> In the generic procedure call standard, all function arguments passed
> on the stack consume slots in multiples of 8 bytes. In iOS, this
> requirement is dropped, and values consume only the space required.
[...]
> Padding is still inserted on the stack to satisfy arguments’ alignment
> requirements.
libswscale/aarch64/yuv2rgb_neon.S