Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Side by Side Diff: utility/include/bmpblk_utility.h

Issue 6533012: Write images to the bmpblock in the order they appear in the yaml. (Closed) Base URL: http://git.chromium.org/git/vboot_reference.git@master
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « utility/bmpblk_utility.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 5
6 #ifndef VBOOT_REFERENCE_BMPBLK_UTILITY_H_ 6 #ifndef VBOOT_REFERENCE_BMPBLK_UTILITY_H_
7 #define VBOOT_REFERENCE_BMPBLK_UTILITY_H_ 7 #define VBOOT_REFERENCE_BMPBLK_UTILITY_H_
8 8
9 #include "bmpblk_header.h" 9 #include "bmpblk_header.h"
10 10
(...skipping 24 matching lines...) Expand all
35 string image_names[MAX_IMAGE_IN_LAYOUT]; 35 string image_names[MAX_IMAGE_IN_LAYOUT];
36 } ScreenConfig; 36 } ScreenConfig;
37 37
38 typedef map<string, ImageConfig> StrImageConfigMap; 38 typedef map<string, ImageConfig> StrImageConfigMap;
39 typedef map<string, ScreenConfig> StrScreenConfigMap; 39 typedef map<string, ScreenConfig> StrScreenConfigMap;
40 40
41 /* Internal struct for contructing the whole BmpBlock. */ 41 /* Internal struct for contructing the whole BmpBlock. */
42 typedef struct BmpBlockConfig { 42 typedef struct BmpBlockConfig {
43 string config_filename; 43 string config_filename;
44 BmpBlockHeader header; 44 BmpBlockHeader header;
45 vector<string> image_names;
45 StrImageConfigMap images_map; 46 StrImageConfigMap images_map;
46 StrScreenConfigMap screens_map; 47 StrScreenConfigMap screens_map;
47 vector<vector<string> > localizations; 48 vector<vector<string> > localizations;
48 } BmpBlockConfig; 49 } BmpBlockConfig;
49 50
50 class BmpBlockUtil { 51 class BmpBlockUtil {
51 public: 52 public:
52 BmpBlockUtil(); 53 BmpBlockUtil();
53 ~BmpBlockUtil(); 54 ~BmpBlockUtil();
54 55
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 string bmpblock_; 111 string bmpblock_;
111 112
112 /* Internal variables to determine whether or not to specify compression */ 113 /* Internal variables to determine whether or not to specify compression */
113 bool set_compression_; // true if we force it 114 bool set_compression_; // true if we force it
114 uint32_t compression_; // what we force it to 115 uint32_t compression_; // what we force it to
115 }; 116 };
116 117
117 } // namespace vboot_reference 118 } // namespace vboot_reference
118 119
119 #endif // VBOOT_REFERENCE_BMPBLK_UTILITY_H_ 120 #endif // VBOOT_REFERENCE_BMPBLK_UTILITY_H_
OLDNEW
« no previous file with comments | « utility/bmpblk_utility.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698