Change av::Direction type

Change av::Direction type from 'enum' to 'class enum'
API2 Rework

Complete video decoding/encoding
Complete demixing/muxing