Hi
According to the app note published recently in the following link, external decoder device driver can be added using V4L2 sub-device model.
http://processors.wiki.ti.com/index.php/DM81xx_AM38xx_Adding_External_Decoders_to_V4L2_Capture_Driver
However, I find mult-channel capture mode is not supported by V4L2 capture driver as stated in the comment of the app note. How is it possible to input 4 x multiplexed video from TVP5158 decoder when V4L2 Capture driver doesn't support mult-channel capture mode? My other question about V4L2 driver is how is it going to be interfaced to GStreamer and OpenMax? Is OpenMax Decoder Control built on top of V4L2 driver?
Thanks!
Wai Kwok
/** * \brief Video capture operation mode */ enum Vps_CaptVideoCaptureMode { /* Single Channel non multiplexed mode */ VPS_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_EMBEDDED_SYNC = 0, /* Multi-channel line-multiplexed mode. This is not supported by V4L2 capture driver */ VPS_CAPT_VIDEO_CAPTURE_MODE_MULTI_CH_LINE_MUX_EMBEDDED_SYNC, /* Multi-channel pixel muxed. This is not supported by V4L2 capture driver */ VPS_CAPT_VIDEO_CAPTURE_MODE_MULTI_CH_PIXEL_MUX_EMBEDDED_SYNC, /* Single Channel non multiplexed discrete sync mode with HSYNC and VBLK as control signals. */ VPS_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_DISCRETE_SYNC_HSYNC_VBLK, /* Single Channel non multiplexed discrete sync mode with HSYNC and VSYNC as control signals. */ VPS_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_DISCRETE_SYNC_HSYNC_VSYNC, /* Single Channel non multiplexed discrete sync mode with ACTVID and VBLK as control signals. */ VPS_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_DISCRETE_SYNC_ACTVID_VBLK, /* Single Channel non multiplexed discrete sync mode with ACTVID and VBLK as control signals. */ VPS_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_DISCRETE_SYNC_ACTVID_VSYNC, /* Multi-channel line-multiplexed mode - split line mode This is not supported by V4L2 capture driver*/ VPS_CAPT_VIDEO_CAPTURE_MODE_MULTI_CH_LINE_MUX_SPLIT_LINE_EMBEDDED_SYNC, /* Maximum modes */ VPS_CAPT_VIDEO_CAPTURE_MODE_MAX };