Page 3 - Preface; About This Book
iii This is a draft version printed from file: pref.fm on 9/25/07 Preface About This Book The intended audience for this document is the Server Integrator, whocreates a Codec Server for use by the Engine Integrator and thus theApplication Author. This manual tells what steps the Server Integrator sh...
Page 4 - Notational Conventions; bold version; bold; Trademarks
iv Notational Conventions Notational Conventions This document uses the following conventions: ❏ Program listings, program examples, and interactive displays areshown in a special typeface . Examples use a bold version of the special typeface for emphasis; interactive displays use a bold version of ...
Page 5 - Contents
v This is a draft version printed from file: ce_serv_integTOC.fm on 9/25/07 Contents 1 Codec Engine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 This chapter introduces the Codec Engine. 1.1 What is the Codec Engine? . . . . ....
Page 7 - Chapter 1; Codec Engine Overview; Topic
1-1 Chapter 1 Codec Engine Overview This chapter introduces the Codec Engine. 1.1 What is the Codec Engine? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 – 2 1.2 Why Should I Use It? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 – 3 1.3 Where Does ...
Page 8 - What is the Codec Engine?
What is the Codec Engine? 1-2 1.1 What is the Codec Engine? From the application developer’s perspective, the Codec Engine is a setof APIs that you use to instantiate and run xDAIS algorithms. A VISAinterface is provided as well for interacting with xDM-compliant xDAISalgorithms. The API is the same...
Page 9 - Extensible and configurable.
Why Should I Use It? Codec Engine Overview 1-3 1.2 Why Should I Use It? The Codec Engine is designed to solve some common problemsassociated with developing system-on-a-chip (SoC) applications. Themost significant problems include: ❏ Debugging in a heterogeneous processor environment can bepainful. ...
Page 10 - Where Does the Codec Engine Fit into My Architecture?; Codec Engine Runtime; Cor; VISA APIs
Where Does the Codec Engine Fit into My Architecture? 1-4 1.3 Where Does the Codec Engine Fit into My Architecture? The application code (or the middleware it uses) calls the Codec EngineAPIs. Within the Codec Engine, the VISA APIs use stubs and skeletonsto access the core engine and the actual code...
Page 12 - What Are the User Roles?; Algorithm Creator
What Are the User Roles? 1-6 1.4 What Are the User Roles? The Codec Engine has several customer use cases, from GPP-sideapplication developers to DSP-side codec authors. Is some cases, theseroles may be played by a single person. In other developmentenvironments, a different developer may be assigne...
Page 13 - Server Integrator
What Are the User Roles? Codec Engine Overview 1-7 1.4.2 Server Integrator To support Engines with remote codecs, a Codec Server must becreated. The Codec Server integrates the various componentsnecessary to house the codecs (e.g. DSP/BIOS, FrameworkComponents, link drivers, codecs, Codec Engine, et...
Page 14 - Engine Integrator; Application Author
What Are the User Roles? 1-8 1.4.3 Engine Integrator The Engine Integrator defines various Engine configurations. This caninclude the names of the Engines, as well as the codecs and their nameswithin each Engine, whether each codec is local or remote relative to theapplication, which groups each cod...
Page 15 - Where Can I Get More Information?; Codec Engine API Reference.
Where Can I Get More Information? Codec Engine Overview 1-9 ❏ Various Codec packages from Algorithm Creators ❏ A Codec Server DSP executable from the Server Integrator if codecwill run on a DSP ❏ An Engine config file (.cfg) from the Engine Integrator The Application Author write application code, g...
Page 17 - Chapter 2; Configuring a Codec Server
2-1 Chapter 2 Configuring a Codec Server This chapter describes how the Server Integrator should configure aCodec Server for use by the Engine Integrator. 2.1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 – 2 2.2 Creating a Codec Server . ....
Page 18 - Overview
Overview 2-2 2.1 Overview As described in Section 1.4.2, Server Integrator , the Server Integrator provides a Codec Server to the Engine Integrator. In practice, these rolesmay be shared by one person. There are two configuration steps that the Server Integrator performs: ❏ Configure DSP/BIOS throug...
Page 19 - What is a Codec Server?
Overview Configuring a Codec Server 2-3 2.1.1 What is a Codec Server? A Codec Server is a binary that integrates codecs, frameworkcomponents, and system code. When the Codec Server is on a DSP, ituses DSP/BIOS as the DSP kernel. In the context of the DaVinci DM644x platforms (and other GPP+DSPplatfo...
Page 22 - What Algorithms Can a Codec Server Integrate?; What is the Config Kit?
Overview 2-6 2.1.4 What Algorithms Can a Codec Server Integrate? You can use any algorithm that is xDM-compliant in a Codec Server. In addition, if you want to use a xDAIS-compliant algorithm that is notxDM-compliant, you can first implement your own stubs and skeletons forthat algorithm, and then u...
Page 23 - Creating a Codec Server; Creating a Package
Creating a Codec Server Configuring a Codec Server 2-7 2.2 Creating a Codec Server To create a Codec Server, you perform the following configuration steps: ❏ Configure DSP/BIOS through a Tconf script ❏ Configure "the rest" of the components through XDC configuration(for example, Framework Co...
Page 24 - Editing the Package Definition; Editing the Codec Server Configuration Script
Creating a Codec Server 2-8 3) Edit the examples/xdcpaths.mak file with a text editor to specify the CE_INSTALL_DIR, XDC_ROOT, and BIOS_ROOT variables.Again, see examples/build_instructions.html for details. 4) Make a duplicate of one of the Codec Server examples in the examples/servers directory. E...
Page 25 - Back
Creating a Codec Server Configuring a Codec Server 2-9 To see documentation for the attributes of the Server module, followthese steps: 1) Open CE_INSTALL_DIR/xdoc/index.html to see the Configuration Reference. Depending on your browser, you may need to enableactive content to view the list of nodes...
Page 27 - For video encoder modules.
Creating a Codec Server Configuring a Codec Server 2-11 2.2.3.1 Controlling I/O Buffer Caching for xDM 0.9 Codecs The DSP server's support—the "skeletons"—for remote execution ofcodecs written for xDM 0.9 always manages the cache for all codec I/Obuffers exchanged with the ARM application. T...
Page 30 - Editing the DSP/BIOS Configuration Script
Creating a Codec Server 2-14 Engine.algs[].groupId For each local algorithm, if the optional groupId field is uninitialized, thealgorithm is configured into its own, unique groupId. This is because wedon't know what priority the algorithm will run at, so we place it into aunique group to prevent pre...
Page 31 - Editing the Build Script
Creating a Codec Server Configuring a Codec Server 2-15 2.2.4.1 DSP/BIOS Threads and Module Use Each “remote” algorithm instance that runs on the DSP executes in aDSP/BIOS thread whose priority is specified by a static configurationparameter (see ti.sdo.ce.Server). The stack size of the thread that ...
Page 32 - Editing the Linker Command File; Delivering a Codec Server
Delivering a Codec Server 2-16 Change the bold text in the following line to match your server name: var serverName = " my_server "; When you have finished development, you may want to change "debug"in the following line to "release": Pkg.attrs.profile = " release "; ...
Page 33 - Delivering Server Packages for Servers Built with XDC
Delivering a Codec Server Configuring a Codec Server 2-17 In addition to including the server executable in the server package, youmust also add the generated package/info/* files to the package. Thesefiles contain information in text form about the codecs included in theserver, the server's memory ...
Page 35 - Index
Index-1 This is a draft version printed from file: ce_serv_integIX.fm on 9/25/07 Index A algorithm 2-6 specifying 2-10 Algorithm Creator 1-6, 2-2 all.tcf file 2-14 API Reference 1-9 Application Author 1-8 array 2-11, 2-13, 2-14 B Back button 2-9 benefits of Codec Engine 1-3 binary file 2-3 BIOS_ROOT...