Home
last modified time | relevance | path

Searched refs:fArea (Results 1 – 22 of 22) sorted by relevance

/external/dng_sdk/source/
Ddng_tile_iterator.cpp29 : fArea () in dng_tile_iterator()
54 : fArea () in dng_tile_iterator()
84 : fArea () in dng_tile_iterator()
110 fArea = area; in Initialize()
131 fLeftPage = (fArea.l - hOffset ) / tileWidth; in Initialize()
132 fRightPage = (fArea.r - hOffset - 1) / tileWidth; in Initialize()
136 fTopPage = (fArea.t - vOffset ) / tileHeight; in Initialize()
137 fBottomPage = (fArea.b - vOffset - 1) / tileHeight; in Initialize()
161 tile.t = fArea.t; in GetOneTile()
166 tile.b = fArea.b; in GetOneTile()
[all …]
Ddng_pixel_buffer.cpp347 : fArea () in dng_pixel_buffer()
371 : fArea (area) in dng_pixel_buffer()
393 !SafeUint32ToInt32Mult (fArea.W(), fPlanes, &fRowStep)) in dng_pixel_buffer()
403 if (!ConvertUint32ToInt32 (fArea.W(), &fRowStep) || in dng_pixel_buffer()
404 !SafeUint32ToInt32Mult (fArea.H(), fArea.W(), &fPlaneStep)) in dng_pixel_buffer()
416 planeStepUint32 = fArea.W(); in dng_pixel_buffer()
420 if (!RoundUpForPixelSize (fArea.W(), fPixelSize, in dng_pixel_buffer()
444 : fArea (buffer.fArea) in dng_pixel_buffer()
464 fArea = buffer.fArea; in operator =()
1378 if (fArea.t < subArea.t) in RepeatSubArea()
[all …]
Ddng_image.cpp227 dng_tile_iterator iter (*this, buffer.fArea); in DoGet()
250 dng_tile_iterator iter (*this, buffer.fArea); in DoPut()
276 if ((srcArea & buffer.fArea) == srcArea) 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()
392 temp.fArea = dst4 + (srcArea.TL () - in GetRepeat()
468 buffer2.fData = buffer.DirtyPixel (buffer2.fArea.t, in GetEdge()
469 buffer2.fArea.l, in GetEdge()
502 dng_rect overlap = buffer.fArea & fBounds; in Get()
[all …]
Ddng_misc_opcodes.cpp121 fArea.t = stream.Get_int32 (); in GetData()
122 fArea.l = stream.Get_int32 (); in GetData()
123 fArea.b = stream.Get_int32 (); in GetData()
124 fArea.r = stream.Get_int32 (); in GetData()
142 if (fArea.IsEmpty ()) in GetData()
154 if (!SafeInt32Sub (fArea.b, fArea.t, &height) || in GetData()
155 !SafeInt32Sub (fArea.r, fArea.l, &width) || in GetData()
169 (int) fArea.t, in GetData()
170 (int) fArea.l, in GetData()
171 (int) fArea.b, in GetData()
[all …]
Ddng_simple_image.cpp98 fBuffer.fArea = fBounds; in Trim()
155 fBuffer.fArea = fBounds; in Rotate()
166 buffer.fArea = area; in AcquireTileBuffer()
176 buffer.fData = (void *) fBuffer.ConstPixel (buffer.fArea.t, in AcquireTileBuffer()
177 buffer.fArea.l, in AcquireTileBuffer()
Ddng_pixel_buffer.h94 dng_rect fArea;
131 if (row < fArea.t || row >= fArea.b ||
132 col < fArea.l || col >= fArea.r ||
140 static_cast<int64> (row) - static_cast<int64> (fArea.t));
142 static_cast<int64> (col) - static_cast<int64> (fArea.l));
200 return fArea; in Area()
Ddng_read_image.cpp863 for (int32 row = buffer.fArea.t; row < buffer.fArea.b; row++) in DoGet()
866 tempBuffer.fArea.t = MapRow (row); in DoGet()
868 tempBuffer.fArea.b = tempBuffer.fArea.t + 1; in DoGet()
871 buffer.fArea.l, in DoGet()
887 for (int32 row = buffer.fArea.t; row < buffer.fArea.b; row++) in DoPut()
890 tempBuffer.fArea.t = MapRow (row); in DoPut()
892 tempBuffer.fArea.b = tempBuffer.fArea.t + 1; in DoPut()
895 buffer.fArea.l, in DoPut()
913 buffer.fArea.Size(), in ReorderSubTileBlocks()
926 uint32 rowBlocks = buffer.fArea.H () / blockRows; in ReorderSubTileBlocks()
[all …]
Ddng_misc_opcodes.h73 dng_rect fArea;
91 : fArea (area) in fArea() function
104 return fArea; in Area()
Ddng_image_writer.cpp3039 buffer.fArea.H (), in EncodePredictor()
3040 buffer.fArea.W () / xFactor, in EncodePredictor()
3051 buffer.fArea.H (), in EncodePredictor()
3052 buffer.fArea.W () / xFactor, in EncodePredictor()
3063 buffer.fArea.H (), in EncodePredictor()
3064 buffer.fArea.W () / xFactor, in EncodePredictor()
3112 for (int32 row = buffer.fArea.t; row < buffer.fArea.b; row++) in EncodePredictor()
3115 EncodeFPDelta ((uint8 *) buffer.DirtyPixel (row, buffer.fArea.l, buffer.fPlane), in EncodePredictor()
3117 buffer.fArea.W () / xFactor, in EncodePredictor()
3147 uint32 pixels = buffer.fRowStep * buffer.fArea.H (); in ByteSwapBuffer()
[all …]
Ddng_mosaic_info.cpp1041 int32 dstCol = dstBuffer.fArea.l; in Interpolate()
1047 for (int32 dstRow = dstBuffer.fArea.t; in Interpolate()
1048 dstRow < dstBuffer.fArea.b; in Interpolate()
1074 dstBuffer.fArea.W (), in Interpolate()
1089 dstBuffer.fArea.W (), in Interpolate()
1219 dng_rect srcArea = srcBuffer.fArea; in ProcessArea()
1220 dng_rect dstArea = dstBuffer.fArea; in ProcessArea()
1903 srcBuffer.fArea = srcTile; in InterpolateGeneric()
1904 dstBuffer.fArea = dstTile; in InterpolateGeneric()
Ddng_tile_iterator.h33 dng_rect fArea;
Ddng_render.cpp994 dng_rect srcArea = srcBuffer.fArea; in ProcessArea()
995 dng_rect dstArea = dstBuffer.fArea; in ProcessArea()
Ddng_resample.cpp700 dng_rect srcArea = srcBuffer.fArea; in ProcessArea()
701 dng_rect dstArea = dstBuffer.fArea; in ProcessArea()
Ddng_bad_pixels.cpp1526 tBuffer.fArea = Transpose (buffer.fArea); in FixSingleRow()
Ddng_lens_correction.cpp1309 const dng_rect srcArea = srcBuffer.fArea; in ProcessArea()
1310 const dng_rect dstArea = dstBuffer.fArea; in ProcessArea()
Ddng_negative.cpp1522 buffer.fArea = area; in FindImageDigest()
1526 uint32 count = buffer.fArea.H () * in FindImageDigest()
/external/skia/tests/
DRecordTest.cpp21 AreaSummer() : fArea(0) {} in AreaSummer()
26 fArea += (int)(draw.rect.width() * draw.rect.height()); in operator ()()
29 int area() const { return fArea; } in area()
38 int fArea; member in AreaSummer
/external/skqp/tests/
DRecordTest.cpp21 AreaSummer() : fArea(0) {} in AreaSummer()
26 fArea += (int)(draw.rect.width() * draw.rect.height()); in operator ()()
29 int area() const { return fArea; } in area()
38 int fArea; member in AreaSummer
/external/skia/src/utils/
DSkShadowTessellator.cpp103 SkScalar fArea; member in SkBaseShadowTessellator
161 , fArea(0)
189 fArea += quadArea; in accumulateCentroid()
231 fCentroid *= sk_ieee_float_divide(1, 3 * fArea); in finishPathPolygon()
243 fDirection = fArea > 0 ? -1 : 1; in finishPathPolygon()
917 if (fPathPolygon.count() < 3 || !SkScalarIsFinite(fArea)) { in SkAmbientShadowTessellator()
1018 if (fClipPolygon.count() < 3 || fPathPolygon.count() < 3 || !SkScalarIsFinite(fArea)) { in SkSpotShadowTessellator()
/external/skqp/src/utils/
DSkShadowTessellator.cpp103 SkScalar fArea; member in SkBaseShadowTessellator
161 , fArea(0)
189 fArea += quadArea; in accumulateCentroid()
231 fCentroid *= sk_ieee_float_divide(1, 3 * fArea); in finishPathPolygon()
243 fDirection = fArea > 0 ? -1 : 1; in finishPathPolygon()
917 if (fPathPolygon.count() < 3 || !SkScalarIsFinite(fArea)) { in SkAmbientShadowTessellator()
1018 if (fClipPolygon.count() < 3 || fPathPolygon.count() < 3 || !SkScalarIsFinite(fArea)) { in SkSpotShadowTessellator()
/external/skia/src/codec/
DSkRawCodec.cpp730 buffer.fArea = dng_rect(i, 0, i + 1, width); in onGetPixels()
/external/skqp/src/codec/
DSkRawCodec.cpp730 buffer.fArea = dng_rect(i, 0, i + 1, width); in onGetPixels()