Searched refs:dstDesc (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() 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 =… in S16StereoToS16Mono() 44 int16_t *dstPtr = reinterpret_cast<int16_t *>(dstDesc.buffer); 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() 732 int16_t *dstPtr = reinterpret_cast<int16_t *>(dstDesc.buffer); in S16MonoToS16Stereo() 744 …if (srcDesc.bufLength != dstDesc.bufLength || srcDesc.buffer == nullptr || dstDesc.buffer == nullp… in S32MonoToS16Stereo() 749 int16_t *dstPtr = reinterpret_cast<int16_t *>(dstDesc.buffer); in S32MonoToS16Stereo() 766 …if (srcDesc.bufLength / half != dstDesc.bufLength || srcDesc.buffer == nullptr || dstDesc.buffer =… in S32StereoS16Stereo() 767 dstDesc.bufLength % half != 0) { in S32StereoS16Stereo() 771 int16_t *dstPtr = reinterpret_cast<int16_t *>(dstDesc.buffer); in S32StereoS16Stereo() 808 size_t len = dstDesc.dataLength; in CopyWithVolume() 810 int16_t *dstPtr = reinterpret_cast<int16_t *>(dstDesc.buffer); in CopyWithVolume() 841 CopyWithVolume(srcDesc, dstDesc); in ProcessData() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | render_backend_gles.cpp | 1684 const auto& dstDesc = dstImage->GetDesc(); in RenderCommandBlitImage() local 1693 const uint32_t dstSampleCount = static_cast<uint32_t>(dstDesc.sampleCountFlags); in RenderCommandBlitImage() 1708 { dst.mipLevel, dstRect[0], dstRect[1], dstDesc.height }); in RenderCommandBlitImage() 1829 const auto& dstDesc = dstGpuImage->GetDesc(); in RenderCommandCopyImage() local 1831 ValidateCopyImage(renderCmd.imageCopy, srcDesc, dstDesc); in RenderCommandCopyImage() 1836 … static_cast<GLint>(Math::min(renderCmd.imageCopy.dstSubresource.mipLevel, dstDesc.mipCount - 1)); in RenderCommandCopyImage() 1848 ClampSize(dOffset, dstDesc, size); in RenderCommandCopyImage()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | render_backend_vk.cpp | 1694 const GpuImageDesc& dstDesc = dstGpuImage->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()
|