Home
last modified time | relevance | path

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

/external/dng_sdk/source/
Ddng_resample.cpp119 coords [j] = Round_int32 (y * (real64) kResampleSubsampleCount); in Initialize()
268 w16 [j] = (int16) Round_int32 (w32 [j] * 16384.0); in Initialize()
458 w16 [j] = (int16) Round_int32 (w32 [j] * 16384.0); in Initialize()
579 Round_int32 (fMaxTileSize.v * fRowScale), in dng_resample_task()
583 Round_int32 (fMaxTileSize.h * fColScale), in dng_resample_task()
661 fSrcTileSize.v = Round_int32 (tileSize.v / fRowScale) + fWeightsV.Width () + 2; in Start()
662 fSrcTileSize.h = Round_int32 (tileSize.h / fColScale) + fWeightsH.Width () + 2; in Start()
Ddng_rect.h325 return dng_rect (Round_int32 (t), in Round()
326 Round_int32 (l), in Round()
327 Round_int32 (b), in Round()
328 Round_int32 (r)); in Round()
Ddng_point.h105 return dng_point (Round_int32 (v), in Round()
106 Round_int32 (h)); in Round()
Ddng_rational.cpp67 *this = dng_srational (Round_int32 (x * dd), dd); in Set_real64()
Ddng_matrix.cpp251 fData [j] [k] = Round_int32 (fData [j] [k] * factor) * invFactor; in Round()
278 real64 rounded = Round_int32 (fData [j] [k] * factor) * invFactor; in SafeRound()
593 fData [j] = Round_int32 (fData [j] * factor) * invFactor; in Round()
Ddng_negative.cpp968 fCameraWhiteXY.x = Round_int32 (coord.x * 1000000.0) / 1000000.0; in SetCameraWhiteXY()
969 fCameraWhiteXY.y = Round_int32 (coord.y * 1000000.0) / 1000000.0; in SetCameraWhiteXY()
2210 result.l = Round_int32 (fDefaultCropOriginH.As_real64 () * fRawToFullScaleH); in DefaultCropArea()
2211 result.t = Round_int32 (fDefaultCropOriginV.As_real64 () * fRawToFullScaleV); in DefaultCropArea()
2213 result.r = result.l + Round_int32 (fDefaultCropSizeH.As_real64 () * fRawToFullScaleH); in DefaultCropArea()
2214 result.b = result.t + Round_int32 (fDefaultCropSizeV.As_real64 () * fRawToFullScaleV); in DefaultCropArea()
4492 uint32 limit = Round_int32 ((real64) pixels * kClipFraction); in EncodeRawProxy()
4735 newSize.v = Max_int32 (1, Round_int32 (proxySize / aspectRatio)); in ConvertToProxy()
4739 newSize.h = Max_int32 (1, Round_int32 (proxySize * aspectRatio)); in ConvertToProxy()
4754 newSize.v = Max_int32 (1, Round_int32 (newSize.h / aspectRatio)); in ConvertToProxy()
[all …]
Ddng_linearization_info.cpp215 int32 y = Round_int32 (x); in dng_linearize_plane()
289 int32 y = Round_int32 (x); in dng_linearize_plane()
428 int32 z = Round_int32 (y * 0x0FFFF * 256.0); in dng_linearize_plane()
Ddng_mosaic_info.cpp1415 fCroppedSize.v = Round_int32 (negative.DefaultCropSizeV ().As_real64 ()); in PostParse()
1416 fCroppedSize.h = Round_int32 (negative.DefaultCropSizeH ().As_real64 ()); in PostParse()
1675 squareCell.h = Min_int32 (4, Round_int32 (1.0 / fAspectRatio)); in DownScale()
1682 squareCell.v = Min_int32 (4, Round_int32 (fAspectRatio)); in DownScale()
Ddng_utils.h473 inline int32 Round_int32 (real32 x) in Round_int32() function
480 inline int32 Round_int32 (real64 x) in Round_int32() function
Ddng_ifd.cpp3790 if (Round_int32 (fDefaultCropOriginH.As_real64 ()) != 0 || in IsValidDNG()
3791 Round_int32 (fDefaultCropOriginV.As_real64 ()) != 0) in IsValidDNG()
3804 if (Round_int32 (fDefaultCropSizeH.As_real64 ()) != (int32) fImageWidth || in IsValidDNG()
3805 Round_int32 (fDefaultCropSizeV.As_real64 ()) != (int32) fImageLength) in IsValidDNG()
Ddng_date_time.cpp828 result.SetOffsetSeconds (Round_int32 (secondsDelta)); in LocalTimeZone()
Ddng_lens_correction.cpp1076 Round_int32 (fPixelScaleV * (real64) squareBounds.H ()); in dng_filter_warp()