Hi Brijesh
I have a issue need your help, mention as below.
I am able to capture video and display on the LCD, but the color isn't corrent, the red color
is look like blue.
I capture the video frame and save file to A8 host and open the file to display, I found the
picture is normal, the color is correct. so i am sure the problems on the display setting.
My display device is LCD and pipeline to DVO2 , config as below.
configure_lcd()
{
echo "Configuring fb0 to LCD"
echo 0 > /sys/devices/platform/vpss/graphics0/enabled
echo 0 > /sys/devices/platform/vpss/display1/enabled
echo 33500,800/164/89/10,600/10/23/10,1 > /sys/devices/platform/vpss/display1/timings
echo triplediscrete,rgb888 > /sys/devices/platform/vpss/display1/output
echo 1 > /sys/devices/platform/vpss/display1/enabled
echo 1:dvo2 > /sys/devices/platform/vpss/graphics0/nodes
echo 1 > /sys/devices/platform/vpss/graphics0/enabled
fbset -xres 800 -yres 600 -vxres 800 -vyres 600
fbset -depth 32 -rgba 8/16,8/8,8/0,0/0
}
My display parameter setting is below
vdisParams.deviceParams[VDIS_DEV_HDMI].resolution = VSYS_STD_SVGA_60;
vdisParams.deviceParams[VDIS_DEV_HDMI].outputInfo.dataFormat = SYSTEM_DF_RGB24_888;
vdisParams.deviceParams[VDIS_DEV_DVO2].resolution = VSYS_STD_SVGA_60;
vdisParams.deviceParams[VDIS_DEV_DVO2].outputInfo.dataFormat = SYSTEM_DF_RGB24_888;
Q1: why the video color is not correct?
Q2: I notice that the dataFormat is support
Hi Brijesh
I have a issue need your help, mention as below.
I am able to capture video and display on the LCD, but the color isn't corrent, the red color
is look like blue.
I capture the video frame and save file to A8 host and open the file to display, I found the
picture is normal, the color is correct. so i am sure the problems on the display setting.
My display device is LCD and pipeline to DVO2 , config as below.
configure_lcd()
{
echo "Configuring fb0 to LCD"
echo 0 > /sys/devices/platform/vpss/graphics0/enabled
echo 0 > /sys/devices/platform/vpss/display1/enabled
echo 33500,800/164/89/10,600/10/23/10,1 > /sys/devices/platform/vpss/display1/timings
echo triplediscrete,rgb888 > /sys/devices/platform/vpss/display1/output
echo 1 > /sys/devices/platform/vpss/display1/enabled
echo 1:dvo2 > /sys/devices/platform/vpss/graphics0/nodes
echo 1 > /sys/devices/platform/vpss/graphics0/enabled
fbset -xres 800 -yres 600 -vxres 800 -vyres 600
fbset -depth 32 -rgba 8/16,8/8,8/0,0/0
}
My display parameter setting is below
vdisParams.deviceParams[VDIS_DEV_HDMI].resolution = VSYS_STD_SVGA_60;
vdisParams.deviceParams[VDIS_DEV_HDMI].outputInfo.dataFormat = SYSTEM_DF_RGB24_888;
vdisParams.deviceParams[VDIS_DEV_DVO2].resolution = VSYS_STD_SVGA_60;
vdisParams.deviceParams[VDIS_DEV_DVO2].outputInfo.dataFormat = SYSTEM_DF_RGB24_888;
Q1: why the video color is not correct?
Q2: I notice that the dataFormat is support FVID2_DF_RGB24_888, FVID2_DF_YUV420SP_UV and FVID2_DF_YUV422,
not support FVID2_DF_ARGB32_8888 , My be FVID2_DF_ARGB32_8888 is right.
Thanks and Regards