Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/include/media/stagefright/
DRemoteDataSource.h48 if (size > kBufferSize) { in readAt()
49 size = kBufferSize; in readAt()
72 kBufferSize = 64 * 1024, enumerator
82 sp<MemoryDealer> memoryDealer = new MemoryDealer(kBufferSize, "RemoteDataSource"); in RemoteDataSource()
83 mMemory = memoryDealer->allocate(kBufferSize); in RemoteDataSource()
/frameworks/base/media/jni/
Dandroid_media_MediaDataSource.cpp49 ScopedLocalRef<jbyteArray> tmp(env, env->NewByteArray(kBufferSize)); in JMediaDataSource()
53 sp<MemoryDealer> memoryDealer = new MemoryDealer(kBufferSize, "JMediaDataSource"); in JMediaDataSource()
54 mMemory = memoryDealer->allocate(kBufferSize); in JMediaDataSource()
77 if (size > kBufferSize) { in readAt()
78 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.cpp32 mGroup->add_buffer(new MediaBuffer(kBufferSize)); in start()
56 meta->setInt32(kKeyMaxInputSize, kBufferSize); in getFormat()
DSineSource.h27 enum { kBufferSize = 8192 }; enumerator
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp76 kBufferSize = 64 * 1024, enumerator
94 new MemoryDealer(kBufferSize, "HeifDataSource"); in init()
95 mMemory = memoryDealer->allocate(kBufferSize); in init()
150 if (size > kBufferSize) { in readAt()
151 size = kBufferSize; in readAt()
/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.cpp492 LOG_ALWAYS_FATAL_IF(bufferSize != kBufferSize, in ObserverProxy()
518 env->SetLongArrayRegion(sink, 0, kBufferSize, elem.buffer); in getNextBuffer()
532 memcpy(elem.buffer, stats, kBufferSize * sizeof(stats[0])); in notify()
548 static const int kBufferSize = static_cast<int>(FrameInfoIndex::NumIndexes); member in android::ObserverProxy
556 int64_t buffer[kBufferSize];
/frameworks/av/media/libeffects/testlibs/
DEffectEqualizer.cpp105 static const size_t kBufferSize = 32; variable
107 typedef AudioFormatAdapter<AudioEqualizer, kBufferSize> FormatAdapter;
/frameworks/native/cmds/installd/
Ddexopt.cpp1091 static constexpr size_t kBufferSize = 4 * 1024; in copy_system_profile() local
1092 char buffer[kBufferSize]; in copy_system_profile()
1094 ssize_t bytes = read(in_fd.get(), buffer, kBufferSize); in copy_system_profile()