Home
last modified time | relevance | path

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

/external/dng_sdk/source/
Ddng_image.cpp269 const dng_rect &srcArea, in GetRepeat() argument
276 if ((srcArea & buffer.fArea) == srcArea) in GetRepeat()
279 buffer.RepeatArea (srcArea, in GetRepeat()
291 dng_point repeat = srcArea.Size (); in GetRepeat()
295 dng_point phase = dng_pixel_buffer::RepeatPhase (srcArea, in GetRepeat()
300 dng_rect newArea = srcArea + (dstArea.TL () - in GetRepeat()
301 srcArea.TL ()); in GetRepeat()
320 temp.fArea = dst1 + (srcArea.TL () - in GetRepeat()
344 temp.fArea = dst2 + (srcArea.TL () - in GetRepeat()
368 temp.fArea = dst3 + (srcArea.TL () - in GetRepeat()
[all …]
Ddng_filter_task.cpp99 dng_rect srcArea = SrcArea (area); in Process() local
103 …if (!ConvertUint32ToInt32 (srcArea.W (), &src_area_w) || !ConvertUint32ToInt32 (srcArea.H (), &src… in Process()
112 dng_pixel_buffer srcBuffer(srcArea, fSrcPlane, fSrcPlanes, fSrcPixelType, in Process()
Ddng_resample.cpp599 dng_rect srcArea; in SrcArea() local
601 srcArea.t = SafeInt32Add (fRowCoords.Pixel (dstArea.t), offsetV); in SrcArea()
602 srcArea.l = SafeInt32Add (fColCoords.Pixel (dstArea.l), offsetH); in SrcArea()
604 srcArea.b = SafeInt32Add (SafeInt32Add ( in SrcArea()
608 srcArea.r = SafeInt32Add(SafeInt32Add( in SrcArea()
613 return srcArea; in SrcArea()
700 dng_rect srcArea = srcBuffer.fArea; in ProcessArea() local
703 uint32 srcCols = srcArea.W (); in ProcessArea()
724 real32 *ttPtr = tPtr + offsetH - srcArea.l; in ProcessArea()
741 srcArea.l, in ProcessArea()
[all …]
Ddng_pixel_buffer.cpp1243 dng_point dng_pixel_buffer::RepeatPhase (const dng_rect &srcArea, in RepeatPhase() argument
1247 int32 repeatV = srcArea.H (); in RepeatPhase()
1248 int32 repeatH = srcArea.W (); in RepeatPhase()
1253 if (srcArea.t >= dstArea.t) in RepeatPhase()
1255 phaseV = (repeatV - ((srcArea.t - dstArea.t) % repeatV)) % repeatV; in RepeatPhase()
1259 phaseV = (dstArea.t - srcArea.t) % repeatV; in RepeatPhase()
1262 if (srcArea.l >= dstArea.l) in RepeatPhase()
1264 phaseH = (repeatH - ((srcArea.l - dstArea.l) % repeatH)) % repeatH; in RepeatPhase()
1268 phaseH = (dstArea.l - srcArea.l) % repeatH; in RepeatPhase()
1277 void dng_pixel_buffer::RepeatArea (const dng_rect &srcArea, in RepeatArea() argument
[all …]
Ddng_render.cpp994 dng_rect srcArea = srcBuffer.fArea; in ProcessArea() local
997 uint32 srcCols = srcArea.W (); in ProcessArea()
1004 for (int32 srcRow = srcArea.t; srcRow < srcArea.b; srcRow++) in ProcessArea()
1014 srcArea.l, in ProcessArea()
1138 int32 dstRow = srcRow + (dstArea.t - srcArea.t); in ProcessArea()
Ddng_bad_pixels.cpp108 dng_rect srcArea = dstArea; in SrcArea() local
110 srcArea.t -= 2; in SrcArea()
111 srcArea.l -= 2; in SrcArea()
113 srcArea.b += 2; in SrcArea()
114 srcArea.r += 2; in SrcArea()
116 return srcArea; in SrcArea()
754 dng_rect srcArea = dstArea; in SrcArea() local
756 srcArea.t -= padding; in SrcArea()
757 srcArea.l -= padding; in SrcArea()
759 srcArea.b += padding; in SrcArea()
[all …]
Ddng_image.h404 const dng_rect &srcArea,
421 const dng_rect &srcArea,
Ddng_lens_correction.cpp1213 const dng_rect srcArea (yMin, in SrcArea() local
1218 return srcArea; in SrcArea()
1309 const dng_rect srcArea = srcBuffer.fArea; in ProcessArea() local
1314 const int32 hMin = srcArea.l; in ProcessArea()
1315 const int32 hMax = SafeInt32Sub (SafeInt32Sub (srcArea.r, wCount), 1); in ProcessArea()
1317 const int32 vMin = srcArea.t; in ProcessArea()
1318 const int32 vMax = SafeInt32Sub (SafeInt32Sub (srcArea.b, wCount), 1); in ProcessArea()
Ddng_pixel_buffer.h650 static dng_point RepeatPhase (const dng_rect &srcArea,
658 void RepeatArea (const dng_rect &srcArea,
Ddng_mosaic_info.cpp1219 dng_rect srcArea = srcBuffer.fArea; in ProcessArea() local
1224 int32 srcRow = srcArea.t; in ProcessArea()
1253 srcArea.l, in ProcessArea()