网站首页
编程语言
数据库
系统相关
其他分享
编程问答
CCodec
2024-09-28
Android CCodec Codec2 (十五)C2DmaBufAllocator
Codec2框架采用了全新的Buffer分配机制C2Allocator,这一篇文章我们一起来瞧瞧C2DmaBufAllocator是如何工作的。1、C2AllocatorC2Allocator声明在C2Buffer.h中,它定义了如下接口:getName:返回Allocator独一无二的名称;getId:返回Allocator独一无二的id;getTraits:返回Allocator