| CPC H04N 19/117 (2014.11) [H04N 19/14 (2014.11); H04N 19/182 (2014.11); H04N 19/184 (2014.11); H04N 19/44 (2014.11); H04N 19/463 (2014.11); H04N 19/70 (2014.11); H04N 19/82 (2014.11); H04N 19/96 (2014.11)] | 13 Claims |

|
1. A video coding method, comprising:
determining an offset bit depth (SAO_DEPTH) based on a pixel bit depth (PIC_DEPTH), wherein when PIC_DEPTH is ten bits or smaller, SAO_DEPTH is set to be equal to PIC_DEPTH, and when PIC_DEPTH is eleven bits or greater, SAO_DEPTH is set to be ten bits, and wherein SAO_DEPTH represents a bit depth of an offset to be added to a pixel;
setting an offset value range by using the offset bit depth, wherein a maximum bit length representing the offset value range is SAO_DEPTH−K, and the value of K is equal to 4; and
generating coded data, wherein the coded data includes the offset restricted to the offset value range.
|