| CPC H04N 19/117 (2014.11) [H04N 19/124 (2014.11); H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/167 (2014.11); H04N 19/172 (2014.11); H04N 19/184 (2014.11); H04N 19/186 (2014.11); H04N 19/593 (2014.11); H04N 19/70 (2014.11); H04N 19/82 (2014.11)] | 23 Claims |

|
1. A method for decoding video data, comprising:
receiving a video bitstream including a current image frame, wherein the video bitstream comprises a first syntax element indicating whether a first sample offset of a first color sample of the current image frame is determined based on one or more luma samples for a cross component sample offset (CCSO) mode;
when the CCSO mode is enabled, generating a set of adapted luma samples including an adapted first luma sample and its adapted neighboring luma samples based on a set of reconstructed luma samples, the set of reconstructed luma samples including a first luma sample that is collocated with the first color sample of the current image frame;
determining the first sample offset of the first color sample based on the adapted first luma sample and the one or more adapted neighboring luma samples; and
reconstructing the current image frame at least by adjusting the first color sample based on the first sample offset.
|