When I try to run my application which uses DVSDK, I am able to open my codec but my IMGENC_Control() fails. What could be the possible solution?
For the control problem check that the input color format (set by base param inputChromaFormat) and the output color format (set by dynamic param forceChromaFormat) matches the note in the users guide: The output formats supported for each input format are as follows: Input Format Supported Output Formats XDM_YUV_420P XDM_YUV_420P, XDM_GRAY XDM_YUV_422P XDM_YUV_422P, XDM_GRAY XDM_YUV_422ILE XDM_YUV_422P, XDM_YUV_420P, XDM_GRAY XDM_YUV_444P XDM_YUV_444P, XDM_GRAY XDM_YUV_411P XDM_YUV_411P, XDM_GRAY XDM_GRAY XDM_GRAY Also check your maxScans is set to XDM_DEFAULT (0).