beautypg.com

Display, Video decoder library, Getstandard – Sundance SMT319 User Manual

Page 36: Initdec, Readdec

background image

Version 1.0.7

Page 36 of 45

SMT319 User Manual

Display

This function display the video stream captured by Acquire function to video

output component.

Prototype

void Display(void*)

Video Decoder library

GetStandard

Provides video decoder initialisation data for some video standards.

Prototype

REG_CONFIG* GetStandard(int type)

Parameters

Type: video standard requested. Current standard supported is:

• 720x576 CCIR PAL

Return value

Returns initialisation array address to use with InitDec function or NULL if

standard not supported by library.

InitDec

Initialises video decoder.

Prototype

void InitDec(REG_CONFIG* config_data)

Parameters

Config_data: array of type REG_CONFIG, containing initialisation data. Can

be user defined or returned by GetStandard function.

ReadDec

Read register a of video decoder.

Prototype

unsigned int ReadDec(int a)

Parameters

a: address of register to read.

Return value

Returns read value.