Lines Matching defs:dstPixel
517 std::function<void(uint16_t* dstPixel, const float* srcPixel)> convert) {
527 uint16_t* dstPixel = (uint16_t*) result.getAddr(x, y);
529 convert(dstPixel, srcPixel);
548 [] (uint16_t* dstPixel, const float* srcPixel) {
549 dstPixel[0] = flt_2_uint16(srcPixel[1]); // U
550 dstPixel[1] = flt_2_uint16(srcPixel[0]); // Y
551 dstPixel[2] = flt_2_uint16(srcPixel[2]); // V
552 dstPixel[3] = flt_2_uint16(srcPixel[3]); // A
609 (uint16_t* dstPixel, const float* srcPixel) {
611 dstPixel[0] = tenBitsPP ? (val16 & 0xFFC0)
616 (uint16_t* dstPixel, const float* srcPixel) {
619 dstPixel[0] = tenBitsPP ? (u16 & 0xFFC0) : u16;
620 dstPixel[1] = tenBitsPP ? (v16 & 0xFFC0) : v16;
625 (uint16_t* dstPixel, const float* srcPixel) {
627 dstPixel[0] = tenBitsPP ? (val16 & 0xFFC0)
635 [] (uint16_t* dstPixel, const float* srcPixel) {
636 dstPixel[0] = SkFloatToHalf(srcPixel[0]);
639 [] (uint16_t* dstPixel, const float* srcPixel) {
640 dstPixel[0] = SkFloatToHalf(srcPixel[1]);
641 dstPixel[1] = SkFloatToHalf(srcPixel[2]);
645 [] (uint16_t* dstPixel, const float* srcPixel) {
646 dstPixel[0] = SkFloatToHalf(srcPixel[3]);