/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avbuffer/ |
H A D | avbuffer_common.cpp | 41 this->memoryType = rhs.memoryType; in AVBufferConfig() 52 this->memoryType = rhs.memoryType; in AVBufferConfig() 66 this->memoryType = rhs.memoryType; in operator =() 79 this->memoryType = rhs.memoryType; in operator =() 85 FALSE_RETURN_V(memoryType == rhs.memoryType, false); in operator <=() 87 switch (memoryType) { in operator <=()
|
H A D | avbuffer.cpp | 42 switch (config.memoryType) { in CreateAVBuffer() 77 if (config_.memoryType == MemoryType::UNKNOWN_MEMORY) { in GetConfig() 78 config_.memoryType = memory_->GetMemoryType(); in GetConfig() 82 switch (config_.memoryType) { in GetConfig()
|
H A D | avbuffer_utils.cpp | 58 configParcel.WriteUint8(static_cast<uint8_t>(config.memoryType)) && in MarshallingConfig() 76 config.memoryType = static_cast<MemoryType>(parcel.ReadUint8()); in UnmarshallingConfig()
|
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/avbuffer_queue/ |
H A D | avbuffer_queue_func_unit_test.cpp | 138 config.memoryType = MemoryType::VIRTUAL_MEMORY; 174 config.memoryType = MemoryType::UNKNOWN_MEMORY; 178 config.memoryType = MemoryType::SHARED_MEMORY; 183 config.memoryType = MemoryType::VIRTUAL_MEMORY; 188 config.memoryType = MemoryType::SHARED_MEMORY; 202 config.memoryType = MemoryType::VIRTUAL_MEMORY; 219 config.memoryType = MemoryType::VIRTUAL_MEMORY; 236 config.memoryType = MemoryType::VIRTUAL_MEMORY; 254 config.memoryType = MemoryType::VIRTUAL_MEMORY; 272 config.memoryType = MemoryType::VIRTUAL_MEMORY; [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/plugin/ |
H A D | plugin_memory.h | 35 explicit Allocator(MemoryType type = MemoryType::VIRTUAL_MEMORY) : memoryType(type) {} 55 return memoryType; in GetMemoryType() 59 MemoryType memoryType; 124 MemoryType memoryType; variable
|
/ohos5.0/foundation/multimedia/media_foundation/engine/include/plugin/common/ |
H A D | plugin_memory.h | 45 explicit Allocator(MemoryType type = MemoryType::VIRTUAL_ADDR) : memoryType(type) {} 65 return memoryType; in GetMemoryType() 69 MemoryType memoryType; 134 MemoryType memoryType; variable
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/media_sink_test/ |
H A D | video_sink_test.cpp | 85 config.memoryType = MemoryType::SHARED_MEMORY; 118 config.memoryType = MemoryType::SHARED_MEMORY; 153 config.memoryType = MemoryType::SHARED_MEMORY; 173 config.memoryType = MemoryType::SHARED_MEMORY; 188 config.memoryType = MemoryType::SHARED_MEMORY; 206 config.memoryType = MemoryType::SHARED_MEMORY;
|
H A D | subtitle_sink_test.cpp | 71 config.memoryType = MemoryType::SHARED_MEMORY; 92 config.memoryType = MemoryType::SHARED_MEMORY; 114 config.memoryType = MemoryType::SHARED_MEMORY;
|
H A D | audio_sink_test.cpp | 173 config.memoryType = MemoryType::SHARED_MEMORY; 191 config.memoryType = MemoryType::VIRTUAL_MEMORY;
|
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/avbuffer/ |
H A D | avbuffer_func_unit_test.cpp | 42 configFirst.memoryType = MemoryType::HARDWARE_MEMORY; 43 configSecond.memoryType = MemoryType::SURFACE_MEMORY; 44 EXPECT_FALSE(configFirst.memoryType <= configSecond.memoryType); 56 configFirst.memoryType = configSecond.memoryType = MemoryType::HARDWARE_MEMORY; 97 configFirst.memoryType = configSecond.memoryType = MemoryType::SHARED_MEMORY; 144 configFirst.memoryType = configSecond.memoryType = MemoryType::SURFACE_MEMORY; 170 configFirst.memoryType = configSecond.memoryType = MemoryType::VIRTUAL_MEMORY; 218 configRemote.memoryType = MemoryType::HARDWARE_MEMORY; 232 EXPECT_EQ(configRemote.memoryType, configLocal.memoryType); 404 EXPECT_EQ(config.memoryType, MemoryType::SHARED_MEMORY); [all …]
|
H A D | avbuffer_unit_test.cpp | 116 config_.memoryType = MemoryType::HARDWARE_MEMORY; in CreateLocalHardwareMemByConfig() 148 config_.memoryType = MemoryType::SHARED_MEMORY; in CreateLocalSharedMemByConfig() 178 config_.memoryType = MemoryType::SURFACE_MEMORY; in CreateLocalSurfaceMemByConfig() 252 config_.memoryType = MemoryType::VIRTUAL_MEMORY; in CreateLocalVirtualMemByConfig()
|
/ohos5.0/foundation/multimedia/media_foundation/src/plugin/ |
H A D | plugin_buffer.cpp | 23 : memoryType(type), capacity(capacity), alignment(align), in Memory() 29 : memoryType(type), capacity(capacity), alignment(align), offset(0), in Memory() 125 return memoryType; in GetMemoryType()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/modules/sink/ |
H A D | subtitle_sink.cpp | 202 MemoryType memoryType; in PrepareInputBufferQueue() local 204 memoryType = MemoryType::VIRTUAL_MEMORY; in PrepareInputBufferQueue() 206 memoryType = MemoryType::SHARED_MEMORY; in PrepareInputBufferQueue() 210 … inputBufferQueue_ = AVBufferQueue::Create(inputBufferNum, memoryType, INPUT_BUFFER_QUEUE_NAME); in PrepareInputBufferQueue()
|
H A D | audio_sink.cpp | 278 MemoryType memoryType = MemoryType::SHARED_MEMORY; in PrepareInputBufferQueue() local 280 memoryType = MemoryType::VIRTUAL_MEMORY; in PrepareInputBufferQueue() 283 inputBufferQueue_ = AVBufferQueue::Create(inputBufferSize, memoryType, INPUT_BUFFER_QUEUE_NAME); in PrepareInputBufferQueue()
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/ |
H A D | v4l2_buffer.cpp | 36 RetCode ioctlWrapper(int fd, uint32_t buffCont, uint32_t buffType, uint32_t memoryType) in ioctlWrapper() argument 40 buffCont, buffType, memoryType); in ioctlWrapper() 45 req.memory = memoryType; in ioctlWrapper() 57 req.memory = memoryType; in ioctlWrapper()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/common/ |
H A D | plugin_buffer.cpp | 24 : memoryType(type), capacity(capacity), alignment(align), in Memory() 30 : memoryType(type), capacity(capacity), alignment(align), offset(0), in Memory() 126 return memoryType; in GetMemoryType()
|
/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avbuffer_queue/ |
H A D | avbuffer_queue.cpp | 252 if (config.memoryType == MemoryType::UNKNOWN_MEMORY) { in CheckConfig() 257 if (memoryType_ != MemoryType::UNKNOWN_MEMORY && config.memoryType != memoryType_) { in CheckConfig() 261 memoryType_ = config.memoryType; in CheckConfig() 283 if (config.memoryType == MemoryType::UNKNOWN_MEMORY) { in RequestBuffer() 286 configCopy.memoryType = memoryType_; in RequestBuffer()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_dfx.cpp | 103 "MEMORY_TYPE", options.memoryType, in ReportDecodeFault() 157 { .name = "MEMORY_TYPE", .t = HISYSEVENT_INT32, .v = { .i32 = options.memoryType } }, in ReportDecodeInfo()
|
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/buffer/ |
H A D | avbuffer_common.h | 108 MemoryType memoryType = MemoryType::UNKNOWN_MEMORY; member
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/ |
H A D | image_dfx.h | 45 int32_t memoryType; member
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | gpu_buffer_vk.cpp | 68 allocationInfo.memoryType, in GetPlatMemory() 210 … (VkMemoryPropertyFlags)gpuMemAllocator->GetMemoryTypeProperties(mem_.allocationInfo.memoryType); in CreateBufferImpl()
|
H A D | gpu_memory_allocator_vk.h | 86 uint32_t GetMemoryTypeProperties(const uint32_t memoryType); in RENDER_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/media_manager/ |
H A D | media_manager.cpp | 154 config.memoryType = MemoryType::SHARED_MEMORY; in Recover() 200 config.memoryType = MemoryType::SHARED_MEMORY; in CopyAudioTrack()
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/modules/media_codec/ |
H A D | media_codec.cpp | 405 MemoryType memoryType; in AttachBufffer() local 407 memoryType = MemoryType::VIRTUAL_MEMORY; in AttachBufffer() 409 memoryType = MemoryType::SHARED_MEMORY; in AttachBufffer() 412 … inputBufferQueue_ = AVBufferQueue::Create(inputBufferNum, memoryType, INPUT_BUFFER_QUEUE_NAME); in AttachBufffer()
|
/ohos5.0/foundation/multimedia/media_foundation/services/media_monitor/buffer/src/ |
H A D | dump_buffer_manager.cpp | 45 avBufferConfig.memoryType = MemoryType::SHARED_MEMORY; in DumpBufferCreate()
|