摘要 |
A predictive coding/decoding method, a corresponding coder/decoder, and an electronic device. The predictive coding method comprises: configuring types of slices; when coding a slice of an interframe prediction type, configuring an image at where the slice is located as a prediction reference image for the slice, using a first coding scheme to code coding blocks employing an intraframe block copying (IBC) mode in the slice, and, when coding a slice of an intraframe prediction type, using a second coding scheme that is different from the first coding scheme to code coding blocks employing the IBC mode in the slice. Also provided are the corresponding decoding method, the corresponding coder/decoder, and the electronic device. Different coding schemes are employed to code coding blocks employing the IBC mode in the slice of the interframe prediction type and that in the slice of the intraframe prediction type, respective optimizations are allowed, thus avoiding various problems brought forth by a unified structure. |