Lines Matching refs:surface

95 static bool neonRasterTranslucentRle(SwSurface* surface, const SwRle* rle, uint8_t r, uint8_t g, ui…  in neonRasterTranslucentRle()  argument
100 if (surface->channelSize == sizeof(uint32_t)) { in neonRasterTranslucentRle()
101 auto color = surface->join(r, g, b, a); in neonRasterTranslucentRle()
110 auto dst = &surface->buf32[span->y * surface->stride + span->x]; in neonRasterTranslucentRle()
135 } else if (surface->channelSize == sizeof(uint8_t)) { in neonRasterTranslucentRle()
136 TVGLOG("SW_ENGINE", "Require Neon Optimization, Channel Size = %d", surface->channelSize); in neonRasterTranslucentRle()
139 auto dst = &surface->buf8[span->y * surface->stride + span->x]; in neonRasterTranslucentRle()
152 static bool neonRasterTranslucentRect(SwSurface* surface, const SwBBox& region, uint8_t r, uint8_t … in neonRasterTranslucentRect() argument
158 if (surface->channelSize == sizeof(uint32_t)) { in neonRasterTranslucentRect()
159 auto color = surface->join(r, g, b, a); in neonRasterTranslucentRect()
160 auto buffer = surface->buf32 + (region.min.y * surface->stride) + region.min.x; in neonRasterTranslucentRect()
170 auto dst = &buffer[y * surface->stride]; in neonRasterTranslucentRect()
189 } else if (surface->channelSize == sizeof(uint8_t)) { in neonRasterTranslucentRect()
190 TVGLOG("SW_ENGINE", "Require Neon Optimization, Channel Size = %d", surface->channelSize); in neonRasterTranslucentRect()
191 auto buffer = surface->buf8 + (region.min.y * surface->stride) + region.min.x; in neonRasterTranslucentRect()
194 auto dst = &buffer[y * surface->stride]; in neonRasterTranslucentRect()