Home
last modified time | relevance | path

Searched refs:sampleSize (Results 1 – 20 of 20) sorted by relevance

/external/webkit/WebCore/platform/graphics/android/
DImageSourceAndroid.cpp91 int origHeight, int sampleSize) in PrivateAndroidImageSourceRec() argument
92 : SkBitmapRef(bm), fSampleSize(sampleSize), fAllDataReceived(false) { in PrivateAndroidImageSourceRec()
127 int sampleSize = 1; in computeSampleSize() local
130 sampleSize <<= 1; in computeSampleSize()
135 if (sampleSize > 1) { in computeSampleSize()
138 bitmap.getSize(), size, sampleSize); in computeSampleSize()
141 return sampleSize; in computeSampleSize()
239 int sampleSize = computeSampleSize(tmp); in setData() local
240 if (sampleSize > 1) { in setData()
241 codec->setSampleSize(sampleSize); in setData()
[all …]
DBitmapAllocatorAndroid.cpp37 int sampleSize) in BitmapAllocatorAndroid() argument
40 fSampleSize = sampleSize; in BitmapAllocatorAndroid()
DBitmapAllocatorAndroid.h34 BitmapAllocatorAndroid(SharedBuffer* data, int sampleSize);
/external/opencore/fileformats/avi/parser/src/
Dpv_avifile_parser.cpp387 uint32 sampleSize = GetBitsPerSample(arStreamNo); in GetNextMediaSample() local
388 sampleSize = sampleSize / BIT_COUNT8; //in bytes in GetNextMediaSample()
390 if (sampleSize > 0) in GetNextMediaSample()
392 OsclFloat sampleCount = (OsclFloat)arSize / sampleSize; in GetNextMediaSample()
482 uint32 sampleSize = GetBitsPerSample(aStreamNo); in GetNextStreamMediaSample() local
483 sampleSize = sampleSize / BIT_COUNT8; //in bytes in GetNextStreamMediaSample()
485 if (sampleSize > 0) in GetNextStreamMediaSample()
487 OsclFloat sampleCount = (OsclFloat)arSize / sampleSize; in GetNextStreamMediaSample()
/external/skia/src/images/
DSkImageDecoder_libjpeg.cpp301 int sampleSize = this->getSampleSize(); in onDecode() local
305 cinfo.scale_denom = sampleSize; in onDecode()
335 if (sampleSize == 1) { in onDecode()
346 if (sampleSize == 1 && mode == SkImageDecoder::kDecodeBounds_Mode) { in onDecode()
367 sampleSize = sampleSize * cinfo.output_width / cinfo.image_width; in onDecode()
380 if (sampleSize == 1 && in onDecode()
433 sampleSize); in onDecode()
DSkImageRef_GlobalPool.cpp11 int sampleSize) in SkImageRef_GlobalPool() argument
12 : SkImageRef(stream, config, sampleSize) { in SkImageRef_GlobalPool()
DSkScaledBitmapSampler.cpp292 int sampleSize) { in SkScaledBitmapSampler() argument
297 if (sampleSize <= 1) { in SkScaledBitmapSampler()
305 int dx = SkMin32(sampleSize, width); in SkScaledBitmapSampler()
306 int dy = SkMin32(sampleSize, height); in SkScaledBitmapSampler()
DSkImageRef.cpp15 int sampleSize) in SkImageRef() argument
21 fSampleSize = sampleSize; in SkImageRef()
DSkImageDecoder_libpng.cpp311 const int sampleSize = this->getSampleSize(); in onDecode() local
312 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); in onDecode()
419 if (SkBitmap::kIndex8_Config == config && 1 == sampleSize) { in onDecode()
/external/opencore/fileformats/mp4/composer/src/
Dtrackfragmentrunatom.cpp95 sampleEntry.sampleSize = size; in addSample()
201 temp = (*_psampleEntriesVec)[ii].sampleSize; in renderToFileStream()
Dmpeg4file.cpp2216 uint32 sampleSize = (*sizeVec)[i]; in flushInterLeaveBuffer() local
2223 sampleSize, in flushInterLeaveBuffer()
2234 uint32 sampleSize = (*sizeVec)[i]; in flushInterLeaveBuffer() local
2240 sampleSize, in flushInterLeaveBuffer()
2286 uint32 sampleSize = (*sizeVec)[ii]; in flushInterLeaveBuffer() local
2291 _pCurrentMoofAtom->addSampleToFragment(trackID, sampleSize, sampleTS, in flushInterLeaveBuffer()
2701 uint32 sampleSize = (*sizeVec)[ii]; in addMediaSampleInterleave() local
2707 sampleSize, in addMediaSampleInterleave()
2755 uint32 sampleSize = (*sizeVec)[ii]; in addMediaSampleInterleave() local
2761 sampleSize, in addMediaSampleInterleave()
[all …]
/external/skia/src/ports/
DSkImageRef_ashmem.cpp27 int sampleSize) in SkImageRef_ashmem() argument
28 : SkImageRef(stream, config, sampleSize) { in SkImageRef_ashmem()
DSkImageRef_ashmem.h15 SkImageRef_ashmem(SkStream*, SkBitmap::Config, int sampleSize = 1);
/external/opencore/fileformats/mp4/parser/src/
Dsampletableatom.cpp517 int32 sampleSize = _psampleSizeAtom->getSampleSizeAt(sampleNum); in getSample() local
519 if (sampleSize == PV_ERROR) in getSample()
539 if (sampleSize == 0) in getSample()
605 if (sampleFileOffset + sampleSize > (int32)_fileSize) in getSample()
627 if (AtomUtils::readByteData(_pinput, sampleSize, buf)) in getSample()
629 size = sampleSize; in getSample()
698 int32 sampleSize = in getKeyMediaSampleNumAt() local
766 if (sampleFileOffset + sampleSize > (int32)_fileSize) in getKeyMediaSampleNumAt()
901 int32 sampleSize = in getPrevKeyMediaSample() local
969 if (sampleFileOffset + sampleSize > (int32)_fileSize) in getPrevKeyMediaSample()
[all …]
/external/skia/include/images/
DSkImageRef_GlobalPool.h25 SkImageRef_GlobalPool(SkStream*, SkBitmap::Config, int sampleSize = 1);
DSkImageRef.h44 SkImageRef(SkStream*, SkBitmap::Config config, int sampleSize = 1);
/external/opencore/fileformats/mp4/composer/include/
Dtrackfragmentrunatom.h33 uint32 sampleSize; member
/external/svox/pico/lib/
Dpicoos.c1444 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/opencore/nodes/pvmp4ffparsernode/src/
Dpvmf_mp4ffparser_node.cpp2389 uint32 sampleSize = info.len; in InitOMA2DRMInfo() local
2390 if (sampleSize > 0) in InitOMA2DRMInfo()
2392 uint8* sampleBuf = OSCL_ARRAY_NEW(uint8, (sizeof(sampleSize) + in InitOMA2DRMInfo()
2393 sampleSize + in InitOMA2DRMInfo()
2401 … oscl_memcpy((OsclAny*)destBuf, (const OsclAny*)(&sampleSize), sizeof(sampleSize)); in InitOMA2DRMInfo()
2402 destBuf += sizeof(sampleSize); in InitOMA2DRMInfo()
2411 iGau.buf.fragments[0].len = sampleSize; in InitOMA2DRMInfo()
2418 oma2TrackInfo.iDRMInfoSize = (sizeof(sampleSize) + sampleSize + in InitOMA2DRMInfo()
4154 uint32 sampleSize = info.len; in RetrieveTrackConfigInfoAndFirstSample() local
4155 if (sampleSize > 0) in RetrieveTrackConfigInfoAndFirstSample()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/audio/macrom/
DSDL_romaudio.c244 header.sampleSize = sample_bits; in Mac_OpenAudio()