[SATYR PATCH 2/6] Add sr_frame_cmp and sr_frame_cmp_distance