va: add decoder helper
This merge request goes above !1667 (merged)
It adds a helper structure and code (but not a GObject class) to centralize some code avoiding its duplication among decoders.
This merge request supersedes !1666 (closed)
Edited by Víctor Manuel Jáquez Leal