Home
last modified time | relevance | path

Searched refs:bufferSize (Results 1 – 25 of 96) sorted by relevance

1234

/hardware/libhardware/modules/audio_remote_submix/tests/
Dremote_submix_tests.cpp68 void GenerateData(char* buffer, size_t bufferSize);
73 void ReadFromStream(audio_stream_in_t* streamIn, char* buffer, size_t bufferSize);
74 void VerifyBufferAllZeroes(char* buffer, size_t bufferSize);
75 void VerifyBufferNotZeroes(char* buffer, size_t bufferSize);
79 void WriteIntoStream(audio_stream_out_t* streamOut, const char* buffer, size_t bufferSize);
80 void WriteSomethingIntoStream(audio_stream_out_t* streamOut, size_t bufferSize, size_t repeats);
100 void RemoteSubmixTest::GenerateData(char* buffer, size_t bufferSize) { in GenerateData() argument
101 for (size_t i = 0; i < bufferSize; ++i) { in GenerateData()
133 audio_stream_in_t* streamIn, char* buffer, size_t bufferSize) { in ReadFromStream() argument
134 ssize_t result = streamIn->read(streamIn, buffer, bufferSize); in ReadFromStream()
[all …]
/hardware/qcom/display/msm8084/libgralloc/
Dgpu.cpp206 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
209 bufferSize = roundUpToPageSize(bufferSize); in gralloc_alloc_framebuffer_locked()
216 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, in gralloc_alloc_framebuffer_locked()
228 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
240 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
261 size_t bufferSize) { in alloc_impl() argument
299 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
329 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
330 size_t index = (hnd->base - m->framebuffer->base) / bufferSize; in free_impl()
365 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h47 size_t bufferSize = 0);
64 int* pStride, int bufferSize);
/hardware/qcom/display/msm8960/libgralloc/
Dgpu.cpp192 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
195 bufferSize = roundUpToPageSize(bufferSize); in gralloc_alloc_framebuffer_locked()
202 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, in gralloc_alloc_framebuffer_locked()
214 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
226 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
247 size_t bufferSize) { in alloc_impl() argument
279 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
316 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
317 int index = (hnd->base - m->framebuffer->base) / bufferSize; in free_impl()
352 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h48 size_t bufferSize = 0);
65 int* pStride, int bufferSize);
/hardware/qcom/display/msm8226/libgralloc/
Dgpu.cpp209 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
212 bufferSize = roundUpToPageSize(bufferSize); in gralloc_alloc_framebuffer_locked()
219 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, in gralloc_alloc_framebuffer_locked()
231 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
243 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
264 unsigned int bufferSize) { in alloc_impl() argument
301 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
331 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
333 / bufferSize); in free_impl()
368 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h47 unsigned int bufferSize = 0);
64 int* pStride, int bufferSize);
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dgpu.cpp204 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
207 bufferSize = roundUpToPageSize(bufferSize); in gralloc_alloc_framebuffer_locked()
214 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, in gralloc_alloc_framebuffer_locked()
228 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
240 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
261 unsigned int bufferSize) { in alloc_impl() argument
330 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
351 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
353 / bufferSize); in free_impl()
389 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h47 unsigned int bufferSize = 0);
64 int* pStride, int bufferSize);
/hardware/qcom/display/msm8909/libgralloc/
Dgpu.cpp204 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
207 bufferSize = roundUpToPageSize(bufferSize); in gralloc_alloc_framebuffer_locked()
214 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, in gralloc_alloc_framebuffer_locked()
228 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
240 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
261 unsigned int bufferSize) { in alloc_impl() argument
330 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
351 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
353 / bufferSize); in free_impl()
389 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h47 unsigned int bufferSize = 0);
64 int* pStride, int bufferSize);
/hardware/qcom/display/msm8996/libgralloc/
Dgpu.cpp206 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
209 bufferSize = roundUpToPageSize(bufferSize); in gralloc_alloc_framebuffer_locked()
216 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, in gralloc_alloc_framebuffer_locked()
230 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
242 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
263 unsigned int bufferSize) { in alloc_impl() argument
327 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
353 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
355 / bufferSize); in free_impl()
390 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h47 unsigned int bufferSize = 0);
64 int* pStride, int bufferSize);
/hardware/qcom/display/msm8994/libgralloc/
Dgpu.cpp225 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
228 bufferSize = roundUpToPageSize(bufferSize); in gralloc_alloc_framebuffer_locked()
235 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, in gralloc_alloc_framebuffer_locked()
249 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
261 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
282 unsigned int bufferSize) { in alloc_impl() argument
323 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
358 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
360 / bufferSize); in free_impl()
395 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h47 unsigned int bufferSize = 0);
64 int* pStride, int bufferSize);
/hardware/qcom/audio/legacy/alsa_sound/
DAudioHardwareALSA.cpp761 unsigned long bufferSize; in openOutputStream()
763 bufferSize = VOIP_BUFFER_SIZE_8K; in openOutputStream()
766 bufferSize = VOIP_BUFFER_SIZE_16K; in openOutputStream()
774 alsa_handle.bufferSize = bufferSize; in openOutputStream()
864 alsa_handle.bufferSize = DEFAULT_MULTI_CHANNEL_BUF_SIZE; in openOutputStream()
866 alsa_handle.bufferSize = DEFAULT_BUFFER_SIZE; in openOutputStream()
911 unsigned long bufferSize = DEFAULT_BUFFER_SIZE; in openOutputStream() local
913 for (size_t b = 1; (bufferSize & ~b) != 0; b <<= 1) in openOutputStream()
914 bufferSize &= ~b; in openOutputStream()
917 alsa_handle.bufferSize = bufferSize; in openOutputStream()
[all …]
DAudioHardwareALSA.h176 unsigned int bufferSize; // Size of sample buffer member
275 size_t bufferSize() const;
303 virtual size_t bufferSize() const in bufferSize() function
305 return ALSAStreamOps::bufferSize(); in bufferSize()
359 virtual size_t bufferSize() const in bufferSize() function
361 return ALSAStreamOps::bufferSize(); in bufferSize()
DALSAStreamOps.cpp303 size_t ALSAStreamOps::bufferSize() const in bufferSize() function in android_audio_legacy::ALSAStreamOps
305 ALOGV("bufferSize() returns %d", mHandle->bufferSize); in bufferSize()
306 return mHandle->bufferSize; in bufferSize()
/hardware/libhardware/modules/gralloc/
Dgralloc.cpp121 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
127 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); in gralloc_alloc_framebuffer_locked()
146 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
263 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_free() local
264 int index = (hnd->base - m->framebuffer->base) / bufferSize; in gralloc_free()
/hardware/interfaces/tv/tuner/1.0/default/
DDemux.cpp58 Return<void> Demux::openFilter(const DemuxFilterType& type, uint32_t bufferSize, in openFilter() argument
80 sp<Filter> filter = new Filter(type, filterId, bufferSize, cb, this); in openFilter()
130 Return<void> Demux::openDvr(DvrType type, uint32_t bufferSize, const sp<IDvrCallback>& cb, in openDvr() argument
140 mDvr = new Dvr(type, bufferSize, cb, this); in openDvr()
DDemux.h64 virtual Return<void> openFilter(const DemuxFilterType& type, uint32_t bufferSize,
76 virtual Return<void> openDvr(DvrType type, uint32_t bufferSize, const sp<IDvrCallback>& cb,
/hardware/libhardware_legacy/audio/
DA2dpAudioInterface.h87 virtual size_t bufferSize() const { return 512 * 20; } in bufferSize() function
90 …virtual uint32_t latency() const { return ((1000*bufferSize())/frameSize())/sampleRate() + 200;… in latency()
DAudioHardwareStub.h34 virtual size_t bufferSize() const { return 4096; } in bufferSize() function
51 virtual size_t bufferSize() const { return 320; } in bufferSize() function
DAudioHardwareGeneric.h51 virtual size_t bufferSize() const { return 4096; } in bufferSize() function
85 virtual size_t bufferSize() const { return 320; } in bufferSize() function
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioHardwareInterface.h55 virtual size_t bufferSize() const = 0;
139 virtual size_t bufferSize() const = 0;

1234