Blanking
area
Blanking
area
Blanking area
Frame/field start
Line_int
Line_int
Line_int
Frame/field end
(frame interrupt assert)
Line end
Horizontal
blanking
Vertical
blanking
Interrupt
interval
Interrupt
interval
Interrupt
interval
Configured size in vertical
(same as each other)
Raw data
(8/10/12bit)
Architecture
1769
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Video Port Interface (VPIF)
35.2.6 Raw Data Capture
The VPIF supports raw data capturing. With this function, you can connect a camera AFE output signal
directly into an input port of the CPU. Usually, the output format of the camera AFE device is in raw format
that consists of an RGB component (sometimes RGrGbB format). The following functions are supported:
•
Storing pixel data in memory (no storage of blanking data).
•
Data bit widths from 8 bits/pixel, 10 bits/pixel, and 12 bits/pixel mode.
•
Selectable polarity for H/V pixel valid signal and field ID signal.
•
Separated field storage (top field and bottom field are stored independently) and interleaved field
storage (normal frame format) support in memory storage.
•
Two kinds of interrupt support. One is asserted once per each configured line size (line_interrupt
through the FRAME1 signal) and the other is asserted at the end of the capture area (frame_interrupt
through the FRAME0 signal). See
. Note that line_interrupt is only supported in raw mode.
In other modes (BT.656, BT.1120, and SMPTE 296M), line_interrupt is not supported.
The following functions are not supported:
•
No support of color space conversion from RGB to YCbCr.
•
No CFA interpolation for each raw data pattern (such as Bayer or Foveon).
•
No push-storage function on non-byte aligned data format (10 bits/pixel and 12 bits/pixel). Data should
be stored in memory in byte-aligned format.
The active period of each synchronization signal is regarded as the blanking area and any other area is
regarded as the active video area that is stored in memory. See
Figure 35-7. Functional Image of Raw Data Capturing Mode
All register configurations related to raw capture mode are reflected with the falling edge of the internal V-sync, which
source is raw_v_valid, in normal polarity (low = blanking, high = data).
35.2.6.1 Raw Capture Mode Signals
Both interlaced and progressive interface modes are supported. The following signals are assigned to the
interface signal of the raw capture mode:
•
raw_h_valid: horizontal pixel valid signal (regarded as horizontal synchronization signal)
•
raw_v_valid: vertical line valid signal (regarded as vertical synchronization signal)
•
raw_field_id: field ID signal
•
vin_data_raw[11:0]: raw data input (8 bits/pixel, 10 bits/pixel, and 12 bits/pixel)