Searched refs:srcDesc (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/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 =… in S16MonoToS16Stereo() 27 int16_t *stcPtr = reinterpret_cast<int16_t *>(srcDesc.buffer); in S16MonoToS16Stereo() 29 size_t count = srcDesc.bufLength / sizeof(int16_t); 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 =… in S16StereoToS16Mono() 43 int16_t *stcPtr = reinterpret_cast<int16_t *>(srcDesc.buffer); in S16StereoToS16Mono() 45 size_t count = srcDesc.bufLength / half / sizeof(int16_t); in S16StereoToS16Mono()
|
/ohos5.0/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);
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | audio_process_in_client.cpp | 728 …if (srcDesc.bufLength != dstDesc.bufLength / half || srcDesc.buffer == nullptr || dstDesc.buffer =… in S16MonoToS16Stereo() 731 int16_t *stcPtr = reinterpret_cast<int16_t *>(srcDesc.buffer); in S16MonoToS16Stereo() 733 size_t count = srcDesc.bufLength / half; in S16MonoToS16Stereo() 744 …if (srcDesc.bufLength != dstDesc.bufLength || srcDesc.buffer == nullptr || dstDesc.buffer == nullp… in S32MonoToS16Stereo() 745 srcDesc.bufLength % quarter != 0) { in S32MonoToS16Stereo() 748 int32_t *stcPtr = reinterpret_cast<int32_t *>(srcDesc.buffer); in S32MonoToS16Stereo() 750 size_t count = srcDesc.bufLength / quarter; in S32MonoToS16Stereo() 766 …if (srcDesc.bufLength / half != dstDesc.bufLength || srcDesc.buffer == nullptr || dstDesc.buffer =… in S32StereoS16Stereo() 772 size_t count = srcDesc.bufLength / half / half; in S32StereoS16Stereo() 841 CopyWithVolume(srcDesc, dstDesc); in ProcessData() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | render_backend_gles.cpp | 1682 const auto& srcDesc = srcImage->GetDesc(); in RenderCommandBlitImage() local 1692 const uint32_t srcSampleCount = static_cast<uint32_t>(srcDesc.sampleCountFlags); in RenderCommandBlitImage() 1707 DoBlit(renderCmd.filter, { src.mipLevel, srcRect[0], srcRect[1], srcDesc.height }, in RenderCommandBlitImage() 1828 const auto& srcDesc = srcGpuImage->GetDesc(); in RenderCommandCopyImage() local 1831 ValidateCopyImage(renderCmd.imageCopy, srcDesc, dstDesc); in RenderCommandCopyImage() 1834 … static_cast<GLint>(Math::min(renderCmd.imageCopy.srcSubresource.mipLevel, srcDesc.mipCount - 1)); in RenderCommandCopyImage() 1847 ClampSize(sOffset, srcDesc, size); in RenderCommandCopyImage()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | render_backend_vk.cpp | 1693 const GpuImageDesc& srcDesc = srcGpuImage->GetDesc(); in RenderCommand() local 1697 …ext.width = Math::min(ext.width, Math::min(srcDesc.width - copy.srcOffset.x, dstDesc.width - copy.… in RenderCommand() 1699 …Math::min(ext.height, Math::min(srcDesc.height - copy.srcOffset.y, dstDesc.height - copy.dstOffset… in RenderCommand() 1700 …ext.depth = Math::min(ext.depth, Math::min(srcDesc.depth - copy.srcOffset.z, dstDesc.depth - copy.… in RenderCommand()
|