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

/external/chromium_org/third_party/skia/src/images/
H A DSkImageRef.cpp22 int sampleSize, SkBaseMutex* mutex)
27 fSampleSize = sampleSize;
21 SkImageRef(const SkImageInfo& info, SkStreamRewindable* stream, int sampleSize, SkBaseMutex* mutex) argument
H A DSkImageRef_GlobalPool.cpp29 int sampleSize)
30 : SkImageRef(info, stream, sampleSize, &gGlobalPoolMutex) {
27 SkImageRef_GlobalPool(const SkImageInfo& info, SkStreamRewindable* stream, int sampleSize) argument
H A DSkImageRef_ashmem.cpp36 int sampleSize)
37 : SkImageRef(info, stream, sampleSize)
34 SkImageRef_ashmem(const SkImageInfo& info, SkStreamRewindable* stream, int sampleSize) argument
H A DSkImageDecoder.cpp210 bool SkImageDecoder::cropBitmap(SkBitmap *dst, SkBitmap *src, int sampleSize, argument
213 int w = width / sampleSize;
214 int h = height / sampleSize;
224 int x = (dstX - srcX) / sampleSize;
225 int y = (dstY - srcY) / sampleSize;
251 canvas.drawSprite(*src, (srcX - dstX) / sampleSize,
252 (srcY - dstY) / sampleSize,
H A DSkScaledBitmapSampler.cpp574 int sampleSize) {
585 if (sampleSize <= 1) {
593 int dx = SkMin32(sampleSize, width);
594 int dy = SkMin32(sampleSize, height);
834 // Arbitrary width/height/sampleSize to allow SkScaledBitmapSampler to
573 SkScaledBitmapSampler(int width, int height, int sampleSize) argument
H A DSkImageDecoder_libwebp.cpp339 const int sampleSize = this->getSampleSize(); local
340 SkScaledBitmapSampler sampler(rect.width(), rect.height(), sampleSize);
394 cropBitmap(decodedBitmap, bitmap, sampleSize, region.x(), region.y(),
412 const int sampleSize = this->getSampleSize(); local
413 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize);
H A DSkImageDecoder_libjpeg.cpp283 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) {
594 to the caller if they just wanted (subsampled bounds). If sampleSize
604 recompute_sampleSize(sampleSize, cinf
[all...]
H A DSkImageDecoder_libpng.cpp332 const int sampleSize = this->getSampleSize(); local
333 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize);
375 && 1 == sampleSize) {
802 const int sampleSize = this->getSampleSize(); local
803 SkScaledBitmapSampler sampler(origWidth, rect.height(), sampleSize);
825 int w = rect.width() / sampleSize;
826 int h = rect.height() / sampleSize;
865 && 1 == sampleSize) {
993 return this->cropBitmap(bm, &decodedBitmap, sampleSize, region.x(), region.y(),
/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/src/images/
H A DSkImageRef.cpp22 int sampleSize, SkBaseMutex* mutex)
27 fSampleSize = sampleSize;
21 SkImageRef(const SkImageInfo& info, SkStreamRewindable* stream, int sampleSize, SkBaseMutex* mutex) argument
H A DSkImageRef_GlobalPool.cpp29 int sampleSize)
30 : SkImageRef(info, stream, sampleSize, &gGlobalPoolMutex) {
27 SkImageRef_GlobalPool(const SkImageInfo& info, SkStreamRewindable* stream, int sampleSize) argument
H A DSkImageRef_ashmem.cpp36 int sampleSize)
37 : SkImageRef(info, stream, sampleSize)
34 SkImageRef_ashmem(const SkImageInfo& info, SkStreamRewindable* stream, int sampleSize) argument
H A DSkImageDecoder.cpp210 bool SkImageDecoder::cropBitmap(SkBitmap *dst, SkBitmap *src, int sampleSize, argument
213 int w = width / sampleSize;
214 int h = height / sampleSize;
224 int x = (dstX - srcX) / sampleSize;
225 int y = (dstY - srcY) / sampleSize;
251 canvas.drawSprite(*src, (srcX - dstX) / sampleSize,
252 (srcY - dstY) / sampleSize,
H A DSkScaledBitmapSampler.cpp574 int sampleSize) {
585 if (sampleSize <= 1) {
593 int dx = SkMin32(sampleSize, width);
594 int dy = SkMin32(sampleSize, height);
834 // Arbitrary width/height/sampleSize to allow SkScaledBitmapSampler to
573 SkScaledBitmapSampler(int width, int height, int sampleSize) argument
H A DSkImageDecoder_libwebp.cpp339 const int sampleSize = this->getSampleSize(); local
340 SkScaledBitmapSampler sampler(rect.width(), rect.height(), sampleSize);
394 cropBitmap(decodedBitmap, bitmap, sampleSize, region.x(), region.y(),
412 const int sampleSize = this->getSampleSize(); local
413 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize);
H A DSkImageDecoder_libjpeg.cpp283 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) {
594 to the caller if they just wanted (subsampled bounds). If sampleSize
604 recompute_sampleSize(sampleSize, cinf
[all...]
H A DSkImageDecoder_libpng.cpp332 const int sampleSize = this->getSampleSize(); local
333 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize);
380 && 1 == sampleSize) {
801 const int sampleSize = this->getSampleSize(); local
802 SkScaledBitmapSampler sampler(origWidth, rect.height(), sampleSize);
824 int w = rect.width() / sampleSize;
825 int h = rect.height() / sampleSize;
864 && 1 == sampleSize) {
992 return this->cropBitmap(bm, &decodedBitmap, sampleSize, region.x(), region.y(),
/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/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/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/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/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 386 milliseconds