Hi,
I am trying to display PAL resolution on DM365 using component output. I am using dvsdk v2.10.
The application that I am using is,
------------------------------------------------------------------------------------------------------------------------------------------
if(change_sysfs_attrib(ATTRIB_OUTPUT, "COMPONENT"))
{
printf("Change_sysfs_attrib failed\n ");
}
if(change_sysfs_attrib(ATTRIB_MODE, "PAL"))
{
printf("Change_sysfs_attrib failed\n ");
}
var_info->xres = 720;
var_info->yres = 576;
var_info->bits_per_pixel = 16;
var_info->vmode = FB_VMODE_INTERLACED;
var_info->yres_virtual = var_info->yres * OSD_NUM_BUFS;
var_info->yoffset = 0;
var_info->nonstd = 0; /* standard resolution */
/* Set osd0 window format */
if (ioctl(fd_osd0, FBIOPUT_VSCREENINFO, var_info) < 0) {
printf("\nFailed FBIOPUT_VSCREENINFO");
return -1;
}
------------------------------------------------------------------------------------------------------------------------------------------
The FBIOPUT_VSCREENINFO ioctl is failing because of COMPONENT attribute setting.
If I set the output attribute as COMPOSITE (change_sysfs_attrib(ATTRIB_OUTPUT, "COMPOSITE")) I am getting the display properly.
Please can any one tell me why I am not able to configure PAL with Component output?