The invention relates to an HDR10 image layered coding and decoding method and device and a storage medium, and the method comprises the steps: receiving a YUV420 video data frame, carrying out the
dynamic range segmentation of a pixel of each frame data, and dividing each pixel into a
standard dynamic range part SDR and a
high dynamic range part HDR; performing nonlinear quantization calculation on the pixel value brightness of the
standard dynamic range part SDR and the pixel value brightness of the
high dynamic range part HDR to obtain a brightness component # imgabs0 # of the base layer and a brightness component # imgabs1 # of the enhancement layer; based on the
standard dynamic range part SDR and the
high dynamic range part HDR, performing nonlinear quantization calculation on the
chromaticity of each pixel value to obtain a
chromaticity residual value # imgabs2 # and a
chromaticity residual quantization value # imgabs3 #; and carrying out
hierarchical coding and
metadata encapsulation on pixels of the frame data to obtain an HDR10 code
stream, and transmitting the HDR10 code
stream. According to the invention, through a
dynamic range segmentation
algorithm, double-segment nonlinear quantization,
hierarchical coding and dynamic
metadata synchronization, high-efficiency coding transmission compatible with an HDR10 standard is realized.