cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sherazalishah
Observer
Observer
295 Views
Registered: ‎08-24-2020

vpss csc problem

Hi,

I have added VPSS for DP RX Subsystem

DP RX_SS --> VPSS(CSC) --> Frame_Buffer_Writer --> DDR

While capturing the data via yavta I am getting greenish tint on top of the frame

yavta -n3 -f UYVY -c15 -s3840x2160 --skip 14 -F /dev/video1

Tags (3)
frame-000014.jpeg
0 Kudos
5 Replies
watari
Professor
Professor
243 Views
Registered: ‎06-16-2013

Hi @sherazalishah 

 

I just ask you.

 

How do you see this picture ? In other word, what software are you using ?

 

I guess it might there is NOT a bug on your v4l2 graph.

 

Hope this helps.

 

Best regards,

0 Kudos
avcon_lee
Voyager
Voyager
216 Views
Registered: ‎07-17-2014

@sherazalishah 

There is a problem with the value of Y component.  It is estimated that Y component and UV component are reversed,Or the value of the Y component becomes small for some reason. You can debug it in this direction.

0 Kudos
sherazalishah
Observer
Observer
167 Views
Registered: ‎08-24-2020

Hi @avcon_lee 

I really appreciate your input can you help me, how can i retrieve the data being sent from the VPSS,  

0 Kudos
avcon_lee
Voyager
Voyager
154 Views
Registered: ‎07-17-2014

@sherazalishah 

In fact, I am not familiar with yavta. I just make a judgment based on the results of the image.

1. A little to ask, get the image of the command image format is UYVY(yavta -n3 -f UYVY), why not use YUYV. What is the basis for this.

2. On the other hand, on what basis do you judge that there is a problem with VPSS,Did you do any experiments earlier.

3. Finally, you can check the output results of various modules through chipscope or other ways to determine where the data is wrong. If it is convenient, the image source can be changed to a solid color image, which is more convenient for investigation.

0 Kudos
sherazalishah
Observer
Observer
131 Views
Registered: ‎08-24-2020

This is my device topology

~# media-ctl -p
Media controller API version 4.19.0

Media device information
-----[ 3334.932326] ### DMA dma->r.width f00 fmt.format.width f00 dma->r.height 870 fmt.format.height 870
-------------------
driver xilinx-video
model [ 3493.547933] ##1 frequency 262000000 pixel_width 4 lanecount 4 linkrate=6
Xilinx Video Composite Device
serial
bus info [ 3493.574631] xilinx-dprxss a1000000.v_dp_rxss1: ##rxMsabpc = 0

hw revision 0x0
driver version 4.19.0

Device topology
- entity 1: vcap_dp output 0 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "a0300000.v_proc_ss":1 [ENABLED]

- entity 5: a0300000.v_proc_ss (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Sink
[fmt:RBG888_1X24/3840x2160 field:none]
<- "a1000000.v_dp_rxss1":0 [ENABLED]
pad1: Source
[fmt:UYVY8_1X16/3840x2160 field:none]
-> "vcap_dp output 0":0 [ENABLED]

- entity 8: a1000000.v_dp_rxss1 (1 pad, 1 link)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev1
pad0: Source
[fmt:RBG888_1X24/3840x2160 field:none]
[dv.caps:BT.656/1120 min:800x600@25000000 max:7680x4320@297000000 stds:CEA-861,DMT,CVT,GTF caps:interlaced,progressive,reduced-blanking,custom]
[dv.detect:BT.656/1120 3840x2160p30 (4000x2191) stds:CEA-861 flags:CE-video]
-> "a0300000.v_proc_ss":0 [ENABLED]

I want to convert RGB to YUV422 since that is the expected format I want to get and hence i am trying to capture, I have tried both UYVY and YUYV but i am getting the same output 

0 Kudos