expose some codec stuff to public