# drivers_peripheral_codec **Repository Path**: jameshw/drivers_peripheral_codec ## Basic Information - **Project Name**: drivers_peripheral_codec - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 39 - **Created**: 2021-03-23 - **Last Updated**: 2021-07-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Codec - [简介](#section11660541593) - [目录](#section161941989596) - [接口说明](#section1551164914237) - [使用说明](#section129654513264) - [相关仓](#section1371113476307) ## 简介 该仓下主要包含Codec模块HDI(Hardware Driver Interface)接口定义及其实现,对上层提供媒体编解码的驱动能力接口,HDI接口主要提供如下功能: - 创建、销毁编解码器对象; - 启停编解码器 - 原始码流编码为压缩码流; - 压缩码流恢复为原始码流 - 清除编解码缓存。 ## 目录 该仓下源代码目录结构如下所示 ``` /drivers/peripheral/codec ├── interfaces # codec模块对上层服务提供的驱动能力接口 │ └── include # codec模块对外提供的接口定义 ``` ### 接口说明 Codec驱动提供给framework层可直接调用的能力接口,主要功能有:创建、销毁编解码器对象,启停编解码器操作,编解码处理、清除缓存、事件上报等 提供的部分接口说明如[表1 Codec HDI接口列表](#table1513255710559)所示: **表 1** Codec HDI接口列表