Patent attributes
Aspects of the disclosure provide a method and an apparatus including processing circuitry for video decoding. The processing circuitry can decode coded information for a current block in a current picture from a coded video bitstream. The coded information can indicate a string copy mode for the current block. The current block includes a current string. The processing circuitry can determine whether a flipping operation is performed to predict the current string. Based on the flipping operation being determined as performed to predict the current string, the processing circuitry can determine an original reference string based on a string vector of the current string. The processing circuitry can generate a flipped reference string by performing the flipping operation on the original reference string, and reconstruct the current string based on the flipped reference string.