Searched refs:uAccum (Results 1 – 2 of 2) sorted by relevance
/external/skqp/gm/ |
D | wacky_yuv_formats.cpp | 313 uint32_t uAccum = 0, vAccum = 0; in extract_planes() local 315 uAccum += *planes->fUFull.getAddr8(2*x, 2*y); in extract_planes() 316 uAccum += *planes->fUFull.getAddr8(2*x+1, 2*y); in extract_planes() 317 uAccum += *planes->fUFull.getAddr8(2*x, 2*y+1); in extract_planes() 318 uAccum += *planes->fUFull.getAddr8(2*x+1, 2*y+1); in extract_planes() 320 *planes->fUQuarter.getAddr8(x, y) = uAccum / 4.0f; in extract_planes()
|
/external/skia/gm/ |
D | wacky_yuv_formats.cpp | 453 uint32_t yAccum = 0, uAccum = 0, vAccum = 0, aAccum = 0; in extract_planes() local 460 uAccum += *planes->fUFull.getAddr8(2*x, 2*y); in extract_planes() 461 uAccum += *planes->fUFull.getAddr8(2*x+1, 2*y); in extract_planes() 462 uAccum += *planes->fUFull.getAddr8(2*x, 2*y+1); in extract_planes() 463 uAccum += *planes->fUFull.getAddr8(2*x+1, 2*y+1); in extract_planes() 465 *planes->fUQuarter.getAddr8(x, y) = uAccum / 4.0f; in extract_planes() 481 dst->fG = uAccum / (4.0f * 255.0f); in extract_planes()
|