Searched refs:dstDesc (Results 1 - 5 of 5) sorted by relevance
/foundation/multimedia/audio_framework/services/audio_service/common/src/ |
H A D | format_converter.cpp | 21 int32_t FormatConverter::S16MonoToS16Stereo(const BufferDesc &srcDesc, const BufferDesc &dstDesc) in S16MonoToS16Stereo() argument 24 if (srcDesc.bufLength != dstDesc.bufLength / half || srcDesc.buffer == nullptr || dstDesc.buffer == nullptr) { in S16MonoToS16Stereo() 28 int16_t *dstPtr = reinterpret_cast<int16_t *>(dstDesc.buffer); in S16MonoToS16Stereo() 37 int32_t FormatConverter::S16StereoToS16Mono(const BufferDesc &srcDesc, const BufferDesc &dstDesc) in S16StereoToS16Mono() argument 40 if (dstDesc.bufLength != srcDesc.bufLength / half || srcDesc.buffer == nullptr || dstDesc.buffer == nullptr) { in S16StereoToS16Mono() 44 int16_t *dstPtr = reinterpret_cast<int16_t *>(dstDesc.buffer); in S16StereoToS16Mono()
|
/foundation/multimedia/audio_framework/services/audio_service/common/include/ |
H A D | format_converter.h | 26 static int32_t S16MonoToS16Stereo(const BufferDesc &srcDesc, const BufferDesc &dstDesc); 27 static int32_t S16StereoToS16Mono(const BufferDesc &srcDesc, const BufferDesc &dstDesc);
|
/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | audio_process_in_client.cpp | 154 void CopyWithVolume(const BufferDesc &srcDesc, const BufferDesc &dstDesc) const; 156 int32_t ProcessData(const BufferDesc &srcDesc, const BufferDesc &dstDesc) const; 726 inline bool S16MonoToS16Stereo(const BufferDesc &srcDesc, const BufferDesc &dstDesc) in S16MonoToS16Stereo() argument 729 if (srcDesc.bufLength != dstDesc.bufLength / half || srcDesc.buffer == nullptr || dstDesc.buffer == nullptr) { in S16MonoToS16Stereo() 733 int16_t *dstPtr = reinterpret_cast<int16_t *>(dstDesc.buffer); in S16MonoToS16Stereo() 742 inline bool S32MonoToS16Stereo(const BufferDesc &srcDesc, const BufferDesc &dstDesc) in S32MonoToS16Stereo() argument 745 if (srcDesc.bufLength != dstDesc.bufLength || srcDesc.buffer == nullptr || dstDesc.buffer == nullptr || in S32MonoToS16Stereo() 750 int16_t *dstPtr = reinterpret_cast<int16_t *>(dstDesc in S32MonoToS16Stereo() 764 S32StereoS16Stereo(const BufferDesc &srcDesc, const BufferDesc &dstDesc) S32StereoS16Stereo() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | render_backend_gles.cpp | 1683 const auto& dstDesc = dstImage->GetDesc(); in RenderCommandBlitImage() local 1692 const uint32_t dstSampleCount = static_cast<uint32_t>(dstDesc.sampleCountFlags); in RenderCommandBlitImage() 1707 { dst.mipLevel, dstRect[0], dstRect[1], dstDesc.height }); in RenderCommandBlitImage() 1828 const auto& dstDesc = dstGpuImage->GetDesc(); in RenderCommandCopyImage() local 1830 ValidateCopyImage(renderCmd.imageCopy, srcDesc, dstDesc); in RenderCommandCopyImage() 1835 static_cast<GLint>(Math::min(renderCmd.imageCopy.dstSubresource.mipLevel, dstDesc.mipCount - 1)); in RenderCommandCopyImage() 1847 ClampSize(dOffset, dstDesc, size); in RenderCommandCopyImage()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | render_backend_vk.cpp | 1692 const GpuImageDesc& dstDesc = dstGpuImage->GetDesc(); 1695 ext.width = Math::min(ext.width, Math::min(srcDesc.width - copy.srcOffset.x, dstDesc.width - copy.dstOffset.x)); 1697 Math::min(ext.height, Math::min(srcDesc.height - copy.srcOffset.y, dstDesc.height - copy.dstOffset.y)); 1698 ext.depth = Math::min(ext.depth, Math::min(srcDesc.depth - copy.srcOffset.z, dstDesc.depth - copy.dstOffset.z));
|
Completed in 14 milliseconds