Home
last modified time | relevance | path

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

/hardware/google/gfxstream/common/detector/
DImage.cpp198 auto rgbaImage = GFXSTREAM_EXPECT(LoadRGBAFromBitmapFile(filename)); in LoadYUV420FromBitmapFile() local
199 return ConvertRGBA8888ToYUV420(rgbaImage); in LoadYUV420FromBitmapFile()
252 YUV420Image ConvertRGBA8888ToYUV420(const RGBAImage& rgbaImage) { in ConvertRGBA8888ToYUV420() argument
253 const uint32_t w = rgbaImage.width; in ConvertRGBA8888ToYUV420()
254 const uint32_t h = rgbaImage.height; in ConvertRGBA8888ToYUV420()
263 const auto* input = rgbaImage.pixels.data(); in ConvertRGBA8888ToYUV420()