/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
D | SampleSizeBox.java | 33 private long sampleSize; field in SampleSizeBox 50 return sampleSize; in getSampleSize() 53 public void setSampleSize(long sampleSize) { in setSampleSize() argument 54 this.sampleSize = sampleSize; in setSampleSize() 59 if (sampleSize > 0) { in getSampleSizeAtIndex() 60 return sampleSize; in getSampleSizeAtIndex() 67 if (sampleSize > 0) { in getSampleCount() 84 return 12 + (sampleSize == 0 ? sampleSizes.length * 4 : 0); in getContentSize() 90 sampleSize = IsoTypeReader.readUInt32(content); in _parseDetails() 93 if (sampleSize == 0) { in _parseDetails() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
D | HypergeometricDistributionImpl.java | 45 private int sampleSize; field in HypergeometricDistributionImpl 56 int numberOfSuccesses, int sampleSize) { in HypergeometricDistributionImpl() argument 64 if (sampleSize > populationSize) { in HypergeometricDistributionImpl() 68 sampleSize, populationSize); in HypergeometricDistributionImpl() 72 setSampleSizeInternal(sampleSize); in HypergeometricDistributionImpl() 86 int[] domain = getDomain(populationSize, numberOfSuccesses, sampleSize); in cumulativeProbability() 93 numberOfSuccesses, sampleSize); in cumulativeProbability() 122 return getLowerDomain(populationSize, numberOfSuccesses, sampleSize); in getDomainLowerBound() 135 return getUpperDomain(sampleSize, numberOfSuccesses); in getDomainUpperBound() 175 return sampleSize; in getSampleSize() [all …]
|
D | AbstractIntegerDistribution.java | 244 public int[] sample(int sampleSize) throws MathException { in sample() argument 245 if (sampleSize <= 0) { in sample() 246 …imeException.createIllegalArgumentException(LocalizedFormats.NOT_POSITIVE_SAMPLE_SIZE, sampleSize); in sample() 248 int[] out = new int[sampleSize]; in sample() 249 for (int i = 0; i < sampleSize; i++) { in sample()
|
D | AbstractContinuousDistribution.java | 178 public double[] sample(int sampleSize) throws MathException { in sample() argument 179 if (sampleSize <= 0) { in sample() 180 …imeException.createIllegalArgumentException(LocalizedFormats.NOT_POSITIVE_SAMPLE_SIZE, sampleSize); in sample() 182 double[] out = new double[sampleSize]; in sample() 183 for (int i = 0; i < sampleSize; i++) { in sample()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
D | SampleList.java | 66 long sampleSize = sizes[sampleIndex]; in SampleList() local 68 sampleOffset += sampleSize; in SampleList() 170 int sampleSize = l2i(sizes[index]); in get() local 175 if ((start <= offset) && (offset + sampleSize <= end)) { in get() 176 return mediaDataBox.getContent(offset - start, sampleSize); in get() 180 …throw new RuntimeException("The sample with offset " + offset + " and size " + sampleSize + " is N… in get() 201 final long sampleSize; in getOffsets() local 203 sampleSize = entry.getSampleSize(); in getOffsets() 204 offsets2Sizes.put(offset + sampleBaseOffset, sampleSize); in getOffsets() 205 offset += sampleSize; in getOffsets() [all …]
|
/external/skia/include/images/ |
D | SkDecodingImageGenerator.h | 55 Options(int sampleSize, bool dither) in Options() 56 : fSampleSize(sampleSize) in Options() 61 Options(int sampleSize, bool dither, SkColorType colorType) in Options() 62 : fSampleSize(sampleSize) in Options() 67 Options(int sampleSize, bool dither, SkColorType colorType, in Options() 69 : fSampleSize(sampleSize) in Options()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/ |
D | TrackRunBox.java | 60 private long sampleSize; field in TrackRunBox.Entry 67 …public Entry(long sampleDuration, long sampleSize, SampleFlags sampleFlags, int sampleCompositionT… in Entry() argument 69 this.sampleSize = sampleSize; in Entry() 79 return sampleSize; in getSampleSize() 94 public void setSampleSize(long sampleSize) { in setSampleSize() argument 95 this.sampleSize = sampleSize; in setSampleSize() 110 ", sampleSize=" + sampleSize + in toString() 204 IsoTypeWriter.writeUInt32(byteBuffer, entry.sampleSize); in getContent() 235 entry.sampleSize = IsoTypeReader.readUInt32(content); in _parseDetails()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/ |
D | AppleLosslessSpecificBox.java | 24 private int sampleSize; // 8bit field in AppleLosslessSpecificBox 51 return sampleSize; in getSampleSize() 54 public void setSampleSize(int sampleSize) { in setSampleSize() argument 55 this.sampleSize = sampleSize; in setSampleSize() 128 sampleSize = IsoTypeReader.readUInt8(content); in _parseDetails() 144 IsoTypeWriter.writeUInt8(byteBuffer, sampleSize); in getContent()
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
D | AudioSampleEntry.java | 54 private int sampleSize; field in AudioSampleEntry 78 return sampleSize; in getSampleSize() 129 public void setSampleSize(int sampleSize) { in setSampleSize() argument 130 this.sampleSize = sampleSize; in setSampleSize() 193 sampleSize = IsoTypeReader.readUInt16(content); in _parseDetails() 243 ", sampleSize=" + sampleSize + in toString() 256 IsoTypeWriter.writeUInt16(byteBuffer, sampleSize); in getContent()
|
/external/skia/src/images/ |
D | SkImageDecoder.cpp | 168 bool SkImageDecoder::cropBitmap(SkBitmap *dst, SkBitmap *src, int sampleSize, in cropBitmap() argument 171 int w = width / sampleSize; in cropBitmap() 172 int h = height / sampleSize; in cropBitmap() 182 int x = (dstX - srcX) / sampleSize; in cropBitmap() 183 int y = (dstY - srcY) / sampleSize; in cropBitmap() 209 canvas.drawSprite(*src, (srcX - dstX) / sampleSize, in cropBitmap() 210 (srcY - dstY) / sampleSize, in cropBitmap()
|
D | SkImageDecoder_libpng.cpp | 338 const int sampleSize = this->getSampleSize(); in onDecode() local 339 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); in onDecode() 388 1 == sampleSize) { in onDecode() 797 const int sampleSize = this->getSampleSize(); in onDecodeSubset() local 798 SkScaledBitmapSampler sampler(origWidth, rect.height(), sampleSize); in onDecodeSubset() 821 int w = rect.width() / sampleSize; in onDecodeSubset() 822 int h = rect.height() / sampleSize; in onDecodeSubset() 861 && 1 == sampleSize) { in onDecodeSubset() 987 return this->cropBitmap(bm, &decodedBitmap, sampleSize, region.x(), region.y(), in onDecodeSubset()
|
D | SkImageDecoder_libjpeg.cpp | 294 static int recompute_sampleSize(int sampleSize, in recompute_sampleSize() argument 296 return sampleSize * cinfo.output_width / cinfo.image_width; in recompute_sampleSize() 591 int sampleSize = this->getSampleSize(); in onDecode() local 596 cinfo.scale_denom = sampleSize; in onDecode() 606 if (1 == sampleSize && SkImageDecoder::kDecodeBounds_Mode == mode) { in onDecode() 632 recompute_sampleSize(sampleSize, cinfo)); in onDecode() 644 sampleSize = recompute_sampleSize(sampleSize, cinfo); in onDecode() 646 SkScaledBitmapSampler sampler(cinfo.output_width, cinfo.output_height, sampleSize); in onDecode() 666 if (sampleSize == 1 && in onDecode()
|
D | SkDecodingImageGenerator.cpp | 36 int sampleSize, 113 int sampleSize, in DecodingImageGenerator() argument 119 , fSampleSize(sampleSize) in DecodingImageGenerator()
|
D | SkImageDecoder_libwebp.cpp | 349 const int sampleSize = this->getSampleSize(); in onDecodeSubset() local 350 SkScaledBitmapSampler sampler(rect.width(), rect.height(), sampleSize); in onDecodeSubset() 398 return cropBitmap(decodedBitmap, bitmap, sampleSize, region.x(), region.y(), in onDecodeSubset() 416 const int sampleSize = this->getSampleSize(); in onDecode() local 417 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); in onDecode()
|
D | SkScaledBitmapSampler.cpp | 585 int sampleSize) { in SkScaledBitmapSampler() argument 596 if (sampleSize <= 1) { in SkScaledBitmapSampler() 604 int dx = SkMin32(sampleSize, width); in SkScaledBitmapSampler() 605 int dy = SkMin32(sampleSize, height); in SkScaledBitmapSampler()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | Downsampler.java | 138 …final int sampleSize = getRoundedSampleSize(degreesToRotate, inWidth, inHeight, outWidth, outHeigh… in decode() local 141 downsampleWithSize(stream, options, pool, inWidth, inHeight, sampleSize, in decode() 191 int inWidth, int inHeight, int sampleSize, DecodeFormat decodeFormat) { in downsampleWithSize() argument 194 options.inSampleSize = sampleSize; in downsampleWithSize() 197 int targetWidth = (int) Math.ceil(inWidth / (double) sampleSize); in downsampleWithSize() 198 int targetHeight = (int) Math.ceil(inHeight / (double) sampleSize); in downsampleWithSize()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/ |
D | Mean.java | 157 double sampleSize = length; in evaluate() local 160 double xbar = sum.evaluate(values, begin, length) / sampleSize; in evaluate() 167 return xbar + (correction/sampleSize); in evaluate()
|
/external/svox/pico/lib/ |
D | picoos.c | 1444 picoos_uint16 sampleSize; in picoos_readWavHeader() local 1465 done = done && (PICO_OK == picoos_read_le_uint16(f, &sampleSize)); in picoos_readWavHeader() 1475 done = ((blockAlign == 2) && (sampleSize == 16)); in picoos_readWavHeader() 1481 done = ((blockAlign == 1) && (sampleSize == 8)); in picoos_readWavHeader() 1487 done = ((blockAlign == 1) && (sampleSize == 8)); in picoos_readWavHeader() 1671 picoos_uint16 sampleSize = 16; in picoos_writeWavHeader() local 1681 sampleSize = 16; in picoos_writeWavHeader() 1686 sampleSize = 8; in picoos_writeWavHeader() 1691 sampleSize = 8; in picoos_writeWavHeader() 1712 done = done && picoos_write_le_uint16(f,sampleSize); in picoos_writeWavHeader()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
D | RandomDataImpl.java | 628 …public int nextHypergeometric(int populationSize, int numberOfSuccesses, int sampleSize) throws Ma… 629 …nversionDeviate(new HypergeometricDistributionImpl(populationSize, numberOfSuccesses, sampleSize));
|
/external/skia/include/core/ |
D | SkImageDecoder.h | 350 bool cropBitmap(SkBitmap *dst, SkBitmap *src, int sampleSize,
|
/external/skia/tests/ |
D | ImageDecodingTest.cpp | 426 int sampleSize, bool ditherImage) { in install_pixel_ref() argument 431 SkDecodingImageGenerator::Options opts(sampleSize, ditherImage, colorType); in install_pixel_ref()
|