H.264 encoder on BF609 returns ADI_CODEC_STATUS_FAIL in pProcess

Greetings I have not been able to figure out why pProcess returns 0xFFFF error.
I have previously successfully implemented encoder on BF707 and currently working on split frame encoding for BF609.
I am currently only trying to encode on second core but I am missing something since I get the aforementioned error.
Are there any folks who could look into it and tell me what I am doing wrong? I am attaching my project below.
Thanks in advance)