Can P1,P2 in stereosgbm not using blocksize?

hi, i would like to ask reasonable good p1 and p2 is 8 * number of channel * SADWindowsize /
32 * number of channel * SADWindowsize

however, can i multiple it with other value instead of sadwindowsize?