I am trying to calculate flops for j2k encoding, is there a direct function that be used to do so when using glymur.