31.4 Array Alignment and Length Restrictions

For the sake of efficiency, most functions require that array pointer arguments are aligned on 4-byte boundaries. Arrays of the int16 data type declared in C will be correctly aligned. Furthermore, there are often restrictions on the number of elements that a function can operate on. Typically the number of elements must be a multiple of a small integer (e.g., four or eight), and must be larger than, or equal to, a specified minimum. Note that to improve performance, the functions do not verify the validity of their input parameters. Supplying incorrect parameters may lead to unpredictable results.