add API only for decode parser

see:
https://rbcommons.com/s/OpenH264/r/842
will add code in future.