Lines Matching refs:dng_point
50 dng_point fDelta [kMaxCount];
64 void Add (const dng_point &delta,
67 void Finalize (const dng_point &scale,
77 void dng_bilinear_kernel::Add (const dng_point &delta, in Add()
118 void dng_bilinear_kernel::Finalize (const dng_point &scale, in Finalize()
132 dng_point &delta = fDelta [j]; in Finalize()
160 dng_point &delta0 = fDelta [j - 1]; in Finalize()
161 dng_point &delta1 = fDelta [j ]; in Finalize()
170 dng_point tempDelta = delta0; in Finalize()
256 dng_point fScale;
360 dng_point tempScale (1, 1); in Calculate()
365 tempScale = dng_point (2, 2); in Calculate()
625 kernel.Add (dng_point (0, 0), 1.0f); in Calculate()
654 kernel.Add (dng_point (-1, 0), 0.25f); in Calculate()
655 kernel.Add (dng_point ( 0, -1), 0.25f); in Calculate()
656 kernel.Add (dng_point ( 0, 1), 0.25f); in Calculate()
657 kernel.Add (dng_point ( 1, 0), 0.25f); in Calculate()
668 kernel.Add (dng_point (-1, 0), 0.5f); in Calculate()
669 kernel.Add (dng_point ( 1, 0), 0.5f); in Calculate()
680 kernel.Add (dng_point ( 0, -1), 0.5f); in Calculate()
681 kernel.Add (dng_point ( 0, 1), 0.5f); in Calculate()
692 kernel.Add (dng_point (-1, 0), 0.50f); in Calculate()
693 kernel.Add (dng_point ( 1, -1), 0.25f); in Calculate()
694 kernel.Add (dng_point ( 1, 1), 0.25f); in Calculate()
705 kernel.Add (dng_point (-1, -1), 0.25f); in Calculate()
706 kernel.Add (dng_point (-1, 1), 0.25f); in Calculate()
707 kernel.Add (dng_point ( 1, 0), 0.50f); in Calculate()
718 kernel.Add (dng_point (-1, 1), 0.25f); in Calculate()
719 kernel.Add (dng_point ( 0, -1), 0.50f); in Calculate()
720 kernel.Add (dng_point ( 1, 1), 0.25f); in Calculate()
731 kernel.Add (dng_point (-1, -1), 0.25f); in Calculate()
732 kernel.Add (dng_point ( 0, 1), 0.50f); in Calculate()
733 kernel.Add (dng_point ( 1, -1), 0.25f); in Calculate()
744 kernel.Add (dng_point (-1, -1), 0.25f); in Calculate()
745 kernel.Add (dng_point (-1, 1), 0.25f); in Calculate()
746 kernel.Add (dng_point ( 1, -1), 0.25f); in Calculate()
747 kernel.Add (dng_point ( 1, 1), 0.25f); in Calculate()
758 kernel.Add (dng_point (-1, -1), 0.50f); in Calculate()
759 kernel.Add (dng_point ( 1, 1), 0.50f); in Calculate()
770 kernel.Add (dng_point (-1, 1), 0.50f); in Calculate()
771 kernel.Add (dng_point ( 1, -1), 0.50f); in Calculate()
811 kernel.Add (dng_point (dv1, dh1), in Calculate()
814 kernel.Add (dng_point (dv1, dh2), in Calculate()
830 kernel.Add (dng_point (dv2, dh1), in Calculate()
833 kernel.Add (dng_point (dv2, dh2), in Calculate()
868 kernel.Add (dng_point (dv1, dh1), in Calculate()
871 kernel.Add (dng_point (dv2, dh1), in Calculate()
887 kernel.Add (dng_point (dv1, dh2), in Calculate()
890 kernel.Add (dng_point (dv2, dh2), in Calculate()
899 if (tempScale == dng_point (2, 2)) in Calculate()
1036 dng_point scale = fPattern [0] . fScale; in Interpolate()
1114 dng_point fDownScale;
1123 const dng_point &downScale,
1139 const dng_point &downScale, in dng_fast_interpolator()
1160 fMaxTileSize = dng_point (256 / fDownScale.v, in dng_fast_interpolator()
1430 if (fCFAPatternSize != dng_point (2, 2)) in SetFourColorBayer()
1501 dng_point dng_mosaic_info::FullScale () const in FullScale()
1512 return dng_point (2, 1); in FullScale()
1519 return dng_point (1, 2); in FullScale()
1528 return dng_point (1, 1); in FullScale()
1534 bool dng_mosaic_info::IsSafeDownScale (const dng_point &downScale) const in IsSafeDownScale()
1545 dng_point test; in IsSafeDownScale()
1615 uint32 dng_mosaic_info::SizeForDownScale (const dng_point &downScale) const in SizeForDownScale()
1627 bool dng_mosaic_info::ValidSizeDownScale (const dng_point &downScale, in ValidSizeDownScale()
1647 dng_point dng_mosaic_info::DownScale (uint32 minSize, in DownScale()
1652 dng_point bestScale (1, 1); in DownScale()
1670 dng_point squareCell (1, 1); in DownScale()
1688 dng_point testScale = squareCell; in DownScale()
1769 dng_point dng_mosaic_info::DstSize (const dng_point &downScale) const in DstSize()
1772 if (downScale == dng_point (1, 1)) in DstSize()
1775 dng_point scale = FullScale (); in DstSize()
1777 return dng_point (fSrcSize.v * scale.v, in DstSize()
1788 return dng_point (0, 0); in DstSize()
1792 dng_point size; in DstSize()
1812 dng_point scale = FullScale (); in InterpolateGeneric()
1822 dng_point dstTileSize = dstImage.RepeatingTile ().Size (); in InterpolateGeneric()
1827 dng_point srcTileSize = dstTileSize; in InterpolateGeneric()
1934 const dng_point &downScale, in InterpolateFast()
1963 const dng_point &downScale, in Interpolate()
1967 if (downScale == dng_point (1, 1)) in Interpolate()