Home
last modified time | relevance | path

Searched refs:CreateSharedAllocator (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/foundation/multimedia/av_codec/test/unittest/audio_test/
H A Daudio_media_codec_unit_test.cpp382 AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
404 AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
427 AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
439 AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
451 …std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::M…
545 AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
692 AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
730 AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
753 AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
798 AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/drmdecryptor_fuzzer/
H A Ddrmdecryptor_fuzzer.cpp444 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag); in DrmH264VideoCencDecrypt()
489 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag); in DrmH264VideoCencDecryptFuzzTest()
528 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag); in DrmHevcVideoCencDecrypt()
576 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag); in DrmHevcVideoCencDecryptFuzzTest()
615 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag); in DrmAvsVideoCencDecrypt()
663 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag); in DrmAvsVideoCencDecryptFuzzTest()
699 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag); in DrmAudioCencDecryptTest()
741 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag); in DrmAudioCencDecryptFuzzTest()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/audio_capture_test/
H A Daudio_capture_module_unit_test.cpp232 AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
245 AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
253 AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
272 AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
348 AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
518 AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/avbuffer/inner/
H A Davbuffer_inner_mock_factory.cpp25 auto allocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in CreateAVBuffer()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/drm_decryptor_test/
H A Ddrm_decryptor_coverage_unit_test.cpp490 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag);
532 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag);
576 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag);
620 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag);
/ohos5.0/foundation/multimedia/av_codec/test/unittest/common/common_mock/avbuffer/inner/
H A Davbuffer_inner_mock_factory.cpp26 auto allocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in CreateAVBuffer()
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/buffer/
H A Davallocator.h89 static std::shared_ptr<AVAllocator> CreateSharedAllocator(MemoryFlag memFlag);
/ohos5.0/foundation/multimedia/av_codec/test/unittest/avmuxer_test/inner/
H A Davmuxer_inner_mock.cpp61 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in WriteSample()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/muxer/InnerAPI/
H A DInnerAVMuxerFuzzTest.cpp208 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
319 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
H A DInnerAVMuxerFunctionTest.cpp151 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in WriteTrackSample()
197 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in WriteTrackSampleShort()
347 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in WriteTrackSampleByFdMem()
494 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in WriteSingleTrackSampleMem()
548 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in WriteTrackCover()
H A DInnerAVMuxerStablityTest.cpp172 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in WriteTrackSample()
290 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_ONLY); in WriteTrackSampleByFdMem()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/demuxer/src/InnerAPI/
H A Dinner_demuxer_sample.cpp104 …std::shared_ptr<AVAllocator> allocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEM… in ReadSampleAndSave()
386 …std::shared_ptr<AVAllocator> allocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEM… in CheckTimedMeta()
H A Dinner_demuxer_parser_sample.cpp134 …std::shared_ptr<AVAllocator> allocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEM… in InitParameter()
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/avcencinfo_fuzzer/
H A Davcencinfo_fuzzer.cpp275 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag); in CencInfoSetAVBuffer()
333 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag); in CencInfoSetAVBufferFuzzTest()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/avcenc_info_test/
H A Dcenc_info_capi_unit_test.cpp397 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag);
441 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag);
/ohos5.0/foundation/multimedia/media_foundation/src/buffer/avbuffer/
H A Dav_shared_memory_ext.cpp37 std::shared_ptr<AVAllocator> AVAllocatorFactory::CreateSharedAllocator(MemoryFlag memFlag) in CreateSharedAllocator() function in OHOS::Media::AVAllocatorFactory
H A Davbuffer.cpp49 allocator = AVAllocatorFactory::CreateSharedAllocator(config.memoryFlag); in CreateAVBuffer()
/ohos5.0/foundation/multimedia/media_foundation/src/capi/
H A Dnative_avbuffer.cpp33 auto allocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in OH_AVBuffer_Create()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/media_sink_test/
H A Daudio_server_sink_plugin_test.cpp375 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
400 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE);
/ohos5.0/foundation/multimedia/av_codec/test/unittest/reference_parser_test/reference_parser_demo/
H A Dreference_parser_demo.cpp85 …shared_ptr<AVAllocator> allocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_R… in InitScene()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/modules/media_codec/
H A Dmedia_codec.cpp433 avAllocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in AttachBufffer()
453 avAllocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in AttachDrmBufffer()
573 … auto avAllocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in PrepareOutputBufferQueue()
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/avmuxer/
H A Davmuxer_demo_base.cpp343 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in ReadSampleDataInfo()
525 auto alloc = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in WriteCoverSample()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/modules/sink/
H A Dsubtitle_sink.cpp223 avAllocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in PrepareInputBufferQueue()
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/
H A Dhdi_codec.cpp169 auto avAllocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in InitBuffersByPort()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/
H A Dbuffer_converter_unit_test.cpp83 auto allocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in CreateSharedAVBuffer()

12