PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ rt_pixtype_alignment()

int rt_pixtype_alignment ( rt_pixtype  pixtype)

Return alignment requirements for data in the given pixel type.

Fast access to pixel values of this type must be aligned to as many bytes as returned by this function.

Parameters
pixtype: the pixel type to get alignment requirements for
Returns
the alignment requirements

Definition at line 75 of file rt_pixel.c.

References rt_pixtype_size().

75  {
76  return rt_pixtype_size(pixtype);
77 }
int rt_pixtype_size(rt_pixtype pixtype)
Return size in bytes of a value in the given pixtype.
Definition: rt_pixel.c:39
Here is the call graph for this function: