move global variables from hevc_cabac.c