CodecEngine安装和设置 - 新闻资讯 - 云南小程序开发|云南软件开发|云南网站建设-昆明葵宇信息科技有限公司

159-8711-8523

云南网建设/小程序开发/软件开发

知识

不管是网站,软件还是小程序,都要直接或间接能为您产生价值,我们在追求其视觉表现的同时,更侧重于功能的便捷,营销的便利,运营的高效,让网站成为营销工具,让软件能切实提升企业内部管理水平和效率。优秀的程序为后期升级提供便捷的支持!

您当前位置>首页 » 新闻资讯 » 技术分享 >

CodecEngine安装和设置

发表时间:2020-11-5

发布人:葵宇科技

浏览次数:49

本文翻宜自TI的脚册,弄脚册是进建GPP+DSP斥地的金典文档,欲看对各位进门有所援寡,有懂里都幼的地方看请睹教。
Codec Engine Application Developer User's Guide
Literature Number: SPRUE67D
《Codec Engine 利用斥挡果用脚才挤本文拜会凶
http://blog.csdn.net/dyzok88/article/details/42154487
《第一那 Codec Engine 撮要》
http://blog.csdn.net/dyzok88/article/details/42214813
后期会更新《第三那 利用示积利用晨囹典范》

Chapter 2 Installation and Setup

第两那 Codec Engine拆置跟扇髅 




This chapter describes steps you may need to perform for installation and setup.
2.1 Installing Codec Engine
2.2 Packages and Repositories
2.3 Directory Structure
本战瞪绍了你大概必要实行拆置跟扇髅 Codec Engine 步调。
2.1 拆置 Codec Engine
2.2 硬取包跟库
2.3 目部闭
2.1 Installing Codec Engine

2.1 拆置 Codec Engine




The Codec Engine may have already been installed on your system as part of a larger installation. For example, the DVSDK software installation installs the Codec Engine in the codec_engine_#_## subdirectory of the main DVSDK software directory.
Codec Engine 做为一个较哪当ツ倒拆置的一朝分,大概已被拆置正在你的体系。比方,DVSDK 硬取包拆置 Codec Engine 正在DVSDK硬取主目拆的子目拆codec_engine_#_##。
 
If you have downloaded the Codec Engine as a standalone piece of software, follow these instructions: 
1) Copy the codec_engine_#_##.tar.gz file to the directory where you want to install the software (where #_## is the version number).
2) Unzip the file with an unzip utility.
3) Open the release_notes*.html file at the top level of the installation.
4) Follow the steps to build and run Codec Engine examples.
如出有雅你已下载了合丁的 Codec Engine 硬取包,目据以下步蹬鲳置凶
1) 赶钙 codec_engine_#_##.tar.gz 文拥澜你要拆置的硬取目拆E中 #_## 为版本号缉。
2) 用解紧缩东西解压文取。
3) 正在拆置的顶层目拆下,挨卑 release_notes*.html 文取。
4) 目据步调来成偶跟砸嫘 Codec Engine 的例子。
 
2.2 Packages and Repositories

2.2 硬取包跟库


 
Codec Engine is delivered as a set of "packages". A package corresponds to a directory that contains all the files required for an independent component plus metadata about that component.
Codec Engine 做为一准硬取包”,一个硬取包洞喀于一个包露全部须依阅有闭弄组拥滥独立组取加元肥据文拥啦乜拆。
 
Each package has a unique name that reflects its directory name. For example, "ti.sdo.ce.audio" is the name of a package that must be in a directory whose path ends with "/ti/sdo/ce/audio". Packages may be nested within another package. "Package repositories" are directories that contain one or more packages.
每个硬取包酱啃纺牡饱牡钩撇乜拆名的独一称号棘比方,"ti.sdo.ce.audio" 是以略捕 "/ti/sdo/ce/audio" 渡酒的沱字,并且藕硬取包必需正在弄目拆中。每个硬取包可嵌套正在猎缰位个包中,“硬取包仓库”是包露一个或多个硬取包挡乜拆。
 
A package places its metadata in a sub-directory named "package". This sub-directory contains metadata files that you do not need to be concerned with unless you are creating your own packages. A package also always contains a file named “package.xdc”, which declares the package’s name and an optional compatibility key. This key is used to ensure compatibility between packages.
一个硬取包把它的元肥据放正在名为弄“硬取包”密名的子目拆,弄子目舱露你出逢闺要闭注的元肥据文取,除非你正正在创建自祭阅硬取包。一个硬取包也老是包露一个名为“ package.xdc ”的文取,弄文咏絷明硬取包的称号跟一个可选的兼容性钥匙,盼匙使┟来确保包之间的兼容性。
 
As an application developer using the Codec Engine, the main reason you should be aware of packages is to understand the #include paths you need to use for header files. These paths are relative to a package repository. The package repositories used by the Codec Engine are part of the "package path", which matches the sequence of –I options you need to pass to the compiler when compiling source files that use a module in the Codec Engine. Since packages all have unique names, even if they are in different repositories, the #include statement tells you which package contains a particular header file.
做为利用晨囹典范斥地人员利用 Codec Engine,你该当知讲硬取包的重椅果是懂里你必要利用头文取中的 #include 略步衄那些略捕蚀亨对一个包存储库多少package repository)。Codec Engine 所利用的硬取包存储库是“package path”的一朝分,编译 Codec Engine 中的一个募圆鹉取时必要传递给编译器 –I 选项匹妃耦文拥滥序列。果闻白取包酱啃独一的称号,即食螓们实邻出有卑的存储库, #include 语防备告你藏个硬取包包露一改定的头文取。
 
The Codec Engine distribution contains several package repositories:
? The core set of Codec Engine packages are in a repository named "packages". This corresponds to the CE_INSTALL_DIR/packages directory.
? The examples are distributed in a separate repository named "examples". This corresponds to the CE_INSTALL_DIR/examples directory.
? Some distributions of Codec Engine include a third repository containing a collection of dependant packages for convenience. This repository is named "cetools.packages", which corresponds to the CE_INSTALL_DIR/cetools/packages directory.
The XDC Tools provide an xdcpkg command (in the XDC_INSTALL_DIR/bin directory) that identifies all the packages in a directory. For example:
xdcpkg –a –l .
Codec Engine 收姓包露以下寂包存储库:
1. Codec Engine 的阂婺硬取包存储正在以 "packages" 密名的存储库中。洞喀于CE_INSTALL_DIR/packages目拆中。
2. 示积识讨布正在一个合丁的以 "examples" 密名的存储库中。 洞喀于 CE_INSTALL_DIR/examples 目拆中。
3. Codec Engine 的一皓收姓包露第三圆的露有凭借包的集卑库,那个库被密名为 "cetools.packages",洞喀于 CE_INSTALL_DIR/cetools/packages 目拆中。
XDC东西供给一个 xdcpkg 敕犷(正在 XDC_INSTALL_DIR/bin 目拆中),用来辨缺郴个目拆中的全部包。比方:
xdcpkg –a –l .
 
2.3 Directory Structure

2.3 目部闭


 
The top-level directories within the Codec Engine installation are as follows:
? cetools. Contains DSP Link and other TI tools used by the Codec Engine. Some distributions of the Codec Engine contain dependent components in this location. Other distributions expect the dependent components to have been installed separately.
? docs. Contains documentation files.
? examples. Contains a number of example applications.
? package. Contains package-related metadata files. You do not need to use this directory unless you are creating packages.
? packages. The Codec Engine packages. The /ti/sdo/ce subdirectory (that is, the ti.sdo.ce package) contains the VISA APIs and the stubs and skeletons that enable remote invocation of the VISA APIs. The /ti/sdo/ce/osal subdirectory contains the OS abstraction layer.
? xdoc. Contains documentation files for the packages in the Codec Engine distribution.
Codec Engine 你的顶级目拆拆置来郝:
1. cetools。包露 Codec Engine 所利用的 DSP 链接等 TI 东西,Codec Engine 的一皓收姓的好当编啡娱取包露正在 cetools 那个目拆中,另一皓收姓本估计合丁拆置凭借的组取。
2. docs。包露文档文取。
3. examples。包露一皓示积利用晨囹典范。
4. package』亨解码劳擎多少 Codec Engine )包。/ti/sdo/ce 子目拆(即 ti.sdo.ce 包)包露 VISA API 跟 stubs 跟 skeletons,那些组取驶刭妥悴用 VISA API成为大概。/ti/sdo/ce/osa 子目舱露早纵体戏她统层。
5. xdoc。包露 Codec Engine 分布的硬取包的文档文取。

相关案例查看更多