| CPC H04N 19/136 (2014.11) [H04N 19/172 (2014.11)] | 20 Claims |

|
15. An electronic device, comprising:
one or more processors; and
a memory configured to store one or more programs;
wherein the one or more programs, when executed by the one or more processors, enable the one or more processors to perform at least one of the following:
picture encoding which comprises:
acquiring a video picture, and determining a picture feature of the video picture;
determining in-loop identification information and out-loop identification information according to the picture feature, wherein the out-loop identification information is used to indicate whether to perform first mapping transformation on the video picture, and the first mapping transformation comprises luma mapping transformation and chroma mapping transformation for out-loop, and the in-loop identification information is used to indicate whether to perform second mapping transformation on the video picture, and the second mapping transformation comprises luma mapping transformation and chroma mapping transformation for in-loop;
processing the video picture according to the in-loop identification information and the out-loop identification information; and
encoding the processed video picture to generate an encoded code stream, and writing the in-loop identification information and the out-loop identification information into the encoded code stream;
or
picture decoding which comprises:
acquiring a code stream, and parsing the code stream to obtain the in-loop identification information and the out-loop identification information in the code stream, wherein the out-loop identification information is used to indicate whether to perform first mapping transformation on the code stream, and the first mapping transformation comprises luma mapping transformation and chroma mapping transformation for out-loop, and the in-loop identification information is used to indicate whether to perform second mapping transformation on the code stream, and the second mapping transformation comprises luma mapping transformation and chroma mapping transformation for in-loop;
processing the code stream according to the in-loop identification information and the out-loop identification information; and
decoding the processed code stream to generate a decoded video picture.
|