Home
last modified time | relevance | path

Searched refs:kBufferSize (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/media/jni/
Dandroid_media_MediaDataSource.cpp50 ScopedLocalRef<jbyteArray> tmp(env, env->NewByteArray(kBufferSize)); in JMediaDataSource()
54 sp<MemoryDealer> memoryDealer = new MemoryDealer(kBufferSize, "JMediaDataSource"); in JMediaDataSource()
55 mMemory = memoryDealer->allocate(kBufferSize); in JMediaDataSource()
78 if (size > kBufferSize) { in readAt()
79 size = kBufferSize; in readAt()
Dandroid_media_MediaHTTPConnection.cpp44 mDealer = new MemoryDealer(kBufferSize, "MediaHTTPConnection"); in JMediaHTTPConnection()
45 mMemory = mDealer->allocate(kBufferSize); in JMediaHTTPConnection()
48 env, env->NewByteArray(JMediaHTTPConnection::kBufferSize)); in JMediaHTTPConnection()
137 if (size > JMediaHTTPConnection::kBufferSize) { in android_media_MediaHTTPConnection_native_readAt()
138 size = JMediaHTTPConnection::kBufferSize; in android_media_MediaHTTPConnection_native_readAt()
Dandroid_media_MediaHTTPConnection.h32 kBufferSize = 32768, enumerator
Dandroid_media_MediaDataSource.h38 kBufferSize = 64 * 1024, enumerator
/frameworks/av/cmds/stagefright/
DSineSource.cpp31 mGroup->add_buffer(new MediaBuffer(kBufferSize)); in start()
55 meta->setInt32(kKeyMaxInputSize, kBufferSize); in getFormat()
DSineSource.h27 enum { kBufferSize = 8192 }; enumerator
/frameworks/av/media/libstagefright/
DMediaExtractor.cpp79 kBufferSize = 64 * 1024, enumerator
107 sp<MemoryDealer> memoryDealer = new MemoryDealer(kBufferSize, "RemoteDataSource"); in RemoteDataSource()
108 mMemory = memoryDealer->allocate(kBufferSize); in RemoteDataSource()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerStreamListener.cpp39 mMemoryDealer = new MemoryDealer(kNumBuffers * kBufferSize); in NuPlayerStreamListener()
41 sp<IMemory> mem = mMemoryDealer->allocate(kBufferSize); in NuPlayerStreamListener()
DNuPlayerStreamListener.h45 kBufferSize = 188 * 10 enumerator
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp298 LOG_ALWAYS_FATAL_IF(bufferSize != kBufferSize, in ObserverProxy()
324 env->SetLongArrayRegion(sink, 0, kBufferSize, elem.buffer); in getNextBuffer()
338 memcpy(elem.buffer, stats, kBufferSize * sizeof(stats[0])); in notify()
354 static const int kBufferSize = static_cast<int>(FrameInfoIndex::NumIndexes); member in android::ObserverProxy
362 int64_t buffer[kBufferSize];
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp102 static const size_t kBufferSize = 32; variable
104 typedef AudioFormatAdapter<AudioEqualizer, kBufferSize> FormatAdapter;