摘要 |
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 those in the slice of the intraframe prediction type, respective optimizations are allowed, thus increasing coding efficiency. Also provided are an image filling method and device, for use in filling non-coded/non-decoded units of a reference image while coding/decoding. |