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

/frameworks/base/core/java/android/os/
H A DLatencyTimer.java46 * @param sampleSize number of samples to collect before printing out the average
48 * (sampleSize * average sample value)/scaleFactor > Long.MAX_VALUE
50 public LatencyTimer(int sampleSize, int scaleFactor) { argument
55 mSampleSize = sampleSize;
/frameworks/av/media/libstagefright/mp4/
H A DTrackFragment.cpp54 off64_t dataOffset, size_t sampleSize,
62 sampleInfo->mSize = sampleSize;
253 uint32_t sampleSize = parser->readU32(offset + 4); local
256 if (sampleSize == 0 && offset + 12 + sampleCount * 4 != size) {
53 addSample( off64_t dataOffset, size_t sampleSize, uint32_t presentationTime, size_t sampleDescIndex, uint32_t flags) argument
H A DFragmentedMP4Parser.cpp1875 uint32_t sampleDuration = 0, sampleSize = 0, sampleFlags = 0, local
1892 sampleSize = mTrackFragmentHeaderInfo.mDefaultSampleSize;
1894 sampleSize = info->mDefaultSampleSize;
1929 sampleSize = readU32(offset);
1945 dataOffset, sampleSize, sampleDuration,
1959 sampleSize,
1965 dataOffset += sampleSize;
/frameworks/av/media/libstagefright/
H A DNuMediaExtractor.cpp426 size_t sampleSize = info->mSample->range_length(); local
431 sampleSize += sizeof(int32_t);
434 if (buffer->capacity() < sampleSize) {
456 buffer->setRange(0, sampleSize);
H A DSampleTable.cpp753 size_t sampleSize; local
754 status_t err = getSampleSize_l(x, &sampleSize);
759 if (i == 0 || sampleSize > maxSampleSize) {
761 maxSampleSize = sampleSize;
771 uint32_t sampleIndex, size_t *sampleSize) {
773 sampleIndex, sampleSize);
770 getSampleSize_l( uint32_t sampleIndex, size_t *sampleSize) argument
H A DAVIExtractor.cpp616 uint32_t sampleSize = U32LE_AT(&data[44]); local
657 track->mBytesPerSample = sampleSize;
H A DMPEG4Writer.cpp2056 size_t sampleSize = copy->range_length(); local
2059 sampleSize += 4;
2061 sampleSize += 2;
2066 mMdatSizeBytes += sampleSize;
2180 mStszTableEntries->add(htonl(sampleSize));
2194 if (mStszTableEntries->count() >= 2 && previousSampleSize != sampleSize) {
2197 previousSampleSize = sampleSize;
/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java209 private static void plot(float x, float y, float[] sample, int sampleSize) { argument
219 int index = yCeiling * sampleSize + xCeiling;
235 int index = yFloor * sampleSize + xFloor;
241 index = yFloor * sampleSize + xCeiling;
247 index = yCeiling * sampleSize + xFloor;
253 index = yCeiling * sampleSize + xCeiling;
/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp187 int sampleSize = 1; local
193 sampleSize = env->GetIntField(options, gOptions_sampleSizeFieldID);
236 if (!brd->decodeRegion(bitmap, region, prefConfig, sampleSize)) {
H A DBitmapFactory.cpp140 int sampleSize, bool ditherImage) {
145 pr = new SkImageRef_ashmem(stream, bitmap->config(), sampleSize);
147 pr = new SkImageRef_GlobalPool(stream, bitmap->config(), sampleSize);
162 int sampleSize = 1; local
177 sampleSize = env->GetIntField(options, gOptions_sampleSizeFieldID);
205 decoder->setSampleSize(sampleSize);
216 if (sampleSize != 1) {
217 return nullObjectReturn("SkImageDecoder: Cannot reuse bitmap with sampleSize != 1");
368 pr = installPixelRef(bitmap, stream, sampleSize, doDither);
139 installPixelRef(SkBitmap* bitmap, SkStream* stream, int sampleSize, bool ditherImage) argument
/frameworks/av/libvideoeditor/vss/3gpwriter/inc/
H A DM4MP4W_Types.h178 M4OSA_UInt32 sampleSize; /* S (video=0)*/ member in struct:__anon91
213 /* at first audio au, sampleSize is set. It is later reset to 0 if non constant size.*/
214 /* So sampleSize should be tested to know weither or not there is a TABLE_STSZ. */
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp183 jobject byteBuf, size_t offset, size_t *sampleSize) {
234 *sampleSize = buffer->size();
424 size_t sampleSize; local
425 status_t err = extractor->readSampleData(byteBuf, offset, &sampleSize);
434 return sampleSize;
182 readSampleData( jobject byteBuf, size_t offset, size_t *sampleSize) argument

Completed in 36 milliseconds