Home
last modified time | relevance | path

Searched refs:memoryType (Results 1 – 25 of 37) sorted by relevance

12

/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avbuffer/
H A Davbuffer_common.cpp41 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 Davbuffer.cpp42 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 Davbuffer_utils.cpp58 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 Davbuffer_queue_func_unit_test.cpp138 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 Dplugin_memory.h35 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 Dplugin_memory.h45 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 Dvideo_sink_test.cpp85 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 Dsubtitle_sink_test.cpp71 config.memoryType = MemoryType::SHARED_MEMORY;
92 config.memoryType = MemoryType::SHARED_MEMORY;
114 config.memoryType = MemoryType::SHARED_MEMORY;
H A Daudio_sink_test.cpp173 config.memoryType = MemoryType::SHARED_MEMORY;
191 config.memoryType = MemoryType::VIRTUAL_MEMORY;
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/avbuffer/
H A Davbuffer_func_unit_test.cpp42 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 Davbuffer_unit_test.cpp116 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 Dplugin_buffer.cpp23 : 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 Dsubtitle_sink.cpp202 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 Daudio_sink.cpp278 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 Dv4l2_buffer.cpp36 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 Dplugin_buffer.cpp24 : 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 Davbuffer_queue.cpp252 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 Dimage_dfx.cpp103 "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 Davbuffer_common.h108 MemoryType memoryType = MemoryType::UNKNOWN_MEMORY; member
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/
H A Dimage_dfx.h45 int32_t memoryType; member
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dgpu_buffer_vk.cpp68 allocationInfo.memoryType, in GetPlatMemory()
210 … (VkMemoryPropertyFlags)gpuMemAllocator->GetMemoryTypeProperties(mem_.allocationInfo.memoryType); in CreateBufferImpl()
H A Dgpu_memory_allocator_vk.h86 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 Dmedia_manager.cpp154 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 Dmedia_codec.cpp405 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 Ddump_buffer_manager.cpp45 avBufferConfig.memoryType = MemoryType::SHARED_MEMORY; in DumpBufferCreate()

12