Installation Overview
2-13
o
h264hpvenc_ti.le66: H264 HP Encoder.
2)
Make sure all the tools installed and configured as specified in section
2.3.
3)
Select the CCS Edit perspective in the workbench
4)
Add the C66X project named “h264hpvenc_ti_c66x” through “Import
Existing CCS/CCE Eclipse Project” option to the workspace. All files
required for this project are available in the
\h264hpvenc\App\Client\Build\C66X\ sub-directory
5)
This project contains two
build configurations “Debug” and “Release”.
“Debug” configuration will disable all the optimizations to debug the
code in ELF mode. “Release” configuration will enable all the
optimizations without exposing symbols in ELF mode. Please select
“Debug” configuration.
6)
Open the build properties by right clicking the project, under CCS build
options-
>Build Variables tab, update“FC_ROOT”, “XDAIS_ROOT”,
”SYSBIOS_ROOT”, “EDMA3LLD_ROOT”, “IPC_ROOT”, variables
with appropriate installation paths.
7)
Right click on the above project in CCSv5 IDE and select
Rebuild
Project
to build all the files present in the project.
8)
After successful completion of the build executable
“h264hpvenc_ti_c66x.out” will be present in
“\h264hpvenc\App\Client\Build\C66X\Out” sub-directory.
2.6
Running Sample Test Application
Sample test application is used to run codec library in single core or multicore mode. Number of
cores involved can be controlled with “ncores” parameter. Running sample test application on
Visual studio and Code composer studio is specified in section 2.6.1 and section 2.6.2 respectively.
2.6.1
Running the Sample Test Application on Visual Studio
A wrapper function on top of main encode task is written to mimic multicore scenario using multiple
threads. Based on number of cores specified in configuration file, multiple threads are created and
accordingly DDR, SL2, L2 memory is allocated for each thread. To run sample test application
visual studio 2008 follow these steps:
1)
Start the Visual studio 2008 Express Edition.
2)
Select File->Open->Project/Solution
and open “h264hpvenc_ti_vc.sln”
located at “..\Client\Build\VC\h264hpvenc_ti_vc\”
3)
Make sure code is built as specified in section 2.5.1.
4)
Set number of cores and cores to be used in “ncores”, “CoreTeamMap”
variables of configuration parameters.
5)
Select Debug->Debug solution (F5) to run test application.
6)
The sample test application takes the input files stored in the
\Client\Test\TestVecs\Input sub-directory, runs the codec, and uses the
Содержание H.264 High Profile Encoder
Страница 10: ...x This page is intentionally left blank ...
Страница 12: ...xii This page is intentionally left blank ...
Страница 20: ......
Страница 134: ...Frequently Asked Questions 5 4 This page is intentionally left blank ...