Commit graph

10 commits

Author SHA1 Message Date
Rohit Consul
fa04ca480c v_hscaler: Add filter table selection logic
There are 4 Filter coefficient tables available. The table to be
loaded in the IP is determined by the scaling ratio
 Scale Up: Always use 6tap
 Scale Dn: Different table selected based on scaling ration

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-30 22:01:15 +05:30
Rohit Consul
53ce20d940 v_hscaler: 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:19 +05:30
Rohit Consul
206cf0e392 v_hscaler: Update dependency driver version
Updated video common version to 2.0 to reflect new driver in repo
Removed hls generated comments in makefile

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Acked-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
2015-08-10 14:14:18 +05:30
Rohit Consul
759573e90f v_hscaler: Bug Fix in phase calculation logic
4 Samples/Clock phase calculation logic works on 64bit entities.
However a 32bit variable was used that caused wrong phase
information to be generated. Updated relevant variables to 64b

Signed-off-by: Rohit Consul <rohit.consul@xilinx.com>
Reviewed-by: Andrei Simion <andreis@xilinx.com>
2015-08-04 14:11:38 +05:30
Rohit Consul
4955188410 v_hscaler: 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:22 +05:30
Rohit Consul
b276c69121 v_hscaler: 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:00:40 +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
965a8ffb21 v_hscaler: Update tcl to include model parameters
Updated the tcl and mdd files to define model parameters.
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:38 +05:30
Rohit Consul
53e26fcadc v_hscaler: Added new driver
HLS generated driver along with manually written layer 2. Driver
tcl update pending

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