Lines Matching refs:pixelFormat
96 int32_t ReadbackHelper::GetBytesPerPixel(PixelFormat pixelFormat) { in GetBytesPerPixel() argument
97 switch (pixelFormat) { in GetBytesPerPixel()
108 PixelFormat pixelFormat, in fillBuffer() argument
110 ASSERT_TRUE(pixelFormat == PixelFormat::RGB_888 || pixelFormat == PixelFormat::RGBA_8888); in fillBuffer()
111 int32_t bytesPerPixel = GetBytesPerPixel(pixelFormat); in fillBuffer()
152 bool ReadbackHelper::readbackSupported(const PixelFormat& pixelFormat, const Dataspace& dataspace, in readbackSupported() argument
158 if (pixelFormat != PixelFormat::RGB_888 && pixelFormat != PixelFormat::RGBA_8888) { in readbackSupported()
170 const PixelFormat pixelFormat) { in compareColorBuffers() argument
171 const int32_t bytesPerPixel = ReadbackHelper::GetBytesPerPixel(pixelFormat); in compareColorBuffers()
188 uint32_t height, PixelFormat pixelFormat, Dataspace dataspace) { in ReadbackBuffer() argument
194 mPixelFormat = pixelFormat; in ReadbackBuffer()