/external/dng_sdk/source/ |
D | dng_point.h | 27 class dng_point 37 dng_point () in dng_point() function 43 dng_point (int32 vv, int32 hh) in dng_point() function 49 bool operator== (const dng_point &pt) const 55 bool operator!= (const dng_point &pt) const 86 dng_point_real64 (const dng_point &pt) in dng_point_real64() 103 dng_point Round () const in Round() 105 return dng_point (Round_int32 (v), in Round() 113 inline dng_point operator+ (const dng_point &a, 114 const dng_point &b) [all …]
|
D | dng_mosaic_info.h | 44 dng_point fCFAPatternSize; 83 dng_point fSrcSize; 85 dng_point fCroppedSize; 107 return fCFAPatternSize != dng_point (0, 0); in IsColorFilterArray() 123 virtual dng_point FullScale () const; 132 virtual dng_point DownScale (uint32 minSize, 140 virtual dng_point DstSize (const dng_point &downScale) const; 167 const dng_point &downScale, 182 const dng_point &downScale, 187 virtual bool IsSafeDownScale (const dng_point &downScale) const; [all …]
|
D | dng_mosaic_info.cpp | 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; [all …]
|
D | dng_area_task.h | 42 dng_point fUnitCell; 44 dng_point fMaxTileSize; 79 virtual dng_point UnitCell () const in UnitCell() 90 virtual dng_point MaxTileSize () const in MaxTileSize() 134 const dng_point &tileSize, 163 dng_point FindTileSize (const dng_rect &area) const; 176 const dng_point &tileSize,
|
D | dng_bad_pixels.h | 59 virtual dng_point SrcRepeat (); 66 const dng_point &tileSize, 111 dng_std_vector<dng_point> fBadPoints; 135 const dng_point & Point (uint32 index) const in Point() 178 void AddPoint (const dng_point &pt); 221 bool IsPointValid (const dng_point &pt, 263 virtual dng_point SrcRepeat (); 270 const dng_point &tileSize, 291 dng_point &badPoint);
|
D | dng_filter_task.h | 54 dng_point fSrcRepeat; 55 dng_point fSrcTileSize; 93 virtual dng_point SrcTileSize (const dng_point &dstTileSize) in SrcTileSize() 129 const dng_point &tileSize,
|
D | dng_rect.h | 79 dng_rect (const dng_point &size) in dng_rect() 163 dng_point TL () const in TL() 165 return dng_point (t, l); in TL() 168 dng_point TR () const in TR() 170 return dng_point (t, r); in TR() 173 dng_point BL () const in BL() 175 return dng_point (b, l); in BL() 178 dng_point BR () const in BR() 180 return dng_point (b, r); in BR() 183 dng_point Size () const in Size() [all …]
|
D | dng_area_task.cpp | 81 const dng_point & /* tileSize */, in Start() argument 97 dng_point dng_area_task::FindTileSize (const dng_rect &area) const in FindTileSize() 127 dng_point maxTileSize = MaxTileSize (); in FindTileSize() 129 dng_point tileSize; in FindTileSize() 152 dng_point unitCell = UnitCell (); in FindTileSize() 187 const dng_point &tileSize, in ProcessOnThread() 260 dng_point tileSize (task.FindTileSize (area)); in Perform()
|
D | dng_opcodes.h | 298 virtual dng_point SrcRepeat () in SrcRepeat() 300 return dng_point (1, 1); in SrcRepeat() 327 virtual dng_point SrcTileSize (const dng_point &dstTileSize, in SrcTileSize() 360 const dng_point & /* tileSize */, in Prepare() argument 462 const dng_point & /* tileSize */, in Prepare() argument
|
D | dng_bad_pixels.cpp | 95 dng_point dng_opcode_FixBadPixelsConstant::SrcRepeat () in SrcRepeat() 98 return dng_point (2, 2); in SrcRepeat() 124 const dng_point & /* tileSize */, in Prepare() argument 297 void dng_bad_pixel_list::AddPoint (const dng_point &pt) in AddPoint() 315 static bool SortBadPoints (const dng_point &a, in SortBadPoints() 316 const dng_point &b) in SortBadPoints() 388 dng_point pt = Point (index); in IsPointIsolated() 395 const dng_point &pt2 = Point (j); in IsPointIsolated() 414 const dng_point &pt2 = Point (k); in IsPointIsolated() 485 bool dng_bad_pixel_list::IsPointValid (const dng_point &pt, in IsPointValid() [all …]
|
D | dng_gain_map.h | 39 dng_point fPoints; 57 const dng_point &points, 64 const dng_point & Points () const in Points()
|
D | dng_resample.cpp | 382 real32 *w32 = (real32 *) Weights32 (dng_point ((int32) y, in Initialize() 450 int16 *w16 = (int16 *) Weights16 (dng_point ((int32) y, in Initialize() 502 dng_point fSrcTileSize; 516 virtual dng_point SrcTileSize (const dng_point &dstTileSize); 519 const dng_point &tileSize, 576 fUnitCell = dng_point (8, 8); in dng_resample_task() 619 dng_point dng_resample_task::SrcTileSize (const dng_point & /* dstTileSize */) in SrcTileSize() argument 629 const dng_point &tileSize, in Start()
|
D | dng_jpeg_image.h | 36 dng_point fImageSize; 38 dng_point fTileSize;
|
D | dng_jpeg_image.cpp | 87 fUnitCell = dng_point (16, 16); in dng_jpeg_image_encode_task() 88 fMaxTileSize = dng_point (16, 16); in dng_jpeg_image_encode_task() 272 fUnitCell = dng_point (16, 16); in dng_jpeg_image_find_digest_task() 273 fMaxTileSize = dng_point (16, 16); in dng_jpeg_image_find_digest_task()
|
D | dng_opcodes.cpp | 284 virtual dng_point SrcTileSize (const dng_point &dstTileSize) in SrcTileSize() 307 const dng_point &tileSize, in Start() 447 const dng_point &tileSize, in Start()
|
D | dng_render.cpp | 716 dng_point fSrcOffset; 747 const dng_point &srcOffset); 752 const dng_point &tileSize, 768 const dng_point &srcOffset) in dng_render_task() 817 const dng_point &tileSize, in Start() 1271 dng_point dstSize; in Render()
|
D | dng_image.cpp | 291 dng_point repeat = srcArea.Size (); in GetRepeat() 295 dng_point phase = dng_pixel_buffer::RepeatPhase (srcArea, in GetRepeat() 322 dng_point (phase.v, phase.h)); in GetRepeat() 346 dng_point (phase.v, -phase.h)); in GetRepeat() 370 dng_point (-phase.v, phase.h)); in GetRepeat() 394 dng_point (-phase.v, -phase.h)); in GetRepeat()
|
D | dng_preview.h | 97 dng_point fPreviewSize; 101 dng_point fYCbCrSubSampling;
|
D | dng_negative.cpp | 1513 dng_tile_iterator iter (dng_point (kBufferRows, in FindImageDigest() 1655 fUnitCell = dng_point (Min_int32 (kTileSize, fImage.Bounds ().H ()), in dng_find_new_raw_image_digest_task() 1663 const dng_point &tileSize, in Start() 2225 dng_point imageSize = image->Size (); in DefaultCropArea() 2592 info.fCFAPatternSize = dng_point (2, 2); in SetBayerMosaic() 2654 info.fCFAPatternSize = dng_point (2, 4); in SetFujiMosaic() 2708 info.fCFAPatternSize = dng_point (patSize, patSize); in SetFujiMosaic6x6() 2859 info.fCFAPatternSize = dng_point (8, 2); in SetQuadMosaic() 2864 info.fCFAPatternSize = dng_point (4, 2); in SetQuadMosaic() 2869 info.fCFAPatternSize = dng_point (2, 2); in SetQuadMosaic() [all …]
|
D | dng_shared.h | 198 dng_point fOriginalDefaultFinalSize; 199 dng_point fOriginalBestQualityFinalSize;
|
D | dng_resample.h | 238 const real32 *Weights32 (dng_point fract) const in Weights32() 258 const int16 *Weights16 (dng_point fract) const in Weights16()
|
D | dng_negative.h | 600 dng_point fOriginalDefaultFinalSize; 601 dng_point fOriginalBestQualityFinalSize; 1008 void SetDefaultCropCentered (const dng_point &rawSize) in SetDefaultCropCentered() 1265 const dng_point & OriginalDefaultFinalSize () const in OriginalDefaultFinalSize() 1272 void SetOriginalDefaultFinalSize (const dng_point &size) in SetOriginalDefaultFinalSize() 1282 const dng_point & OriginalBestQualityFinalSize () const in OriginalBestQualityFinalSize() 1289 void SetOriginalBestQualityFinalSize (const dng_point &size) in SetOriginalBestQualityFinalSize()
|
D | dng_lens_correction.cpp | 988 virtual dng_point SrcTileSize (const dng_point &dstTileSize); 1224 dng_point dng_filter_warp::SrcTileSize (const dng_point &dstTileSize) in SrcTileSize() 1240 dng_point srcTileSize; in SrcTileSize() 1262 srcTileSize = dng_point (dim, dim); in SrcTileSize() 1302 const dng_point srcOffset (fWeights.Offset (), in ProcessArea() 1356 dng_point sInt (ConvertDoubleToInt32 (floor (sPos.v)), in ProcessArea() 1359 dng_point sFct (ConvertDoubleToInt32 ((sPos.v - (real64) sInt.v) * numSubsamples), in ProcessArea() 2172 const dng_point &tileSize, in Prepare()
|
/external/skia/src/codec/ |
D | SkRawCodec.cpp | 44 dng_point num_tiles_in_area(const dng_point &areaSize, in num_tiles_in_area() 47 return dng_point(static_cast<int32>((areaSize.v + tileSize.v - 1) / tileSize.v), in num_tiles_in_area() 51 int num_tasks_required(const dng_point& tilesInTask, in num_tasks_required() 52 const dng_point& tilesInArea) { in num_tasks_required() 59 dng_point num_tiles_per_task(const int maxTasks, in num_tiles_per_task() 60 const dng_point &tilesInArea) { in num_tiles_per_task() 61 dng_point tilesInTask = {1, 1}; in num_tiles_per_task() 75 const dng_point& tileSize) { in compute_task_areas() 77 const dng_point tilesInArea = num_tiles_in_area(area.Size(), tileSize); in compute_task_areas() 78 const dng_point tilesPerTask = num_tiles_per_task(maxTasks, tilesInArea); in compute_task_areas() [all …]
|
/external/skqp/src/codec/ |
D | SkRawCodec.cpp | 44 dng_point num_tiles_in_area(const dng_point &areaSize, in num_tiles_in_area() 47 return dng_point(static_cast<int32>((areaSize.v + tileSize.v - 1) / tileSize.v), in num_tiles_in_area() 51 int num_tasks_required(const dng_point& tilesInTask, in num_tasks_required() 52 const dng_point& tilesInArea) { in num_tasks_required() 59 dng_point num_tiles_per_task(const int maxTasks, in num_tiles_per_task() 60 const dng_point &tilesInArea) { in num_tiles_per_task() 61 dng_point tilesInTask = {1, 1}; in num_tiles_per_task() 75 const dng_point& tileSize) { in compute_task_areas() 77 const dng_point tilesInArea = num_tiles_in_area(area.Size(), tileSize); in compute_task_areas() 78 const dng_point tilesPerTask = num_tiles_per_task(maxTasks, tilesInArea); in compute_task_areas() [all …]
|