/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/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/chromium_org/third_party/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/chromium_org/third_party/skia/src/images/ |
D | SkImageDecoder.cpp | 215 bool SkImageDecoder::cropBitmap(SkBitmap *dst, SkBitmap *src, int sampleSize, in cropBitmap() argument 218 int w = width / sampleSize; in cropBitmap() 219 int h = height / sampleSize; in cropBitmap() 229 int x = (dstX - srcX) / sampleSize; in cropBitmap() 230 int y = (dstY - srcY) / sampleSize; in cropBitmap() 256 canvas.drawSprite(*src, (srcX - dstX) / sampleSize, in cropBitmap() 257 (srcY - dstY) / sampleSize, in cropBitmap()
|
D | SkImageDecoder_libjpeg.cpp | 288 static int recompute_sampleSize(int sampleSize, in recompute_sampleSize() argument 290 return sampleSize * cinfo.output_width / cinfo.image_width; in recompute_sampleSize() 563 int sampleSize = this->getSampleSize(); in onDecode() local 568 cinfo.scale_denom = sampleSize; in onDecode() 578 if (1 == sampleSize && SkImageDecoder::kDecodeBounds_Mode == mode) { in onDecode() 603 recompute_sampleSize(sampleSize, cinfo)); in onDecode() 614 sampleSize = recompute_sampleSize(sampleSize, cinfo); in onDecode() 623 SkScaledBitmapSampler sampler(cinfo.output_width, cinfo.output_height, sampleSize); in onDecode() 643 if (sampleSize == 1 && in onDecode()
|
D | SkDecodingImageGenerator.cpp | 36 int sampleSize, 115 int sampleSize, in DecodingImageGenerator() argument 120 , fSampleSize(sampleSize) in DecodingImageGenerator()
|
D | SkImageDecoder_libpng.cpp | 330 const int sampleSize = this->getSampleSize(); in onDecode() local 331 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); in onDecode() 374 1 == sampleSize) { in onDecode() 792 const int sampleSize = this->getSampleSize(); in onDecodeSubset() local 793 SkScaledBitmapSampler sampler(origWidth, rect.height(), sampleSize); in onDecodeSubset() 816 int w = rect.width() / sampleSize; in onDecodeSubset() 817 int h = rect.height() / sampleSize; in onDecodeSubset() 856 && 1 == sampleSize) { in onDecodeSubset() 984 return this->cropBitmap(bm, &decodedBitmap, sampleSize, region.x(), region.y(), in onDecodeSubset()
|
D | SkImageDecoder_libwebp.cpp | 349 const int sampleSize = this->getSampleSize(); in onDecodeSubset() local 350 SkScaledBitmapSampler sampler(rect.width(), rect.height(), sampleSize); in onDecodeSubset() 406 cropBitmap(decodedBitmap, bitmap, sampleSize, region.x(), region.y(), in onDecodeSubset() 424 const int sampleSize = this->getSampleSize(); in onDecode() local 425 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); in onDecode()
|
D | SkScaledBitmapSampler.cpp | 586 int sampleSize) { in SkScaledBitmapSampler() argument 597 if (sampleSize <= 1) { in SkScaledBitmapSampler() 605 int dx = SkMin32(sampleSize, width); in SkScaledBitmapSampler() 606 int dy = SkMin32(sampleSize, height); in SkScaledBitmapSampler()
|
/external/skia/src/images/ |
D | SkImageDecoder.cpp | 215 bool SkImageDecoder::cropBitmap(SkBitmap *dst, SkBitmap *src, int sampleSize, in cropBitmap() argument 218 int w = width / sampleSize; in cropBitmap() 219 int h = height / sampleSize; in cropBitmap() 229 int x = (dstX - srcX) / sampleSize; in cropBitmap() 230 int y = (dstY - srcY) / sampleSize; in cropBitmap() 256 canvas.drawSprite(*src, (srcX - dstX) / sampleSize, in cropBitmap() 257 (srcY - dstY) / sampleSize, in cropBitmap()
|
D | SkImageDecoder_libjpeg.cpp | 288 static int recompute_sampleSize(int sampleSize, in recompute_sampleSize() argument 290 return sampleSize * cinfo.output_width / cinfo.image_width; in recompute_sampleSize() 563 int sampleSize = this->getSampleSize(); in onDecode() local 568 cinfo.scale_denom = sampleSize; in onDecode() 578 if (1 == sampleSize && SkImageDecoder::kDecodeBounds_Mode == mode) { in onDecode() 603 recompute_sampleSize(sampleSize, cinfo)); in onDecode() 614 sampleSize = recompute_sampleSize(sampleSize, cinfo); in onDecode() 623 SkScaledBitmapSampler sampler(cinfo.output_width, cinfo.output_height, sampleSize); in onDecode() 643 if (sampleSize == 1 && in onDecode()
|
D | SkDecodingImageGenerator.cpp | 36 int sampleSize, 115 int sampleSize, in DecodingImageGenerator() argument 120 , fSampleSize(sampleSize) in DecodingImageGenerator()
|
D | SkImageDecoder_libpng.cpp | 330 const int sampleSize = this->getSampleSize(); in onDecode() local 331 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); in onDecode() 374 1 == sampleSize) { in onDecode() 792 const int sampleSize = this->getSampleSize(); in onDecodeSubset() local 793 SkScaledBitmapSampler sampler(origWidth, rect.height(), sampleSize); in onDecodeSubset() 816 int w = rect.width() / sampleSize; in onDecodeSubset() 817 int h = rect.height() / sampleSize; in onDecodeSubset() 856 && 1 == sampleSize) { in onDecodeSubset() 982 return this->cropBitmap(bm, &decodedBitmap, sampleSize, region.x(), region.y(), in onDecodeSubset()
|
D | SkImageDecoder_libwebp.cpp | 349 const int sampleSize = this->getSampleSize(); in onDecodeSubset() local 350 SkScaledBitmapSampler sampler(rect.width(), rect.height(), sampleSize); in onDecodeSubset() 406 cropBitmap(decodedBitmap, bitmap, sampleSize, region.x(), region.y(), in onDecodeSubset() 424 const int sampleSize = this->getSampleSize(); in onDecode() local 425 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); in onDecode()
|
D | SkScaledBitmapSampler.cpp | 586 int sampleSize) { in SkScaledBitmapSampler() argument 597 if (sampleSize <= 1) { in SkScaledBitmapSampler() 605 int dx = SkMin32(sampleSize, width); in SkScaledBitmapSampler() 606 int dy = SkMin32(sampleSize, height); in SkScaledBitmapSampler()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | Downsampler.java | 157 final int sampleSize; in decode() local 161 sampleSize = getSampleSize(inHeight, inWidth, outWidth, outHeight); in decode() 163 sampleSize = getSampleSize(inWidth, inHeight, outWidth, outHeight); in decode() 166 … downsampled = downsampleWithSize(bis, options, pool, inWidth, inHeight, sampleSize, decodeFormat); in decode() 184 BitmapPool pool, int inWidth, int inHeight, int sampleSize, DecodeFormat decodeFormat) { in downsampleWithSize() argument 187 options.inSampleSize = sampleSize; in downsampleWithSize()
|
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
D | WebAudioMediaCodecBridge.java | 124 int sampleSize = extractor.readSampleData(dstBuf, 0); in decodeAudioFile() local 127 if (sampleSize < 0) { in decodeAudioFile() 129 sampleSize = 0; in decodeAudioFile() 136 sampleSize, in decodeAudioFile()
|
/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/skia/tests/ |
D | ImageDecodingTest.cpp | 488 int sampleSize, bool ditherImage) { in install_pixel_ref() argument 494 SkDecodingImageGenerator::Options opts(sampleSize, ditherImage, colorType); in install_pixel_ref()
|
/external/chromium_org/third_party/skia/tests/ |
D | ImageDecodingTest.cpp | 488 int sampleSize, bool ditherImage) { in install_pixel_ref() argument 494 SkDecodingImageGenerator::Options opts(sampleSize, ditherImage, colorType); in install_pixel_ref()
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkImageDecoder.h | 409 bool cropBitmap(SkBitmap *dst, SkBitmap *src, int sampleSize,
|