add weighted avg
Merge branch 'hevc_SSE' of github.com:orcc/orc-apps into hevc_SSE
(parser) fix bug with endOfSliceFlag.