Slice Level Intra Block Copy and Other Video Coding Improvements

SA517390407B1Undetermined Publication Date: 2020-09-21QUALCOMM INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
SA517390407
Authority / Receiving Office
SA · SA
Patent Type
Patents
Current Assignee / Owner
Filing Date
2017-11-25
Publication Date
2020-09-21
Estimated Expiration
2037-11-25
Patent Text Reader

Abstract

A device for decoding video data includes a memory configured to store the video data and one or more processors configured to receive a slice of the video data, parse an intra block copy (IBC) syntax element to determine that an IBC mode is enabled for the slice, parse a slice type syntax element associated with the slice to determine the slice is an I slice, and decode the slice as an I slice by decoding all blocks of the slice using intra prediction coding modes. Fig 6.
Need to check novelty before this filing date? Find Prior Art

Description

<h2 style=";text-align:left;direction:ltr">Full description<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Background of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The present disclosure relates to video coding.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Digital video capabilities can be embedded in a wide range of devices, including digital televisions, digital direct broadcast systems, wireless broadcast devices, personal digital assistants (PDAs), laptop or desktop computers, tablet computers, e-book readers, digital cameras, video recorders, video game consoles, wireless cellular or satellite phones (so-called "smartphones"), video teleconferencing devices, video streaming devices, and the like. Digital video devices implement video compression methods, such as those described in the standards defined by MPEG-2, MPEG-4, ITU-T H.263, ITU-T H.264 / MPEG-4 Part 10, Advanced Video Coding (AVC), and ITU-T H.265, also referred to as High Efficiency Video Coding (HEVC), based on the standards and extensions to these standards.<h2 style=";text-align:left;direction:ltr">Video devices can transmit, receive, encode, decode, and / or store digital video information more efficiently by applying the indicated video compression methods.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Video compression techniques perform spatial (intra-picture) and / or temporal (inter-picture) prediction to reduce or eliminate redundancy in video sequences. In block-based video coding, a video slice (i.e., a video frame or portion of a video frame) can be divided into video blocks, also referred to as tree blocks, coding units (CUs), and / or coding nodes. Video blocks in an inter-coded (I) slice are encoded using a spatial prediction with respect to reference samples in neighboring blocks in the same image. Video blocks in an inter-coded (P or B) slice of an image can use a spatial prediction with respect to reference samples in neighboring blocks in the same image or a temporal prediction with respect to reference samples in other reference images. Images can be referred to as frames, and pictures can be referred to as reference frames.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A spatial or temporal prediction produces a predictive block specific to the block to be coded. The residual data represents the pixel differences between the original block to be coded and the predicted block. An intercoded block is encoded according to a motion vector that refers to a block of reference samples that constitute the predicted block, and the residual data refers to the difference between the coded block and the predicted block. An intercoded block is encoded according to an intercoding pattern and the residual data. For further compression, the residual data can be transformed from the pixel domain to the transform domain, producing residual transformation coefficients, which can then be quantized. The quantized transformation coefficients, initially formatted in a two-dimensional matrix, can be scanned to produce a one-dimensional vector of transformation coefficients, and entropy coding can be applied for further compression.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> General description of the invention<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The present disclosure describes methods that can improve existing video coding methods, and more specifically, that can improve video coding methods related to intra block copy (IBC). In some coding cases, the methods of the present disclosure can enable finer-grained control of the use of the intra block, for example, by activating the intra block at a chip level.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In one example, a method for decoding video data includes receiving a segment of the video data; parsing a language syntax element of the internal block instance to determine that the internal block pattern is activated with the segment; parsing a language syntax element of the segment type associated with the segment to determine that the segment is an I-segment; and decoding the segment as an I-segment, wherein decoding the segment as an I-segment comprises decoding all blocks of the segment that use at least one internal predictive coding pattern.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In another example, a means for decoding video data includes a memory configured to store video data and one or more processors configured to receive a segment of video data; parsing a syntax element denoted by a NAL unit of the internal video block copy to determine that the internal block pattern is activated with the segment; parsing a syntax element of the segment type associated with the segment to determine that the segment is an I-segment; and decoding the segment as an I-segment, wherein to decode the segment as an I-segment, the one or more processors are configured to decode all blocks of the segment that use at least one internal predictive coding pattern.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In another example, a video data decoding device, the device includes a means for receiving a segment of video data; a means for analyzing a linguistic format element of the intra block copy (IBC) video to determine that the intra block pattern is activated with the segment; a means for analyzing a segment-type linguistic format element associated with the segment to determine that the segment is an I-slice; and a means for decoding the segment as an I-slice, wherein the means for decoding the segment as an I-slice includes a means for decoding all blocks of the segment that use at least one intra block predictive coding pattern.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In another example, a computer-readable storage medium stores instructions that when executed by one or more processors cause the one or more processors to receive a segment of video data; parse a syntax element of the internal video block copy (IBC) to determine that the internal block pattern is activated with the segment; parse a syntax element of the segment type associated with the segment to determine that the segment is an I-slice; and decode the segment as an I-slice, wherein to decode the segment as an I-slice, the one or more processors decode all blocks of the segment that use at least one internal predictive coding pattern.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Details of one or more examples of the disclosure are set forth in the attached figures and description below. Other features, objectives, and characteristics will become apparent based on the description, figures, and claims.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Brief explanation of the drawings<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 1 is a rectangular diagram illustrating an illustrative video encoding and decoding system that may employ the methods described in the present disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 2 is a conceptual diagram illustrating a prediction block of video data in a current image for predicting a current block of video data within the current image according to the present detection methods.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 3 is a rectangular diagram illustrating an illustrative video encoder that can implement the methods described in the present disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 4 is a rectangular diagram illustrating an illustrative video decoding method that can implement the methods described in the present disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 5 is a flowchart illustrating a method for encoding video data according to the methods of this disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 5 is a flowchart showing how to decode video data according to the methods of this detection.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 7 is a flowchart showing how to decode video data according to the methods of this detection.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Detailed description:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A video sequence is generally represented as a sequence of images. Block-based coding methods are typically used to encode each individual image. That is, each image is divided into blocks, and each block is encoded separately. Encoding a block of video data generally involves forming a predicted value for the block, which encodes a residual value representing the difference between the original block and the predicted value. Specifically, the original block of video data contains an array of pixel values, and the predicted value contains an array of predicted pixel values. The residual value corresponds to the individual pixel differences between the original block's pixel values ​​and the predicted pixel values, such that adding the residual values ​​to the predicted values ​​approximates the original values.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Block prediction methods for video data are generally classified as intra-prediction or inter-prediction. Intra-prediction, or spatial prediction, generally involves predicting the block from neighboring pixel values ​​that are part of pre-coded blocks in the same images during block prediction. Inter-prediction, or temporal prediction, generally involves predicting the block from pixel values ​​of pre-coded images (e.g., frames or segments).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Many applications, such as remote desktops, remote gaming, wireless displays, autonomous entertainment computing, cloud computing, and more, have become a part of our daily lives. The video content in these applications is typically a combination of natural content, text, synthetic graphics, and other content. Repeated patterns (such as letters, icons, symbols, etc.) are often found in text and synthetic graphics areas.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Intra-block copying (IBC) of video data from predictive blocks of video data within the same image, sometimes referred to as intra-block copying (IBC) and sometimes intra-motion compensation (IMC), is a technique that allows a video encoder to remove redundancy and improve the efficiency of intra-frame coding. In typical intra-prediction coding, video encoders (e.g., video encoders and decoders) use pre-recorded video data blocks directly above or directly in horizontal parallel with the current video block of video data in the same image to predict the same current video block. In other words, if an image or frame of video data is placed on a two-dimensional grid, each video block occupies a unique range of x-values ​​and y-values.<h2 style=";text-align:left;direction:ltr">Accordingly, some video encoders can predict a current block of video data based on blocks of previously encoded video data in the same image that share only the same set of x values ​​(i.e., vertically parallel to the current block of video) or the same set of y values ​​(i.e., horizontally parallel to the current block of video).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> It may be useful for a video encoder to predict the current video block from a previously reconstructed block of video data that is in the same frame or image but not necessarily directly above or to the left (or directly to the right or below) of the current block of video data. By including more video blocks in the prediction set, the video encoder can make a more accurate prediction of the current video block, thereby increasing coding efficiency.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In general, the present disclosure describes methods for encoding video data that comprise an internal prediction pattern for video data blocks from predicted blocks of video data within the same image, which may also be referred to as an internal block pattern. The internal block methods of the present disclosure may include selecting a predicted block of video data for the current block of video data. The video data block may, for example, correspond to a reconstructed block of video data within the same image as the current block of video data. The predicted block of video data may be from within a destination region within the image. The destination region may also be referred to as the internal block prediction region. The destination region may, for example, correspond to a region above, on the upper right, upper left, and / or left of the current block of video data.<h2 style=";text-align:left;direction:ltr">A predictive block of video data is not restricted to being either directly above or directly to the left of the current block of video data. Therefore, the vector used to define the predictive block relative to the current block need not be a one-dimensional vector. Instead, to define or set the predictive block of video data, a video encoder can encode one or more syntax elements that define a two-dimensional vector comprising a horizontal displacement component and a vertical displacement component relative to the current block of video data. The two-dimensional vector can be referred to as a block vector, displacement vector, or motion vector, and can, for example, be used to define a predictive block relative to the upper left corner of the current block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The present disclosure describes methods that can improve existing video coding methods, and more specifically, that can improve IBC-related video coding methods. In some coding cases, the methods of the present disclosure can enable finer-grained control of the use of IBC, for example, by enabling IBC at a chip level. The proposed methods can be used with any bit depth, color sampling format, etc.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">As used herein, the term "video encoder" generally refers to both video encoders and video decoders. In this disclosure, the terms "video encoder" or "encoder" generally refer to video encoding or video decoding. Accordingly, unless otherwise noted, methods described by reference to encoding may be performed by either a video encoder or a video decoder. In some parts of this application, certain methods may be described by reference to video decoding and video decoding. However, these methods do not apply to video encoding or may not be performed by a video encoder. These methods may, for example, be implemented in the context of determining how video data is encoded or may be implemented in the context of a video decoding session in a video encoder.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">As used in this disclosure, the term "current block" refers to a block currently being encoded, as opposed to a block already encoded or scheduled to be encoded. Similarly, a "current encoding unit," "prediction unit," or "transformation unit" refers to a coding unit or transformation unit currently being encoded.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 1 is a rectangular diagram illustrating an illustrative video encoding and decoding system 10 that can use the methods described in the present disclosure. As shown in Figure 1, the system 10 includes a source device 12 that generates encoded video data for subsequent encoding by a destination device 14. The source device 12 and destination device 14 may include any plurality of devices, including desktop computers, notebook computers (i.e., laptop computers), set-top boxes, telephone devices such as so-called "smart" phones or "pads," televisions, cameras, display devices, digital media players, video gaming consoles, video streaming devices, or the like. In some instances, the source device 12 and destination device 14 may be equipped with a wireless connection.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The destination device 14 may receive the encrypted video data to be decrypted via link 16. The link 16 may include any type of medium or device capable of transmitting the encrypted video data from the source device 12 to the destination device 14. In one example, the link 16 may include a communication medium to enable the source device 12 to transmit encrypted video data directly to the destination device 14 in a timely manner. The encrypted video data may be modeled according to a communication standard, such as a wireless communications protocol, and may be transmitted to the destination device 14. The communication medium may include wired or wireless communication media such as radio frequency (RF) spectrum or one or more physical transmission lines. The communication media may form part of a packet-based network such as a local area network, a wide area network, or a global network such as the Internet. The communication media may include routers, switches, base stations, or any other equipment that may be useful to facilitate communication from the source device 12 to the destination device 14.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Alternatively, the encrypted data may be output from the output interface 22 to the storage device 26. Similarly, the encrypted data may be accessed from the storage device 26 via the output interface. The storage device 26 may include any distributed or locally accessible data storage media such as a hard drive, Blu-ray discs, digital versatile discs (DVDs), compact disc read-only memory (CD-ROM), flash memory, volatile or non-volatile memory, or any other suitable digital storage media for storing the encrypted video data. In another example, the storage device 26 may correspond to a file server or other intermediate storage device that stores the encrypted video data generated by the source device 12. The destination device 14 may access the encrypted video data from the storage device 26 for streaming or downloading. The file server may be any type of server capable of storing the encrypted video data and transmitting the encrypted video data to the destination device 14.<h2 style=";text-align:left;direction:ltr">Example file servers include a web server (e.g., a website), an FTP server, network attached storage (NAS) devices, or local drives. The destination device 14 can access the encrypted video data through any standard data connection, including an Internet connection. This can include a wired connection (e.g., a Wi-Fi connection), a wired connection (e.g., a cable modem, etc.), or a combination thereof, suitable for accessing the encrypted video data stored on a file server. The transmission of the encrypted video data from the storage device 26 can be a streaming transmission, a download transmission, or a combination thereof.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The methods of the present disclosure are not necessarily limited to wireless applications or configurations. These methods may be applied to encoding video in support of any combination of media applications, such as over-the-air television broadcasts, cable television transmissions, satellite television transmissions, and transmissions for streaming, for example, the Internet, or encoding digital video for storage on a data storage medium and decoding digital video stored on the data storage medium, or other applications. In some examples, the system 10 may be configured to support one-way or two-way video transmission in support of applications such as video streaming, video playback, video broadcasting, and / or video telephony.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In the example of Fig. 1, the source device 12 includes a video source 18, a video encoder 18, and an output interface 22. In some cases, the output interface 22 may include a modulator / demultiplexer (modem) and / or a transmitter. In the source device 12, the video source 18 may include a source such as a video recording device, e.g., a video camera, and / or a video archive containing previously captured video, and / or a video feed interface for receiving video from a video content provider, and / or a computer graphics system for generating computer graphics data such as the source video, or a combination of these sources. For example, if the video source 18 is a video camera, the source device 12 and the destination device 14 may form so-called camera phones or video phones. However, the methods described in this disclosure may be applied to video encoding in general and may be applied to wired and / or wireless applications.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Computer-generated, pre-captured, or captured video may be encoded by a video encoder 20. The encoded video data may be transmitted directly to the destination device 14 via an output interface 22 of the source device 12. The encoded video data may also be stored (or alternatively stored) on a storage device 26 for later access by an interface device 14 or other devices, for decoding and / or playback.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The destination device 14 includes an input interface 28, a video decoding device 30, and a display device 32. In some cases, the interface 28 may include a receiver and / or a modem. The input interface 28 of the destination device 14 receives encoded video data via the link 16. The encoded video data delivered via the link 16 or delivered to a storage device 26 may include a set of language format elements generated by a video encoder 20 for use by a video decoding device, such as a video decoding device 30, in decoding the video data. These format elements may be included with the encoded video data transmitted on a communications medium, or stored on a storage medium or a stored file server.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The display device 32 may be integrated with or external to the destination device 14. In some examples, the destination device 14 may include an integrated display device and may also be configured to interface with an external display device. In other examples, the destination device 14 may be a display device. In general, the display device 32 displays encoded video data to a user and may include any combination of display devices such as a liquid crystal display (LCD), a plasma display, an organic light-emitting diode (OLED) display, or another type of display device.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 20 and the video decoder 30 may operate in accordance with a video compression standard, such as the finally approved High Efficiency Video Coding (HEVC) standard. Alternatively, the video encoder 20 and the video decoder 30 may operate in accordance with other industry and proprietary standards, such as the ITU-T H.264 standard, alternatively referred to as MPEG4, Part 10, Advanced Video Coding (AVC), or extensions of those standards. However, the methods of this disclosure are not limited to any particular coding standard. Other examples of video compression standards include MPEG-2 and ITU-T H.263.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Various extensions to High Efficiency Video Coding (HEVC), such as those for 3D, multi-view, scalable, and on-screen content, are currently under development. Furthermore, domain extensions to High Efficiency Video Coding (HEVC), specifically HEVC RExt, are also currently under development by JCT-VC. A recent Working Draft (WD) for the domain extensions, also referred to as RExt WD7 hereafter, is available at http: / / phenix.int-evry.fr / jct / doc_end_user / documents / 17_Valencia / wg11 / JCTVC-Q1005-v4.zip.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In this disclosure, the High Efficiency Video Coding (HEVC) designation text as it is currently in JCTVC-Q1003 is commonly referred to as High Efficiency Video Coding (HEVC) Version 1. The methods of the present disclosure may use the term HEVC for ease of explanation. However, it should not be assumed that the methods of the present disclosure are limited to HEVC only, and in fact, it is expressly contemplated that the methods of the present disclosure may be implemented in subsequent HEVC standards, including HEVC extensions, as well as next-generation standards.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Although not illustrated in Figure 1, in some aspects, the video encoder 20 and video decoder 30 may be combined with an audio encoder and decoder, and may include suitable MUX-DEMUX modules or other software or hardware to handle the encoding of both video and audio into a common data stream or separate data stream. The MUX-DEMUX modules may, in some examples where applicable, comply with the ITU H.223 Terminal Communications Modules protocol or other protocols such as the User Datagram Protocol (UDP).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 20 and the video decoder 30 may each be implemented as any of a plurality of suitable encoder circuits, such as one or more microprocessors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), discrete logic, software, hardware, firmware, or any combination thereof. When the methods are partially implemented in a program, it may store program-specific instruction machine data in a suitable, non-transitional, computer-readable medium and execute the instructions in the hardware using one or more processors to implement the methods of this disclosure. The video encoder 20 and the video decoder 30 may each be included in one or more encoders or decoders, and either may be included as part of a combined encoder / decoder (CODEC) in a particular medium.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">As noted above, the JCT-VC has completed the development of the HEVC standard, ITU-T H.265. HEVC offers several additional possibilities for video coding methods compared to existing methods, such as ITU-T H.264 / AVC. For example, while H.264 offers nine interpretive coding modes, HEVC supports approximately five and three interpretive coding modes.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In HEVC and other video coding specifications, a video sequence typically comprises a series of images. The images may be referred to as "frames." An image may comprise three sample arrays, denoted SL, SCb, and SCr. SL is a two-dimensional array (i.e., block) of luma samples. SCb is a two-dimensional array of chromaticity samples (Cb). SCr is a two-dimensional array of chromaticity samples (Cr). The chromatic samples may also be referred to here as "chromaticity" samples. In other cases, it can be a monochrome image and may comprise an array of brightness samples.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">To generate a coded representation of an image, a video encoder 20 can generate a set of coding tree units (CTUs). Each CTU can include a tree coding block of luma samples, two corresponding tree coding blocks of chrominance samples, and syntax structures used to encode the tree block samples. In monochromatic images or images with three separate color levels, a CTU can include a single tree coding block and syntax structures used to encode the tree block samples. A coding tree block can be an NxN block of samples. A CTU can be referred to as a "tree block" or a "largest coding unit" (LCU). The CTU for HEVC can broadly correspond to the microblocks of other standards, such as H.264 / AVC. However, a CTU is not necessarily limited to a particular size and can comprise one or more coding units (CUs). A chip can comprise an integer number of CTUs arranged sequentially in a raster format.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">To generate a coding CTU, the video encoder 20 may recursively perform a four-part tree partitioning of the CTU's coding tree blocks to partition the coding tree blocks into coding blocks, hence the name "coding tree units." A coding block may be an NxN coding block of samples. A coding unit may include a coding block for brightness samples and two corresponding coding blocks for chrominance samples for an image comprising a brightness sample array, a luma sample array Cb, a sample array Cr, and syntax structures used to code the samples of the coding blocks. In monochromatic images or images comprising three separate color levels, a coding unit may include a single coding block and syntax structures used to code the samples of the coding block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 20 may divide the CU coding block into one or more prediction blocks. A prediction unit is a rectangular (i.e., square or non-square) sample block to which the same prediction is applied. The prediction unit (PU) of the CU coding unit may include a brightness sample prediction block, two corresponding chromaticity sample prediction blocks, and linguistic element structures used to predict the prediction blocks. In monochromatic images or images with three separate color levels, a prediction unit may include a monochromatic prediction block and linguistic element structures used to predict the prediction blocks. The video encoder 20 may generate brightness prediction blocks, Cb and Cr brightness prediction blocks, and Cb and Cr prediction blocks for both the PU and the CU.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 20 may use embedded prediction or interprediction to generate PU prediction blocks. If the video encoder 20 uses embedded prediction to generate PU prediction blocks, the video encoder 20 may generate PU prediction blocks based on decoded samples of an image associated with the PU. If the video encoder 20 uses interprediction to generate PU prediction blocks, the video encoder 20 may generate PU prediction blocks based on decoded samples of one or more images instead of the image associated with the PU.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">After the video encoder 20 generates prediction blocks (e.g., predicted brightness, Cb and Cr blocks) for one or more PUs of the CU, the video encoder 20 may generate a residual brightness block for the CU. Each example in the residual brightness block for the CU represents the difference between a brightness sample in one of the CU's predicted brightness blocks and a corresponding sample in the CU's original brightness coding block. In addition, the video encoder 20 may generate a residual block Cb for the CU. Each example in the CU's residual block Cb represents the difference between a Cb sample in one of the CU's predicted Cb blocks and a corresponding sample in the CU's original brightness coding block Cb. The video encoder 20 may generate a residual block Cr for the CU. Each example in the CU Cr residual block illustrates the difference between a Cr sample in one of the CU predictive Cr blocks and the corresponding sample in the CU's original Cr encoding block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In addition, the video encoder 20 can generate a quadrilateral tree partition to decompose the brightness residual blocks, Cr and Cb, of the CU into one or more brightness transformation blocks, Cr and Cb. The transformation unit is a rectangular (e.g., square or non-square) sample block to which the same transformation is applied. The transform unit (TU) of an encoder unit can include a brightness sample transformation block, two corresponding chrominance sample transformation blocks, and syntax constructs used to transform the transform block samples. Thus, each TU of the CU can be associated with a brightness transformation block, a Cb transformation block, and a Cr transformation block. The brightness transformation block associated with the TU can be a subblock of a CU residual brightness block. The brightness transformation block can be a subblock of a CU residual Cb block. The Cr transformation block can be a subblock of a CU residual Cr block. In monochromatic images or images with three separate color levels, the transformation unit can include a single transformation block and syntax constructs that are used to transform the transformation block samples.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 20 may apply one or more transformations to a brightness transformation block of a transformation unit to generate a brightness coefficient specific to the transformation unit. The coefficient block may be a two-dimensional array of transformation coefficients. The transformation coefficient may be an undirected quantity. The video encoder 20 may apply one or more transformations to a transformation block Cb of TU to generate a coefficient block Cb of TU. The video encoder 20 may apply one or more transformations to a transformation block Cr of TU to generate a coefficient block Cr of TU.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">After generating a parameter block (e.g., a brightness parameter block, a Cb parameter block, or a Cr parameter block), the video encoder 20 may quantize the parameter block. Quantization generally refers to a process where the quantity of transformation parameters is quantized to potentially reduce the amount of data used to represent the transformation parameters, while providing greater compression. After the video encoder 20 quantizes the parameter block, the video encoder 20 may entropically encode the syntax elements with quantized transformation parameters. For example, the video encoder 20 may perform context-adaptive binary arithmetic coding (CABAC) on syntax elements with quantized transformation parameters.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder can output 20 bit streams comprising a sequence of bits representing the encoded picture and related data. The bit stream can comprise a sequence of NAL bits. A NAL bit is a syntax structure comprising the data type of the NAL bit and the bytes containing the data in RBSP form, interspersed as necessary with suppression bits. Each NAL bit includes a NAL header and surrounds the RBSP. The NAL header can comprise a syntax element indicating the NAL type code. The NAL type code specified by the NAL header of the NAL bit indicates the NAL type. The RBSP can be a syntax structure containing an integer number of bytes enclosed within the NAL bit. In some cases, the RBSP includes zero bytes.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Different types of NALs can surround different types of RBSPs. For example, a first type of NAL can surround a PPS RBSP, a second type of NAL can surround a coded chip RBSP, a third type of NAL can surround a SEI message RBSP, etc. NALs that surround a video encoding data RBSP (as opposed to a SEI message RBSP) can be referred to as syntax element (NAL) units.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video decoder 30 can receive a bitstream generated by the video encoder 20. In addition, the video decoder 30 can analyze the bitstream to obtain syntax elements from the bitstream. The video decoder 30 can reconstruct video data images based at least partially on syntax elements obtained from the bitstream. The process of generating the video data can generally be an alternative to the process performed by the video encoder 20. In addition, the video encoder 30 can inversely determine the quantity of operand blocks associated with a transform unit (TU) of the current CU. The video decoder 30 can perform inverse transformations on the operand blocks to reconstruct TU-related transformation blocks of the current CU. The video decoder 30 can generate coding blocks of the current CU by adding samples of PU prediction blocks of the current CU to the corresponding samples of TU transformation blocks of the current CU. By reconstructing the coding blocks for each CU of an image, the video decoder 30 can reconstruct the image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Recently, there has been a demand for the investigation of new coding tools for screen content such as text and animated graphics, and techniques have been proposed to improve the coding efficiency of screen content. Given evidence that in some coding scenarios, coding efficiency improvements can be achieved by leveraging the properties of screen content using modern, dedicated coding tools, a Call for Proposals (CfP) was issued to develop future extensions to the High Efficiency Video Coding (HEVC) standard, including specific screen content coding (SCC) tools. Use cases and requirements for the referenced CfP are described in MPEG document N14174. During the 17th JCT-VC meeting, the SCC test model (SCM) was established. A recent Working Draft (WD) for the SCC is available at http: / / phenix.int-evry.fr / jct / doc_end_user / documents / 20_Geneva / wg11 / JCTVC-T1005-v2.zip.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In current SCC, the IBC signal is unified with the interprediction signal by adding the current image to a list of reference images. Before decoding the current slice, the video decoder 30 selects the current image as the long-term reference image. The current image is then converted back to a short-term reference image after decoding of the current image is complete. The encoding and signaling methods, including AMVP / combination signaling, AMVP derivation, and MVD encoding, are identical in the interprediction case, with the only difference being that the motion vectors for the IBC mode must be integer motion vectors. An IBC block can be distinguished from conventional interprediction blocks by checking the corresponding reference image. If only the current image is used as a reference image, then the current block is an IBC block. Otherwise, the current block is an interprediction block. The curr_pic_as_ref_enabled_flag of the SPS level syntax element can be used to indicate whether the already encoded portions of the current image can be used as the reference image to encode the current image blocks.<h2 style=";text-align:left;direction:ltr">In other words, the video decoder 30 may receive the curr_pic_as_ref_enabled_flag of the syntax element, and in response to the curr_pic_as_ref_enabled_flag of the syntax element being equal to 1, the video decoder 30 may decode some blocks of the segments associated with the SPS using IBC.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Figure 2 is a conceptual diagram showing an illustrative method for predicting a current block of video data 102 within a current image 103 according to a pattern for internal prediction of blocks of video data from predictive blocks of video data within the same image according to the present disclosure, for example, according to an IBC pattern according to the methods of the present disclosure. Figure 2 illustrates a video block of a predictive block 104 within a current image 103. A video encoder, for example, a video encoder 20 and / or a video decoder 30, may use a predictive video block 104 to predict the current video block 102 according to an IBC pattern according to the methods of the present disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 20 selects a predictive video block 104 to predict the current video block 102 from a set of previously reconstructed blocks of video data. The video encoder 20 reconstructs blocks of video data by inversely quantizing and inversely transforming the video data contained in the encoded video bitstream and combining the resulting residual blocks with the predictive blocks used to predict the reconstructed blocks of video data. In the example shown in Figure 2, the intended region 108 may be referred to in the image 103, which may further be referred to as the "intended region" or "scanned region" on the set of previously reconstructed video blocks. The video encoder 20 may identify the intended region 108 within the image 103 in several ways, as described in more detail below.<h2 style=";text-align:left;direction:ltr">The video encoder may select 20 predictive video blocks 104 to predict a current video block 102 from among the video blocks in a destination region 109 based on an analysis of the relative efficiency and prediction accuracy and encode the current video block 102 based on different video blocks in the destination region 108.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video encoder 20 defines a two-dimensional vector 106 representing the position or displacement of the predictive video block 104 relative to the current video block 102. The two-dimensional block vector 106 includes a horizontal displacement component 112 and a vertical displacement component 110, each representing, respectively, the horizontal and vertical displacement of the video block 104 relative to the current video block 102. The video encoder 20 may include one or more language format elements that define the two-dimensional block vector 106, e.g., that define the horizontal displacement component 112 and the vertical displacement component 110, in the encoded video bitstream. The video decoder 30 may decode the one or more format elements to define the two-dimensional block vector 106, and use the defined vector to map a predictive video block 104 to the current video block 102.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, the spatial resolution of the two-dimensional block vector 106 may be an integer pixel resolution, e.g., restricted to an integer pixel resolution. In these examples, the spatial resolution of the horizontal displacement component 112 and the vertical displacement component 110 may be an integer pixel resolution. In these examples, the video encoder 20 and the video decoder 30 do not need to interpolate the pixel values ​​of the predictive video block 104 to determine the predictive method for the current video block 102.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In other examples, the resolution of one or both of the horizontal displacement component 112 and the vertical displacement component 110 may be a subpixel. For example, one of the components 110 and 112 may have an integer pixel resolution, while the other may have a subpixel resolution. In some examples, the resolution of both the horizontal displacement component 112 and the vertical displacement component 110 may be a subpixel, but the horizontal displacement component 112 and the vertical displacement component 110 may have different resolutions.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In some examples, a video encoder, for example, adapts the horizontal shift component 112 and the vertical shift component 110 based on a particular level, e.g., block level, slide level, or picture level adaptation. For example, the video encoder 20 may indicate with a mark at a slide level, e.g., at the front of a slide, whether the horizontal shift component 112 and the vertical shift component 110 are integer pixel features or not integer pixel features. If the mark indicates that the horizontal shift component 112 and the vertical shift component 110 are not integer features, the video decoder 30 may infer that the feature is a sub-pixel feature. In some examples, one or more language syntax elements, not necessarily a tag, may be transmitted to each segment or other unit of video data to indicate the combined or individual feature patterns of the horizontal displacement components 112 and / or the vertical displacement components 110.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In other examples, instead of a tag or language syntax element, the video encoder 20 may determine based on, and the video decoder 30 may infer, the horizontal shift component 112 and / or the vertical shift component 110 from feature context information. The feature context information may include, for example, a color space (e.g., YUV, RGB, etc.), a specific color format (e.g., 4:4:4, 4:2:2, 4:2:0, etc.), a frame size, a frame rate, or a quantization parameter (QP) of the image or sequence of images comprising the current video block 102. In at least some examples, the video encoder may determine the horizontal shift component 112 and / or the vertical shift component 110 based on relevant information of previously encoded frames or images. As such, the horizontal displacement component feature 112 and the vertical displacement component feature 110 can be predefined or referenced, can be inferred from other side information (e.g., feature context information), or can be based on already encoded frames.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The current video block 102 may be a CU or a PU of a CU. In some examples, a video coder, e.g., a video encoder 20 and / or a video decoder 30, may split the CU predicted according to IBC into a number of PUs. In these examples, the video coder may specify a dedicated (e.g., different) two-dimensional vector 106 for each of the PUs of the CU. For example, a video coder may split a 2Nx2N CU into two 2NxN PUs, two Nx2N PUs, or four NxN PUs. In other examples, a video encoder may split a 2Nx2N CU into PUs of ((N / 2)xN + (3N / 2)xN), PUs of ((3N / 2)xN + (N / 2)xN), PUs of (Nx(N / 2) + Nx(3N / 2)), PUs of (Nx(3N / 2) + Nx(N / 2)), four PUs of (N / 2)x2N, or four PUs of 2Nx(N / 2). In some examples, a video encoder may predict a 2Nx2N CU using a 2Nx2N PU.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The current video block 102 may be a brightness video block, or a chroma video block corresponding to a brightness video block. In some examples, the video encoder 20 may encode one or more language syntax elements that define two-dimensional vectors 106 specific to the brightness video blocks in the encoded video bitstream. In these examples, the video decoder 30 may derive the two-dimensional vectors 106 specific to each of the one or more chroma blocks corresponding to a brightness block based on the two-dimensional vector assigned to the brightness block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Depending on the color format, for example, the color sampling format or the chroma sampling format, a video encoder can downsample the corresponding chroma video blocks relative to the brightness video block. The 4:4:4 color format is non-downsampling, meaning that the chroma blocks contain the same number of samples in the horizontal and vertical directions as the brightness block. The 4:2:2 color format means that the chroma is downsampled in the horizontal direction, so that half of the samples in the horizontal direction are in the chroma blocks relative to the brightness block. The 4:2:0 color format means that the chroma is downsampled in both the horizontal and vertical directions, so that half of the samples in the horizontal and vertical directions are in the chroma blocks relative to the brightness block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In examples where video encoders determine vectors 106 for chroma video blocks based on vectors 106 for the corresponding brightness blocks, the video encoders may be required to modify the brightness vector. For example, if brightness vector 106 contains an integer resolution with a horizontal shift component 112 and / or a vertical shift component 110 that is an odd number of pixels, and the color format is 4:2:2 or 4:2:0, the transformed brightness vector may not point to an integer pixel location in the corresponding chroma block. In these examples, the video encoders may measure the chroma vector for use as a chroma vector to predict a corresponding chroma block. In some examples, the video encoder 20 may determine a destination region 108, or measure the transformed vector, such that the transformed chroma vector 106 used to predict a chroma block may not point to predicted chroma blocks that are not reconstructed, or that are loop-filtered. In this disclosure, if the coloration mass vector is not explicitly stated, it should not be assumed that the indicated measurement does not occur.<h2 style=";text-align:left;direction:ltr">Measurement of the coloration mass vector can occur (but not necessarily in all cases) even if not explicitly described in the examples in the present disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The present disclosure describes methods for enabling IBC slices. In the current draft specification for the SCC to HEVC extension, I slices cannot be used when IBC is enabled (e.g., when the curr_pic_as_ref_enabled_flag syntax element is equal to 1). Specifically, when curr_pic_as_ref_enabled_flag is equal to 1, the slice_type syntax element cannot be equal to 2, where slice_type values ​​are 0, 1, and 2, corresponding to B, P, and I slices, respectively. This has some potential drawbacks. For example, slices internally encoded with a conventional image (encoded without any image, including the current image, by reference) cannot be referenced via the slice_type syntax element, which can be useful in some cases, e.g., for saving some overhead signals as described below.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The present disclosure describes methods for enabling the use of an I-slice even when IBC is enabled. In some examples, enabling an I-slice when IBC is enabled allows the syntax element slice_type to be equal to 2 (indicating that the encoding type for a particular slice is an I-slice) even when curr_pic_as_ref_enabled_flag is equal to 1 (indicating that IBC is enabled). In this case, the I-slices are conventionally image-encoded slices that are encoded without using any image, including the current image, for reference, and are encoded using the interprediction patterns of all encoded blocks. In other words, the conventional I-slice blocks are encoded using interprediction or IBC, and the only encoding pattern used for the conventional I-slice is the interprediction pattern.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, the video encoder 20 may be configured to implement this functionality by configuring it to encode a slice of video data as an I-slice and generating an IBC format element (e.g., curr_pic_as_ref_enabled_flag) with a value indicating that the IBC mode is enabled for the slice. The video encoder 20 may further generate a slice-type format element (e.g., slice_type) and set the format element to a value indicating that the slice is an I-slice. The video encoder 20 may, for example, include an IBC format element in an SPS and / or include a slice-type format element in a slice header.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, the video decoder 20 may be configured to implement this functionality by being configured to receive a segment of video data and parsing an IBC syntax element (e.g., curr_pic_as_ref_enabled_flag) to determine that IBC mode is enabled for the segment. For example, if the video decoder 30 determines that curr_pic_as_ref_enabled_flag is 1, then the video decoder 30 may determine that IBC mode is enabled, while if curr_pic_as_ref_enabled_flag is 0, the video decoder 30 may determine that IBC mode is disabled. The video decoder 30 may further analyze a segment-type syntax element associated with the segment to determine that the segment is an I-segment and decode it as an I-segment. To decode the segment as an I-segment, the video decoder 30 may decode the segment blocks using only intra-prediction and without using an inter-prediction pattern and without using an IBC pattern.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Alternatively, this disclosure suggests introducing another slice type. For example, an IBC slice can be used to denote the use of an IBC pattern without any reference image other than the current one. In other words, with respect to an IBC slice, a video encoder can encode IBC slice blocks using an internal pattern or an IBC pattern, but without using an interpattern. In the indicated example, the slice_type syntax element value can be equal to 0, 1, 2, or 3, with the newly allowed value of 3 defining an IBC slice. As shown in Table 1 below, the semantics for other values ​​can remain unchanged. When slice_type is set to IBC, some references to P and B slices can be avoided. For example, if the video decoder 30 specifies that a slice is an IBC slice, information such as the cu_skip_flag syntax element, the CU prefix syntax element, the reference image management information on the prefix, and other information must not be included in the bitstream of the encoded video data.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> slice_type slice_type name<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 0 B (Slice B)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">1 P (P chip)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 2 I (Slice I)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> 3 IBC (IBC slice)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Table 1<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In accordance with the method referred to above, the video decoder 30 may be configured to receive a video data slice and parse a segment-type syntax element associated with the video data slice. In response to a segment-type syntax element that has a value indicating that the slice is an IBC slice (e.g., slice_type equal to 3), the video decoder 30 may decode the slice as an IBC slice, which may include decoding some blocks of the slice using the IBC pattern and / or decoding some blocks of the slice using the internal pattern. The video decoder 30 may decode other slices as I slices (e.g., slice_type equal to 2), P slices (slice_type equal to 1), or B slices (slice_type equal to 0). Decoding other types of chips can involve receiving some different language syntax elements that are not received for chips decoded as IBC chips, and as such, decoding an IBC chip can involve receiving different language syntax elements that are not received for other chips.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The present disclosure further describes methods used to control the IBC flag at the chip level. Using the existing methods, whether IBC is enabled or controlled solely by (i.e., IBC activation is determined based on) the SPS flag, curr_pic_as_ref_enabled_flag. Allowing finer-grained control of IBC, for example, at the chip level, could have several potential benefits. For example, chip-level IBC control could determine whether blocks within the current chip can use the current image as a reference. This IBC pattern could require additional sample storage prior to in-ring filtering. If chip-level IBC is not enabled, a clever decoder could avoid storing these additional samples, thereby reducing average bandwidth and average power usage. In another example, chip-level IBC control could allow chips not to use IBC to acquire additional reference indices assigned to temporal reference images, allowing additional weights to be assigned to a weighted prediction with potentially improved coding efficiency in certain cases.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Methods for enabling slice-level IBC control will now be described in more detail. The video encoder 20 may indicate a slice-level IBC control flag, e.g., slice_curr_pic_as_ref_enabled_flag, at the front of a slice when IBC is enabled (e.g., curr_pic_as_ref_enabled_flag is equal to 1). Additionally, the video decoder 30 may infer (i.e., determine without explicit indication) that slice_curr_pic_as_ref_enabled_flag is zero if it is not indicated. The slice-level control flag may be indicated only with respect to P slices and B slices and inferred to be zero for I slices. The slice-level IBC flag may, for example, indicate whether the current image is being used as a reference image for slice block prediction.<h2 style=";text-align:left;direction:ltr">In other implementations, the slice-level IBC flag may indicate whether the current image is added to a reference list of current images for self-referencing, in which case the current image is available for use as a reference image for slice block prediction, but for some slices, it may not actually be used for prediction. Furthermore, if slice_curr_pic_as_ref_enabled_flag is not enabled (i.e., the value is either explicitly stated to be zero or inferred to be zero, and then the video decoder does not use IBC mode 30 for that particular slice), the flag may be enabled with slice type I (as described above regarding the activation of IBC slices).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The semantics of the slice_curr_pic_as_ref_enabled_flag syntax element can be:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">slice_curr_pic_as_ref_enabled_flag of 1 specifies that the current image can be included in the current image's reference list during slice decoding. slice_curr_pic_as_ref_enabled_flag of 0 specifies that the current image is not included at all in the current image's reference list during slice decoding. If it is not present, slice_curr_pic_as_ref_enabled_flag is inferred to be 0.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In general, slice_curr_pic_as_ref_enabled_flag can replace curr_pic_as_ref_enabled_flag in the syntax of the slice introduction after slice_curr_pic_as_ref_enabled_flag, in syntax structures below the slice introduction level, semantics, and decoding, for example, in the reference picture list structure, DPB management, etc. The syntax element curr_pic_as_ref_enabled_flag can be treated as a tab of the slice_curr_pic_as_ref_enabled_flag flag. For example, the value of NumPicTotalCurr can be derived based on the slice-level control flag slice_curr_pic_as_ref_enabled_flag.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Furthermore, the following situation may apply (when the methods for activating I-chips as described above are not applicable):<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When the current image is a BLA or CRA image, the value of NumPicTotalCurr must equal slice_curr_pic_ref_enabled_flag.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In another alternative, the video decoder 30 may be configured to derive a value for slice_curr_pic_as_ref_enabled_flag without an explicit reference. As part of the derivation, the video decoder 30 may examine the reference image lists RefPicList0 and RefPicList1 up to the maximum number of reference images referenced at the front of the slice (e.g., num_ref_idx_l0_active_minus1 and num_ref_idx_l1_active_minus1 of RefPicList0 and RefPicList1), and if a reference image is not equal to the current image, the video decoder 40 may derive slice_curr_pic_as_ref_enabled_flag as zero. Otherwise, the video decoding method 30 slice_curr_pic_as_ref_enabled_flag can be derived to be equal to 1. The derived flag can, for example, be used instead of the IBC flag at the indicated slice level in decoding and other related uses.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">To apply the slice-level IBC control flag described above, the video decoder 30 may be configured to receive a slice of video data and parse a slice-level syntax element (e.g., slice_curr_pic_as_ref_enabled_flag) to determine that IBC is enabled for the slice. The video decoder 30 may be configured to generate a reference image list for the video data, and the number of images included in the reference image list may be based on whether the slice-level syntax element indicates that IBC is enabled or disabled. The video decoder 30 may parse the slice-level syntax element to determine that IBC is enabled for the slice, in response to determining that the slice is a P-slice or a B-slice. For slices determined to be I-slices, the video decoder 30 may infer a value for the slice-level syntax element to indicate that IBC is disabled.<h2 style=";text-align:left;direction:ltr">The video decoder 30 may create a reference image list for the video data segment and, in response to a segment-level syntax element indicating that IBC mode is enabled, add the image containing the segment to the reference image list.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The disclosure also describes potential restrictions on the use of the IBC control tag at the slice level and slice_type. Any of the restrictions or aspects referred to below may be applied separately or in combination with one or more of the restrictions in this section or other sections of this disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In some examples, bitstream matching can include the following requirements:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> slice_curr_pic_as_ref_enabled_flag must not be zero for slices P and B when only currPic is available as a reference.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">slice_curr_pic_as_ref_enabled_flag must not be zero for slices P and B when nal_unit_type has a value in the range BLA_W_LP to RSV_IRAP_VCL23, exclusively (i.e., the image is an IRAP image). RefPicList0 must contain one or more entries that refer only to the current image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Alternatively, slice_curr_pic_as_ref_enabled_flag should not be referenced to slices P and B when currPic is available as a reference (i.e., when the DPB only has one reference image that is the current image) and the image is inferred as such.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Changes to the decryption process will now be discussed. The decryption process can be changed as indicated by the underlined text. The changes indicated can be applied separately or in combination.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> When at least one slice in the current image has slice_curr_pic_as_ref_enabled_flag equal to 1, an image storage medium is allocated in DPB for the current image, and the current image is marked as "used as a long-term reference".<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The operations described in Sections 8.4, 8.5, 8.6, and 8.7 define decoding operations using linguistic elements at all layers of the linguistic structure. A special requirement for bitstream matching is that the encoded image slices of an image must contain the slice segment data for each coding tree unit of the image, such that image segmentation, slice segmentation, and slice segmentation into coding trees each perform image segmentation. When at least one slice unit in the current image has slice_curr_pic_as_ref_enabled_flag equal to 1, the decoded sample values ​​of the current image before filtering are stored in the loop in the image storage medium designated for the current image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Note 2 - When at least one slice in the current image has slice_curr_pic_as_ref_enabled_flag equal to 1, additional image storage media, not counted as part of DPB, is required to store the sample values ​​of the current image after in-ring filtering.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The present disclosure also describes a limitation for coordinated images. In the present WD, there is a limitation that the current image cannot be used as the coordinated image. This is because there is no recorded motion yet assigned to the coordinate block that would be used in motion prediction if the coordinated image were the current image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">This limitation can be eliminated, for example, by initializing the motion range of the current image before processing the current image. For example, the current image can be initialized with all blocks as encoded blocks, meaning no motion range information is present. Alternatively, the motion range can be initialized using a default motion range where the motion range is known to both the encoder and decoder, e.g., zero motion (zero motion vectors with zero reference indices) in at least one inter-direction associated with RefPicList0, RefPicList1, or both. In addition, the default motion range assigned to a slice can be based on the slice type. For example, for slice I, all blocks in this slice are initialized using the inter-direction pattern, for slice P, the motion range associated with RefPicList0 is set to zero motion, and for slice B, the slice is assigned zero motion in both directions associated with RefPicList0 and RefPicList1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Furthermore, the aforementioned constraint (that the current image cannot be used as a formatted image) is specified as a cryptographic or bitstream constraint, which can be broken by some encoders, leading to the possibility of bitstream interruption.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The present disclosure describes methods for making this constraint more stringent, e.g., modifying the syntax such that values ​​of syntax elements that do not satisfy the constraint cannot be referenced in the bit stream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> First, the TMVP activation flag at the top of the slide must be disabled if the slide contains only the current image as the reference image(s), since the current image cannot be used as a formatted image. There can be more than one reference image, all of which can be the current image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Alternatively, the TMVP activation flag can be moved and placed after the flag with the number of reference images used in a slice (e.g., num_ref_idx_l0_active_minus1 and num_ref_idx_l1_active_minus1) and a flag can be placed to determine whether all reference images are the current image. If all reference images are the current image, the TMVP activation flag is not indicated and it is concluded to be disabled (i.e., equal to zero).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In an alternative embodiment, instead of deriving whether all reference images are the current image, a mark at the front of the slide could be used to indicate this status.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Furthermore, with the collocated_ref_idx reference, references to the current image can be excluded from being referenced by collocated_ref_idx, and the value of collocated_ref_idx is decremented by the number of references to the current reference image that exist before the requested formatted image. Similarly, after parsing, the parsed collocated_ref_idx is incremented by the number of references to the current reference image before the collocated_ref_idx that was referenced.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> According to one example, assume that RefPicList = {Pic0, Curr, Pic1, Curr, Pic2}.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> To set Pic0 as the collocated image, set collocated_ref_idx = 0.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> To set Pic1 as the collocated image, set collocated_ref_idx = 1, and increment collocated_ref_idx by 1 so that collocated_ref_idx is equal to 2.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> To set Pic2 as the collocated image, set collocated_ref_idx = 2, and increment collocated_ref_idx by 2 so that collocated_ref_idx is equal to 4.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, the encryption part can be implemented as the following pseudocode, assuming the desired collocated_ref_idx equals N.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> collocated_ref_idx = N;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For (i = 0; i < N; i++)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> {<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if (RefPicList[i] is the current image)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> collocated_ref_idx--;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For example, the decoding part could be implemented as the following pseudocode, where collocated_ref_idx is the current value to be updated.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> with respect to ( i = 0; i <= collocated_ref_idx; i++ )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> {<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if (RefPicList[i] is the current image)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> collocated_ref_idx++;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In the example given, collocated_ref_idx cannot be equal to the current image (Curr) because the value of collocated_ref_idx would be incremented by the decoding method, making it impossible for the current image to be a cursor image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Additionally, the conditions under which collocated_ref_idx is referenced may be modified to exclude cases where collocated_ref_idx can have only one value. In this case, the number of reference images contained in RefPicList0 and RefPiclList1 (referred to in this disclosure as numCurrRef0 and numCurrRef1), and the number of reference images (e.g., num_ref_idx_l0_active_minus1 and num_ref_idx_l1_active_minus1) may be counted by the number of reference indices equal to the current image of RefPicList0 and RefPicList1. The modified number of reference indices may be used instead of the number of reference indices referenced on the front of the chip in the decoding process, e.g., in reference to collocated_ref_idx.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> For example, the application could be accomplished as follows.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> numCurrRef0 = 0;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> for (i = 0; i <= num_ref_idx_l0_active_minus1; i++)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> {<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if (RefPicList0[i] is the current image)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> numCurrRef0++;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> numCurrRef1 = 0;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">for ( i = 0; i <= num_ref_idx_l1_active_minus1; i++ )<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> {<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if (RefPicList1[i] is the current image)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> numCurrRef1++;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The coordinate reference is only indicated when the number of possible coordinate references is more than 1, for example,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if ( slice_temporal_mvp_enabled_flag ) {<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if (slice_type == B)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> collocated_from_l0_flag.u(1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> If ((collocated_from_l0_flag && (num_ref_idx_l0_active_minus1 - numCurrRef0 ) > 0 ) | | ( !collocated_from_l0_flag && ( num_ref_idx_l1_active_minus1 - numCurrRef1 ) > 0 ) ))<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> collocated_ref_idx ue(v)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The underlined parts are added to the top of the current draft text specification.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Example: RefPicList0 = {Curr, Pic0, Curr}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> num_ref_idx_l0_active_minus1 is indicated to be equal to 2, and numCurrRef0 is indicated to be equal to 2 (since there are two current reference images in the reference image list).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">num_ref_idx_l0_active_minus1 - numCurrRef0 is zero, and collected_ref_idx is not referenced but is inferred to be zero, even though the actual value is 1 (the zero pointer points to the current image).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> After zero conclusion, the coordinated indicator modification described above is used.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Regarding (int i = 0; i <= collocated_ref_idx; i++)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> {<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if (RefPicList0[i] is the current image)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> collocated_ref_idx++;<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> This will produce a collocated_ref_idx equal to 1, since a single increment will occur due to the first reference image being equal to the current image in the reference image list.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In this example, the reference collocated_ref_idx is preserved compared to the current draft text specification, where the reference collocated_ref_idx is used but is required to be equal to 1. Any method described in this application can be used with respect to the formatted image constraints and the reference to the collated reference image can be used independently or in combination.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The present disclosure further describes methods for disabling list modification based on the number of reference images. In the present WD, the ref_pic_list_modification operation can be performed when NumPicTotalCurr > 1 and lists_modification_present_flag = 1. The disclosure suggests that when num_ref_idx_l0_active_minus1 = 0 (i.e., the maximum reference index of the reference picture list 0 that can be used for chip decoding is equal to zero) and the chip-level IBC control flag described above is equal to 1, the list modification information is redundant and can be inferred. In other words, in some implementations, the current image can always be added to the reference picture list when the IBC mode is enabled without requiring the list modification operation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The disclosure describes the methods for post-reference information with reference list modification information when num_ref_idx_l0_active_minus1 = 0 and slice_curr_pic_as_ref_enabled_flag = 1. It can be inferred that the list modification operation includes curPic as the first entry in RefPicList0. In other words, in some implementations, the current image can always be added to the reference list when IBC mode is enabled without requiring a list modification operation.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">For example, if video encoder 20 determines that IBC is enabled for an IBC chip, then the only reference image in the chip's reference image list is the current image comprising the chip. Thus, the response to determining that a number of reference images in a video data chip's reference image list is equal to and in response to the IBC mode being enabled for the chip, video encoder 20 may be configured to disable reference image list modification and not include chip reference image list modification information in the encoded bitstream.<h2 style=";text-align:left;direction:ltr">Similarly, the video decoder 30 may be configured to receive a syntax element (e.g., num_ref_idx_l0_active_minus1) indicating the number of reference pictures in a reference picture list for a slice of video data, and in response to the syntax element indicating that the number of reference pictures in the reference picture list for the slice of video data is equal to one (e.g., num_ref_idx_l0_active_minus1 is zero) and in response to the activation of the slice's IBC mode (e.g., slice_curr_pic_as_ref_enabled_flag = 1 and / or curr_pic_as_ref_enabled_flag = 1), the video decoder 30 may disable modification of the reference picture lists. For example, the video decoder 30 may disable modification of the reference picture list by creating the reference picture list without obtaining the reference picture list modification information.<h2 style=";text-align:left;direction:ltr">In one example, the modification of the reference image list could mean that information (e.g., syntax elements) associated with the reference image list modification information is not referenced in the bit stream, thus potentially improving compression and reducing the complexity of the decoding method.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Although the above examples were described in relation to RefPicList0, it should be appreciated that the above methods can equally apply to RefPicList1 as well.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> slice_segment_header() { descriptor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> first_slice_segment_in_pic_flag u(1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ……<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if (curr_pic_as_ref_enabled_flag && (slice_type ==P | | slice_type ==B))<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> slice_curr_pic_as_ref_enabled_flag<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> …….<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if (lists_modification_present_flag && NumPicTotalCurr > 1 && !(slice_curr_pic_as_ref_enabled_flag && num_ref_idx_l0_active_minus1 == 0))<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_pic_lists_modification()<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ….<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> byte_alignment()<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">}<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In a first demonstration, a list modification may not be indicated when num_ref_idx_l0_active_minus1 = 0 (i.e., the maximum reference index of RefPicList0 that can be used for chip decoding is 1) and the current draft specification SPS-level IBC control flag (curr_pic_as_ref_enabled_flag) is 1. It is inferred that the list modification operation involves curPic as the first entry in RefPicList0.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The above can apply to RefPicList1 as well.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> slice_segment_header() { descriptor<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> first_slice_segment_in_pic_flag u(1)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ……<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if (curr_pic_as_ref_enabled_flag && (slice_type ==P | | slice_type ==B))<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> slice_curr_pic_as_ref_enabled_flag<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> …….<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> if (lists_modification_present_flag && NumPicTotalCurr > 1 && && !(curr_pic_as_ref_enabled_flag && num_ref_idx_l0_active_minus1 == 0))<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ref_pic_lists_modification()<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> ….<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> byte_alignment()<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">} <h2 style=";text-align:left;direction:ltr">The present disclosure also describes methods for applying in-loop filtering as post-processing. In other words, annotators that are applied as in-loop filters in some encoding scenarios can be applied as post-loop filters in other encoding scenarios. When the IBC mode is used, the reference samples of the current image used for IBC prediction are not filtered. In other words, in-loop filters such as declustering annotators and SAO may not be applied to the IBC reference samples. However, in-loop filtering, they may be applied to reconstruct the samples for the cyclic prediction. These methods can improve the overall coding efficiency and performance of the method for several reasons. For example, filtering may not be a good prediction method for graphical content, and thus the computational complexity associated with filtering may provide minimal or no benefit for certain types of video content.<h2 style=";text-align:left;direction:ltr">In another example, given the need to store unfiltered and filtered samples specific to the current image (with respect to IBC and regular intermodal patterns), loop filtering can increase the bandwidth of writing and reading samples and increase the required storage capacity.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> In one example, the video decoder 30 may apply in-ring filters only when the image is output or displayed and use the unfiltered pixels associated with reference images for both IBC and regular intermodal patterns. For this example, the video decoder 30 may be configured to reconstruct a block of video data using an IBC pattern and output an image comprising the block, with the block filtered in the output image using one or more loop filters. However, the video decoder 30 may store as a reference image for future blocks an image containing an unfiltered version of the block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">This can reduce bandwidth, since only unfiltered pixels need to be shifted, and it can better predict graphic content by preserving details that would otherwise be removed by the filter. However, in-loop filters can be applied to the output images for the display.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> An IBC control flag or prefix may be used to derive whether in-loop filters should be used as post-filters or filters applied to the output image. For example, the video decoder 30 may be configured to receive a syntax element indicating whether the loop filtering process is applied in-loop or post-loop as a response to determine that the IBC mode is enabled. Furthermore, a flag may be used to indicate when the IBC mode is in use. This flag, for example, may be inferred to be zero if it is not present in the bitstream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In another example, an IBC pattern can use filtered samples (e.g., deconvolution filtered, SAO filtered, or ALF filtered) when filtered images are available. For the filter, some pixels of the filtered block may be required but not available. When the indicated outlier pixels are available, i.e., already reconstructed, then the candidate pixels can be used for prediction in the IBC pattern. If at least one pixel is not available for dissection, the non-filtered samples are used for IBC prediction. In this case, the bandwidth can be reduced because the amount of non-filtered pixels that need to be stored for IBC prediction is reduced. Alternatively, IBC can refer only to candidate samples; in this case, there may be no need to store the non-filtered samples (e.g., samples that require at least one pixel that has not yet been reconstructed) for IBC prediction. This constraint can be accomplished, for example, by an encoder or a bitstream constraint used by MV to derive a prediction block that does not include the indicated samples.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In the previous examples, examining the desired candidate or non-candidate pixels used for IBC prediction can be complex, since a neighboring CU can be used for prediction. To simplify the derivation process, non-candidate samples from the current CTU containing the current block can be used for IBC prediction, and, if available, candidate samples located outside the current CTU can be used for IBC prediction. In this case, the bandwidth associated with storing non-candidate pixels can be reduced, since the current CTU samples can be cached and do not need to be stored in the external memory of the encoder 20 or the decoder 30.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> A flag can be provided to indicate whether selection between candidate and non-candidate samples for IBC prediction is being applied. The flag can be indicated when the IBC mode is used and is inferred to be disabled if it is not present in the bitstream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Alternatively, the reference can be used to denote the selection between candidate and non-candidate samples for IBC prediction with respect to lag (in units of CTU, slices, tiles). For example, IBC prediction from blocks before the lag value could use only candidate samples, and after the lag value could use non-candidate samples. The aspects described in the previous examples can be used separately or in combination with other described methods.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The present disclosure describes methods that can result in bandwidth reduction. For current implementations of IBC, the video decoding method does not filter prediction samples; therefore, if IBC is enabled, in addition to the filtered samples, excess unfiltered samples must also be stored, resulting in a single storage bandwidth being at least doubled when using IBC.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to the method of the present disclosure, to reduce the bandwidth increase caused by unfiltered samples, instead of storing the unfiltered samples, the video decoder 30 may store the difference between the filtered and unfiltered samples. Since filtering operations (e.g., block unbundling, SAO) cause only minor changes, the difference between the filtered and unfiltered samples may not require the full bit depth for storage, which can help reduce the storage bandwidth required to store both the filtered and unfiltered samples for use with IBC mode. Furthermore, some compression scheme, which in one example may be lossless compression, such as prediction from adjacent units and variable length coding, may be applied to further reduce bandwidth and storage space.<h2 style=";text-align:left;direction:ltr">In the indicated applications, the video decoder 30 may be configured to perform a loop filtering operation on a reconstructed block of video data to generate a candidate reconstructed block, store in the difference a difference between the candidate reconstructed block and the reconstructed block, and predict a block based at least in part on the stored difference values.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The present disclosure also describes methods for applying filtering to prediction samples. As described in the previous section, in the present IBC design, the prediction samples are unfiltered reconstructed samples of the current image (before SAO or de-blocking). The unfiltered samples do not need to be stored in addition to the filtered samples sent to the display. In this section, methods are proposed to avoid the need for additional storage space for the unfiltered samples.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to a first method of the present disclosure, a video encoder (e.g., a video encoder 20 or a video decoder 30) can apply SAO and block decoding to prediction samples rather than reconstructed samples. An illustrative implementation is provided below. The illustrative implementation compares the present design with one example of a proposed design in the present disclosure.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Current design: Final reconstruction = filter (prediction + insipidity)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Proposed design: Final reconstruction = filter (prediction + regression).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> where,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Filter: Represents one or two processes, SAO and unblocking.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Prediction: Represents the unfiltered prediction samples.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In the first method described above, a video encoder may apply SAO and block decoding to prediction samples of any pattern (e.g., inter-, IBC, intra-). In the second method, a video encoder may apply the methods described above for applying SAO and block decoding to prediction samples of an IBC pattern. These methods may be applied in addition to the methods described in JCTVC-T0045. In T0045, filtering of CTUs that can be used for IBC is disabled as a reference. This can provide both objective and subjective quality decomposition. Accordingly, the present disclosure provides methods for applying filtering to prediction samples of an IBC pattern only.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> An illustrative application is described below. The present disclosure describes methods for applying SAO and deblocking to prediction samples rather than to reconstructed IBC samples. Furthermore, a tag may be indicated in the bitstream when the CTU is used as the IBC reference region. In this case, the tag closes the subsequent processing in the loop (deblocking and SAO) of the CTU, thus avoiding additional storage space.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Current design:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Final reconstruction = filter (prediction + insipidity)<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Proposed design:<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Final reconstruction of IBC pattern = filter (prediction + insipidity).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Final reconstruction for non-IBC pattern = filter (prediction + insipidity).<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> where,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Filter: Represents one or two processes, SAO and unblocking.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Prediction: Represents the unfiltered prediction samples.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In applying filtering to prediction samples as described above, the video decoder 30 may be configured to select a prediction block for a block of video data, filter the prediction block to generate a candidate prediction block, and add residual data to the candidate prediction block to generate a reconstructed block. To filter the prediction block, the video decoder 30 may perform one or more of SAO filtering, deblock filtering, or ALF filtering. The video decoder 30 may filter the prediction block to generate the candidate prediction block in response to a block of video data encoded using an IBC mode. With respect to a second block of video data encoded in a coding mode other than IBC, the video decoder 30 may add residual data to the second prediction block of the second block to generate a second reconstructed block and filter the second reconstructed block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 3 is a rectangular diagram illustrating an illustrative video encoder 20 that can implement the methods described in the present disclosure. The video encoder 20 can perform intercoding and embedding of video blocks into video segments. The intercoding is based on spatial prediction to reduce or eliminate redundancy in a given video frame or image. The intercoding is based on temporal prediction to reduce or eliminate temporal redundancy in video within adjacent frames or images of a video sequence. The intermodality (I-modality) can refer to any of several spatially based compression modes. The intermodality, such as one-way prediction (P-modality) or two-way prediction (B-modality), can refer to any of several temporal-based compression modes.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In the example shown in Figure 3, the video encoder 20 includes a video data memory 33, a partitioning unit 35, a prediction processing unit 41, a summation unit 50, a conversion processing unit 52, a quantization unit 54, and an entropy encoding unit 56. The prediction processing unit 41 includes a motion estimation unit (MEU) 42, a motion compensation unit (MCU) 44, an internal prediction processing unit 46, and an IBC unit 48. Although not shown separately in Figure 3 for ease of explanation, it should be understood that the MEU 42, the MCU 44, the internal processing unit 46, and the IBC unit 48 can be highly integrated in practice. In addition to the video block, the video encoder 20 further includes an inverse quantization unit 58, an inverse transform processing unit 60, an aggregation unit 62, a filtering unit 64, and a decoded picture buffer (DPB) storage medium 66.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">As shown in Figure 3, the video encoder 20 receives video data and stores the received video data in the video data memory 33. The video data storage memory 33 can store video data to be encoded by components of the video encoder 20. The video data stored in the video data memory 33 can be obtained, for example, from the video source 18. The DPB 66 can be a reference image memory that stores reference video data that is used in encoding the video data 20, for example, in inter- or inter-encoding modes. The video data memory 33 and the DPB 66 can be formed by any of a plurality of memory media, such as dynamic random access memory (DRAM), including synchronous DRAM (SDRAM), magnetoresistive RAM (MRAM), resistive RAM (RRAM), or other types of memory media. The video data memory 33 and DPB 66 can be supplied by the same memory medium or by separate memory mediums.<h2 style=";text-align:left;direction:ltr">In various examples, the video data memory 33 may be on-chip with other components of the video encoder 20, or off-chip relative to such components.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The segmentation unit 35 retrieves video data from the video data memory 33 and, in conjunction with the prediction processing unit 41, segments the video data into video blocks. The segmentation may further include segmentation into segments, tiles, or other larger units, as well as segmenting the video blocks, for example, according to a hierarchical box structure of larger LCUs and CUs. Although not illustrated separately for example purposes, the segmentation unit 35 and the prediction processing unit 41 may be highly integrated, and both the segmentation unit 35 and the prediction processing unit 41 may perform aspects of determining how to segment an image from a video. The video encoder 20 illustrates the components that encode the video blocks in a video segment to be encoded. The segment may be segmented into multiple video blocks (and potentially into groups of video blocks referred to as tiles). The prediction processing unit 41 may select one pattern from a set of possible coding patterns, such as a pattern from a set of coding patterns or a pattern from a set of intercoding patterns, for the current video block based on error results (e.g., coding rate and distortion level).<h2 style=";text-align:left;direction:ltr">The prediction processing unit 41 may provide the resulting inter- or intra-encoded block to the assembly unit 50 to generate residual block data and to the assembly unit 62 to reconstruct the encoded block to be used as a reference image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The interprediction module 46 within the prediction processing module 41 may perform interprediction encoding of the current video block relative to one or more adjacent blocks in the same frame or slice as the current block to be encoded to provide spatial prediction. The motion estimation module 42 and the motion compensation module 44 within the prediction processing module 41 perform interprediction encoding of the current video block received relative to one or more predictive blocks in one or more reference images to provide temporal compression. Motion estimation, performed by the motion estimation module 42, is the process of generating motion vectors that estimate the motion of video blocks. The motion vector may, for example, denote the displacement of a predictive unit of a video block in the current video frame or image relative to a predictive block in a reference image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">A predictive block is a block that is found to closely match the predictive unit of the video block to be encoded, in terms of pixel difference, which can be determined by absolute difference (SAD), sum of square difference (SSD), or other difference measures. In some examples, the video encoder 20 may compute sub-integer pixel position values ​​for reference images stored in DPB 66. For example, the video encoder 20 may infer quarter-pixel, eighth-pixel, or other fractional pixel position values ​​for the reference image. Thus, the motion estimation unit 42 may perform a motion search relative to whole-pixel and fractional pixel positions and output a motion vector with fractional pixel precision.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The motion estimation unit 42 calculates a PU motion vector for a video block in an inter-coded chip by comparing the PU position with a predicted block position for a reference image. The reference image may be selected from a first reference image list (List 0) or a second reference image list (List 1), each of which identifies one or more reference images stored in DPB 66. The motion estimation unit 42 sends the calculated motion vector to the entropy coding unit 56 and the motion compensation unit 44.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Motion compensation performed by the motion compensation module 44 can acquire or generate a predictive block based on the motion vector developed by the motion estimation module, potentially by performing sub-pixel interpolation operations. Upon receiving the PU motion vector for the current video block, the motion compensation module 44 can determine the predictive block to which the motion vector refers in one of the reference image lists. The video encoder, the summation module 20, forms a residual video block by subtracting the pixel values ​​of the predictive block from the pixel values ​​of the current video block being encoded, forming pixel difference values. The pixel difference values ​​constitute the residual data of the block and can include both brightness and chrominance difference components. The summation module 50 represents the component or components performing the indicated subtraction operation. The motion compensation module 44 can further generate syntax elements associated with the video blocks and the video segment for use by the video decoder 30 in decoding the video blocks of the video segment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In some examples, the IBC module 48 may generate two-dimensional vectors that bring together predictive blocks similarly to those described above for the motion estimation module 42 and the motion compensation module 44, but with the predictive blocks in the same image or frame as the current block. In other examples, the IBC module 48 may use the motion estimation module 42 and the motion compensation module 44, in whole or in part, to implement these IBC prediction functions in accordance with the methods described in the present application. In either case, with respect to the IBC, a predictive block may be a block found to be substantially consistent with the block being encoded, in terms of pixel difference, which may be determined by SAD, SSD, or other difference measurements, and the block determination may include calculating values ​​for sub-integer pixel positions.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">After the prediction processing unit 41 generates prediction blocks for the current video block via intra-prediction, inter-prediction, or IBC, the video encoder forms a residual video block 20 by subtracting the prediction block from the current video block. The residual video data may be embedded in one or more transformation units and applied to the transformation processing unit 52. The transformation processing unit 52 transforms the residual video data into residual transformation coefficients using a transformation, such as the discrete cosine transform (DCT) or a conceptually similar transformation. The transformation processing unit 52 may transform the residual video data from a pixel domain to a transformation domain, e.g., a frequency domain.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The transformation processing unit 52 may send the resulting transformation coefficients to the quantization unit 54. The quantization unit 54 quantizes the transformation coefficients to further reduce the bit rate. The quantization process may reduce the bit depth associated with some or all of the coefficients. The degree of quantization may be adjusted by adjusting a quantization variable. In some examples, the quantization unit 54 may then scan the array comprising the quantized transformation coefficients. Alternatively, the entropy coding unit 56 may perform the scan.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">After quantization, the entropy coding unit 56 encodes the quantized transformation coefficients. For example, the entropy coding unit 56 may perform context-adaptive variable length coding (CAVLC), context-adaptive binary arithmetic coding (CABAC), syntax-based context-adaptive binary arithmetic coding (SBAC), probability interval partitioning entropy (PIPE), or another entropy encoding method. Following entropy coding by the entropy coding unit 56, the encoded bitstream may be transmitted to the video decoding facility 30 or archived for subsequent transmission or retrieval by the video decoding facility. The entropy coding unit 56 may further encode motion vectors and other linguistic elements specific to the current video segment being encoded.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The inverse quantization processing unit 58 and the inverse transformation unit 60 apply inverse quantization and inverse transformation, respectively, to reconstruct the residual block in the pixel range for subsequent use as a reference block for a reference image. The motion compensation unit 44 may calculate a reference block by adding a residual block to the prediction block for a reference image in one of the reference image lists. The motion compensation unit 44 may also apply one or more interpolation filters to the reconstructed residual block to calculate sub-integer pixel values ​​for use in motion estimation. The summation unit 62 adds the reconstructed residual block to the motion-compensated prediction block produced by the motion compensation unit 44 to produce a reconstructed block.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The filter unit 64 can filter the reconstructed block (e.g., the output of the pooling unit 62) and store the filtered reconstructed block in the DPB 66 for use as a reference block. The reference block can be used by the motion estimation unit 42 and the motion compensation unit 44 as a reference block for interprediction of a block in a subsequent video or image frame. The filter unit 64 can apply one or more block detuning filters, sample adaptive offset (SAO) filtering, adaptive loop filtering (ALF), or other types of loop filtering. The filter unit 64 can apply block detuning filtering to the boundaries of the filter block to remove block artifacts from the reconstructed video and can apply other types of filtering to improve the overall encoding quality. Additional loop filters (in-loop or post-loop) can be used.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video encoder 20 is an example, but not the only one, of a video encoder that can perform the methods of the present disclosure. The video encoder 20, for example, an IBC module 48, can encode a segment of video data as an I-segment. The video encoder 20, for example, can perform multiple encoding passes of the encoded video sequence and determine that encoding the segment as an I-segment provides desirable encoding properties, such as a desirable rate-distortion trade-off. With respect to the segment, the video encoder 20, for example, an IBC module 48 and an entropy coding module 56, can further generate an IBC linguistic construct element to indicate that the IBC mode is enabled for the segment. With respect to the chip, the video encoder 20, for example, the IBC module 48, can encrypt at least one block of the chip using an IBC pattern, and the video encoder 20, for example, the internal prediction processing unit 46 can encrypt at least one block of the chip using an internal pattern. The video encoder 20, for example, the entropy coding module 56, can include an IBC linguistic formulation element in the SPS.<h2 style=";text-align:left;direction:ltr">In response to determining that a number of reference images in a video data chip's reference image list is equal to and in response to an IBC mode being enabled for the chip, the video encoder 20 may be configured, e.g., the prediction processing unit 41 may disable modification of the reference image list. In disabling modification of the reference image list, the video encoder 20 may include modification information of the chip's reference image list in an encoded bit stream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 4 is a rectangular diagram illustrating an illustrative video decoding method 30 that can implement the methods described in the present disclosure. In the example shown in Figure 4, the video decoding method 30 includes a video data memory 78, an entropy decoding unit 80, a prediction processing unit 81, an inverse quantization unit 86, an inverse transform unit 88, an aggregator unit 90, a filter unit 92, and a DPB 94. The prediction processing unit 81 includes a motion compensation unit 82, an internal prediction processing unit 84, and an IBC unit 85. The video decoding method 30 can, in some examples, perform a generally inverse decoding pass with respect to the encoding pass described with respect to the video encoder 20 in Figure 3.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">During the decoding process, the video decoding device 30 receives an encrypted video bitstream representing the video blocks of the encrypted video segment and related syntax elements from the video decoder 20. The video decoding device 30 stores the received encrypted video bitstream in the video data memory 78. The video data storage memory 78 may store the video data and the encrypted video bitstream to be decoded by components of the video decoding device 30. The video data stored in the video data memory 78 may be obtained, for example, via the link 16, from the storage device 26 or from a local video source, such as a camera, by accessing physical data storage media. The video data memory 78 may be a coded picture buffer (CPB) that stores encrypted video data from the encrypted video bitstream. The DPB 94 may be a reference picture memory that stores reference video data that is used in decoding the video data by the video decoding device 30, for example, in inter- or inter-coding modes.<h2 style=";text-align:left;direction:ltr">The video data memory 78 and the DPB 94 may be formed by any combination of memory means or other types of memory means. The video data memory 78 and the DPB 94 may be provided by the same memory means or by separate memory means. In various examples, the video data memory 78 may be on-chip with other components of the video decoding method 30, or off-chip relative to such components.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The entropy decoder 80 of the video decoder 30 entropically decodes the video data stored in the video data memory 78, generating quantized coefficients, motion vectors, and other syntax elements. The entropy decoder 80 transmits the motion vectors and other syntax elements to the prediction processing unit 81. The video coding parser 30 may receive syntax elements at the video chip level and / or the video block level.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">When a video segment is encoded as an intra-coded (I) segment, the intra-prediction processing unit 84 of the prediction processing unit 81 may generate video block prediction data for the current video segment based on a referenced intra-prediction pattern and data from previously decoded blocks of the current frame or image. When a video frame is encoded as an inter-coded segment, the motion compensation unit 82 of the processing unit 81 produces video block prediction blocks for the current video segment based on motion vectors and other syntax elements received from the entropy decoder unit 80. The prediction blocks may be generated from one of the reference images in a list of reference image lists. The video decoding facility 30 may generate the reference frame lists, List 0 and List 1, using default generation methods based on the reference images stored in the DPB 94.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The motion compensation unit 82 and / or the IBC unit 85 determine video block prediction information for the current video segment by analyzing motion vectors and other syntax elements, and uses the prediction information to produce prediction blocks specific to the current video block being decoded. For example, the motion compensation unit 82 uses some of the received syntax elements to determine a prediction pattern (e.g., intraprediction, interprediction, or IBC) to be used to encode the video blocks of the video segment, an interprediction block type, the generation information for one or more reference image lists for each segment, the motion vectors for each intercoded video block of the segment, the interprediction state for each intercoded video block of the segment, and other information for decoding the video blocks of the current video segment.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The motion compensation module 82 and / or the IBC module 85 may also perform inference based on interpolation filters. The motion compensation module 82 and / or the IBC module 85 may use interpolation filters as used by the video encoder 20 during the encoding of video blocks to calculate interpolated values ​​for pixels below the correct number of reference blocks. In this case, the motion compensation module 82 and / or the IBC module 85 may determine the inference filters used by the video encoder 20 from the received syntax elements and use the inference filters to produce predictive blocks.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The inverse quantization unit 86 inversely quantizes, i.e., dequantizes, the quantized transformation coefficients supplied in the data stream and decoded by the entropy decoder unit 80. The inverse quantization process may include using a quantization variable QPY computed by the video encoder 20 for each video block in the video segment to determine the degree of quantization and, similarly, the degree of inverse quantization to be applied. The inverse transformation processing unit 88 applies an inverse transformation, e.g., an inverse discrete cosine transform, an inverse integer transform, or a conceptually similar inverse transformation process, to transform the coefficients to produce residual blocks in pixel range.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">After the prediction processing unit generates the predictive block for the current video block using, for example, intra- or inter-prediction, the video decoding facility 30 forms a reconstructed video block by calculating the product of the residual blocks from the inverting processing unit 88 using the corresponding predictive block generated by the motion compensation unit 82. The summation unit 90 represents a component or components that perform the indicated summation. The filtering unit 92 filters the reconstructed video block, for example, by one or more block decoding filters, SAO filters, ALF filters, or other types of filters. Other loop filters may also be used (either in the encoding loop or after the encoding loop) to smooth pixel transitions or improve video quality. The decoded video blocks in a given frame or image are then stored in the DPB 94, which stores reference images used for subsequent motion compensation. The DPB 94 can be part of or separate from additional memory that stores decoded video for later presentation on a display device, such as the display device 32 shown in Figure 1.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video decoding device 30 is an example, but not the only one, of a video decoding device that can perform the methods of the present disclosure. The video decoding device 30, such as the video data memory 78 and the entropy decoding unit 80, can receive a segment of video data. The video decoding device 30, such as the entropy decoding unit 80 and the prediction processing unit 81, can analyze an IBC syntax element to determine that an IBC mode is activated for the segment. The video decoder 30, for example, the entropy decoder 80 and the prediction processing unit 81, may analyze a linguistic syntax element of the chip type associated with the chip to determine that the chip is an I chip. The video decoder 30, for example, the interprediction processing unit 84 and the IBC unit 85, may decode the chip as an I chip. To decode the chip as an I chip, the video decoder 30 may decode the chip blocks using only the interprediction and without using an interprediction pattern or an IBC pattern.<h2 style=";text-align:left;direction:ltr">The video decoding method 30, for example, the entropy decoding unit 80, can receive the IBC linguistic format element in the SPS. To perform the IBC of at least one block of the chip, the video decoding method 30, for example, the IBC unit 85, can use the current image comprising the chip as a reference image.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The video decoder 30, for example, the prediction processing unit and the DPB 94, may, for example, generate a reference image list specific to the video data segment. The number of images included in the reference image list may be based on the IBC that is activated. The video decoder 30, for example, the prediction processing unit 81, may generate a reference image list specific to the video data segment. In response to the activation of the IBC mode, the video decoder 30, for example, the prediction processing unit and the DPB 94, may add the image containing the segment to the reference image list.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video decoder 30, for example, the entropy decoder 80 and the prediction processing unit 81, may receive a syntax element indicating a number of reference images in a reference image list for the video data segment. In response to the syntax element indicating that the number of reference images in the reference image list for the video data segment is equal to one and in response to the activation of an IBC mode for the segment, the video decoder 30, for example, the prediction processing unit and the DPB 94, may generate a reference image list for the video data segment comprising a current image comprising the segment as the first entry in the reference image list.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The video decoder 30, for example, the entropy decoder 80 and the prediction processing unit 81, may receive a syntax element indicating a number of reference images in a reference image list for the video data segment. In response to the syntax element indicating that a number of reference images in a reference image list for the video data segment is equal to and in response to an IBC mode that is enabled for the segment, the video decoder 30 may be configured, for example, the prediction processing unit 81 may disable modification of the reference image list. In disabling modification of the reference image list, the video decoder 30, for example, the prediction processing unit 81, may generate the reference image list without receiving modification information for the reference image list.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 5 is a flowchart illustrating a method for encoding video data according to the methods of this disclosure. Figure 5 will be described with reference to a general video encoder. In the example referred to in Figure 5, the video encoder encodes a segment of video data as segment I (150). With respect to the segment, the video encoder can generate an IBC syntax element to indicate that the IBC mode is enabled for the segment (152). With respect to the segment, the video encoder can encode at least one block of the segment using an IBC mode, and can further encode at least one block of the segment using an internal mode. The video encoder can generate an IBC syntax element to embed an SPS associated with the segment. In response to determining that a number of reference images in a reference image list for a video data segment is equal to and in response to the IBC mode being enabled for the segment, the video encoder can disable modification of the reference image list. Under the disablement of RPL, the video encoder may not include chip-specific RPL information in the encoded bitstream.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 6 is a flowchart illustrating a method for encoding video data according to the methods of this disclosure. Figure 6 will be described by reference to a general video decoding method. The general video decoding method may correspond, for example, to the video decoding method 30, although the methods described in the present disclosure are not limited to any particular type of video decoding method. The video decoding method receives a segment of video data (160). The video decoding method analyzes an IBC linguistic formulation element to determine that an IBC pattern is applied for the segment (162). The video decoding method analyzes a linguistic formulation element associated with the segment to determine that the segment is an I-segment (164). The video decoding method decodes the segment as an I-segment (166). To decode the segment as an I-segment, the video decoding method may, for example, decode all blocks of the segment using internal prediction coding patterns. The video decoding method may receive the IBC linguistic formulation element in an SPS. To decode a chip as an I-chip, the video decoder decodes the chip blocks using only the internal prediction.<h2 style=";text-align:left;direction:ltr">In other words, to decode the slice as an I-slice, the video decoder 30 decodes the slice blocks without using an inter-prediction pattern and without using an IBC pattern.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The IBC could be, for example, the curr_pic_as_ref_enabled_flag described above. To parse the IBC to determine that the IBC mode is enabled for the slice, the video decoder could specify that the value of curr_pic_as_ref_enabled_flag is 1. The slice-type IBC could be, for example, the slice_type described above. To parse the slice-level IBC to determine that the slice is an I-slice, the video decoder could specify that the value of slice_type is 2.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">According to the example in Figure 6, the video decoder may further receive a segment of video data, or receive a syntax element indicating the number of reference images in a reference image list for the second segment of video data, and in response to the syntax element indicating the number of reference images in the reference image list for the second segment of video data that is equal to one in response to activation of the second segment's IBC mode, the video decoder may generate a reference image list for the second segment of video data that includes the current image containing the segment. In another example, the video decoder may receive a second segment of video data, generate a reference image list for the second segment of video data, and in response to activation of the IBC mode, add the image containing the second segment to the reference image list.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">Figure 7 is a flowchart illustrating a method for encoding video data according to the methods of this disclosure. Figure 7 will be described by reference to a general video decoding method. The methods of Figure 7 may be used in conjunction with the methods of Figure 6 or may be used independently. The general video decoding method may correspond, for example, to the video decoding method 30, although the methods described in the present disclosure are not limited to any particular type of video decoding method. The video decoding method receives a video data segment (170). The video decoding method receives a syntax element indicating a number of reference images in a reference image list for the video data segment (172). In response to the syntax element indicating that a number of reference images in a reference image list for the video data segment is equal to one and in response to an IBC mode that is activated for the second segment, the video decoding method may disable modification of the reference image list for the second segment's reference image list (174).<h2 style=";text-align:left;direction:ltr">To disable modification of the reference image list, the video decoder may, for example, create the reference image list without obtaining the reference image list modification information, and add the current image containing the slide as the first entry in the reference image list.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">In one or more examples, the described functions may be implemented in hardware, software, or firmware. When implemented in a program, the functions may be stored or transmitted as one or more instructions or code on a computer-readable medium and executed by a hardware-based processing unit. The computer-readable medium may include a computer-readable storage medium, which relates to a tangible medium such as a data storage medium, or a communications medium comprising a medium that facilitates the transmission of a computer program from one location to another, for example, in accordance with a communications protocol. In this manner, the computer-readable medium may generally relate to (1) a non-transitable tangible computer-readable storage medium or (2) a communications medium such as a signal or transmission wave. The data storage medium may be a medium accessible by one or more computers or one or more processors to retrieve instruction code and / or data structures for implementing the methods described in this disclosure. The computer software product may include a computer-readable medium.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">By way of example, such computer-readable storage media may include random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), optical disk storage, magnetic disk storage, flash memory, other magnetic storage devices, or any other medium that can be used to store desired program code in the form of instructions or data that can be accessed by a computer. Also, any communication may properly be called a computer-readable medium.<h2 style=";text-align:left;direction:ltr">For example, if instructions are transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, wireless, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, or microwave are included in the definition of medium. It should be understood, however, that computer-readable storage media and data storage media do not involve links, carrier waves, signals, or other transitional media, but are routed to tangible, nontransitional storage media. A disc, as used here, includes a compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray disc. Discs typically reproduce data magnetically, whereas disks reproduce data optically with lasers. Combinations of the above elements should also be included in the scope of computer-readable media.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> The instructions may be executed by one or more processors, including fixed-function and / or programmable processing circuitry, such as one or more digital signal processors (DSPs), general-purpose microprocessors, application-specific integrated circuits (ASICs), field-programmable logic arrays (FPGAs), or other equivalent hidden or integrated logic circuitry. Accordingly, the term "processor," as used herein, may refer to any prior or other architecture for implementing the methods described herein. In addition, in some aspects, the functionality described herein may be provided in dedicated hardware and / or software modules configured for encoding or decoding or incorporated into embedded code. Also, the methods must be implemented entirely in one or more circuits or logic elements.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr">The methods of this disclosure can be implemented in a variety of devices or means, including a wireless headset, an integrated circuit (IC), or a plurality of ICs (e.g., a chipset). The multiple modules or components described in this disclosure are described to demonstrate functional aspects of devices configured to implement the disclosed methods but do not necessarily require realization by different hardware modules. Alternatively, as described above, the multiple modules may be combined into a codec device module or served by a plurality of interoperable device modules, including one or more processors as described above, with appropriate firmware and / or software.<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> Multiple examples are illustrated. These and other examples are within the scope of the following safeguards.

Claims

Protection elements<h1 style=";text-align:left;direction:ltr"> 1 - A method for decoding video data, the method includes: receiving a first slice of a current image of video data;<h1 style=";text-align:left;direction:ltr"> Receive a syntax element indicating the number of reference pictures in a list of reference pictures for the first slice of video data;<h1 style=";text-align:left;direction:ltr"> Specifies that intra block copy (IBC) mode is enabled for the first slice; and <h1 style=";text-align:left;direction:ltr"> Specify that the number of reference pictures in the reference picture list is equal to 1: Specify that information related to modifying the reference picture list is not referenced in the video data;<h1 style=";text-align:left;direction:ltr"> ​In response to the number of reference pictures in the reference picture list being 1, specifying that intra block copy (IBC) is enabled for the first slice, specifying that information related to modifying the reference picture list is not referenced in the video data, adding the current picture comprising the first slice to the reference picture list while creating the reference picture list.<h1 style=";text-align:left;direction:ltr"> <h1 style=";text-align:left;direction:ltr"> 2 - The method according to claim 1, further comprising: responding to a determination that the number of reference pictures in the reference picture list has a value equal to 1, adding the current picture comprising the first slice as the first entry in the reference picture list.<h1 style=";text-align:left;direction:ltr"> <h1 style=";text-align:left;direction:ltr"> 3 - The method according to claim 1, further comprising: <h1 style=";text-align:left;direction:ltr"> Receive a second slice from an existing image of video data;<h1 style=";text-align:left;direction:ltr"> ​Analyze the syntax element of an intra block copy (IBC) pattern to determine that the intra block copy (IBC) pattern is activated for the second slice;<h1 style=";text-align:left;direction:ltr"> Analyze a syntax element of type slice associated with the second slice to determine that the second slice is slice I;<h1 style=";text-align:left;direction:ltr"> Decoding the second slice as slice I, wherein decoding the second slice as slice I comprises decoding all blocks of the second slice using at least one internal prediction coding pattern, wherein the IBC syntax element comprises a syntax element curr_pic_as_ref_enabled_flag, and wherein parsing the syntax element of an intra block copy (IBC) pattern to determine that the intra block copy (IBC) pattern is enabled for the second slice comprises setting the value of the syntax element curr_pic_as_ref_enabled_flag equal to 1.<h1 style=";text-align:left;direction:ltr"> <h1 style=";text-align:left;direction:ltr"> ​4 - The method according to protection element 3, wherein the decryption of the second slice as slice I comprises decrypting the blocks of the second slice using only intra prediction.<h1 style=";text-align:left;direction:ltr"> <h1 style=";text-align:left;direction:ltr"> 5 - The method according to protection element 3, wherein decrypting the second slice as slice I comprises decrypting the blocks of the second slice without using an inter prediction pattern and without using an intra block copy (IBC) pattern.<h1 style=";text-align:left;direction:ltr"> <h1 style=";text-align:left;direction:ltr"> 6- The method according to claim 3, wherein the syntax element of the slice type includes a syntax element slice_type, and wherein parsing the syntax element of the slice type associated with the second slice to determine that the second slice is slice I includes determining that the value of the syntax element slice_type is equal to 2.<h1 style=";text-align:left;direction:ltr"> 7- A method for decoding video data, the method includes: <h1 style=";text-align:left;direction:ltr"> Memory formatted for storing video data; and <h1 style=";text-align:left;direction:ltr"> ​One or more processors configured to: receive a first slice of a current image of video data;<h1 style=";text-align:left;direction:ltr"> Receive a syntax element indicating the number of reference pictures in a list of reference pictures in the first slice of video data;<h1 style=";text-align:left;direction:ltr"> Specifies that intra block copy (IBC) mode is enabled for the first slice;<h1 style=";text-align:left;direction:ltr"> Specify that the number of the reference picture in the reference picture list is equal to 1;<h1 style=";text-align:left;direction:ltr"> Specify that information associated with modifying the reference picture list is not referenced in the video data; and <h1 style=";text-align:left;direction:ltr"> ​In response to the number of reference pictures in the reference picture list being equal to 1, specifying that IBC mode is enabled for the first slice, specifying that information related to modifying the reference picture list is not referenced in the video data, adding the current picture comprising the first slice to the reference picture list while creating the reference picture list.<h1 style=";text-align:left;direction:ltr"> <h1 style=";text-align:left;direction:ltr"> 8 - The device according to claim 7, wherein the one or more processors are also configured to: <h1 style=";text-align:left;direction:ltr"> Response: Determines that the number of reference pictures in the reference picture list is equal to 1, adding the current picture containing the first slice as the first entry in the reference picture list.<h1 style=";text-align:left;direction:ltr"> <h1 style=";text-align:left;direction:ltr"> 9 - The device according to claim 7, wherein the one or more processors are also configured to:<h1 style=";text-align:left;direction:ltr"> Receive a second slice from an existing image of video data;<h1 style=";text-align:left;direction:ltr"> ​Analyze an IBC syntax element to determine that the IBC pattern is activated for the second slice;<h1 style=";text-align:left;direction:ltr"> Analyze a syntax element of type slice associated with the second slice to determine that the second slice is slice I;<h1 style=";text-align:left;direction:ltr"> Decoding the second slice as slice I, wherein, in order to decode the second slice as slice I, the one or more processors are also configured to decode all blocks of the second slice using at least one internal prediction coding pattern, wherein the IBC syntax element includes a syntax element curr_pic_as_ref_enabled_flag, and wherein, in order to parse the IBC syntax element to determine that IBC is enabled for the second slice, the one or more processors are also configured to determine that the value of the syntax element curr_pic_as_ref_enabled_flag is equal to 1.<h1 style=";text-align:left;direction:ltr"> <h1 style=";text-align:left;direction:ltr"> ​10 - The device according to security element 9, wherein in order to decrypt the second slice as slice I, the one or more processors are also configured to decrypt the blocks of the second slice using intra prediction only.<h1 style=";text-align:left;direction:ltr"> <h1 style=";text-align:left;direction:ltr"> 11 - The device according to protection element 9, wherein in order to decode the second slice as slice I, the one or more processors are also configured to decode the blocks of the second slice without using an inter prediction mode and without using the IBC mode.<h1 style=";text-align:left;direction:ltr"> <h1 style=";text-align:left;direction:ltr"> 12 - The device according to claim 9, wherein the slice syntax element includes a slice_type syntax element, and wherein in order to parse the slice syntax element associated with the second slice to determine that the second slice is slice I, the one or more processors are further configured to determine that the slice_type syntax element has a value of 2.<h1 style=";text-align:left;direction:ltr"> ​13 - The device according to claim 7, wherein the device comprises at least one of:<h1 style=";text-align:left;direction:ltr"> integrated circuit<h1 style=";text-align:left;direction:ltr"> microprocessor; or<h1 style=";text-align:left;direction:ltr"> A wireless communication device that includes a receiver configured to receive encoded video data.<h1 style=";text-align:left;direction:ltr"> <h1 style=";text-align:left;direction:ltr"> 14 - A device for decoding video data, the device includes:<h1 style=";text-align:left;direction:ltr"> A means of receiving a first slice of an existing image of video data;<h1 style=";text-align:left;direction:ltr"> A means of receiving a syntax element indicating the number of reference pictures in a list of reference pictures for the first slice of video data;<h1 style=";text-align:left;direction:ltr"> A means of specifying that intra block copy (IBC) mode is enabled for the first slice;<h1 style=";text-align:left;direction:ltr"> A way to specify that the number of reference pictures in a reference picture list is equal to 1; <h1 style=";text-align:left;direction:ltr"> ​​​​​A means of determining that information associated with modifying the reference picture list is not referenced in the video data; and<h1 style=";text-align:left;direction:ltr"> A means of adding the current image containing the slice to the reference picture list while creating the reference picture list in response to the number of reference pictures in the reference picture list being equal to 1, specifying that IBC mode is activated for the first slice, and specifying that information associated with modifying the reference picture list is not referenced in the video data.<h1 style=";text-align:left;direction:ltr"> <h1 style=";text-align:left;direction:ltr"> 15 - The apparatus according to claim 14, further comprising: responding to a determination that the number of reference pictures in the reference picture list has a value equal to 1, a means for adding the current picture comprising the first slice as the first entry in the reference picture list.<h1 style=";text-align:left;direction:ltr"> <h1 style=";text-align:left;direction:ltr"> 16 - The apparatus according to claim 14, further comprising:<h1 style=";text-align:left;direction:ltr"> ​A means of receiving a second slice of an existing image of video data;<h1 style=";text-align:left;direction:ltr"> A means of analyzing an IBC syntax element to determine that the IBC pattern is activated for the second slice;<h1 style=";text-align:left;direction:ltr"> A means of analyzing a syntax element of type slice associated with a second slice to determine that the second slice is slice I;<h1 style=";text-align:left;direction:ltr"> A means of decoding the second slice as slice I, wherein the means of decoding the second slice as slice I include a means of decoding all blocks of the second slice using at least one internal prediction coding pattern, wherein the IBC syntax element includes a syntax element curr_pic_as_ref_enabled_flag, and wherein the means of parsing the IBC syntax element to determine that the IBC pattern is enabled for the second slice include a means of setting the value of the syntax element curr_pic_as_ref_enabled_flag to 1.<h1 style=";text-align:left;direction:ltr"> <h1 style=";text-align:left;direction:ltr"> ​17 - A non-transitory, computer readable storage medium that stores instructions which, when executed by one or more processors, cause the one or more processors to do the following:<h1 style=";text-align:left;direction:ltr"> Receive a first slice of an existing image of video data;<h1 style=";text-align:left;direction:ltr"> Receive a syntax element indicating the number of reference pictures in a list of reference pictures in the first slice of video data;<h1 style=";text-align:left;direction:ltr"> Specifies that intra block copy (IBC) mode is enabled for the first slice;<h1 style=";text-align:left;direction:ltr"> Specify that the number of the reference picture in the reference picture list is equal to 1;<h1 style=";text-align:left;direction:ltr"> Specify that information associated with modifying the reference picture list is not referenced in the video data; and <h1 style=";text-align:left;direction:ltr"> ​In response to the number of reference pictures in the reference picture list being equal to 1, specifying that IBC mode is enabled for the first slice, specifying that information related to modifying the reference picture list is not referenced in the video data, adding the current picture comprising the first slice to the reference picture list while creating the reference picture list.<h1 style=";text-align:left;direction:ltr"> <h1 style=";text-align:left;direction:ltr"> 18- The non-transitory, computer readable storage medium of claim 17 further stores instructions that, when executed by the one or more processors, cause the one or more processors to: respond to a determination that the number of reference pictures in the reference picture list is 1, add the current picture comprising the first slice as the first entry in the reference picture list.<h1 style=";text-align:left;direction:ltr"> <h1 style=";text-align:left;direction:ltr"> ​19 - The non-transitory, computer readable storage medium of claim 17 further stores instructions that, when executed by one or more processors, cause the one or more processors to: receive a second slice of video data;<h1 style=";text-align:left;direction:ltr"> Analyze an IBC syntax element to determine that the IBC pattern is activated for the second slice;<h1 style=";text-align:left;direction:ltr"> Analyze a syntax element of type slice associated with the second slice to determine that the second slice is slice I;<h1 style=";text-align:left;direction:ltr"> ​Decode the second slice as slice I, wherein, in order to decode the second slice as slice I, all blocks of the second slice are decoded using at least one internal prediction coding pattern, wherein the IBC syntax element includes a syntax element curr_pic_as_ref_enabled_flag, and wherein, in order to parse the IBC syntax element to determine that IBC is enabled for the second slice, the instructions cause one or more processors to determine that the value of the syntax element curr_pic_as_ref_enabled_flag is equal to 1.