Lines Matching refs:srcPixel
517 std::function<void(uint16_t* dstPixel, const float* srcPixel)> convert) {
526 const float* srcPixel = (const float*) src.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) {
610 uint16_t val16 = flt_2_uint16(srcPixel[0]);
616 (uint16_t* dstPixel, const float* srcPixel) {
617 uint16_t u16 = flt_2_uint16(srcPixel[1]);
618 uint16_t v16 = flt_2_uint16(srcPixel[2]);
625 (uint16_t* dstPixel, const float* srcPixel) {
626 uint16_t val16 = flt_2_uint16(srcPixel[3]);
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]);