decoder interface modification

modify the decoder interface