Lines Matching refs:y

45 …void operator()(const SwFill* fill, uint8_t* dst, uint32_t y, uint32_t x, uint32_t len, SwMask op,…  in operator ()()
47 fillLinear(fill, dst, y, x, len, op, a); in operator ()()
50 …void operator()(const SwFill* fill, uint8_t* dst, uint32_t y, uint32_t x, uint32_t len, uint8_t* c… in operator ()()
52 fillLinear(fill, dst, y, x, len, cmp, op, a); in operator ()()
55 …void operator()(const SwFill* fill, uint32_t* dst, uint32_t y, uint32_t x, uint32_t len, SwBlender… in operator ()()
57 fillLinear(fill, dst, y, x, len, op, a); in operator ()()
60 …void operator()(const SwFill* fill, uint32_t* dst, uint32_t y, uint32_t x, uint32_t len, uint8_t* … in operator ()()
62 fillLinear(fill, dst, y, x, len, cmp, alpha, csize, opacity); in operator ()()
65 …void operator()(const SwFill* fill, uint32_t* dst, uint32_t y, uint32_t x, uint32_t len, SwBlender… in operator ()()
67 fillLinear(fill, dst, y, x, len, op, op2, a); in operator ()()
74 …void operator()(const SwFill* fill, uint8_t* dst, uint32_t y, uint32_t x, uint32_t len, SwMask op,… in operator ()()
76 fillRadial(fill, dst, y, x, len, op, a); in operator ()()
79 …void operator()(const SwFill* fill, uint8_t* dst, uint32_t y, uint32_t x, uint32_t len, uint8_t* c… in operator ()()
81 fillRadial(fill, dst, y, x, len, cmp, op, a); in operator ()()
84 …void operator()(const SwFill* fill, uint32_t* dst, uint32_t y, uint32_t x, uint32_t len, SwBlender… in operator ()()
86 fillRadial(fill, dst, y, x, len, op, a); in operator ()()
89 …void operator()(const SwFill* fill, uint32_t* dst, uint32_t y, uint32_t x, uint32_t len, uint8_t* … in operator ()()
91 fillRadial(fill, dst, y, x, len, cmp, alpha, csize, opacity); in operator ()()
94 …void operator()(const SwFill* fill, uint32_t* dst, uint32_t y, uint32_t x, uint32_t len, SwBlender… in operator ()()
96 fillRadial(fill, dst, y, x, len, op, op2, a); in operator ()()
235 auto dbuffer = &surface->buf8[region.min.y * surface->stride + region.min.x]; in _compositeMaskImage()
236 …auto sbuffer = image->buf8 + (region.min.y + image->oy) * image->stride + (region.min.x + image->o… in _compositeMaskImage()
238 for (auto y = region.min.y; y < region.max.y; ++y) { in _compositeMaskImage() local
305 for (auto y = miny; y < maxy; y += inc) { in _interpDownScaler() local
333 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterCompositeMaskedRect()
335 …auto cbuffer = surface->compositor->image.buf8 + (region.min.y * cstride + region.min.x); //comp… in _rasterCompositeMaskedRect()
338 for (uint32_t y = 0; y < h; ++y) { in _rasterCompositeMaskedRect() local
352 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterDirectMaskedRect()
353 …auto cbuffer = surface->compositor->image.buf8 + (region.min.y * surface->compositor->image.stride… in _rasterDirectMaskedRect()
354 …auto dbuffer = surface->buf8 + (region.min.y * surface->stride + region.min.x); //destination bu… in _rasterDirectMaskedRect()
356 for (uint32_t y = 0; y < h; ++y) { in _rasterDirectMaskedRect() local
375 …->compositor->method, region.min.x, region.min.y, region.max.x - region.min.x, region.max.y - regi… in _rasterMaskedRect()
387 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterMattedRect()
389 …auto cbuffer = surface->compositor->image.buf8 + ((region.min.y * surface->compositor->image.strid… in _rasterMattedRect()
392 …Rect [Region: %lu %lu %u %u]", (int)surface->compositor->method, region.min.x, region.min.y, w, h); in _rasterMattedRect()
397 auto buffer = surface->buf32 + (region.min.y * surface->stride) + region.min.x; in _rasterMattedRect()
398 for (uint32_t y = 0; y < h; ++y) { in _rasterMattedRect() local
399 auto dst = &buffer[y * surface->stride]; in _rasterMattedRect()
400 auto cmp = &cbuffer[y * surface->compositor->image.stride * csize]; in _rasterMattedRect()
408 auto buffer = surface->buf8 + (region.min.y * surface->stride) + region.min.x; in _rasterMattedRect()
409 for (uint32_t y = 0; y < h; ++y) { in _rasterMattedRect() local
410 auto dst = &buffer[y * surface->stride]; in _rasterMattedRect()
411 auto cmp = &cbuffer[y * surface->compositor->image.stride * csize]; in _rasterMattedRect()
426 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterBlendingRect()
428 auto buffer = surface->buf32 + (region.min.y * surface->stride) + region.min.x; in _rasterBlendingRect()
430 for (uint32_t y = 0; y < h; ++y) { in _rasterBlendingRect() local
431 auto dst = &buffer[y * surface->stride]; in _rasterBlendingRect()
455 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterSolidRect()
460 auto buffer = surface->buf32 + (region.min.y * surface->stride); in _rasterSolidRect()
461 for (uint32_t y = 0; y < h; ++y) { in _rasterSolidRect() local
462 rasterPixel32(buffer + y * surface->stride, color, region.min.x, w); in _rasterSolidRect()
468 for (uint32_t y = 0; y < h; ++y) { in _rasterSolidRect() local
469 … rasterGrayscale8(surface->buf8, 255, (y + region.min.y) * surface->stride + region.min.x, w); in _rasterSolidRect()
504 auto cmp = &cbuffer[span->y * cstride + span->x]; in _rasterCompositeMaskedRle()
524 auto cmp = &cbuffer[span->y * cstride + span->x]; in _rasterDirectMaskedRle()
525 auto dst = &surface->buf8[span->y * surface->stride + span->x]; in _rasterDirectMaskedRle()
565 auto dst = &surface->buf32[span->y * surface->stride + span->x]; in _rasterMattedRle()
566 auto cmp = &cbuffer[(span->y * surface->compositor->image.stride + span->x) * csize]; in _rasterMattedRle()
578 auto dst = &surface->buf8[span->y * surface->stride + span->x]; in _rasterMattedRle()
579 auto cmp = &cbuffer[(span->y * surface->compositor->image.stride + span->x) * csize]; in _rasterMattedRle()
599 auto dst = &surface->buf32[span->y * surface->stride + span->x]; in _rasterBlendingRle()
636 … rasterPixel32(surface->buf32 + span->y * surface->stride, color, span->x, span->len); in _rasterSolidRle()
638 auto dst = &surface->buf32[span->y * surface->stride + span->x]; in _rasterSolidRle()
650 … rasterGrayscale8(surface->buf8, span->coverage, span->y * surface->stride + span->x, span->len); in _rasterSolidRle()
652 auto dst = &surface->buf8[span->y * surface->stride + span->x]; in _rasterSolidRle()
685 #define SCALED_IMAGE_RANGE_Y(y) \ argument
686 auto sy = (y) * itransform->e22 + itransform->e23 - 0.49f; \
719 SCALED_IMAGE_RANGE_Y(span->y) in _rasterScaledMattedRleImage()
720 auto dst = &surface->buf32[span->y * surface->stride + span->x]; in _rasterScaledMattedRleImage()
721 …auto cmp = &surface->compositor->image.buf8[(span->y * surface->compositor->image.stride + span->x… in _rasterScaledMattedRleImage()
742 SCALED_IMAGE_RANGE_Y(span->y) in _rasterScaledBlendingRleImage()
743 auto dst = &surface->buf32[span->y * surface->stride + span->x]; in _rasterScaledBlendingRleImage()
773 SCALED_IMAGE_RANGE_Y(span->y) in _rasterScaledRleImage()
774 auto dst = &surface->buf32[span->y * surface->stride + span->x]; in _rasterScaledRleImage()
824 auto dst = &surface->buf32[span->y * surface->stride + span->x]; in _rasterDirectMattedRleImage()
825 auto cmp = &cbuffer[(span->y * surface->compositor->image.stride + span->x) * csize]; in _rasterDirectMattedRleImage()
826 auto img = image->buf32 + (span->y + image->oy) * image->stride + (span->x + image->ox); in _rasterDirectMattedRleImage()
849 auto dst = &surface->buf32[span->y * surface->stride + span->x]; in _rasterDirectBlendingRleImage()
850 auto img = image->buf32 + (span->y + image->oy) * image->stride + (span->x + image->ox); in _rasterDirectBlendingRleImage()
872 auto dst = &surface->buf32[span->y * surface->stride + span->x]; in _rasterDirectRleImage()
873 auto img = image->buf32 + (span->y + image->oy) * image->stride + (span->x + image->ox); in _rasterDirectRleImage()
934 auto dbuffer = surface->buf32 + (region.min.y * surface->stride + region.min.x); in _rasterScaledMattedImage()
936 …auto cbuffer = surface->compositor->image.buf8 + (region.min.y * surface->compositor->image.stride… in _rasterScaledMattedImage()
939 …->compositor->method, region.min.x, region.min.y, region.max.x - region.min.x, region.max.y - regi… in _rasterScaledMattedImage()
945 for (auto y = region.min.y; y < region.max.y; ++y) { in _rasterScaledMattedImage() local
946 SCALED_IMAGE_RANGE_Y(y) in _rasterScaledMattedImage()
969 auto dbuffer = surface->buf32 + (region.min.y * surface->stride + region.min.x); in _rasterScaledBlendingImage()
974 for (auto y = region.min.y; y < region.max.y; ++y, dbuffer += surface->stride) { in _rasterScaledBlendingImage() local
975 SCALED_IMAGE_RANGE_Y(y) in _rasterScaledBlendingImage()
996 auto buffer = surface->buf32 + (region.min.y * surface->stride + region.min.x); in _rasterScaledImage()
997 for (auto y = region.min.y; y < region.max.y; ++y, buffer += surface->stride) { in _rasterScaledImage() local
998 SCALED_IMAGE_RANGE_Y(y) in _rasterScaledImage()
1008 auto buffer = surface->buf8 + (region.min.y * surface->stride + region.min.x); in _rasterScaledImage()
1009 for (auto y = region.min.y; y < region.max.y; ++y, buffer += surface->stride) { in _rasterScaledImage() local
1010 SCALED_IMAGE_RANGE_Y(y) in _rasterScaledImage()
1054 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterDirectMattedImage()
1058 …auto sbuffer = image->buf32 + (region.min.y + image->oy) * image->stride + (region.min.x + image->… in _rasterDirectMattedImage()
1059 …auto cbuffer = surface->compositor->image.buf8 + (region.min.y * surface->compositor->image.stride… in _rasterDirectMattedImage()
1061 …age [Region: %lu %lu %u %u]", (int)surface->compositor->method, region.min.x, region.min.y, w, h); in _rasterDirectMattedImage()
1065 auto buffer = surface->buf32 + (region.min.y * surface->stride) + region.min.x; in _rasterDirectMattedImage()
1066 for (uint32_t y = 0; y < h; ++y) { in _rasterDirectMattedImage() local
1087 auto buffer = surface->buf8 + (region.min.y * surface->stride) + region.min.x; in _rasterDirectMattedImage()
1088 for (uint32_t y = 0; y < h; ++y) { in _rasterDirectMattedImage() local
1119 auto dbuffer = &surface->buf32[region.min.y * surface->stride + region.min.x]; in _rasterDirectBlendingImage()
1120 …auto sbuffer = image->buf32 + (region.min.y + image->oy) * image->stride + (region.min.x + image->… in _rasterDirectBlendingImage()
1122 for (auto y = region.min.y; y < region.max.y; ++y) { in _rasterDirectBlendingImage() local
1145 …auto sbuffer = image->buf32 + (region.min.y + image->oy) * image->stride + (region.min.x + image->… in _rasterDirectImage()
1149 auto dbuffer = &surface->buf32[region.min.y * surface->stride + region.min.x]; in _rasterDirectImage()
1151 for (auto y = region.min.y; y < region.max.y; ++y) { in _rasterDirectImage() local
1169 auto dbuffer = &surface->buf8[region.min.y * surface->stride + region.min.x]; in _rasterDirectImage()
1171 …for (auto y = region.min.y; y < region.max.y; ++y, dbuffer += surface->stride, sbuffer += image->s… in _rasterDirectImage() local
1196 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterDirectMattedBlendingImage()
1200 …auto sbuffer = image->buf32 + (region.min.y + image->oy) * image->stride + (region.min.x + image->… in _rasterDirectMattedBlendingImage()
1201 …auto cbuffer = surface->compositor->image.buf8 + (region.min.y * surface->compositor->image.stride… in _rasterDirectMattedBlendingImage()
1202 auto buffer = surface->buf32 + (region.min.y * surface->stride) + region.min.x; in _rasterDirectMattedBlendingImage()
1204 for (uint32_t y = 0; y < h; ++y) { in _rasterDirectMattedBlendingImage() local
1268 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterCompositeGradientMaskedRect()
1271 auto cbuffer = surface->compositor->image.buf8 + (region.min.y * cstride + region.min.x); in _rasterCompositeGradientMaskedRect()
1273 for (uint32_t y = 0; y < h; ++y) { in _rasterCompositeGradientMaskedRect() local
1274 fillMethod()(fill, cbuffer, region.min.y + y, region.min.x, w, maskOp, 255); in _rasterCompositeGradientMaskedRect()
1284 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterDirectGradientMaskedRect()
1287 auto cbuffer = surface->compositor->image.buf8 + (region.min.y * cstride + region.min.x); in _rasterDirectGradientMaskedRect()
1288 auto dbuffer = surface->buf8 + (region.min.y * surface->stride + region.min.x); in _rasterDirectGradientMaskedRect()
1290 for (uint32_t y = 0; y < h; ++y) { in _rasterDirectGradientMaskedRect() local
1291 fillMethod()(fill, dbuffer, region.min.y + y, region.min.x, w, cbuffer, maskOp, 255); in _rasterDirectGradientMaskedRect()
1304 …u %lu]", (int)method, region.min.x, region.min.y, region.max.x - region.min.x, region.max.y - regi… in _rasterGradientMaskedRect()
1318 auto buffer = surface->buf32 + (region.min.y * surface->stride) + region.min.x; in _rasterGradientMattedRect()
1319 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterGradientMattedRect()
1322 …auto cbuffer = surface->compositor->image.buf8 + (region.min.y * surface->compositor->image.stride… in _rasterGradientMattedRect()
1325 …ient [Region: %lu %lu %u %u]", (int)surface->compositor->method, region.min.x, region.min.y, w, h); in _rasterGradientMattedRect()
1327 for (uint32_t y = 0; y < h; ++y) { in _rasterGradientMattedRect() local
1328 fillMethod()(fill, buffer, region.min.y + y, region.min.x, w, cbuffer, alpha, csize, 255); in _rasterGradientMattedRect()
1339 auto buffer = surface->buf32 + (region.min.y * surface->stride) + region.min.x; in _rasterBlendingGradientRect()
1341 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterBlendingGradientRect()
1344 for (uint32_t y = 0; y < h; ++y) { in _rasterBlendingGradientRect() local
1345 …fillMethod()(fill, buffer + y * surface->stride, region.min.y + y, region.min.x, w, opBlendPreNorm… in _rasterBlendingGradientRect()
1348 for (uint32_t y = 0; y < h; ++y) { in _rasterBlendingGradientRect() local
1349 …fillMethod()(fill, buffer + y * surface->stride, region.min.y + y, region.min.x, w, opBlendSrcOver… in _rasterBlendingGradientRect()
1358 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterTranslucentGradientRect()
1363 auto buffer = surface->buf32 + (region.min.y * surface->stride) + region.min.x; in _rasterTranslucentGradientRect()
1364 for (uint32_t y = 0; y < h; ++y) { in _rasterTranslucentGradientRect() local
1365 fillMethod()(fill, buffer, region.min.y + y, region.min.x, w, opBlendPreNormal, 255); in _rasterTranslucentGradientRect()
1370 auto buffer = surface->buf8 + (region.min.y * surface->stride) + region.min.x; in _rasterTranslucentGradientRect()
1371 for (uint32_t y = 0; y < h; ++y) { in _rasterTranslucentGradientRect() local
1372 fillMethod()(fill, buffer, region.min.y + y, region.min.x, w, _opMaskAdd, 255); in _rasterTranslucentGradientRect()
1384 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterSolidGradientRect()
1388 auto buffer = surface->buf32 + (region.min.y * surface->stride) + region.min.x; in _rasterSolidGradientRect()
1389 for (uint32_t y = 0; y < h; ++y) { in _rasterSolidGradientRect() local
1390 fillMethod()(fill, buffer, region.min.y + y, region.min.x, w, opBlendSrcOver, 255); in _rasterSolidGradientRect()
1395 auto buffer = surface->buf8 + (region.min.y * surface->stride) + region.min.x; in _rasterSolidGradientRect()
1396 for (uint32_t y = 0; y < h; ++y) { in _rasterSolidGradientRect() local
1397 fillMethod()(fill, buffer, region.min.y + y, region.min.x, w, _opMaskNone, 255); in _rasterSolidGradientRect()
1447 auto cmp = &cbuffer[span->y * cstride + span->x]; in _rasterCompositeGradientMaskedRle()
1448 fillMethod()(fill, cmp, span->y, span->x, span->len, maskOp, span->coverage); in _rasterCompositeGradientMaskedRle()
1463 auto cmp = &cbuffer[span->y * cstride + span->x]; in _rasterDirectGradientMaskedRle()
1464 auto dst = &dbuffer[span->y * surface->stride + span->x]; in _rasterDirectGradientMaskedRle()
1465 fillMethod()(fill, dst, span->y, span->x, span->len, cmp, maskOp, span->coverage); in _rasterDirectGradientMaskedRle()
1497 auto dst = &surface->buf32[span->y * surface->stride + span->x]; in _rasterGradientMattedRle()
1498 auto cmp = &cbuffer[(span->y * surface->compositor->image.stride + span->x) * csize]; in _rasterGradientMattedRle()
1499 fillMethod()(fill, dst, span->y, span->x, span->len, cmp, alpha, csize, span->coverage); in _rasterGradientMattedRle()
1511 auto dst = &surface->buf32[span->y * surface->stride + span->x]; in _rasterBlendingGradientRle()
1512 …fillMethod()(fill, dst, span->y, span->x, span->len, opBlendPreNormal, surface->blender, span->cov… in _rasterBlendingGradientRle()
1526 auto dst = &surface->buf32[span->y * surface->stride + span->x]; in _rasterTranslucentGradientRle()
1527 …if (span->coverage == 255) fillMethod()(fill, dst, span->y, span->x, span->len, opBlendPreNormal, … in _rasterTranslucentGradientRle()
1528 … else fillMethod()(fill, dst, span->y, span->x, span->len, opBlendNormal, span->coverage); in _rasterTranslucentGradientRle()
1533 auto dst = &surface->buf8[span->y * surface->stride + span->x]; in _rasterTranslucentGradientRle()
1534 fillMethod()(fill, dst, span->y, span->x, span->len, _opMaskAdd, span->coverage); in _rasterTranslucentGradientRle()
1549 auto dst = &surface->buf32[span->y * surface->stride + span->x]; in _rasterSolidGradientRle()
1550 …if (span->coverage == 255) fillMethod()(fill, dst, span->y, span->x, span->len, opBlendSrcOver, 25… in _rasterSolidGradientRle()
1551 … else fillMethod()(fill, dst, span->y, span->x, span->len, opBlendInterp, span->coverage); in _rasterSolidGradientRle()
1556 auto dst = &surface->buf8[span->y * surface->stride + span->x]; in _rasterSolidGradientRle()
1557 … if (span->coverage == 255) fillMethod()(fill, dst, span->y, span->x, span->len, _opMaskNone, 255); in _rasterSolidGradientRle()
1558 else fillMethod()(fill, dst, span->y, span->x, span->len, _opMaskAdd, span->coverage); in _rasterSolidGradientRle()
1651 bool rasterClear(SwSurface* surface, uint32_t x, uint32_t y, uint32_t w, uint32_t h, pixel_t val) in rasterClear() argument
1659 rasterPixel32(surface->buf32, val, surface->stride * y, w * h); in rasterClear()
1663 … rasterPixel32(surface->buf32, val, (surface->stride * y + x) + (surface->stride * i), w); in rasterClear()
1670 rasterGrayscale8(surface->buf8, 0x00, surface->stride * y, w * h); in rasterClear()
1674 … rasterGrayscale8(surface->buf8, 0x00, (surface->stride * y + x) + (surface->stride * i), w); in rasterClear()
1689 for (uint32_t y = 0; y < surface->h; y++) { in rasterUnpremultiply() local
1690 auto buffer = surface->buf32 + surface->stride * y; in rasterUnpremultiply()
1722 for (uint32_t y = 0; y < surface->h; ++y, buffer += surface->stride) { in rasterPremultiply() local
1798 …if (bbox.max.x < 0 || bbox.max.y < 0 || bbox.min.x >= static_cast<SwCoord>(surface->w) || bbox.min… in rasterImage()
1830 src += ((bbox.min.x * stride) + bbox.min.y); in rasterXYFlip()
1831 dst += ((bbox.min.y * stride) + bbox.min.x); in rasterXYFlip()
1833 src += ((bbox.min.y * stride) + bbox.min.x); in rasterXYFlip()
1834 dst += ((bbox.min.x * stride) + bbox.min.y); in rasterXYFlip()
1841 for (int y = 0; y < h; y += BLOCK) { in rasterXYFlip() local
1842 auto p = &in[y * stride]; in rasterXYFlip()
1843 auto q = &out[y]; in rasterXYFlip()
1844 auto by = std::min(h, y + BLOCK) - y; in rasterXYFlip()