Andrey, do you have done sanity check of params using TestApplication or MCSDK video pcie demos?
Also could you please check what is the maximum number of params you can have?. In our MCSDK video, for example, we have to increase this value for HEVC encoder due to extra params and metadata. As a reference please check siuVCTParse.h and siuVCTParce.c. In these files we increased values of #define CODEC_CFG_FILE_SIZE and SIUVCT_PARSE_MAX_NUM_ITEMS (plus other changes)
For your reference, Scaling matrix is passed as metadata.
Thank you,
Paula