Data coding and entropy coding are performed with interconnection, and
grouping is used to enhance coding efficiency. The present invention
includes the steps of obtaining a group reference value corresponding to
a plurality of data included in one group through first grouping and
external grouping for the first grouping and a difference value
corresponding to the group reference value and obtaining the data using
the group reference value and the difference value.