Texas Instruments TMS320C64x DSP Reference Manual page 288

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

Advertisement

Example 2: Noncontinuous Frame Display for 525/60 Format
/* –––––––––––––––––––––––––––––––––––––––––– */
/* Define vertical synchronization for field2 */
/* –––––––––––––––––––––––––––––––––––––––––– */
#define VD_VSYNC_XSTART2
#define VD_VSYNC_YSTART2
#define VD_VSYNC_XSTOP2
#define VD_VSYNC_YSTOP2
/* –––––––––––––––––––––––––––––––––––––––– */
/* Define image offsets for both the fields */
/* which are zero in this example
/* –––––––––––––––––––––––––––––––––––––––– */
#define VD_IMG_HOFF1
#define VD_IMG_VOFF1
#define VD_IMG_HOFF2
#define VD_IMG_VOFF2
/* ––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Define image active vertical and horizontal sizes */
/* ––––––––––––––––––––––––––––––––––––––––––––––––– */
#define VD_IMG_HSIZE1
#define VD_IMG_VSIZE1
#define VD_IMG_HSIZE2
#define VD_IMG_VSIZE2
/* Manipulate field1 and field2 image sizes
#define VD_IMAGE_SIZE1
#define VD_IMAGE_SIZE2
/* Define threshold values in double–words. Both fields should
/* have same threshold value
#define VD_VDTHRLD1
#define VD_VDTHRLD2
/* Define number of events to be generated for field1 and field2
#define VD_DISPEVT1
#define VD_DISPEVT2
#define DISPLAY_FRAME_COUNT
/* –––––––––––––––––––––––––––––––––––––––––––– */
/* EDMA parameters for display Y event that are */
/* specific to this example.
/* –––––––––––––––––––––––––––––––––––––––––––– */
#define VD_Y_EDMA_ELECNT
#define VD_Y_EDMA_FRMCNT
A-12
Video Port Configuration Examples
360
266
360
269
*/
0
0
0
0
720 /* field1 horizontal image size
244 /* field1 vertical image size
720 /* field2 horizontal image size
243 /* field2 vertical image size
(VD_IMG_HSIZE1 * VD_IMG_VSIZE1)
(VD_IMG_HSIZE2 * VD_IMG_VSIZE2)
(VD_IMG_HSIZE1/8) /* line length in
VD_VDTHRLD1
/* double–words
(VD_IMAGE_SIZE1 / (VD_VDTHRLD1 * 8))
(VD_IMAGE_SIZE2 / (VD_VDTHRLD2 * 8))
5 /* in this example
*/
(VD_VDTHRLD1 * 2)
/* VD_VDTHRLDn is in double–words
((VD_DISPEVT1 + VD_DISPEVT2) *
DISPLAY_FRAME_COUNT)
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
and 32–bit element size */
SPRU629

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tms320c6000

Table of Contents