/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
H A D | SampleSizeBox.java | 33 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/chromium_org/third_party/skia/include/images/ |
H A D | SkDecodingImageGenerator.h | 55 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/skia/include/images/ |
H A D | SkDecodingImageGenerator.h | 55 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/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
H A D | SampleList.java | 66 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 D | AppleLosslessSpecificBox.java | 24 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 D | AudioSampleEntry.java | 54 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 D | TrackRunBox.java | 60 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/chromium_org/third_party/skia/src/images/ |
H A D | SkImageDecoder.cpp | 215 bool SkImageDecoder::cropBitmap(SkBitmap *dst, SkBitmap *src, int sampleSize, argument 218 int w = width / sampleSize; 219 int h = height / sampleSize; 229 int x = (dstX - srcX) / sampleSize; 230 int y = (dstY - srcY) / sampleSize; 256 canvas.drawSprite(*src, (srcX - dstX) / sampleSize, 257 (srcY - dstY) / sampleSize,
|
H A D | SkDecodingImageGenerator.cpp | 36 int sampleSize, 115 int sampleSize, 120 , fSampleSize(sampleSize) 111 DecodingImageGenerator( SkData* data, SkStreamRewindable* stream, const SkImageInfo& info, int sampleSize, bool ditherImage) argument
|
H A D | SkImageDecoder_libjpeg.cpp | 283 not sufficient. If so, we can recompute a modified sampleSize value to 286 To skip this additional scaling, just set sampleSize = 1; below. 288 static int recompute_sampleSize(int sampleSize, argument 290 return sampleSize * cinfo.output_width / cinfo.image_width; 559 /* Try to fulfill the requested sampleSize. Since jpeg can do it (when it 563 int sampleSize = this->getSampleSize(); local 568 cinfo.scale_denom = sampleSize; 578 if (1 == sampleSize && SkImageDecoder::kDecodeBounds_Mode == mode) { 593 to the caller if they just wanted (subsampled bounds). If sampleSize 603 recompute_sampleSize(sampleSize, cinf [all...] |
H A D | SkImageDecoder_libpng.cpp | 330 const int sampleSize = this->getSampleSize(); local 331 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); 374 1 == sampleSize) { 792 const int sampleSize = this->getSampleSize(); local 793 SkScaledBitmapSampler sampler(origWidth, rect.height(), sampleSize); 816 int w = rect.width() / sampleSize; 817 int h = rect.height() / sampleSize; 856 && 1 == sampleSize) { 984 return this->cropBitmap(bm, &decodedBitmap, sampleSize, region.x(), region.y(),
|
H A D | SkImageDecoder_libwebp.cpp | 349 const int sampleSize = this->getSampleSize(); local 350 SkScaledBitmapSampler sampler(rect.width(), rect.height(), sampleSize); 406 cropBitmap(decodedBitmap, bitmap, sampleSize, region.x(), region.y(), 424 const int sampleSize = this->getSampleSize(); local 425 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize);
|
H A D | SkScaledBitmapSampler.cpp | 586 int sampleSize) { 597 if (sampleSize <= 1) { 605 int dx = SkMin32(sampleSize, width); 606 int dy = SkMin32(sampleSize, height); 857 // Arbitrary width/height/sampleSize to allow SkScaledBitmapSampler to 585 SkScaledBitmapSampler(int width, int height, int sampleSize) argument
|
/external/skia/src/images/ |
H A D | SkImageDecoder.cpp | 215 bool SkImageDecoder::cropBitmap(SkBitmap *dst, SkBitmap *src, int sampleSize, argument 218 int w = width / sampleSize; 219 int h = height / sampleSize; 229 int x = (dstX - srcX) / sampleSize; 230 int y = (dstY - srcY) / sampleSize; 256 canvas.drawSprite(*src, (srcX - dstX) / sampleSize, 257 (srcY - dstY) / sampleSize,
|
H A D | SkDecodingImageGenerator.cpp | 36 int sampleSize, 115 int sampleSize, 120 , fSampleSize(sampleSize) 111 DecodingImageGenerator( SkData* data, SkStreamRewindable* stream, const SkImageInfo& info, int sampleSize, bool ditherImage) argument
|
H A D | SkImageDecoder_libjpeg.cpp | 283 not sufficient. If so, we can recompute a modified sampleSize value to 286 To skip this additional scaling, just set sampleSize = 1; below. 288 static int recompute_sampleSize(int sampleSize, argument 290 return sampleSize * cinfo.output_width / cinfo.image_width; 559 /* Try to fulfill the requested sampleSize. Since jpeg can do it (when it 563 int sampleSize = this->getSampleSize(); local 568 cinfo.scale_denom = sampleSize; 578 if (1 == sampleSize && SkImageDecoder::kDecodeBounds_Mode == mode) { 593 to the caller if they just wanted (subsampled bounds). If sampleSize 603 recompute_sampleSize(sampleSize, cinf [all...] |
H A D | SkImageDecoder_libpng.cpp | 330 const int sampleSize = this->getSampleSize(); local 331 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); 374 1 == sampleSize) { 792 const int sampleSize = this->getSampleSize(); local 793 SkScaledBitmapSampler sampler(origWidth, rect.height(), sampleSize); 816 int w = rect.width() / sampleSize; 817 int h = rect.height() / sampleSize; 856 && 1 == sampleSize) { 982 return this->cropBitmap(bm, &decodedBitmap, sampleSize, region.x(), region.y(),
|
H A D | SkImageDecoder_libwebp.cpp | 349 const int sampleSize = this->getSampleSize(); local 350 SkScaledBitmapSampler sampler(rect.width(), rect.height(), sampleSize); 406 cropBitmap(decodedBitmap, bitmap, sampleSize, region.x(), region.y(), 424 const int sampleSize = this->getSampleSize(); local 425 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize);
|
H A D | SkScaledBitmapSampler.cpp | 586 int sampleSize) { 597 if (sampleSize <= 1) { 605 int dx = SkMin32(sampleSize, width); 606 int dy = SkMin32(sampleSize, height); 857 // Arbitrary width/height/sampleSize to allow SkScaledBitmapSampler to 585 SkScaledBitmapSampler(int width, int height, int sampleSize) argument
|
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
H A D | WebAudioMediaCodecBridge.java | 124 int sampleSize = extractor.readSampleData(dstBuf, 0); 127 if (sampleSize < 0) { 129 sampleSize = 0; 136 sampleSize,
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
H A D | Downsampler.java | 157 final int sampleSize; 161 sampleSize = getSampleSize(inHeight, inWidth, outWidth, outHeight); 163 sampleSize = getSampleSize(inWidth, inHeight, outWidth, outHeight); 166 final Bitmap downsampled = downsampleWithSize(bis, options, pool, inWidth, inHeight, sampleSize, decodeFormat); 184 BitmapPool pool, int inWidth, int inHeight, int sampleSize, DecodeFormat decodeFormat) { 187 options.inSampleSize = sampleSize; 183 downsampleWithSize(RecyclableBufferedInputStream bis, BitmapFactory.Options options, BitmapPool pool, int inWidth, int inHeight, int sampleSize, DecodeFormat decodeFormat) argument
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkImageDecoder.h | 220 /** Reset the sampleSize to its default of 1 396 * both sampled by sampleSize from an original Bitmap. 399 * @param src the source bitmap that is sampled by sampleSize from the 401 * @param sampleSize the sample size that src is sampled from the original bitmap. 409 bool cropBitmap(SkBitmap *dst, SkBitmap *src, int sampleSize,
|
/external/skia/include/core/ |
H A D | SkImageDecoder.h | 220 /** Reset the sampleSize to its default of 1 396 * both sampled by sampleSize from an original Bitmap. 399 * @param src the source bitmap that is sampled by sampleSize from the 401 * @param sampleSize the sample size that src is sampled from the original bitmap. 409 bool cropBitmap(SkBitmap *dst, SkBitmap *src, int sampleSize,
|
/external/svox/pico/lib/ |
H A D | picoos.c | 1444 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/qemu/distrib/sdl-1.2.15/src/audio/macrom/ |
H A D | SDL_romaudio.c | 244 header.sampleSize = sample_bits;
|