Behavior when unexpected fields are received, Behavior when unexpected fields are received -9 – Altera Video and Image Processing Suite User Manual

Page 168

Advertising
background image

• Deinterlacer II processing 1080i60 input data

• Phase 1: Read 2 lines = 1920 × 10 bits × 2 (YCbCr) × 2 × 1.0665 (inefficiency) = 81, 907.2 bits per

line

• Phase 2: Write 1 line, read 1 line = 1920 × 10 bits × 2 × 2 × 1.0665 = 81, 907.2 bits per line

Read and write motion = 1920 × 8 bits × 2 × (one read and one write) = 30, 720 bits per line

• Image data = Phase 1 + phase 2 accesses = 163, 814.4 bits of image data per line pair × 540 pairs =

88, 459,776 bits per output frame

• Motion data = 30, 720 bits per line pair

30, 720 × 540 pairs = 16,588,800 bits per output frame
16,588,800 × 60 frames per second = 995,328,000 = 0.995 GBps of motion data written/read
Total = 5.307 + 0.995 = 6.302 GBps

• Broadcast Deinterlacer processing 1080i60 input data

• Phase 1: Read 2 lines = 1920 × 10 bits × 2 (YCbCr) × 2 × 1.0665 (inefficiency) = 81, 907.2 bits per

line

• Phase 2: Write 1 line, read 1 line = 1920 × 10 bits × 2 × 2 × 1.0665 = 81, 907.2 bits per line

Read and write motion, and video over film context bits = 1920 × 32 bits × 2 = 122, 880 bits per line

• Image data = Phase 1 + phase 2 accesses = 163, 814.4 bits of image data per line pair × 540 pairs =

88, 459, 776 bits per output frame
88, 459, 776 × 60 frames per second = 5, 307, 586, 560 = 5.307 GBps of image data read/written

• Motion/video-over-film data = 122, 880 bits per line pair

122, 880 × 540 pairs = 66, 355, 200 bits per output frame
66, 355, 200 × 60 frames per second = 3, 981, 312, 000 = 3.981 GBps of motion data written/read
Total = 5.307 + 3.981 = 9.288 GBps

Behavior When Unexpected Fields are Received

So far, the behavior of the Deinterlacer has been described assuming an uninterrupted sequence of pairs

of interlaced fields (F0, F1, F0, …) each having the same height. Some video streams might not follow this

rule and the Deinterlacer adapts its behavior in such cases.
The dimensions and type of a field (progressive, interlaced F0, or interlaced F1) are identified using

information contained in Avalon-ST Video control packets. When a field is received without control

packets, its type is defined by the type of the previous field. A field following a progressive field is assumed

to be a progressive field and a field following an interlaced F0 or F1 field is respectively assumed to be an

interlaced F1 or F0 field. If the first field received after reset is not preceded by a control packet, it is

assumed to be an interlaced field and the default initial field (F0 or F1) specified in the parameter editor is

used.
When the weave or the motion-adaptive algorithms are used, a regular sequence of pairs of fields is

expected. Subsequent F0 fields received after an initial F0 field or subsequent F1 fields received after an

initial F1 field are immediately discarded.

UG-VIPSUITE

2015.05.04

Behavior When Unexpected Fields are Received

12-9

Deinterlacing IP Cores

Altera Corporation

Send Feedback

Advertising