Index: utility/include/bmpblk_utility.h |
diff --git a/utility/include/bmpblk_utility.h b/utility/include/bmpblk_utility.h |
index b73b6630653626e967b6cb1c75e4127917784f5a..099767a54963373fc439cc705993164c29ea0690 100644 |
--- a/utility/include/bmpblk_utility.h |
+++ b/utility/include/bmpblk_utility.h |
@@ -64,6 +64,9 @@ class BmpBlockUtil { |
/* Write the bmpblock to a file */ |
void write_to_bmpblock(const char *filename); |
+ /* What compression to use for the images */ |
+ void force_compression(uint32_t compression); |
+ |
private: |
/* Clear all internal data. */ |
void initialize(); |
@@ -105,6 +108,10 @@ class BmpBlockUtil { |
/* Internal variable for storing the content of BmpBlock. */ |
string bmpblock_; |
+ |
+ /* Internal variables to determine whether or not to specify compression */ |
+ bool set_compression_; // true if we force it |
+ uint32_t compression_; // what we force it to |
}; |
} // namespace vboot_reference |