HomeSort by relevance Sort by last modified time
    Searched refs:srcArea (Results 1 - 10 of 10) sorted by null

  /external/dng_sdk/source/
dng_filter_task.cpp 99 dng_rect srcArea = SrcArea (area);
103 if (!ConvertUint32ToInt32 (srcArea.W (), &src_area_w) || !ConvertUint32ToInt32 (srcArea.H (), &src_area_h) || src_area_w > fSrcTileSize.h || src_area_h > fSrcTileSize.v)
112 dng_pixel_buffer srcBuffer(srcArea, fSrcPlane, fSrcPlanes, fSrcPixelType,
dng_image.cpp 269 const dng_rect &srcArea,
273 // If we already have the entire srcArea in the
276 if ((srcArea & buffer.fArea) == srcArea)
279 buffer.RepeatArea (srcArea,
284 // Else we first need to get the srcArea into the buffer area.
291 dng_point repeat = srcArea.Size ();
295 dng_point phase = dng_pixel_buffer::RepeatPhase (srcArea,
300 dng_rect newArea = srcArea + (dstArea.TL () -
301 srcArea.TL ())
    [all...]
dng_resample.cpp 514 virtual dng_rect SrcArea (const dng_rect &dstArea);
590 dng_rect dng_resample_task::SrcArea (const dng_rect &dstArea)
599 dng_rect srcArea;
601 srcArea.t = SafeInt32Add (fRowCoords.Pixel (dstArea.t), offsetV);
602 srcArea.l = SafeInt32Add (fColCoords.Pixel (dstArea.l), offsetH);
604 srcArea.b = SafeInt32Add (SafeInt32Add (
608 srcArea.r = SafeInt32Add(SafeInt32Add(
613 return srcArea;
700 dng_rect srcArea = srcBuffer.fArea;
703 uint32 srcCols = srcArea.W ()
    [all...]
dng_pixel_buffer.cpp 1243 dng_point dng_pixel_buffer::RepeatPhase (const dng_rect &srcArea,
1247 int32 repeatV = srcArea.H ();
1248 int32 repeatH = srcArea.W ();
1253 if (srcArea.t >= dstArea.t)
1255 phaseV = (repeatV - ((srcArea.t - dstArea.t) % repeatV)) % repeatV;
1259 phaseV = (dstArea.t - srcArea.t) % repeatV;
1262 if (srcArea.l >= dstArea.l)
1264 phaseH = (repeatH - ((srcArea.l - dstArea.l) % repeatH)) % repeatH;
1268 phaseH = (dstArea.l - srcArea.l) % repeatH;
1277 void dng_pixel_buffer::RepeatArea (const dng_rect &srcArea,
    [all...]
dng_image.h 404 const dng_rect &srcArea,
421 const dng_rect &srcArea,
dng_bad_pixels.cpp 104 dng_rect dng_opcode_FixBadPixelsConstant::SrcArea (const dng_rect &dstArea,
108 dng_rect srcArea = dstArea;
110 srcArea.t -= 2;
111 srcArea.l -= 2;
113 srcArea.b += 2;
114 srcArea.r += 2;
116 return srcArea;
738 dng_rect dng_opcode_FixBadPixelsList::SrcArea (const dng_rect &dstArea,
754 dng_rect srcArea = dstArea;
756 srcArea.t -= padding
    [all...]
dng_pixel_buffer.h 646 /// Phase is based on a 0,0 origin and the notion of repeating srcArea across dstArea.
647 /// It is the number of pixels into srcArea to start repeating from when tiling dstArea.
650 static dng_point RepeatPhase (const dng_rect &srcArea,
653 /// Repeat the image data in srcArea across dstArea.
655 /// \param srcArea Area to repeat from.
656 /// \param dstArea Area to fill with data from srcArea.
658 void RepeatArea (const dng_rect &srcArea,
dng_lens_correction.cpp 986 virtual dng_rect SrcArea (const dng_rect &dstArea);
1115 dng_rect dng_filter_warp::SrcArea (const dng_rect &dstArea)
1213 const dng_rect srcArea (yMin,
1218 return srcArea;
1249 srcTileSize = SrcArea (fDstImage.Bounds ()).Size ();
1309 const dng_rect srcArea = srcBuffer.fArea;
1314 const int32 hMin = srcArea.l;
1315 const int32 hMax = SafeInt32Sub (SafeInt32Sub (srcArea.r, wCount), 1);
1317 const int32 vMin = srcArea.t;
1318 const int32 vMax = SafeInt32Sub (SafeInt32Sub (srcArea.b, wCount), 1)
    [all...]
dng_render.cpp 749 virtual dng_rect SrcArea (const dng_rect &dstArea);
807 dng_rect dng_render_task::SrcArea (const dng_rect &dstArea)
994 dng_rect srcArea = srcBuffer.fArea;
997 uint32 srcCols = srcArea.W ();
1004 for (int32 srcRow = srcArea.t; srcRow < srcArea.b; srcRow++)
1014 srcArea.l,
    [all...]
dng_mosaic_info.cpp 1126 virtual dng_rect SrcArea (const dng_rect &dstArea);
1202 dng_rect dng_fast_interpolator::SrcArea (const dng_rect &dstArea)
1219 dng_rect srcArea = srcBuffer.fArea;
1224 int32 srcRow = srcArea.t;
1253 srcArea.l,
    [all...]

Completed in 196 milliseconds