Lines Matching refs:dstPixel
520 std::function<void(uint16_t* dstPixel, const float* srcPixel)> convert) { in make_16() argument
530 uint16_t* dstPixel = (uint16_t*) result.getAddr(x, y); in make_16() local
532 convert(dstPixel, srcPixel); in make_16()
551 [] (uint16_t* dstPixel, const float* srcPixel) { in create_YUV() argument
552 dstPixel[0] = flt_2_uint16(srcPixel[1]); // U in create_YUV()
553 dstPixel[1] = flt_2_uint16(srcPixel[0]); // Y in create_YUV()
554 dstPixel[2] = flt_2_uint16(srcPixel[2]); // V in create_YUV()
555 dstPixel[3] = flt_2_uint16(srcPixel[3]); // A in create_YUV()
612 (uint16_t* dstPixel, const float* srcPixel) { in create_YUV() argument
614 dstPixel[0] = tenBitsPP ? (val16 & 0xFFC0) in create_YUV()
619 (uint16_t* dstPixel, const float* srcPixel) { in create_YUV() argument
622 dstPixel[0] = tenBitsPP ? (u16 & 0xFFC0) : u16; in create_YUV()
623 dstPixel[1] = tenBitsPP ? (v16 & 0xFFC0) : v16; in create_YUV()
628 (uint16_t* dstPixel, const float* srcPixel) { in create_YUV() argument
630 dstPixel[0] = tenBitsPP ? (val16 & 0xFFC0) in create_YUV()
638 [] (uint16_t* dstPixel, const float* srcPixel) { in create_YUV() argument
639 dstPixel[0] = SkFloatToHalf(srcPixel[0]); in create_YUV()
642 [] (uint16_t* dstPixel, const float* srcPixel) { in create_YUV() argument
643 dstPixel[0] = SkFloatToHalf(srcPixel[1]); in create_YUV()
644 dstPixel[1] = SkFloatToHalf(srcPixel[2]); in create_YUV()
648 [] (uint16_t* dstPixel, const float* srcPixel) { in create_YUV() argument
649 dstPixel[0] = SkFloatToHalf(srcPixel[3]); in create_YUV()