90
www.xilinx.com
Video Scaler v4.0 User Guide
UG805 March 1, 2011
Appendix B:
Programmer Guide
•
In a downsize operation, the input image size is not changing on a frame basis and the
output resolution is changing.
•
Calls
XScaler_CalcScaleFactors
,
XScaler_SetScalerValues
every frame to
perform the downsize function. Prior to beginning the downsize operation, you will
have to preload the coeff banks you would like to use for the duration and decide
when to transition to a new coefficient bank; example 4 coeff banks for 200 frames
switch bank every 50 frames.
Example Settings
The following examples illustrate settings for different scale factors.
Pass Thru
Table B-27
is an example of pass thru of a 1280 x 720 resolution image.
Table B-27:
Pass Through Register Settings
Address
Name
Decimal Value
0x0000
control
07
0x0010
hsf
1048576
0x0014
vsf
1048576
0x0018
aperture_start_pixel
0
0x0018
aperture_end_pixel
1279
0x001c
aperture_start_line
0
0x001c
aperture_end_line
719
0x0020
Output_h_size
1280
0x0020
Output_v_size
720
0x0024
num_h_phases
4
0x0024
num_v_phases
4
0x0028
h_coeff_set
0
0x0028
v_coeff_set
0
0x002c
start_hpa _y
0
0x0030
start_hpa_c
0
0x0034
start_vpa_y
0
0x0038
start_vpa_c
0
0x003c
Coef_set_write_addr
0
0x0040
Coef_values
See
Chapter 8,
Coefficients
Содержание LogiCORE IP
Страница 1: ...LogiCORE IP Video Scaler v4 0 User Guide UG805 March 1 2011...
Страница 6: ...Video Scaler v4 0 User Guide www xilinx com UG805 March 1 2011...
Страница 14: ...14 www xilinx com Video Scaler v4 0 User Guide UG805 March 1 2011 Preface About This Guide...
Страница 18: ...18 www xilinx com Video Scaler v4 0 User Guide UG805 March 1 2011 Chapter 1 Introduction...
Страница 20: ...20 www xilinx com Video Scaler v4 0 User Guide UG805 March 1 2011 Chapter 2 Overview...
Страница 70: ...70 www xilinx com Video Scaler v4 0 User Guide UG805 March 1 2011 Chapter 9 Performance...
Страница 74: ...74 www xilinx com Video Scaler v4 0 User Guide UG805 March 1 2011 Appendix A Use Cases...
Страница 92: ...92 www xilinx com Video Scaler v4 0 User Guide UG805 March 1 2011 Appendix B Programmer Guide...