Searched refs:sampleSize (Results 1 - 23 of 23) sorted by relevance

/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
H A DSampleSizeBox.java33 private long sampleSize; field in class:SampleSizeBox
44 * If sampleSize > 0 every sample has the same size.
45 * If sampleSize == 0 the samples have different size as stated in the sampleSizes field.
47 * @return the sampleSize field
50 return sampleSize;
53 public void setSampleSize(long sampleSize) { argument
54 this.sampleSize = sampleSize;
59 if (sampleSize > 0) {
60 return sampleSize;
[all...]
/external/skia/include/images/
H A DSkDecodingImageGenerator.h55 Options(int sampleSize, bool dither) argument
56 : fSampleSize(sampleSize)
61 Options(int sampleSize, bool dither, SkColorType colorType) argument
62 : fSampleSize(sampleSize)
67 Options(int sampleSize, bool dither, SkColorType colorType, argument
69 : fSampleSize(sampleSize)
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
H A DHypergeometricDistributionImpl.java45 private int sampleSize; field in class:HypergeometricDistributionImpl
53 * @param sampleSize the sample size.
56 int numberOfSuccesses, int sampleSize) {
64 if (sampleSize > populationSize) {
68 sampleSize, populationSize);
72 setSampleSizeInternal(sampleSize);
86 int[] domain = getDomain(populationSize, numberOfSuccesses, sampleSize);
93 numberOfSuccesses, sampleSize);
122 return getLowerDomain(populationSize, numberOfSuccesses, sampleSize);
135 return getUpperDomain(sampleSize, numberOfSuccesse
55 HypergeometricDistributionImpl(int populationSize, int numberOfSuccesses, int sampleSize) argument
[all...]
H A DAbstractContinuousDistribution.java172 * @param sampleSize number of random values to generate
176 * @throws IllegalArgumentException if sampleSize is not positive
178 public double[] sample(int sampleSize) throws MathException { argument
179 if (sampleSize <= 0) {
180 MathRuntimeException.createIllegalArgumentException(LocalizedFormats.NOT_POSITIVE_SAMPLE_SIZE, sampleSize);
182 double[] out = new double[sampleSize];
183 for (int i = 0; i < sampleSize; i++) {
H A DAbstractIntegerDistribution.java238 * @param sampleSize number of random values to generate
242 * @throws IllegalArgumentException if sampleSize is not positive
244 public int[] sample(int sampleSize) throws MathException { argument
245 if (sampleSize <= 0) {
246 MathRuntimeException.createIllegalArgumentException(LocalizedFormats.NOT_POSITIVE_SAMPLE_SIZE, sampleSize);
248 int[] out = new int[sampleSize];
249 for (int i = 0; i < sampleSize; i++) {
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
H A DSampleList.java66 long sampleSize = sizes[sampleIndex];
68 sampleOffset += sampleSize;
170 int sampleSize = l2i(sizes[index]);
175 if ((start <= offset) && (offset + sampleSize <= end)) {
176 return mediaDataBox.getContent(offset - start, sampleSize);
180 throw new RuntimeException("The sample with offset " + offset + " and size " + sampleSize + " is NOT located within an mdat");
201 final long sampleSize;
203 sampleSize = entry.getSampleSize();
204 offsets2Sizes.put(offset + sampleBaseOffset, sampleSize);
205 offset += sampleSize;
[all...]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/
H A DAppleLosslessSpecificBox.java24 private int sampleSize; // 8bit field in class:AppleLosslessSpecificBox
51 return sampleSize;
54 public void setSampleSize(int sampleSize) { argument
55 this.sampleSize = sampleSize;
128 sampleSize = IsoTypeReader.readUInt8(content);
144 IsoTypeWriter.writeUInt8(byteBuffer, sampleSize);
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
H A DAudioSampleEntry.java54 private int sampleSize; field in class:AudioSampleEntry
78 return sampleSize;
129 public void setSampleSize(int sampleSize) { argument
130 this.sampleSize = sampleSize;
193 sampleSize = IsoTypeReader.readUInt16(content);
243 ", sampleSize=" + sampleSize +
256 IsoTypeWriter.writeUInt16(byteBuffer, sampleSize);
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/
H A DTrackRunBox.java60 private long sampleSize; field in class:TrackRunBox.Entry
67 public Entry(long sampleDuration, long sampleSize, SampleFlags sampleFlags, int sampleCompositionTimeOffset) { argument
69 this.sampleSize = sampleSize;
79 return sampleSize;
94 public void setSampleSize(long sampleSize) { argument
95 this.sampleSize = sampleSize;
110 ", sampleSize=" + sampleSize
[all...]
/external/skia/src/images/
H A DSkImageDecoder.cpp168 bool SkImageDecoder::cropBitmap(SkBitmap *dst, SkBitmap *src, int sampleSize, argument
171 int w = width / sampleSize;
172 int h = height / sampleSize;
182 int x = (dstX - srcX) / sampleSize;
183 int y = (dstY - srcY) / sampleSize;
209 canvas.drawSprite(*src, (srcX - dstX) / sampleSize,
210 (srcY - dstY) / sampleSize,
H A DSkDecodingImageGenerator.cpp36 int sampleSize,
113 int sampleSize,
119 , fSampleSize(sampleSize)
109 DecodingImageGenerator( SkData* data, SkStreamRewindable* stream, const SkImageInfo& info, int sampleSize, bool ditherImage) argument
H A DSkImageDecoder_libpng.cpp338 const int sampleSize = this->getSampleSize(); local
339 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize);
388 1 == sampleSize) {
797 const int sampleSize = this->getSampleSize(); local
798 SkScaledBitmapSampler sampler(origWidth, rect.height(), sampleSize);
821 int w = rect.width() / sampleSize;
822 int h = rect.height() / sampleSize;
861 && 1 == sampleSize) {
987 return this->cropBitmap(bm, &decodedBitmap, sampleSize, region.x(), region.y(),
H A DSkImageDecoder_libwebp.cpp349 const int sampleSize = this->getSampleSize(); local
350 SkScaledBitmapSampler sampler(rect.width(), rect.height(), sampleSize);
398 return cropBitmap(decodedBitmap, bitmap, sampleSize, region.x(), region.y(),
416 const int sampleSize = this->getSampleSize(); local
417 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize);
H A DSkImageDecoder_libjpeg.cpp289 not sufficient. If so, we can recompute a modified sampleSize value to
292 To skip this additional scaling, just set sampleSize = 1; below.
294 static int recompute_sampleSize(int sampleSize, argument
296 return sampleSize * cinfo.output_width / cinfo.image_width;
587 /* Try to fulfill the requested sampleSize. Since jpeg can do it (when it
591 int sampleSize = this->getSampleSize(); local
596 cinfo.scale_denom = sampleSize;
606 if (1 == sampleSize && SkImageDecoder::kDecodeBounds_Mode == mode) {
622 to the caller if they just wanted (subsampled bounds). If sampleSize
632 recompute_sampleSize(sampleSize, cinf
[all...]
H A DSkScaledBitmapSampler.cpp585 int sampleSize) {
596 if (sampleSize <= 1) {
604 int dx = SkMin32(sampleSize, width);
605 int dy = SkMin32(sampleSize, height);
858 // Arbitrary width/height/sampleSize to allow SkScaledBitmapSampler to
584 SkScaledBitmapSampler(int width, int height, int sampleSize) argument
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
H A DMean.java157 double sampleSize = length;
160 double xbar = sum.evaluate(values, begin, length) / sampleSize;
167 return xbar + (correction/sampleSize);
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DDownsampler.java138 final int sampleSize = getRoundedSampleSize(degreesToRotate, inWidth, inHeight, outWidth, outHeight);
141 downsampleWithSize(stream, options, pool, inWidth, inHeight, sampleSize,
191 int inWidth, int inHeight, int sampleSize, DecodeFormat decodeFormat) {
194 options.inSampleSize = sampleSize;
197 int targetWidth = (int) Math.ceil(inWidth / (double) sampleSize);
198 int targetHeight = (int) Math.ceil(inHeight / (double) sampleSize);
190 downsampleWithSize(ExceptionCatchingInputStream is, BitmapFactory.Options options, BitmapPool pool, int inWidth, int inHeight, int sampleSize, DecodeFormat decodeFormat) argument
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/
H A DRandomDataImpl.java623 * @param sampleSize the sample size of the Hypergeometric distribution
624 * @return random value sampled from the Hypergeometric(numberOfSuccesses, sampleSize) distribution
628 public int nextHypergeometric(int populationSize, int numberOfSuccesses, int sampleSize) throws MathException { argument
629 return nextInversionDeviate(new HypergeometricDistributionImpl(populationSize, numberOfSuccesses, sampleSize));
/external/skia/include/core/
H A DSkImageDecoder.h175 /** Reset the sampleSize to its default of 1
337 * both sampled by sampleSize from an original Bitmap.
340 * @param src the source bitmap that is sampled by sampleSize from the
342 * @param sampleSize the sample size that src is sampled from the original bitmap.
350 bool cropBitmap(SkBitmap *dst, SkBitmap *src, int sampleSize,
/external/svox/pico/lib/
H A Dpicoos.c1444 picoos_uint16 sampleSize; local
1465 done = done && (PICO_OK == picoos_read_le_uint16(f, &sampleSize));
1475 done = ((blockAlign == 2) && (sampleSize == 16));
1481 done = ((blockAlign == 1) && (sampleSize == 8));
1487 done = ((blockAlign == 1) && (sampleSize == 8));
1671 picoos_uint16 sampleSize = 16; local
1681 sampleSize = 16;
1686 sampleSize = 8;
1691 sampleSize = 8;
1712 done = done && picoos_write_le_uint16(f,sampleSize);
[all...]
/external/skia/tests/
H A DImageDecodingTest.cpp426 int sampleSize, bool ditherImage) {
431 SkDecodingImageGenerator::Options opts(sampleSize, ditherImage, colorType);
537 ERRORF(reporter, "Bounds decode failed [sampleSize=%d dither=%s "
558 ERRORF(reporter, "Pixel decode failed [sampleSize=%d dither=%s "
587 "[sampleSize=%d dither=%s colorType=%s %s]",
424 install_pixel_ref(SkBitmap* bitmap, SkStreamRewindable* stream, int sampleSize, bool ditherImage) argument
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.test.performance_3.6.0.v20091014.jarMETA-INF/MANIFEST.MF plugin.properties about.html scripts/cs.sh scripts/derby. ...
/external/robolectric/lib/main/
H A Dh2-1.2.147.jarMETA-INF/MANIFEST.MF META-INF/services/java.sql.Driver org/h2/api/AggregateFunction ...

Completed in 811 milliseconds