Texas Instruments TMS320C64x DSP Reference Manual page 289

Dsp video port/vcxo interpolated control (vic) port
Hide thumbs Also See for TMS320C64x DSP:
Table of Contents

Advertisement

/******************************************************************/
/* Description :
8–bit BT.656 non–continuous frame display
/*
/* Some important field descriptions:
/*
/* DMODE
= 000, 8–bit BT.656 mode
/* CON
= 0
/* FRAME
= 1, display frame
/* DF2
= 0
/* DF1
= 0, (8–bit non–continuous frame display)
/* SCALE
= 0, no scaling
/* RESMPL = 0, no resampling
/* DPK
= X, not used in 8–bit display
/* RSYNC
= X, used in Raw mode(Enable second synchronized raw
/*
data channel)
/* RGBX
= X, used in Raw mode(RGB extract enable. Perform
/*
3/4 FIFO unpacking)
/* VCTL1S = 00, output HSYNC
/* VCTL2S = 00, output VSYNC
/* VCTL3S = 0, output CBLNK
/* HXS
= 0, VCTL1 is an output
/* VXS
= 0, VCTL2 is an output
/* FXS
= 0, VCTL3 is an output
/* PVPSYN = 0, no previous port synchronization
/******************************************************************/
#include "csl_vp.h"
#include "csl_edma.h"
#include "csl_irq.h"
/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
/* global variable declarations
/* ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */
VP_Handle vpDisplayHandle;
Uint8 dispYSpace[];
/* Display Y–data buffer
Uint8 dispCbSpace[]; /* Display Cb–data buffer */
Uint8 dispCrSpace[]; /* Display Cb–data buffer */
EDMA_Handle hEdmaVPDispY;
EDMA_Handle hEdmaVPDispCb;
EDMA_Handle hEdmaVPDispCr;
Int32 edmaDispYTccNum = 0;
Int32 edmaDispCbTccNum = 0; /* EDMA tcc for Cb channel */
Int32 edmaDispCrTccNum = 0; /* EDMA tcc for Cb channel */
volatile Uint32 displayFrameCount = 0;
volatile Uint32 dispUnderrun = 0;
SPRU629
Example 2: Noncontinuous Frame Display for 525/60 Format
/* handle of vp that to be configured
*/
/* EDMA tcc for Y channel
/* no of frames that are
/* displayed
/* underrun error flag
Video Port Configuration Examples
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
A-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tms320c6000

Table of Contents