From the Media SDK Developers Guide it make a reference to setting Max slice size:
MaxSliceSize-Specify maximum slice size in bytes. If this parameter is specified other controls over number of slices are ignored.
Not all codecs and SDK implementations support this value. Use Query function to check if this feature is supported.
We are using the Embedded Linux Yocto setup and have not been able to verify if Max Slice Size is supported for the h264 and h265 hardware encoders.
Can you verify if these are implemented for the Embedded Linux Yocto Release?