Optimize rounding functions
keep track of number of buffers submitted to vmeta
fix bug when handling stuffing bits in mpeg4