MOVING IMAGE ENCODING AND DECODING
A non-transitory machine-readable medium of an electronic device that stores one or more computer-executable instructions is provided. The one or more computer-executable instructions, when executed by at least one processing unit of the electronic device, cause the electronic device to: decode a wavefront parallel processing (WPP) enabled flag that indicates whether a rectangular tile or a coding tree unit (CTU) row having a height of one CTU exists in a segment in an object tile group; and decode an end bit of the segment. When the WPP enabled flag is 1, after decoding a CTU at a right end of the CTU row, an end bit of a first segment having a first fixed value is decoded. When the WPP enabled flag is 0, after decoding a CTU at a bottom right of a tile, an end bit of a second segment having a second fixed value is decoded.
1 . A non-transitory machine-readable medium of an electronic device storing one or more computer-executable instructions for decoding encoded data, the one or more computer-executable instructions, when executed by at least one processing unit of the electronic device, causing the electronic device to:
decode a wavefront parallel processing (WPP) enabled flag that indicates whether a rectangular tile or a coding tree unit (CTU) row having a height of one CTU exists in a segment in an object tile group; and
decode an end bit of the segment,
wherein:
when the WPP enabled flag is 1, after decoding a CTU at a right end of the CTU row, an end bit of a first segment having a first fixed value is decoded, and
when the WPP enabled flag is 0, after decoding a CTU at a bottom right of a tile, an end bit of a second segment having a second fixed value is decoded.
2 . The non-transitory machine-readable medium according to claim 1 , wherein the end bit of the first segment is equal to the end bit of the second segment.
3 . The non-transitory machine-readable medium according to claim 1 , wherein the end bit of the second segment and the end bit of the first segment are both equal to one.
4 . A non-transitory machine-readable medium of an electronic device storing one or more computer-executable instructions for decoding encoded data, the one or more computer-executable instructions, when executed by at least one processing unit of the electronic device, causing the electronic device to:
when an object tile group uses wavefront parallel processing (WPP), decode an end bit and a byte alignment of a first segment at an end of a coding tree unit (CTU) row; and
when the object tile group does not use the WPP, decode an end bit and a byte alignment of a second segment at an end of a tile.
5 . The non-transitory machine-readable medium according to claim 4 , wherein the end bit of the first segment is equal to the end bit of the second segment.
6 . The non-transitory machine-readable medium according to claim 5 , wherein the end bit of the second segment and the end bit of the first segment are both equal to one.