Hi,
My camera is PAL, so I put on switch #10 of S3 in EVM board (for PAL region), and then I debug "encodedecode" demo in dvevm_1_20 folder.
In function detectVideoStandard(void), when I run to
if (ioctl(fd, FBIO_GETSTD, &std) == -1) {
ERR("Failed to get video standard from display device driver\n");
return FAILURE;
}
if ((std >> 16) == 0x1) {
DBG("NTSC selected\n");
gblSetYFactor(NTSCSTD);
}
else {
DBG("PAL selected\n");
gblSetYFactor(PALSTD);
}
I find that (std >> 16) is always 0x1, no matter switch #10 is on or off, I don't know whether there is something wrong with my board. (I've tried to reboot my linux and montavista linux.)
Thanks.