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 );
}
/* Our sequence value. This must be aligned on a 16-byte boundary when
* HAVE_VECTOR_ARITH is defined.
/* Our sequence value.
*/
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;
/* Full set of input regions, each made on the corresponding input
@ -193,12 +200,6 @@ typedef struct {
*/
VipsPel **p;
#ifdef HAVE_VECTOR_ARITH
/* max_band as a vector, for the RGBA case.
*/
v4f max_band_vec;
#endif /*HAVE_VECTOR_ARITH*/
} VipsCompositeSequence;
#ifdef HAVE_VECTOR_ARITH