decoder interface

add prototype of decoder interface