PostGIS  2.1.10dev-r@@SVN_REVISION@@
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.

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

Definition at line 1133 of file rt_api.c.

References rt_pixtype_size().

1133  {
1134  return rt_pixtype_size(pixtype);
1135 }
int rt_pixtype_size(rt_pixtype pixtype)
Return size in bytes of a value in the given pixtype.
Definition: rt_api.c:1097

Here is the call graph for this function: