Home
last modified time | relevance | path

Searched refs:AVAllocator (Results 1 - 25 of 37) sorted by relevance

12

/foundation/multimedia/media_foundation/interface/inner_api/buffer/
H A Davallocator.h42 class __attribute__((visibility("default"))) AVAllocator { class
44 virtual ~AVAllocator() = default;
71 AVAllocator(){}; in AVAllocator() function in OHOS::Media::AVAllocator
81 static std::shared_ptr<AVAllocator> CreateVirtualAllocator();
89 static std::shared_ptr<AVAllocator> CreateSharedAllocator(MemoryFlag memFlag);
97 static std::shared_ptr<AVAllocator> CreateSurfaceAllocator(const struct BufferRequestConfig &configs);
107 static std::shared_ptr<AVAllocator> CreateHardwareAllocator(int32_t fd, int32_t capacity, MemoryFlag memFlag,
H A Davbuffer.h42 * @param allocator The instance of AVAllocator, refer to {@link AVAllocator}
48 static std::shared_ptr<AVBuffer> CreateAVBuffer(std::shared_ptr<AVAllocator> allocator, int32_t capacity = 0,
119 Status Init(std::shared_ptr<AVAllocator> allocator, int32_t capacity = 0, int32_t align = 0);
256 std::shared_ptr<AVAllocator> allocator_;
259 static std::shared_ptr<AVMemory> CreateAVMemory(std::shared_ptr<AVAllocator> allocator,
/foundation/multimedia/av_codec/test/unittest/common/common_mock/avbuffer/
H A Davbuffer_mock.h31 using AVAllocator = OHOS::Media::AVAllocator;
/foundation/multimedia/av_codec/test/unittest/audio_test/
H A Daudio_media_codec_unit_test.cpp381 std::shared_ptr<AVAllocator> avAllocator = in HWTEST_F()
403 std::shared_ptr<AVAllocator> avAllocator = in HWTEST_F()
426 std::shared_ptr<AVAllocator> avAllocator = in HWTEST_F()
438 std::shared_ptr<AVAllocator> avAllocator = in HWTEST_F()
451 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in HWTEST_F()
463 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in HWTEST_F()
544 std::shared_ptr<AVAllocator> avAllocator = in HWTEST_F()
603 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in HWTEST_F()
616 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in HWTEST_F()
636 std::shared_ptr<AVAllocator> avAllocato in HWTEST_F()
[all...]
/foundation/multimedia/media_foundation/src/buffer/avbuffer/include/
H A Dav_virtual_allocator.h26 class AVVirtualAllocator : public AVAllocator {
H A Dav_surface_allocator.h27 class AVSurfaceAllocator : public AVAllocator {
H A Dav_shared_allocator.h26 class AVSharedAllocator : public AVAllocator {
H A Dav_hardware_allocator.h24 class AVHardwareAllocator : public AVAllocator {
/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/inner_demo/
H A Dinner_demuxer_demo.h25 using AVAllocator = OHOS::Media::AVAllocator;
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/InnerAPI/include/
H A Dinner_demuxer_parser_sample.h43 using AVAllocator = OHOS::Media::AVAllocator;
H A Dinner_demuxer_sample.h26 using AVAllocator = OHOS::Media::AVAllocator;
/foundation/multimedia/media_foundation/src/buffer/avbuffer/
H A Dav_virtual_memory.cpp30 std::shared_ptr<AVAllocator> AVAllocatorFactory::CreateVirtualAllocator() in CreateVirtualAllocator()
H A Davbuffer.cpp39 std::shared_ptr<AVAllocator> allocator = nullptr; in CreateAVBuffer()
111 std::shared_ptr<AVBuffer> AVBuffer::CreateAVBuffer(std::shared_ptr<AVAllocator> allocator, int32_t capacity, in CreateAVBuffer()
173 Status AVBuffer::Init(std::shared_ptr<AVAllocator> allocator, int32_t capacity, int32_t align) in Init()
H A Dav_shared_memory_ext.cpp37 std::shared_ptr<AVAllocator> AVAllocatorFactory::CreateSharedAllocator(MemoryFlag memFlag) in CreateSharedAllocator()
H A Dav_surface_memory.cpp32 std::shared_ptr<AVAllocator> AVAllocatorFactory::CreateSurfaceAllocator(const BufferRequestConfig &config) in CreateSurfaceAllocator()
H A Dav_hardware_memory.cpp37 std::shared_ptr<AVAllocator> AVAllocatorFactory::CreateHardwareAllocator(int32_t fd, int32_t capacity, in CreateHardwareAllocator()
/foundation/multimedia/av_codec/test/unittest/audio_capture_test/
H A Daudio_capture_module_unit_test.cpp231 std::shared_ptr<AVAllocator> avAllocator = in HWTEST_F()
244 std::shared_ptr<AVAllocator> avAllocator = in HWTEST_F()
253 std::shared_ptr<AVAllocator> avAllocator = in HWTEST_F()
273 std::shared_ptr<AVAllocator> avAllocator = in HWTEST_F()
349 std::shared_ptr<AVAllocator> avAllocator = in HWTEST_F()
522 std::shared_ptr<AVAllocator> avAllocator = in HWTEST_F()
/foundation/multimedia/media_foundation/tests/unittest/avbuffer/
H A Davbuffer_unit_test.h109 std::shared_ptr<AVAllocator> allocator_ = nullptr;
/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/
H A Dhevc_decoder.h44 using AVAllocator = Media::AVAllocator;
/foundation/multimedia/av_codec/services/engine/codec/video/fcodec/
H A Dfcodec.h43 using AVAllocator = Media::AVAllocator;
/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); in HWTEST_F()
441 std::shared_ptr<AVAllocator> avAllocator = AVAllocatorFactory::CreateSharedAllocator(memFlag); in HWTEST_F()
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/InnerAPI/
H A Dinner_demuxer_sample.cpp104 std::shared_ptr<AVAllocator> allocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in ReadSampleAndSave()
386 std::shared_ptr<AVAllocator> allocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in CheckTimedMeta()
/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()
/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_READ_WRITE); in InitScene()
/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()

Completed in 13 milliseconds

12