[babl] babl: harmonize order of fields in image/model/format
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] babl: harmonize order of fields in image/model/format
- Date: Wed, 28 Nov 2018 01:17:47 +0000 (UTC)
commit 2313351af976798db2aaea0f3b8cfa7dcc383511
Author: Øyvind Kolås <pippin gimp org>
Date: Tue Nov 27 20:41:23 2018 +0100
babl: harmonize order of fields in image/model/format
babl/babl-format.h | 4 ++--
babl/babl-image.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/babl/babl-format.h b/babl/babl-format.h
index b3a4643..9ebdcec 100644
--- a/babl/babl-format.h
+++ b/babl/babl-format.h
@@ -28,13 +28,13 @@ typedef struct
int components;
BablComponent **component;
BablType **type;
- void *model_data;
+ BablModel *model;
const Babl *space;
+ void *model_data;
void *image_template; /* image template for use with
linear (non-planer) images */
BablSampling **sampling;
- BablModel *model;
int bytes_per_pixel;
int planar;
double loss; /*< average relative error when converting
diff --git a/babl/babl-image.h b/babl/babl-image.h
index ea7d05a..c20c06e 100644
--- a/babl/babl-image.h
+++ b/babl/babl-image.h
@@ -48,10 +48,10 @@ typedef struct
{
BablInstance instance;
BablFormat *format; /*< (if known) */
- BablModel *model; /*< (always known) */
int components;
BablComponent **component;
BablType **type;
+ BablModel *model; /*< (always known) */
BablSampling **sampling;
char **data;
int *pitch;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]