Home
last modified time | relevance | path

Searched refs:drp (Results 1 – 12 of 12) sorted by relevance

/external/skia/tools/
Dskdiff_main.cpp145 void add (DiffRecord* drp) { in add()
148 if (drp->fBase.fFilename.equals(drp->fComparison.fFilename)) { in add()
149 fResultsOfType[drp->fResult].push(new SkString(drp->fBase.fFilename)); in add()
152 blame->append(drp->fBase.fFilename); in add()
154 blame->append(drp->fComparison.fFilename); in add()
156 fResultsOfType[drp->fResult].push(blame); in add()
158 switch (drp->fResult) { in add()
170 if (drp->fFractionDifference * 100 > fMaxMismatchPercent) { in add()
171 fMaxMismatchPercent = drp->fFractionDifference * 100; in add()
173 mismatchValue = MAX3(drp->fMaxMismatchR, drp->fMaxMismatchG, in add()
[all …]
Dskdiff_utils.cpp136 void create_and_write_diff_image(DiffRecord* drp, in create_and_write_diff_image() argument
141 const int w = drp->fBase.fBitmap.width(); in create_and_write_diff_image()
142 const int h = drp->fBase.fBitmap.height(); in create_and_write_diff_image()
144 if (w != drp->fComparison.fBitmap.width() || h != drp->fComparison.fBitmap.height()) { in create_and_write_diff_image()
145 drp->fResult = DiffRecord::kDifferentSizes_Result; in create_and_write_diff_image()
147 drp->fDifference.fBitmap.allocN32Pixels(w, h); in create_and_write_diff_image()
149 drp->fWhite.fBitmap.allocN32Pixels(w, h); in create_and_write_diff_image()
151 SkASSERT(DiffRecord::kUnknown_Result == drp->fResult); in create_and_write_diff_image()
152 compute_diff(drp, dmp, colorThreshold); in create_and_write_diff_image()
153 SkASSERT(DiffRecord::kUnknown_Result != drp->fResult); in create_and_write_diff_image()
[all …]
Dskdiff_image.cpp27 DiffRecord* drp) { in create_diff_images() argument
31 drp->fBase.fFilename = baseFile; in create_diff_images()
32 drp->fBase.fFullPath = baseFile; in create_diff_images()
33 drp->fBase.fStatus = DiffResource::kSpecified_Status; in create_diff_images()
35 drp->fComparison.fFilename = comparisonFile; in create_diff_images()
36 drp->fComparison.fFullPath = comparisonFile; in create_diff_images()
37 drp->fComparison.fStatus = DiffResource::kSpecified_Status; in create_diff_images()
39 SkAutoDataUnref baseFileBits(read_file(drp->fBase.fFullPath.c_str())); in create_diff_images()
41 drp->fBase.fStatus = DiffResource::kRead_Status; in create_diff_images()
43 SkAutoDataUnref comparisonFileBits(read_file(drp->fComparison.fFullPath.c_str())); in create_diff_images()
[all …]
Dskdiff_utils.h47 void create_and_write_diff_image(DiffRecord* drp,
/external/chromium_org/third_party/skia/tools/
Dskdiff_main.cpp145 void add (DiffRecord* drp) { in add()
148 if (drp->fBase.fFilename.equals(drp->fComparison.fFilename)) { in add()
149 fResultsOfType[drp->fResult].push(new SkString(drp->fBase.fFilename)); in add()
152 blame->append(drp->fBase.fFilename); in add()
154 blame->append(drp->fComparison.fFilename); in add()
156 fResultsOfType[drp->fResult].push(blame); in add()
158 switch (drp->fResult) { in add()
170 if (drp->fFractionDifference * 100 > fMaxMismatchPercent) { in add()
171 fMaxMismatchPercent = drp->fFractionDifference * 100; in add()
173 mismatchValue = MAX3(drp->fMaxMismatchR, drp->fMaxMismatchG, in add()
[all …]
Dskdiff_utils.cpp120 void create_and_write_diff_image(DiffRecord* drp, in create_and_write_diff_image() argument
125 const int w = drp->fBase.fBitmap.width(); in create_and_write_diff_image()
126 const int h = drp->fBase.fBitmap.height(); in create_and_write_diff_image()
128 if (w != drp->fComparison.fBitmap.width() || h != drp->fComparison.fBitmap.height()) { in create_and_write_diff_image()
129 drp->fResult = DiffRecord::kDifferentSizes_Result; in create_and_write_diff_image()
131 drp->fDifference.fBitmap.allocN32Pixels(w, h); in create_and_write_diff_image()
133 drp->fWhite.fBitmap.allocN32Pixels(w, h); in create_and_write_diff_image()
135 SkASSERT(DiffRecord::kUnknown_Result == drp->fResult); in create_and_write_diff_image()
136 compute_diff(drp, dmp, colorThreshold); in create_and_write_diff_image()
137 SkASSERT(DiffRecord::kUnknown_Result != drp->fResult); in create_and_write_diff_image()
[all …]
Dskdiff_image.cpp27 DiffRecord* drp) { in create_diff_images() argument
31 drp->fBase.fFilename = baseFile; in create_diff_images()
32 drp->fBase.fFullPath = baseFile; in create_diff_images()
33 drp->fBase.fStatus = DiffResource::kSpecified_Status; in create_diff_images()
35 drp->fComparison.fFilename = comparisonFile; in create_diff_images()
36 drp->fComparison.fFullPath = comparisonFile; in create_diff_images()
37 drp->fComparison.fStatus = DiffResource::kSpecified_Status; in create_diff_images()
39 SkAutoDataUnref baseFileBits(read_file(drp->fBase.fFullPath.c_str())); in create_diff_images()
41 drp->fBase.fStatus = DiffResource::kRead_Status; in create_diff_images()
43 SkAutoDataUnref comparisonFileBits(read_file(drp->fComparison.fFullPath.c_str())); in create_diff_images()
[all …]
Dskdiff_utils.h47 void create_and_write_diff_image(DiffRecord* drp,
/external/libgsm/src/
Ddecode.c51 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 ];
Dlong_term.c905 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/libgsm/inc/
Dprivate.h207 word * drp)); /* [-120..-1] IN, [0..40] OUT */
226 word * drp, /* received d [0...39] IN */
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_output.c12064 struct sctp_pktdrop_chunk *drp; local
12142 drp = mtod(chk->data, struct sctp_pktdrop_chunk *);
12143 if (drp == NULL) {
12152 drp->ch.chunk_flags = SCTP_PACKET_TRUNCATED;
12153 drp->trunc_len = htons(fullsz);
12161 drp->ch.chunk_flags = 0;
12162 drp->trunc_len = htons(0);
12165 drp->ch.chunk_flags |= SCTP_BADCRC;
12180 drp->ch.chunk_type = SCTP_PACKET_DROPPED;
12181 drp->ch.chunk_length = htons(chk->send_size);
[all …]