fix function code bug; add float decode
update frame index with float frame