Interlaced Operation - 5.0 English

Video In to AXI4-Stream LogiCORE IP Product Guide (PG043)

Document ID
PG043
Release Date
2021-10-22
Version
5.0 English

To support standard definition video input such as PAL and NTSC, the Video In to AXI4-Stream core supports interlace on the video (with timing) side, the video input has a vid_field_id bit as part of its interface and embedded vertical blanks and horizontal blanks. The VTC has a corresponding vid_field_id pin defined for this purpose.

This Figure shows the interfaces on Video In to AXI4-Stream, AXI4-Stream to Video Out, and VTC cores to support the video field ID with the interlace-related signals highlighted in red.

Figure 3-2: Interlace Signals on Video Cores

X-Ref Target - Figure 3-2

pg044_int_vid_in_to_vid_out_x13200.jpg

Most video processing cores are field-agnostic, and not aware of whether the picture being processed is an odd or even frame, or a progressive field. Therefore, interlace has no impact on these cores. The Video In to AXI4-Stream core has a frame ID output, fid , timed to the AXI4-Stream bus. This signal can be used as needed in the system. Some cores that use this fid bit are the AXI4-Stream to Video Out, VDMA, and Video Deinterlacer cores.

The AXI4-Stream to Video Out core has a field ID input, fid , sampled in time with the AXI4-Stream input bus. This fid bit must be asserted by the upstream source of AXI4-Stream video. For systems without a frame buffer or deinterlacing, the field ID input originates from the Video In core, as shown in This Figure .

Figure 3-3: Field ID Connections with a Frame Buffer

X-Ref Target - Figure 3-3

pg044_int_frame_buf_x13201.jpg

For systems with a frame buffer, the field ID input can come from any core containing a frame buffer. The field ID from the Video In to AXI4-Stream core can be used by the frame buffer if necessary, shown in This Figure .

Note: In This Figure , the AXI4-Stream to Video Out core is operating in slave mode.

A deinterlacer can be used after the Video In to AXI4-Stream core to convert the video format from interlaced to progressive. In this case, the deinterlacer uses the field ID bit, fid , from the Video In to AXI4-Stream core, as shown in This Figure .

Figure 3-4: Field ID Connections with a DeInterlacer

X-Ref Target - Figure 3-4

pg044_int_de_int_x13202.jpg

On the Video In to AXI4-Stream core, the fid bit changes coincident with SOF and remains constant throughout the remainder of the field. On the AXI4-Stream to Video Out core, the fid bit is sampled coincident with SOF in This Figure . Therefore, the Video In to AXI4-Stream can provide the field bit directly to the AXI4-Stream to Video Out core if no intervening frame buffer exists. When a deinterlacer or frame buffer is used, a similar scheme can be employed: generate the field ID coincident with the start of the field, and on the receiving side sample the field ID coincident with the first received pixel.

Figure 3-5: Timing of Field ID for AXI4-Stream

X-Ref Target - Figure 3-5

pg044_int_timing_x13203.jpg