/foundation/multimedia/media_foundation/interface/inner_api/buffer/ |
H A D | avallocator.h | 42 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 D | avbuffer.h | 42 * @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 D | avbuffer_mock.h | 31 using AVAllocator = OHOS::Media::AVAllocator;
|
/foundation/multimedia/av_codec/test/unittest/audio_test/ |
H A D | audio_media_codec_unit_test.cpp | 381 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 D | av_virtual_allocator.h | 26 class AVVirtualAllocator : public AVAllocator {
|
H A D | av_surface_allocator.h | 27 class AVSurfaceAllocator : public AVAllocator {
|
H A D | av_shared_allocator.h | 26 class AVSharedAllocator : public AVAllocator {
|
H A D | av_hardware_allocator.h | 24 class AVHardwareAllocator : public AVAllocator {
|
/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/inner_demo/ |
H A D | inner_demuxer_demo.h | 25 using AVAllocator = OHOS::Media::AVAllocator;
|
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/InnerAPI/include/ |
H A D | inner_demuxer_parser_sample.h | 43 using AVAllocator = OHOS::Media::AVAllocator;
|
H A D | inner_demuxer_sample.h | 26 using AVAllocator = OHOS::Media::AVAllocator;
|
/foundation/multimedia/media_foundation/src/buffer/avbuffer/ |
H A D | av_virtual_memory.cpp | 30 std::shared_ptr<AVAllocator> AVAllocatorFactory::CreateVirtualAllocator() in CreateVirtualAllocator()
|
H A D | avbuffer.cpp | 39 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 D | av_shared_memory_ext.cpp | 37 std::shared_ptr<AVAllocator> AVAllocatorFactory::CreateSharedAllocator(MemoryFlag memFlag) in CreateSharedAllocator()
|
H A D | av_surface_memory.cpp | 32 std::shared_ptr<AVAllocator> AVAllocatorFactory::CreateSurfaceAllocator(const BufferRequestConfig &config) in CreateSurfaceAllocator()
|
H A D | av_hardware_memory.cpp | 37 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 D | audio_capture_module_unit_test.cpp | 231 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 D | avbuffer_unit_test.h | 109 std::shared_ptr<AVAllocator> allocator_ = nullptr;
|
/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/ |
H A D | hevc_decoder.h | 44 using AVAllocator = Media::AVAllocator;
|
/foundation/multimedia/av_codec/services/engine/codec/video/fcodec/ |
H A D | fcodec.h | 43 using AVAllocator = Media::AVAllocator;
|
/foundation/multimedia/av_codec/test/unittest/avcenc_info_test/ |
H A D | cenc_info_capi_unit_test.cpp | 397 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 D | inner_demuxer_sample.cpp | 104 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 D | avcencinfo_fuzzer.cpp | 275 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 D | reference_parser_demo.cpp | 85 shared_ptr<AVAllocator> allocator = AVAllocatorFactory::CreateSharedAllocator(MemoryFlag::MEMORY_READ_WRITE); in InitScene()
|
/foundation/multimedia/av_codec/test/fuzztest/drmdecryptor_fuzzer/ |
H A D | drmdecryptor_fuzzer.cpp | 444 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()
|