Partager via


Input Buffer Order Example 6

This section applies only to Windows Server 2003 with SP1 and later, and Windows XP with SP2 and later.

Consider an even more sophisticated deinterlace device that requires two previous output frames, a single backward reference sample, a single future reference sample, and the current sample to perform the deinterlace operation. Two video substreams are also combined with the deinterlace operation. The sequence of surfaces in the lpBufferInfo array are:

Index position Surface type Temporal location Layer location

lpBufferInfo[0]

Destination

T

lpBufferInfo[1]

Previous destination

T - 1

lpBufferInfo[2]

Previous destination

T - 2

lpBufferInfo[3]

Interlaced input

T - 1

Z

lpBufferInfo[4]

Interlaced input

T

Z

lpBufferInfo[5]

Interlaced input

T + 1

Z

lpBufferInfo[6]

Substream

0

Z + 1

lpBufferInfo[7]

Substream

0

Z + 2