[babl] Display whether a format is planar



commit c9690f84caf46b812e21a1278c8cffc4fe5eb1a4
Author: Mukund Sivaraman <muks banu com>
Date:   Sun Mar 1 16:27:55 2015 +0530

    Display whether a format is planar

 babl/babl-fish-stats.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/babl/babl-fish-stats.c b/babl/babl-fish-stats.c
index c0b34de..2b9cc7c 100644
--- a/babl/babl-fish-stats.c
+++ b/babl/babl-fish-stats.c
@@ -220,6 +220,7 @@ table_source_each (Babl *babl,
     fprintf (output_file, "<dt>bytes/pixel</dt><dd>%i</dd>", babl->format.bytes_per_pixel);
     fprintf (output_file, "<dt>model</dt><dd>%s</dd>", BABL (babl->format.model)->instance.name);
     fprintf (output_file, "<dt>loss</dt><dd>%f</dd>", babl_format_loss (babl));
+    fprintf (output_file, "<dt>planar</dt><dd>%d</dd>", babl->format.planar);
     fprintf (output_file, "<dt>components</dt><dd><table class='nopad'>");
 
     for (i = 0; i < babl->format.components; i++)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]