Move max_band_vec to first position

This commit is contained in:
Kleis Auke Wolthuizen 2021-03-23 16:47:53 +01:00
parent e7faebf6af
commit 305714c978
1 changed files with 9 additions and 8 deletions

View File

@ -163,10 +163,17 @@ vips_composite_base_dispose( GObject *gobject )
G_OBJECT_CLASS( vips_composite_base_parent_class )->dispose( gobject ); G_OBJECT_CLASS( vips_composite_base_parent_class )->dispose( gobject );
} }
/* Our sequence value. This must be aligned on a 16-byte boundary when /* Our sequence value.
* HAVE_VECTOR_ARITH is defined.
*/ */
typedef struct { typedef struct {
#ifdef HAVE_VECTOR_ARITH
/* max_band as a vector, for the RGBA case. This must be
* defined first to ensure that the member is aligned
* on a 16-byte boundary.
*/
v4f max_band_vec;
#endif /*HAVE_VECTOR_ARITH*/
VipsCompositeBase *composite; VipsCompositeBase *composite;
/* Full set of input regions, each made on the corresponding input /* Full set of input regions, each made on the corresponding input
@ -193,12 +200,6 @@ typedef struct {
*/ */
VipsPel **p; VipsPel **p;
#ifdef HAVE_VECTOR_ARITH
/* max_band as a vector, for the RGBA case.
*/
v4f max_band_vec;
#endif /*HAVE_VECTOR_ARITH*/
} VipsCompositeSequence; } VipsCompositeSequence;
#ifdef HAVE_VECTOR_ARITH #ifdef HAVE_VECTOR_ARITH