VIGetNextField

C Specification

#include <revolution/vi.h>
u32 VIGetNextField(void)

Arguments

None.

Return Values

VI_FIELD_ABOVE if the next field is 'above'. VI_FIELD_BELOW if 'below'.

Description

This function returns whether the next field is 'above' or 'below'. This function is designed for field-rendering, so useful information can only be obtained if the TV mode is interlaced, and the XFB mode is SF (single field). The 'above' field is the content the XFB is going to draw on the even-numbered lines (0, 2, 4, and so on) on the screen. The 'below' field is the content the XFB is going to draw on the odd-numbered lines (1, 3, 5, and so on). The return value of this function should directly be passed to GXSetViewportJitter.

See Also

VIInit, GXSetViewportJitter

Revision History

2006/03/01 Initial version.


CONFIDENTIAL