Commit graph

9 commits

Author SHA1 Message Date
Rohit Consul
3f21bcd139 v_vscaler: Add filter table selection logic
There are 4 filter coefficient tables available. The table to be
loaded in IP register bank is determined by the scaling ratio

 Scale Up: Always use 6tap
 Scale Dn: Different table selected based on scaling ratio

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-30 22:01:30 +05:30
Rohit Consul
a9740e3b93 v_vscaler: Coefficient register base address offset changed in IP
Coefficient register base address offset changed in IP from
0x400 to  0x800 to accomodate all supported taps.
Split Phase and Coefficient programming logic in 2 independent
API's. For Bicubic and Bilinear scalers only Phase needs to
be programmed.

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Srikanth Vemula <svemula@xilinx.com>
2015-08-24 23:09:34 +05:30
Rohit Consul
6197ed604e v_vscaler: Update dependency driver version in mdd
Updated video common version to 2.0 to reflect new driver in repo

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-10 14:14:45 +05:30
Rohit Consul
f4901fa438 v_vscaler: Added multiple pixel per clock support
- IP updated to add multiple pixel/clk support.
 - Added default filter coefficient table for 6/8/10/12 taps
 - Added API to load default coefficients or allow user to load
   externally defined coefficients
 - Peformed code cleanup to remove coefficient generation logic
   (scaler to use fixed coefficients)

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Reviewed-by: Andrei Simion <andreis@xilinx.com>
2015-08-04 14:10:51 +05:30
Rohit Consul
a545768505 v_vscaler: Updated driver to align with hip flow
This patch supports HIP based video processing subsystem by reorganizing
the HLS generated code to align with xilinx driver guidelines.

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Reviewed-by: Andrei Simion <andreis@xilinx.com>
2015-07-23 11:01:31 +05:30
Nava kishore Manne
607a6324f3 Drivers: Retain @details only in the primary header file.
Removed all other instances.

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
2015-07-13 18:30:19 +05:30
Nava kishore Manne
146cd64c83 Doxygen changes for drivers 2015-06-12 12:50:09 +05:30
Rohit Consul
d75c905bab v_vscaler: Update tcl to include model parameters
Updated tcl file to include model parameters. Also updated the
code to use new parameters instead of hard-coded values defined
earlier

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
2015-06-09 16:26:43 +05:30
Rohit Consul
1de32ec506 v_vscaler: Added new driver
HLS generated driver along with manually written layer 2. Driver
tcl update is pending

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
2015-06-09 16:25:54 +05:30