/external/skqp/tools/skdiff/ |
D | skdiff_main.cpp | 182 void add (DiffRecord* drp) { in add() 185 if (drp->fBase.fFilename.equals(drp->fComparison.fFilename)) { in add() 186 fResultsOfType[drp->fResult].push(new SkString(drp->fBase.fFilename)); in add() 189 blame->append(drp->fBase.fFilename); in add() 191 blame->append(drp->fComparison.fFilename); in add() 193 fResultsOfType[drp->fResult].push(blame); in add() 195 switch (drp->fResult) { in add() 207 if (drp->fFractionDifference * 100 > fMaxMismatchPercent) { in add() 208 fMaxMismatchPercent = drp->fFractionDifference * 100; in add() 210 mismatchValue = MAX3(drp->fMaxMismatchR, drp->fMaxMismatchG, in add() [all …]
|
D | skdiff_utils.cpp | 131 void create_and_write_diff_image(DiffRecord* drp, in create_and_write_diff_image() argument 136 const int w = drp->fBase.fBitmap.width(); in create_and_write_diff_image() 137 const int h = drp->fBase.fBitmap.height(); in create_and_write_diff_image() 139 if (w != drp->fComparison.fBitmap.width() || h != drp->fComparison.fBitmap.height()) { in create_and_write_diff_image() 140 drp->fResult = DiffRecord::kDifferentSizes_Result; in create_and_write_diff_image() 142 drp->fDifference.fBitmap.allocN32Pixels(w, h); in create_and_write_diff_image() 144 drp->fWhite.fBitmap.allocN32Pixels(w, h); in create_and_write_diff_image() 146 SkASSERT(DiffRecord::kUnknown_Result == drp->fResult); in create_and_write_diff_image() 147 compute_diff(drp, dmp, colorThreshold); in create_and_write_diff_image() 148 SkASSERT(DiffRecord::kUnknown_Result != drp->fResult); in create_and_write_diff_image() [all …]
|
D | skdiff_image.cpp | 24 DiffRecord* drp) { in create_diff_images() argument 28 drp->fBase.fFilename = baseFile; in create_diff_images() 29 drp->fBase.fFullPath = baseFile; in create_diff_images() 30 drp->fBase.fStatus = DiffResource::kSpecified_Status; in create_diff_images() 32 drp->fComparison.fFilename = comparisonFile; in create_diff_images() 33 drp->fComparison.fFullPath = comparisonFile; in create_diff_images() 34 drp->fComparison.fStatus = DiffResource::kSpecified_Status; in create_diff_images() 36 sk_sp<SkData> baseFileBits = read_file(drp->fBase.fFullPath.c_str()); in create_diff_images() 38 drp->fBase.fStatus = DiffResource::kRead_Status; in create_diff_images() 40 sk_sp<SkData> comparisonFileBits = read_file(drp->fComparison.fFullPath.c_str()); in create_diff_images() [all …]
|
D | skdiff_utils.h | 46 void create_and_write_diff_image(DiffRecord* drp,
|
/external/skia/tools/skdiff/ |
D | skdiff_main.cpp | 182 void add (DiffRecord* drp) { in add() 185 if (drp->fBase.fFilename.equals(drp->fComparison.fFilename)) { in add() 186 fResultsOfType[drp->fResult].push(new SkString(drp->fBase.fFilename)); in add() 189 blame->append(drp->fBase.fFilename); in add() 191 blame->append(drp->fComparison.fFilename); in add() 193 fResultsOfType[drp->fResult].push(blame); in add() 195 switch (drp->fResult) { in add() 207 if (drp->fFractionDifference * 100 > fMaxMismatchPercent) { in add() 208 fMaxMismatchPercent = drp->fFractionDifference * 100; in add() 210 mismatchValue = MAX3(drp->fMaxMismatchR, drp->fMaxMismatchG, in add() [all …]
|
D | skdiff_utils.cpp | 131 void create_and_write_diff_image(DiffRecord* drp, in create_and_write_diff_image() argument 136 const int w = drp->fBase.fBitmap.width(); in create_and_write_diff_image() 137 const int h = drp->fBase.fBitmap.height(); in create_and_write_diff_image() 139 if (w != drp->fComparison.fBitmap.width() || h != drp->fComparison.fBitmap.height()) { in create_and_write_diff_image() 140 drp->fResult = DiffRecord::kDifferentSizes_Result; in create_and_write_diff_image() 142 drp->fDifference.fBitmap.allocN32Pixels(w, h); in create_and_write_diff_image() 144 drp->fWhite.fBitmap.allocN32Pixels(w, h); in create_and_write_diff_image() 146 SkASSERT(DiffRecord::kUnknown_Result == drp->fResult); in create_and_write_diff_image() 147 compute_diff(drp, dmp, colorThreshold); in create_and_write_diff_image() 148 SkASSERT(DiffRecord::kUnknown_Result != drp->fResult); in create_and_write_diff_image() [all …]
|
D | skdiff_image.cpp | 24 DiffRecord* drp) { in create_diff_images() argument 28 drp->fBase.fFilename = baseFile; in create_diff_images() 29 drp->fBase.fFullPath = baseFile; in create_diff_images() 30 drp->fBase.fStatus = DiffResource::kSpecified_Status; in create_diff_images() 32 drp->fComparison.fFilename = comparisonFile; in create_diff_images() 33 drp->fComparison.fFullPath = comparisonFile; in create_diff_images() 34 drp->fComparison.fStatus = DiffResource::kSpecified_Status; in create_diff_images() 36 sk_sp<SkData> baseFileBits = read_file(drp->fBase.fFullPath.c_str()); in create_diff_images() 38 drp->fBase.fStatus = DiffResource::kRead_Status; in create_diff_images() 40 sk_sp<SkData> comparisonFileBits = read_file(drp->fComparison.fFullPath.c_str()); in create_diff_images() [all …]
|
D | skdiff_utils.h | 46 void create_and_write_diff_image(DiffRecord* drp,
|
/external/libgsm/src/ |
D | decode.c | 51 word * drp = S->dp0 + 120; variable 56 Gsm_Long_Term_Synthesis_Filtering( S, *Ncr, *bcr, erp, drp ); 58 for (k = 0; k <= 39; k++) wt[ j * 40 + k ] = drp[ k ];
|
D | long_term.c | 905 void Gsm_Long_Term_Synthesis_Filtering P5((S,Ncr,bcr,erp,drp), 911 register word * drp /* [-120..-1] IN, [-120..40] OUT */ 939 drpp = GSM_MULT_R( brp, drp[ k - Nr ] ); 940 drp[k] = GSM_ADD( erp[k], drpp ); 948 for (k = 0; k <= 119; k++) drp[ -120 + k ] = drp[ -80 + k ];
|
/external/syslinux/com32/lib/sys/vesa/ |
D | background.c | 88 uint32_t *sp, *dp, *drp, *dtp; in tile_image() local 90 drp = __vesacon_background; in tile_image() 93 dtp = drp; in tile_image() 107 drp += xsize*height; in tile_image()
|
/external/autotest/server/cros/servo/ |
D | pd_console.py | 330 drp = self.get_pd_dualrole() 331 return bool(drp == self.dualrole_resp[self.dual_index['on']])
|
D | pd_device.py | 484 drp = self.utils.get_pd_dualrole() 485 if drp == resp:
|
/external/libgsm/inc/ |
D | private.h | 207 word * drp)); /* [-120..-1] IN, [0..40] OUT */ 226 word * drp, /* received d [0...39] IN */
|