Lines Matching refs:downScale
1123 const dng_point &downScale,
1139 const dng_point &downScale, in dng_fast_interpolator() argument
1146 , fDownScale (downScale) in dng_fast_interpolator()
1534 bool dng_mosaic_info::IsSafeDownScale (const dng_point &downScale) const in IsSafeDownScale()
1537 if (downScale.v >= fCFAPatternSize.v && in IsSafeDownScale()
1538 downScale.h >= fCFAPatternSize.h) in IsSafeDownScale()
1547 test.v = Min_int32 (downScale.v, fCFAPatternSize.v); in IsSafeDownScale()
1548 test.h = Min_int32 (downScale.h, fCFAPatternSize.h); in IsSafeDownScale()
1615 uint32 dng_mosaic_info::SizeForDownScale (const dng_point &downScale) const in SizeForDownScale()
1618 uint32 sizeV = Max_uint32 (1, (fCroppedSize.v + (downScale.v >> 1)) / downScale.v); in SizeForDownScale()
1619 uint32 sizeH = Max_uint32 (1, (fCroppedSize.h + (downScale.h >> 1)) / downScale.h); in SizeForDownScale()
1627 bool dng_mosaic_info::ValidSizeDownScale (const dng_point &downScale, in ValidSizeDownScale() argument
1633 if (downScale.h > kMaxDownScale || in ValidSizeDownScale()
1634 downScale.v > kMaxDownScale) in ValidSizeDownScale()
1641 return SizeForDownScale (downScale) >= minSize; in ValidSizeDownScale()
1769 dng_point dng_mosaic_info::DstSize (const dng_point &downScale) const in DstSize()
1772 if (downScale == dng_point (1, 1)) in DstSize()
1784 if (downScale.h > kMaxDownScale || in DstSize()
1785 downScale.v > kMaxDownScale) in DstSize()
1794 size.v = Max_int32 (1, (fSrcSize.v + (downScale.v >> 1)) / downScale.v); in DstSize()
1795 size.h = Max_int32 (1, (fSrcSize.h + (downScale.h >> 1)) / downScale.h); in DstSize()
1934 const dng_point &downScale, in InterpolateFast() argument
1943 downScale, in InterpolateFast()
1963 const dng_point &downScale, in Interpolate() argument
1967 if (downScale == dng_point (1, 1)) in Interpolate()
1985 downScale, in Interpolate()