Android-cuttlefish cvd tool
Classes | Namespaces | Functions
image.h File Reference
#include <cstdint>
#include <string>
#include <vector>
#include "cuttlefish/host/graphics_detector/expected.h"
Include dependency graph for image.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gfxstream::RGBAImage
 
struct  gfxstream::YUV420Image
 
struct  gfxstream::PixelDiff
 

Namespaces

namespace  gfxstream
 

Functions

gfxstream::expected< RGBAImage, std::string > gfxstream::LoadRGBAFromBitmapFile (const std::string &filename)
 
gfxstream::expected< Ok, std::string > gfxstream::SaveRGBAToBitmapFile (uint32_t w, uint32_t h, const uint8_t *rgbaPixels, const std::string &filename)
 
gfxstream::expected< YUV420Image, std::string > gfxstream::LoadYUV420FromBitmapFile (const std::string &filename)
 
RGBAImage gfxstream::FillWithColor (uint32_t width, uint32_t height, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha)
 
YUV420Image gfxstream::ConvertRGBA8888ToYUV420 (const RGBAImage &rgbaImage)
 
gfxstream::expected< Ok, std::vector< PixelDiff > > gfxstream::CompareImages (const RGBAImage &expected, const RGBAImage &actual)