Hi
The DM648 Video Port Driver FVID API Document states that FVID_alloc() is valid only in DM642 compatibility mode. I am confused as to how one sets this mode (couldn't find anything in the manuals).
I am using the sd_loopback example and changed
status = FVID_alloc(capChInfo.chanHandle, &(capChInfo.frame));
to
status = FVID_dequeue(capChInfo.chanHandle, &(capChInfo.frame));
But the status is now -9 and the frame buffer pointers are set to NULL. But I noticed the sd_composite example uses FVID_dequeue.
To change modes, do you have to change these defines in _vport.h? If so, how can the sd_compositor example work because the settings are set to LEGACY mode on the dvsdk disk? It uses dequeue so dequeue should fail with NORMAL_MODE (0)
On the flip side, how can the sd_loopback example work if I change to NORMAL mode? It uses FVID_alloc and should fail if I set LEGACY_MODE (0)
/** \brief Flag for legacy (DM642) mode */
#define LEGACY_MODE (1)
/** \brief Flag for normal operation mode */
#define NORMAL_MODE (0)
Are these defines mutually exclusive?
Thx