Decoding device
According to an embodiment, a decoding device includes an acquiring unit configured to acquire first format information, encoded data, and first filter information, the first format information indicating a resolution of a color-difference component of the encoded data; a decoding unit configured to decode the encoded data to obtain a decoded image; and a converting unit configured to convert a color-difference format of the decoded image represented by a first color-difference format by using a filter identified by the filter information.
1. A decoding device comprising:
a receiver to acquire transmission information including encoded data, first color-difference format, second color-difference format, and filter identifying information, the first color-difference format indicating a resolution of a color-difference component of the encoded data that is generated according to predetermined syntax, the second color-difference format indicating a resolution of a color-difference component used when reproducing a decoded image obtained by decoding the encoded data, the filter identifying information being for identifying a filter that is used in converting a color-difference format of the decoded image;
a decoder to decode the encoded data included in the transmission information to obtain the decoded image; and
a converter to convert a color-difference format of the decoded image using the filter identified with the filter identifying information, wherein the first color-difference format is indicative of a resolution of a color-difference component of a 4:2:2 format or a 4:4:4 format, and the second color-difference format is indicative of a resolution of a color-difference component of a 4:2:0 format; or the first color-difference format is indicative of the resolution of the color-difference component of the 4:4:4 format, and the second color-difference format is indicative of the resolution of the color-difference component of the 4:2:0 format or the 4:2:2 format, and
the filter identifying information includes a filter coefficient or identification information of the filter.
2. A decoding device comprising:
a receiver to acquire transmission information including encoded data, first color-difference difference format, second color-difference format, and filter information, the first color-difference format indicating a resolution of a color-difference component of the encoded data that is generated according to predetermined syntax, the second color-difference format indicating a resolution of a color-difference component used when reproducing a decoded image obtained by decoding the encoded data, the filter information being for identifying a filter that is used in converting a color-difference format of the decoded image;
a decoder to decode the encoded data included in the transmission information to obtain the decoded image; and
a converter to convert a color-difference format of the decoded image using the filter identified with the filter information, wherein the first color-difference format is indicative of a resolution of a color-difference component of a 4:2:2 format or a 4:4:4 format, and the second color-difference format is indicative of a resolution of a color-difference component of a 4:2:0 format; or the first color-difference format is indicative of the resolution of the color-difference component of the 4:4:4 format, and the second color-difference format is indicative of the resolution of the color-difference component of the 4:2:0 format or the 4:2:2 format, and the filter identifying information includes a filter coefficient or identification information of the filter.