Home
last modified time | relevance | path

Searched refs:WriteUint32AsBytes (Results 1 – 1 of 1) sorted by relevance

/hardware/google/gfxstream/common/detector/
DImage.cpp142 auto WriteUint32AsBytes = [&](const uint32_t value) { WriteAsBytes(value); }; in SaveRGBAToBitmapFile() local
146 WriteUint32AsBytes(bitmapFileSize); in SaveRGBAToBitmapFile()
151 WriteUint32AsBytes(bitmapHeadersSize); // offset to actual pixel data in SaveRGBAToBitmapFile()
152 WriteUint32AsBytes(bitmapDibHeaderSize); in SaveRGBAToBitmapFile()
153 WriteUint32AsBytes(w); in SaveRGBAToBitmapFile()
154 WriteUint32AsBytes(h); in SaveRGBAToBitmapFile()
157 WriteUint32AsBytes(0x03); // compression/format in SaveRGBAToBitmapFile()
158 WriteUint32AsBytes(bitmapPixelsSize); // image size in SaveRGBAToBitmapFile()
159 WriteUint32AsBytes(0); // horizontal print reset in SaveRGBAToBitmapFile()
160 WriteUint32AsBytes(0); // vertical print reset in SaveRGBAToBitmapFile()
[all …]