Lines Matching refs:pixelFormat
99 int32_t ReadbackHelper::GetBytesPerPixel(PixelFormat pixelFormat) { in GetBytesPerPixel() argument
100 switch (pixelFormat) { in GetBytesPerPixel()
111 PixelFormat pixelFormat, in fillBuffer() argument
113 ASSERT_TRUE(pixelFormat == PixelFormat::RGB_888 || pixelFormat == PixelFormat::RGBA_8888); in fillBuffer()
114 int32_t bytesPerPixel = GetBytesPerPixel(pixelFormat); in fillBuffer()
155 bool ReadbackHelper::readbackSupported(const PixelFormat& pixelFormat, const Dataspace& dataspace, in readbackSupported() argument
161 if (pixelFormat != PixelFormat::RGB_888 && pixelFormat != PixelFormat::RGBA_8888) { in readbackSupported()
173 const PixelFormat pixelFormat) { in compareColorBuffers() argument
174 const int32_t bytesPerPixel = ReadbackHelper::GetBytesPerPixel(pixelFormat); in compareColorBuffers()
190 uint32_t width, uint32_t height, PixelFormat pixelFormat, in ReadbackBuffer() argument
196 mPixelFormat = pixelFormat; in ReadbackBuffer()