read pred_weight_table()
dump pred_weight_table
correct decoding of pred_weight_table's *_weight_*_flags
do not dump pred_weight_table's *flags
implemented weighted prediction