Selective use of virtual pipeline data units for intra block copy video coding
A method of visual media processing includes determining a size of a buffer to store reference samples for prediction in an intra block copy mode; and performing a conversion between a current video block of visual media data and a bitstream of the current video block, using the reference samples stored in the buffer, wherein the conversion is performed in the intra block copy mode which is based on motion information related to a reconstructed block located in same video region with the current video block without referring to a reference picture.
1. A method of processing video data, comprising:
determining, selectively for a conversion between a current video block of a current virtual pipeline data unit (VPDU) of a video region and a bitstream of the current video block, whether to use K1 previously processed VPDUs from an even-numbered row of the video region and/or K2 previously processed VPDUs from an odd-numbered row of the video region; and
performing the conversion, wherein the conversion excludes using remaining of the current VPDU, wherein the conversion is performed in an intra block copy mode which is based on motion information related to a reconstructed block located in same video region with the video block without referring to a reference picture.
2. The method of claim 1 , wherein K1=1 and K2=2.
3. The method of claim 1 , wherein K1=0 and K2=2.
4. The method of claim 1 , wherein K1=0 and K2=1.
5. The method of claim 1 , wherein K1=0 and K2=0.
6. The method of claim 1 , wherein the current video block is selectively processed based on a dimension of the video region or a dimension of the current VPDU.
7. The method of claim 1 , further comprising:
scanning in a vertical scan order, the K1 previously processed VPDUs and/or the K2 previously processed VPDUs, wherein the conversion excludes utilizing a z-scan order.
8. The method of claim 7 , wherein the vertical scan order is expressed as 0, 2, 1, 3, where 0 . . . 3 denote indices of VPDUs of the video region.
9. The method of claim 1 , wherein the method is applicable only when a screen content coding mode is enabled.
10. The method of claim 1 , wherein the method is applicable only when an intra block copy mode is enabled.
11. The method of claim 1 , wherein the conversion includes encoding the current video block into the bitstream.
12. The method of claim 1 , wherein the conversion includes decoding the current video block from the bitstream.
13. An apparatus for processing video data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:
determine, selectively for a conversion between a current video block of a current virtual pipeline data unit (VPDU) of a video region and a bitstream of the current video block, whether to use K1 previously processed VPDUs from an even-numbered row of the video region and/or K2 previously processed VPDUs from an odd-numbered row of the video region; and
perform the conversion, wherein the conversion excludes using remaining of the current VPDU, wherein the conversion is performed in an intra block copy mode which is based on motion information related to a reconstructed block located in same video region with the video block without referring to a reference picture.
14. The apparatus of claim 13 , wherein K1=1 and K2=2.
15. The apparatus of claim 13 , wherein K1=0 and K2=2.
16. The apparatus of claim 13 , wherein K1=0 and K2=1.
17. The apparatus of claim 13 , wherein K1=0 and K2=0.
18. The apparatus of claim 13 , wherein the current video block is selectively processed based on a dimension of the video region or a dimension of the current VPDU.
19. The apparatus of claim 13 , wherein the instructions upon execution by the processor, further cause the processor to:
scan in a vertical scan order, the K1 previously processed VPDUs and/or the K2 previously processed VPDUs, wherein the conversion excludes utilizing a z-scan order.
20. A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by a video processing apparatus, wherein the method comprises:
determining, selectively for a generation of the bitstream from a current video block of a current virtual pipeline data unit (VPDU) of a video region, whether to use K1 previously processed VPDUs from an even-numbered row of the video region and/or K2 previously processed VPDUs from an odd-numbered row of the video region; and
generating the bitstream based on the determining, wherein the generation excludes using remaining of the current VPDU, wherein the generation is performed in an intra block copy mode which is based on motion information related to a reconstructed block located in same video region with the video block without referring to a reference picture.