Lines Matching refs:pixelFormat
98 int32_t ReadbackHelper::GetBytesPerPixel(PixelFormat pixelFormat) { in GetBytesPerPixel() argument
99 switch (pixelFormat) { in GetBytesPerPixel()
110 PixelFormat pixelFormat, in fillBuffer() argument
112 ASSERT_TRUE(pixelFormat == PixelFormat::RGB_888 || pixelFormat == PixelFormat::RGBA_8888); in fillBuffer()
113 int32_t bytesPerPixel = GetBytesPerPixel(pixelFormat); in fillBuffer()
154 bool ReadbackHelper::readbackSupported(const PixelFormat& pixelFormat, const Dataspace& dataspace, in readbackSupported() argument
160 if (pixelFormat != PixelFormat::RGB_888 && pixelFormat != PixelFormat::RGBA_8888) { in readbackSupported()
172 const PixelFormat pixelFormat) { in compareColorBuffers() argument
173 const int32_t bytesPerPixel = ReadbackHelper::GetBytesPerPixel(pixelFormat); in compareColorBuffers()
190 uint32_t height, PixelFormat pixelFormat, Dataspace dataspace) { in ReadbackBuffer() argument
196 mPixelFormat = pixelFormat; in ReadbackBuffer()