![background image](http://html1.mh-extra.com/html/texas-instruments/dm38x-davinci/dm38x-davinci_user-manual_1097067170.webp)
Internal Modules
170
SPRUHI7A – December 2012 – Revised June 2016
Copyright © 2012–2016, Texas Instruments Incorporated
High-Definition Video Processing Subsystem (HDVPSS)
1.2.8.2.14 Current and Last FID Value
The FID values for the current field or frame are reported in the Status Registers. When a new field or
frame enters, the current FID values are saved into the previous FID status registers and the new FID
value is loaded into the current FID register
Following a reset, the previous and current FID status registers are set to ‘1.’ The first two fields or frames
are ignored. On the third input field or frame after a reset, the previous FID is loaded with the current FID
(‘1’), and the current FID is loaded with the actual FID. By the fourth field or frame after a reset, both the
previous and current FID values should represent the values found in the input stream.
The FID values are reported for each camera source in both Pixel Input Clock Domains.
1.2.8.2.15 Disable Handling
When the VIP port is used in single-channel embedded or discrete sync interface, output of the VIP can
be connected to the scalar or other modules. When connected with these modules, it may be required to
work on frame boundary or it may cause lock up without reset. This feature makes sure that VIP is always
disabled at the frame boundary.
In a scenario, assume that the VIP Parser has been processing a single input stream. Then, VIP port is
disabled by setting ENABLE to ‘0’. The VIP Parser will continue to output data downstream until it sends
out an end frame pixel and the downstream module accepts the end frame pixel.
1.2.8.2.16 Picture Size Interrupt
Each VIP port can be set up to trigger an interrupt if the picture size varies from a pre-programmed
expected picture size. This interrupt is supported only for the Active Video portion of the input video and
not for the Vertical Ancillary portion. Also this interrupt is only support for source number 0 in multi channel
capture.
The interrupts are named PrtASrc0Size and PrtBSrc0Size. They are described in
.
For Port A, the expected active video picture size values are programmed in SRC0_NUMLINES and
SRC0_NUMPIX in the VIP_PARSER_xtra_port_a register. For Port B, the expected active video picture
size values are programmed in SRC0_NUMLINES and SRC0_NUMPIX in VIP_PARSER_xtra_port_b
register.
Note that the Picture Size Interrupt reflects the Active Video size going out of the VIP port. If cropping is
enabled for Srcnum=0, the Picture Size is the post-cropped size.
1.2.8.2.17 Ancillary and Video Data Cropping
Each VIP port supports cropping of video and ancillary data. The size of the cropping window for video
and ancillary data can be configured independently. This feature is supported for only one source number
in a VIP port.
For the Vertical Ancillary Data from Port A, cropping is enabled by setting the ANC_BYPASS_N bit in
VIP_PARSER_xtra2_port_a register. The Source Number from Port A that gets cropped is defined by the
ANC_TARGET_SRCNUM in VIP_PARSER_xtra2_port_a register.
ANC_SKIP_NUMPIX, ANC_USE_NUMPIX, ANC_SKIP_NUMLINES, and ANC_USE_NUMLINES define
the region of the selected Source Number that is cropped and sent to memory. The Vertical Ancillary Data
Cropping region is described in