/external/webkit/WebCore/platform/graphics/android/ |
D | ImageSourceAndroid.cpp | 122 int origHeight, int sampleSize) in PrivateAndroidImageSourceRec() argument 123 : SkBitmapRef(bm), fSampleSize(sampleSize), fAllDataReceived(false) { in PrivateAndroidImageSourceRec() 158 int sampleSize = 1; in computeSampleSize() local 161 sampleSize <<= 1; in computeSampleSize() 166 if (sampleSize > 1) { in computeSampleSize() 169 bitmap.getSize(), size, sampleSize); in computeSampleSize() 172 return sampleSize; in computeSampleSize() 299 int sampleSize = computeSampleSize(tmp); in setData() local 300 if (sampleSize > 1) { in setData() 301 codec->setSampleSize(sampleSize); in setData() [all …]
|
D | BitmapAllocatorAndroid.cpp | 46 int sampleSize) in BitmapAllocatorAndroid() argument 49 fSampleSize = sampleSize; in BitmapAllocatorAndroid()
|
D | BitmapAllocatorAndroid.h | 43 BitmapAllocatorAndroid(SharedBuffer* data, int sampleSize);
|
/external/skia/src/images/ |
D | SkImageDecoder.cpp | 200 int sampleSize, int destX, int destY, in cropBitmap() argument 202 int w = width / sampleSize; in cropBitmap() 203 int h = height / sampleSize; in cropBitmap() 205 (srcX - destX) / sampleSize == 0 && (srcY - destY) / sampleSize == 0) { in cropBitmap() 215 canvas.drawBitmap(*src, (srcX - destX) / sampleSize, in cropBitmap() 216 (srcY - destY) / sampleSize); in cropBitmap()
|
D | SkBitmapRegionDecoder.cpp | 4 SkBitmap::Config pref, int sampleSize) { in decodeRegion() argument 5 fDecoder->setSampleSize(sampleSize); in decodeRegion()
|
D | SkImageDecoder_libjpeg.cpp | 148 static int recompute_sampleSize(int sampleSize, in recompute_sampleSize() argument 150 return sampleSize * cinfo.output_width / cinfo.image_width; in recompute_sampleSize() 237 int sampleSize = this->getSampleSize(); in onDecode() local 246 cinfo.scale_denom = sampleSize; in onDecode() 279 if (sampleSize == 1 && mode == SkImageDecoder::kDecodeBounds_Mode) { in onDecode() 302 recompute_sampleSize(sampleSize, cinfo)); in onDecode() 310 sampleSize = recompute_sampleSize(sampleSize, cinfo); in onDecode() 322 if (sampleSize == 1 && in onDecode() 375 sampleSize); in onDecode()
|
D | SkImageRef_GlobalPool.cpp | 11 int sampleSize) in SkImageRef_GlobalPool() argument 12 : SkImageRef(stream, config, sampleSize) { in SkImageRef_GlobalPool()
|
D | SkScaledBitmapSampler.cpp | 304 int sampleSize) { in SkScaledBitmapSampler() argument 309 if (sampleSize <= 1) { in SkScaledBitmapSampler() 317 int dx = SkMin32(sampleSize, width); in SkScaledBitmapSampler() 318 int dy = SkMin32(sampleSize, height); in SkScaledBitmapSampler()
|
D | SkImageRef.cpp | 17 int sampleSize) in SkImageRef() argument 23 fSampleSize = sampleSize; in SkImageRef()
|
D | SkImageDecoder_libpng.cpp | 291 const int sampleSize = this->getSampleSize(); in onDecode() local 292 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); in onDecode() 341 if (SkBitmap::kIndex8_Config == config && 1 == sampleSize) { in onDecode() 636 const int sampleSize = this->getSampleSize(); in onDecodeRegion() local 637 SkScaledBitmapSampler sampler(origWidth, requestedHeight, sampleSize); in onDecodeRegion() 691 if (SkBitmap::kIndex8_Config == config && 1 == sampleSize) { in onDecodeRegion() 771 cropBitmap(bm, decodedBitmap, sampleSize, rect.fLeft, rect.fTop, in onDecodeRegion()
|
/external/skia/src/ports/ |
D | SkImageRef_ashmem.cpp | 27 int sampleSize) in SkImageRef_ashmem() argument 28 : SkImageRef(stream, config, sampleSize) { in SkImageRef_ashmem()
|
D | SkImageRef_ashmem.h | 15 SkImageRef_ashmem(SkStream*, SkBitmap::Config, int sampleSize = 1);
|
/external/skia/include/images/ |
D | SkBitmapRegionDecoder.h | 20 SkBitmap::Config pref, int sampleSize);
|
D | SkImageRef_GlobalPool.h | 25 SkImageRef_GlobalPool(SkStream*, SkBitmap::Config, int sampleSize = 1);
|
D | SkImageRef.h | 44 SkImageRef(SkStream*, SkBitmap::Config config, int sampleSize = 1);
|
D | SkImageDecoder.h | 348 virtual void cropBitmap(SkBitmap *dest, SkBitmap *src, int sampleSize,
|
/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/qemu/distrib/sdl-1.2.12/src/audio/macrom/ |
D | SDL_romaudio.c | 244 header.sampleSize = sample_bits; in Mac_OpenAudio()
|