add flash hw decode