Patent ID: 11936852
Assignee: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 19:
20. A method for storing a bitstream of a video, wherein the method comprises:
determining, that a prediction mode is applied on a current video block of a current picture of a video;
maintaining, for the current video block, a buffer comprising reference samples derived from blocks of sample values of a same video region of the current video block in the current picture;
generating, for the current video block, prediction samples based on the determining;
generating the bitstream based on the prediction samples; and
storing the bitstream in a non-transitory computer-readable recording medium,
wherein in the prediction mode, the reference samples determined by a block vector in the buffer are used for a derivation of prediction samples of the current video block,
wherein a specific reference block in the buffer that is marked unavailable for the derivation have values outside of a pixel value range, and
wherein values of reference samples in the specific reference block marked unavailable are set to a predetermined value indicative of unavailability of the samples.