Home
last modified time | relevance | path

Searched defs:allocator (Results 1 – 25 of 40) sorted by relevance

12

/foundation/multimedia/player_framework/services/engine/gstreamer/plugins/common/
Dgst_surface_allocator.cpp28 #define GST_SURFACE_ALLOCATOR_LOCK(allocator) (g_mutex_lock(&(allocator)->lock)) argument
29 #define GST_SURFACE_ALLOCATOR_UNLOCK(allocator) (g_mutex_unlock(&(allocator)->lock)) argument
30 #define GST_SURFACE_ALLOCATOR_WAIT(allocator) (g_cond_wait(&(allocator)->cond, &(allocator)->lock)) argument
31 #define GST_SURFACE_ALLOCATOR_NOTIFY(allocator) (g_cond_signal(&(allocator)->cond)) argument
50 #define SURFACE_BUFFER_LOG_INFO(allocator, id) \ argument
56 static void gst_surface_allocator_buffer_release(GstSurfaceAllocator *allocator, sptr<SurfaceBuffer… in gst_surface_allocator_buffer_release()
76 gboolean gst_surface_allocator_set_surface(GstSurfaceAllocator *allocator, OHOS::sptr<OHOS::Surface… in gst_surface_allocator_set_surface()
119 static void gst_surface_cancel_buffer(GstSurfaceAllocator *allocator, OHOS::sptr<OHOS::SurfaceBuffe… in gst_surface_cancel_buffer()
133 static bool gst_surface_scale_buffer(GstSurfaceAllocator *allocator, GstSurfaceAllocParam param, in gst_surface_scale_buffer()
149 static bool gst_surface_map_buffer(GstSurfaceAllocator *allocator, OHOS::sptr<OHOS::SurfaceBuffer> … in gst_surface_map_buffer()
[all …]
Dgst_shmemory_wrap_allocator.cpp34 GstMemory *gst_shmemory_wrap(GstAllocator *allocator, std::shared_ptr<OHOS::Media::AVSharedMemory> … in gst_shmemory_wrap()
59 static GstMemory *gst_shmemory_wrap_allocator_alloc(GstAllocator *allocator, gsize size, GstAllocat… in gst_shmemory_wrap_allocator_alloc()
67 static void gst_shmemory_wrap_allocator_free(GstAllocator *allocator, GstMemory *memory) in gst_shmemory_wrap_allocator_free()
180 static void gst_shmemory_wrap_allocator_init(GstShMemoryWrapAllocator *allocator) in gst_shmemory_wrap_allocator_init()
196 GstShMemoryWrapAllocator *allocator = GST_SHMEMORY_WRAP_ALLOCATOR_CAST(obj); in gst_shmemory_wrap_allocator_finalize() local
Dgst_shmem_allocator.cpp39 void gst_shmem_allocator_set_pool(GstShMemAllocator *allocator, in gst_shmem_allocator_set_pool()
46 GstMemory *gst_shmem_allocator_alloc(GstAllocator *allocator, gsize size, GstAllocationParams *para… in gst_shmem_allocator_alloc()
76 void gst_shmem_allocator_free(GstAllocator *allocator, GstMemory *memory) in gst_shmem_allocator_free()
218 static void gst_shmem_allocator_init(GstShMemAllocator *allocator) in gst_shmem_allocator_init()
235 GstShMemAllocator *allocator = GST_SHMEM_ALLOCATOR_CAST(obj); in gst_shmem_allocator_finalize() local
Dgst_shmem_pool.h46 GstShMemAllocator *allocator; member
Dgst_producer_surface_pool.h48 GstSurfaceAllocator *allocator; member
/foundation/multimedia/player_framework/services/engine/gstreamer/plugins/source/memsource/
Dgst_consumer_surface_allocator.cpp48 static GstMemory *gst_consumer_surface_allocator_alloc(GstAllocator *allocator, gsize size, GstAllo… in gst_consumer_surface_allocator_alloc()
107 static void gst_consumer_surface_allocator_free(GstAllocator *allocator, GstMemory *mem) in gst_consumer_surface_allocator_free()
199 GstAllocator *allocator = GST_ALLOCATOR_CAST(sallocator); in gst_consumer_surface_allocator_init() local
216 GstConsumerSurfaceAllocator *allocator = GST_CONSUMER_SURFACE_ALLOCATOR(obj); in gst_consumer_surface_allocator_finalize() local
238 void gst_consumer_surface_allocator_set_surface(GstAllocator *allocator, sptr<IConsumerSurface> &co… in gst_consumer_surface_allocator_set_surface()
/foundation/multimedia/av_session/services/session/server/remote/
Dremote_session_syncer_impl.cpp109 DefaultAllocator allocator; in GetAVMetaData() local
143 DefaultAllocator allocator; in GetAVPlaybackState() local
177 DefaultAllocator allocator; in GetControlCommand() local
214 DefaultAllocator allocator; in GetCommonCommand() local
253 DefaultAllocator allocator; in GetSessionEvent() local
296 DefaultAllocator allocator; in GetAVQueueItems() local
339 DefaultAllocator allocator; in GetAVQueueTitle() local
374 DefaultAllocator allocator; in GetExtras() local
/foundation/communication/ipc/ipc/native/src/c_wrapper/source/
Dc_process.cpp88 bool GetLocalDeviceID(void *value, OnCParcelBytesAllocator allocator) in GetLocalDeviceID()
103 bool GetCallingDeviceID(void *value, OnCParcelBytesAllocator allocator) in GetCallingDeviceID()
128 bool ResetCallingIdentity(void *value, OnCParcelBytesAllocator allocator) in ResetCallingIdentity()
Dc_parcel.cpp256 bool CParcelReadString(const CParcel *parcel, void *stringData, OnCParcelBytesAllocator allocator) in CParcelReadString()
304 bool CParcelReadString16(const CParcel *parcel, void *stringData, OnCParcelBytesAllocator allocator) in CParcelReadString16()
350 …ol CParcelReadInterfaceToken(const CParcel *parcel, void *token, OnCParcelBytesAllocator allocator) in CParcelReadInterfaceToken()
518 bool CParcelReadBoolArray(const CParcel *parcel, void *value, OnCParcelBoolAllocator allocator) in CParcelReadBoolArray()
547 bool CParcelReadInt8Array(const CParcel *parcel, void *value, OnCParcelInt8Allocator allocator) in CParcelReadInt8Array()
557 bool CParcelReadInt16Array(const CParcel *parcel, void *value, OnCParcelInt16Allocator allocator) in CParcelReadInt16Array()
567 bool CParcelReadInt32Array(const CParcel *parcel, void *value, OnCParcelInt32Allocator allocator) in CParcelReadInt32Array()
577 bool CParcelReadInt64Array(const CParcel *parcel, void *value, OnCParcelInt64Allocator allocator) in CParcelReadInt64Array()
587 bool CParcelReadFloatArray(const CParcel *parcel, void *value, OnCParcelFloatAllocator allocator) in CParcelReadFloatArray()
597 bool CParcelReadDoubleArray(const CParcel *parcel, void *value, OnCParcelDoubleAllocator allocator) in CParcelReadDoubleArray()
[all …]
Dc_remote_object.cpp268 bool GetInterfaceDescriptor(CRemoteObject *object, void *value, On16BytesAllocator allocator) in GetInterfaceDescriptor()
/foundation/multimedia/av_codec/services/engine/source/hst_releated/
Dplugin_buffer.cpp27 Memory::Memory(size_t capacity, std::shared_ptr<Allocator> allocator, size_t align, MemoryType type… in Memory()
133std::shared_ptr<Allocator> allocator, size_t align) in CreateDefaultBuffer()
158 std::shared_ptr<Memory> Buffer::AllocMemory(std::shared_ptr<Allocator> allocator, size_t capacity, … in AllocMemory()
Dplugin_memory.h152 std::shared_ptr<Allocator> allocator; variable
/foundation/multimedia/image_framework/mock/native/src/
Dparcel.cpp25 Parcel::Parcel(Allocator *allocator) in Parcel()
/foundation/arkui/ui_lite/frameworks/draw/
Ddraw_canvas.cpp65 FillBase allocator; in DoRender() local
116 FillBase allocator; in DoDrawShadow() local
205 FillBase& allocator, in RenderGradient()
277 FillBase& allocator, in RenderPattern()
/foundation/multimedia/histreamer/engine/include/plugin/common/
Dplugin_memory.h152 std::shared_ptr<Allocator> allocator; variable
/foundation/ability/ability_runtime/test/unittest/app_recovery_test/
Dability_recovery_test.cpp549 AppRecoveryParcelAllocator allocator; variable
/foundation/multimedia/histreamer/engine/plugin/common/
Dplugin_buffer.cpp29 Memory::Memory(size_t capacity, std::shared_ptr<Allocator> allocator, size_t align, MemoryType type… in Memory()
200std::shared_ptr<Allocator> allocator, size_t align) in CreateDefaultBuffer()
238 std::shared_ptr<Memory> Buffer::AllocMemory(std::shared_ptr<Allocator> allocator, size_t capacity, … in AllocMemory()
Dshare_memory.cpp24 ShareMemory::ShareMemory(size_t capacity, std::shared_ptr<Allocator> allocator, size_t align) in ShareMemory()
Dsurface_memory.cpp25 SurfaceMemory::SurfaceMemory(size_t capacity, std::shared_ptr<Allocator> allocator, size_t align) in SurfaceMemory()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
Drs_ashmem_helper.cpp43 auto allocator = std::make_unique<AshmemAllocator>(fd, size); in CreateAshmemAllocator() local
65 auto allocator = std::make_unique<AshmemAllocator>(fd, size); in CreateAshmemAllocatorWithFd() local
/foundation/graphic/graphic_2d/rosen/modules/platform/ipc_core/
Dmessage_parcel.cpp31 MessageParcel::MessageParcel(Allocator *allocator) in MessageParcel()
/foundation/ability/form_fwk/test/mock/src/
Dmock_message_parcel.cpp33 MessageParcel::MessageParcel(Allocator *allocator) in MessageParcel()
/foundation/communication/ipc/ipc/native/src/mock/include/
Ddbinder_base_invoker.h626 auto allocator = new (std::nothrow) DBinderRecvAllocator(); in HandleReply() local
633 delete allocator; in HandleReply() local
872 auto allocator = new (std::nothrow) DBinderSendAllocator(); in ProcessTransaction() local
879 delete allocator; in ProcessTransaction() local
/foundation/ability/form_fwk/test/unittest/fms_form_ashmem_test/
Dmock_message_parcel.cpp45 MessageParcel::MessageParcel(Allocator *allocator) in MessageParcel()
/foundation/multimedia/player_framework/services/engine/gstreamer/plugins/sink/memsink/
Dgst_surface_mem_sink.cpp277 GstSurfaceAllocator *allocator = gst_surface_allocator_new(); in gst_surface_mem_sink_get_property() local
477 GstSurfaceAllocator *allocator = gst_surface_allocator_new(); in gst_surface_mem_sink_do_propose_allocation() local

12