![background image](http://html.mh-extra.com/html/texas-instruments/dm365/dm365_user-manual_1094517030.webp)
Installation Overview
2-6
A sample testvecs.cfg file is as shown:
For output dump mode:
0
..\..\..\test\testvecs\config\testparams.cfg
..\..\..\test\testvecs\input\input.yuv
..\..\..\test\testvecs\output\output.264
..\..\..\test\testvecs\output\recon.yuv
For reference bit-stream compliance test mode:
1
..\..\..\test\testvecs\config\testparams.cfg
..\..\..\test\testvecs\input\input.yuv
..\..\..\test\testvecs\reference\reference.264
..\..\..\test\testvecs\output\recon.yuv
2.4.2 Encoder Configuration File
The encoder configuration file, testparams.cfg contains the configuration
parameters required for the encoder. The testparams.cfg file is available in
the \client\test\testvecs\config sub-directory.
A sample Testparams.cfg file is as shown:
# Config File Format is as follows
# <ParameterName> = <ParameterValue> # Comment
####################################################
Parameters
####################################################
ImageWidth = 1280 # Image width in Pels, must be multiple of 16
ImageHeight = 720 # Image height in Pels, must be multiple of 16
FrameRate = 30000 # Frame Rate per second*1000(1-120)
BitRate = 4000000 # Bitrate(bps) #if ZERO=>> RC is OFF
ChromaFormat = 9 # 9 => XDM_YUV_420P
InterlacedVideo = 0 # 0: Progressive, 1 :Interlaced
TimerScale = 60. # Timer Resolution for Picture Timing
NumUnitsInTicks = 1 # Number of Timer units per Tick
AspectRatioWidth = 1 # Aspect Ratio Width Scale
AspectRatioHeight = 1 # Aspect Ratio Height Scale
PixelRange = 1 # 1 =>Y- 0 to 255, Cb/Cr-0 to 255
0 => Y-16 to 235, Cb/Cr-16 to 240
EnableVUIParam = 1 # 1 => Enable VUI parameters,
0 => Disable VUI Parameters
EnableBufSEI =
1 # 1 => Enable Buffering Period SEI Message,
0 => Disable
ME_Type
= 0 # ME search algorithm
0 => Normal,
1 => Low Power
RC_PRESET
= 5 # 1 => Low Delay,
2 => Storage,
3 => 2 Pass,
4 => None,
5 => user defined
ENC_PRESET
= 3 # 3 => User Defined Parameters
####################################################
# Encoder Control
####################################################
ProfileIDC = 100
# Profile IDC (66=baseline, 77=main,
100=high profile)
Summary of Contents for DM365
Page 10: ...x This page is intentionally left blank ...
Page 12: ...xii This page is intentionally left blank ...
Page 24: ...Introduction 1 12 This page is intentionally left blank ...
Page 34: ...Installation Overview 2 10 This page is intentionally left blank ...
Page 116: ...API Reference 4 70 This page is intentionally left blank ...
Page 120: ...Error Description B 2 This page is intentionally left blank ...
Page 124: ...ARM926 TCM Buffer Usage By Codec D 2 This page is intentionally left blank ...
Page 126: ...Simple Two pass Encoding Sample Usage E 2 Case 1 Case 2 Case 3 Case 4 Frame Skip ...
Page 130: ...Simple Two pass Encoding Sample Usage E 6 This page is intentionally left blank ...