Move BD interface functions into the BDDemuxer class