UG-707
ADV8005 Hardware Reference Manual
3.3.1.2.
Customized Input/Output Video Format Configuration
If the input timing is not in the SVSP input format table, the input format needs to be set manually. If the input resolution has a variation in
regard to standard timing (for example, if
is set to 2, which indicates the input resolution is 720x480, but the actual
resolution is 718x478), the user can manually set
to be 0 and set the input resolution through the following three
registers.
svsp_man_input_res
, Secondary VSP Map,
Address 0xE663[4]
This bit is used to enable manual configuration of input resolution.
Function
svsp_man_input_res
Description
0 (default)
Disable manual configuration of input resolution
1
Enable manual configuration of input resolution
svsp_vin_h[12:0]
, Secondary VSP Map,
Address 0xE616[7:0]; Address 0xE617[7:3]
This signal is used to set the horizontal resolution of the input video. This register's value will be used while svsp_man_input_res is 1 or
svsp_autocfg_input_vid is 1.
Function
svsp_vin_h[12:0]
Description
0x000 (default)
Default
0xXXX
Horizontal resolution of input video
svsp_vin_v[12:0]
, Secondary VSP Map,
Address 0xE618[7:0]; Address 0xE619[7:3]
This signal is used to set the vertical resolution of the input video. This register's value will be used while svsp_man_input_res is 1 or
svsp_autocfg_input_vid is 1.
Function
svsp_vin_v[12:0]
Description
0x000 (default)
Default
0xXXX
Vertical resolution of input video
Similarly, if the output timing is not in the SVSP output format table, the output format needs to be set manually. The detailed configuration
instruction is given in the SVSP VOM output port description.
3.3.1.3.
Frame Buffer Number
Depending on the type of conversion that is to take place, a certain number of buffers must be allocated for the input/output video data.
Depending on the conversion required, this should be set in the
. The
register will not change when crop or
album mode is enabled.
svsp_fieldbuf_num[2:0]
, Secondary VSP Map,
Address 0xE610[2:0]
This signal is used to set the number of field/frame buffers. This signal needs to be configured while svsp_osd_mode_en is 1.
Function
svsp_fieldbuf_num[2:0]
Description
000 (default)
Default
XXX
Number of field/frame buffers
3.3.1.4.
Frame Buffer Address and Size
In order to store video data in external memory in the correct size frames, the buffer size of the external DDR2 memory must be programmed
by the user. These programmed field buffers or frame buffers are allocated by setting the
registers.
The value programmed into each of these registers is determined in
pixel
per
bytes
no
height
video
active
width
video
active
size
frame
_
_
_
_
_
_
_
_
×
×
=
Equation 22: Calculating External Memory Field Buffers
Rev. A | Page 138 of 317