Home
last modified time | relevance | path

Searched refs:copySize (Results 1 - 10 of 10) sorted by relevance

/foundation/multimedia/media_foundation/engine/pipeline/filters/demux/
H A Ddata_packer.cpp158 size_t copySize = 0; in PeekRangeInternal() local
170 copySize = CopyFirstBuffer(size, startIndex, dstPtr, bufferPtr, bufferOffset); in PeekRangeInternal()
171 needCopySize -= copySize; in PeekRangeInternal()
172 FALSE_LOG_MSG(needCopySize == 0, "First buffer is enough, but copySize is not enough"); in PeekRangeInternal()
184 copySize = CopyFirstBuffer(size, startIndex, dstPtr, bufferPtr, bufferOffset); in PeekRangeInternal()
186 needCopySize -= copySize; in PeekRangeInternal()
191 dstPtr += copySize; in PeekRangeInternal()
349 auto copySize = memory->GetSize() - removeSize; in RemoveBufferContent() local
350 FALSE_LOG_MSG(memmove_s(memory->GetWritableAddr(copySize), memory->GetCapacity(), in RemoveBufferContent()
351 memory->GetReadOnlyData(removeSize), copySize) in RemoveBufferContent()
436 size_t copySize = std::min(static_cast<size_t>(remainSize), size); CopyFirstBuffer() local
453 size_t copySize; CopyFromSuccessiveBuffer() local
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/
H A Dpacket.c289 uint32_t copySize = ((remain <= buffSize) ? remain : buffSize); in PacketCopyToBuffer() local
290 (void)memcpy_s(buffer, copySize, (uint8_t *)BufferPtr(start->buf), copySize); in PacketCopyToBuffer()
291 retSize += copySize; in PacketCopyToBuffer()
292 buffer += copySize; in PacketCopyToBuffer()
293 remain -= copySize; in PacketCopyToBuffer()
323 uint32_t copySize = ((remain <= buffSize) ? remain : buffSize); in PacketCopyFromBuffer() local
324 (void)memcpy_s((uint8_t *)BufferPtr(start->buf), copySize, buffer, copySize); in PacketCopyFromBuffer()
325 retSize += copySize; in PacketCopyFromBuffer()
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/node/
H A Drender_node_staging.cpp88 const size_t copySize = in CopyHostDirectlyToBuffer() local
90 if ((srcPtr) && (copySize > 0)) { in CopyHostDirectlyToBuffer()
91 PLUGIN_ASSERT((size_t(bufferDesc.byteSize) - dstOffset) >= copySize); in CopyHostDirectlyToBuffer()
92 if (!CloneData(data, bufferDesc.byteSize - dstOffset, srcPtr, copySize)) { in CopyHostDirectlyToBuffer()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/
H A Drender_node_default_material_objects.cpp139 const size_t copySize = copyCount * sizeof(Math::Mat4X4); in UpdateSkinBuffer() local
141 if (!CloneData(skinData, size_t(skinDataEnd - skinData), jointRef.data, copySize)) { in UpdateSkinBuffer()
145 jointRef.data + copyCount, copySize)) { in UpdateSkinBuffer()
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/primary/
H A Daudio_capturer_source.cpp360 uint64_t copySize = min((sizeMax_ - head_), replyBytes); in Poll() local
361 if (copySize != 0) { in Poll()
362 MemcpysAndCheck(frame, replyBytes, buffer_.get() + head_, copySize); in Poll()
363 headNum_ += copySize; in Poll()
364 size_ -= copySize; in Poll()
365 head_ = (head_ + copySize) % sizeMax_; in Poll()
368 uint64_t remainCopySize = replyBytes - copySize; in Poll()
370 MemcpysAndCheck(frame + copySize, remainCopySize, buffer_.get(), remainCopySize); in Poll()
410 uint64_t copySize = min(sizeMax_ - tail, bufferBytes); in Offer() local
411 MemcpysAndCheck((buffer_.get() + tail), sizeMax_ - tail, frame, copySize); in Offer()
[all...]
/foundation/graphic/graphic_2d/frameworks/vulkan_layers/swapchain_layer/
H A Dswapchain_layer.cpp189 uint32_t copySize = *pCount < count ? *pCount : count; in GetExtensionProperties() local
190 errno_t ret = memcpy_s(pProperties, copySize * sizeof(VkExtensionProperties), in GetExtensionProperties()
191 layerExtensions, copySize * sizeof(VkExtensionProperties)); in GetExtensionProperties()
195 *pCount = copySize; in GetExtensionProperties()
196 if (copySize < count) { in GetExtensionProperties()
211 uint32_t copySize = *pCount < count ? *pCount : count;
212 errno_t ret = memcpy_s(pProperties, copySize * sizeof(VkLayerProperties),
213 layerProperties, copySize * sizeof(VkLayerProperties));
217 *pCount = copySize;
218 if (copySize < coun
[all...]
/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_label.cpp480 uint16_t copySize = copyCols * sizePerPx; in CalculatedTransformDataInfo() local
481 if (memcpy_s(*buffer + beginSize, copySize, fontMap + beginSize, copySize) != EOK) { in CalculatedTransformDataInfo()
/foundation/multimodalinput/input/util/common/src/
H A Dutil.cpp214 const size_t copySize = std::min(tempName.size(), PROGRAM_NAME_SIZE - 1); in GetProgramName() local
215 if (copySize == 0) { in GetProgramName()
216 KMSG_LOGE("The copySize is 0"); in GetProgramName()
219 errno_t ret = memcpy_s(programName, PROGRAM_NAME_SIZE, tempName.c_str(), copySize); in GetProgramName()
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/
H A Dffmpeg_demuxer_plugin.cpp566 int32_t copySize = remainSize < sample->memory_->GetCapacity() ? remainSize : sample->memory_->GetCapacity(); in ConvertAVPacketToSample() local
568 tempPkt->size, remainSize, copySize, samplePacket->offset); in ConvertAVPacketToSample()
569 uint32_t flag = ConvertFlagsFromFFmpeg(*tempPkt, (copySize != tempPkt->size)); in ConvertAVPacketToSample()
573 ret = WriteBuffer(sample, tempPkt->data + samplePacket->offset, copySize); in ConvertAVPacketToSample()
583 tempPkt->stream_index, -1, copySize, trackDfxInfoMap_[tempPkt->stream_index].frameIndex++, tempPkt->pts, -1}; in ConvertAVPacketToSample() local
592 if (copySize < remainSize) { in ConvertAVPacketToSample()
593 samplePacket->offset += static_cast<uint32_t>(copySize); in ConvertAVPacketToSample()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp1591 size_t copySize = std::min(inputSize, SMALL_FILE_SIZE); in HeapMemAlloc() local
1592 auto tmpBuffer = std::make_unique<uint8_t[]>(copySize); in HeapMemAlloc()
1596 bool ret = input->Read(copySize, tmpBuffer.get(), copySize, readSize); in HeapMemAlloc()
1602 return process(tmpBuffer.get(), copySize); in HeapMemAlloc()

Completed in 16 milliseconds