Home
last modified time | relevance | path

Searched refs:down2 (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/src/core/
DSkYUVAInfo.cpp91 auto down2 = [](int x) { return (x + 1)/2; }; in PlaneDimensions() local
98 case Subsampling::k422: uvSize = {down2(w), h }; break; in PlaneDimensions()
99 case Subsampling::k420: uvSize = {down2(w), down2(h)}; break; in PlaneDimensions()
100 case Subsampling::k440: uvSize = { w , down2(h)}; break; in PlaneDimensions()
102 case Subsampling::k410: uvSize = {down4(w), down2(h)}; break; in PlaneDimensions()