WO2020150535A1 - Procédé et appareil de déduction de modèle linéaire pour un codage vidéo - Google Patents

Procédé et appareil de déduction de modèle linéaire pour un codage vidéo Download PDF

Info

Publication number
WO2020150535A1
WO2020150535A1 PCT/US2020/013965 US2020013965W WO2020150535A1 WO 2020150535 A1 WO2020150535 A1 WO 2020150535A1 US 2020013965 W US2020013965 W US 2020013965W WO 2020150535 A1 WO2020150535 A1 WO 2020150535A1
Authority
WO
WIPO (PCT)
Prior art keywords
sample
neighboring samples
samples
parameters
referred
Prior art date
Application number
PCT/US2020/013965
Other languages
English (en)
Inventor
Yi-Wen Chen
Xianglin Wang
Xiaoyu XIU
Original Assignee
Beijing Dajia Internet Information Technology Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co., Ltd. filed Critical Beijing Dajia Internet Information Technology Co., Ltd.
Priority to CN202080016731.9A priority Critical patent/CN113491130B/zh
Publication of WO2020150535A1 publication Critical patent/WO2020150535A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/117Filters, e.g. for pre-processing or post-processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/167Position within a video image, e.g. region of interest [ROI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/186Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component

Definitions

  • the present application generally relates to video coding and compression, and in particular but not limited to, methods and apparatus for generating a prediction signal using a linear model in video coding.
  • Digital video is supported by a variety of electronic devices, such as digital televisions, laptop or desktop computers, tablet computers, digital cameras, digital recording devices, digital media players, video gaming consoles, smart phones, video teleconferencing devices, video streaming devices, etc.
  • the electronic devices transmit, receive, encode, decode, and/or store digital video data by implementing video compression/decompression.
  • Digital video devices implement video coding techniques, such as those described in the standards defined by Versatile Video Coding (VVC), Joint Exploration Test Model (JEM), MPEG-2, MPEG-4, ITU-T H.263, ITU-T H.264/MPEG-4, Part 10, Advanced Video Coding (AVC), ITU-T H.265/High Efficiency Video Coding (HEVC), and extensions of such standards.
  • VVC Versatile Video Coding
  • JEM Joint Exploration Test Model
  • MPEG-2 Joint Exploration Test Model
  • MPEG-4 Joint Exploration Test Model
  • ITU-T H.263, ITU-T H.264/MPEG-4 Part 10, Advanced Video Cod
  • Video coding generally utilizes prediction methods (e.g., inter-prediction, intra- prediction) that take advantage of redundancy present in video images or sequences.
  • prediction methods e.g., inter-prediction, intra- prediction
  • An important goal of video coding techniques is to compress video data into a form that uses a lower bit rate, while avoiding or minimizing degradations to video quality. With ever-evolving video services becoming available, encoding techniques with better coding efficiency are needed.
  • Video compression typically includes performing spatial (intra frame) prediction and/or temporal (inter frame) prediction to reduce or remove redundancy inherent in the video data.
  • a video frame is partitioned into one or more slices, each slice having multiple video blocks, which may also be referred to as coding tree units (CTUs).
  • Each CTU may contain one coding unit (CU) or recursively split into smaller CUs until the predefined minimum CU size is reached.
  • Each CU also named leaf CU
  • TUs transform units
  • PUs prediction units
  • Each CU can be coded in intra, inter or IBC modes.
  • Video blocks in an intra coded (I) slice of a video frame are encoded using spatial prediction with respect to reference samples in neighbor blocks within the same video frame.
  • Video blocks in an inter coded (P or B) slice of a video frame may use spatial prediction with respect to reference samples in neighbor blocks within the same video frame or temporal prediction with respect to reference samples in other previous and/or future reference video frames.
  • the process of finding the reference block may be accomplished by block matching algorithm.
  • Residual data representing pixel differences between the current block to be coded and the predictive block is referred to as a residual block or prediction errors.
  • An inter-coded block is encoded according to a motion vector that points to a reference block in a reference frame forming the predictive block, and the residual block. The process of determining the motion vector is typically referred to as motion estimation.
  • An intra coded block is encoded according to an intra prediction mode and the residual block.
  • the residual block is transformed from the pixel domain to a transform domain, e.g., frequency domain, resulting in residual transform coefficients, which may then be quantized.
  • the quantized transform coefficients initially arranged in a two-dimensional array, may be scanned to produce a one-dimensional vector of transform coefficients, and then entropy encoded into a video bitstream to achieve even more compression.
  • the encoded video bitstream is then saved in a computer-readable storage medium (e.g., flash memory) to be accessed by another electronic device with digital video capability or directly transmitted to the electronic device wired or wirelessly.
  • the electronic device then performs video decompression (which is an opposite process to the video compression described above) by, e.g., parsing the encoded video bitstream to obtain syntax elements from the bitstream and reconstructing the digital video data to its original format from the encoded video bitstream based at least in part on the syntax elements obtained from the bitstream, and renders the reconstructed digital video data on a display of the electronic device.
  • video decompression which is an opposite process to the video compression described above
  • JVET Joint Video Experts Team
  • VVC Versatile Video Coding
  • VTM1 VVC Test Model 1
  • this disclosure describes examples of techniques relating to generation of prediction signals using linear models in video coding.
  • a method for video coding including: deriving prediction parameters a and b, using neighboring reconstructed chroma samples and their referred samples, by a parameter deriving process; and determining whether Local Illumination Compensation (LIC) mode is applied to a current Coding Unit (CU), and upon determining that the LIC mode is applied, deriving parameters a2 and b2 for the LIC by execution of the parameter deriving process, and obtaining a final LIC predictor based on equation: where a2 and b2 are instances of the parameters a and b; pred ⁇ (i, j) represents LIC predicted samples in the current CU; and rec'' ⁇ (i, j) represents reference samples in a reference picture of the current CU.
  • LIC Local Illumination Compensation
  • an apparatus for video coding including: a processor; and a memory configured to store instructions executable by the processor; where the processor, upon execution of the instructions, is configured to: derive prediction parameters a and b, using neighboring reconstructed chroma samples and their referred samples, by a parameter deriving process; and determine whether Local Illumination Compensation (LIC) mode is applied to a current Coding Unit (CU), and upon determining that the LIC mode is applied, derive parameters a2 and b2 for the LIC by execution of the parameter deriving process, and obtain a final LIC predictor based on equation: where a2 and b2 are instances of the parameters a and b; p red ⁇ (i, j) represents LIC predicted samples in the current CU; and rec'' ⁇ (i, j) represents reference samples in a reference picture of the current CU.
  • LIC Local Illumination Compensation
  • a non-transitory computer readable storage medium including instructions stored therein, where, upon execution of the instructions by a processor, the instructions cause the processor to: derive prediction parameters a and b, using neighboring reconstructed chroma samples and their referred samples, by a parameter deriving process; and determine whether Local Illumination Compensation (LIC) mode is applied to a current Coding Unit (CU), and upon determining that the LIC mode is applied, derive parameters a2 and b2 for the LIC by execution of the parameter deriving process, and obtain a final LIC predictor based on equation:
  • LIC Local Illumination Compensation
  • pred ⁇ (i, j) represents LIC predicted samples in the current CU; and represents reference
  • FIG. 1 is a block diagram illustrating an exemplary video encoding and decoding system in accordance with some implementations of the present disclosure.
  • FIG. 2 is a block diagram illustrating an exemplary video encoder in accordance with some implementations of the present disclosure.
  • FIG. 3 is a block diagram illustrating an exemplary video decoder in accordance with some implementations of the present disclosure.
  • FIG. 4 is a schematic diagram illustrating luma and chroma pixel sampling grids for yuv 4:2:0 format in accordance with some implementations of the present disclosure.
  • FIG. 5 is a schematic diagram illustrating locations of samples used for derivation of parameters a1 and b1 in a cross-component linear model (CCLM) prediction mode in accordance with some implementations of the present disclosure.
  • CCLM cross-component linear model
  • FIG. 6 is a schematic diagram illustrating straight line derivation of a1 and b1 using a min-Max method in accordance with some implementations of the present disclosure.
  • FIG.7 is a schematic diagram illustrating LM_A mode for derivation of a1 and b1 in accordance with some implementations of the present disclosure.
  • FIG.8 is a schematic diagram illustrating LM_L mode for derivation of a1 and b1 in accordance with some implementations of the present disclosure.
  • FIG. 9 is a schematic diagram illustrating luma and chroma pixel sampling grids for yuv 4:2:2 format in accordance with some implementations of the present disclosure.
  • FIG. 10 is a schematic diagram illustrating luma and chroma pixel sampling grids for yuv 4:4:4 format in accordance with some implementations of the present disclosure.
  • FIG.11 is a schematic diagram illustrating neighboring samples used for derivation of parameters a2 and b2 in a local illumination compensation (LIC) mode in accordance with some implementations of the present disclosure.
  • LIC local illumination compensation
  • FIG. 12 is a schematic diagram illustrating an example of sample selection for derivation of CCLM/LIC parameters in accordance with some implementations of the present disclosure.
  • FIG. 13 is a schematic diagram illustrating an example of sample selection for derivation of CCLM/LIC parameters in accordance with some implementations of the present disclosure.
  • FIG. 14 is a schematic diagram illustrating an example of sample selection for derivation of CCLM/LIC parameters in accordance with some implementations of the present disclosure.
  • FIG. 15 is a schematic diagram illustrating an example of sample selection for derivation of CCLM/LIC parameters in accordance with some implementations of the present disclosure.
  • FIG. 16 is a schematic diagram illustrating an example of sample selection for derivation of CCLM/LIC parameters in accordance with some implementations of the present disclosure.
  • FIG. 17 is a schematic diagram illustrating an example of sample selection for derivation of CCLM/LIC parameters in accordance with some implementations of the present disclosure.
  • FIG. 18 is a schematic diagram illustrating an example of sample selection for derivation of CCLM/LIC parameters in accordance with some implementations of the present disclosure.
  • FIG. 19 is a schematic diagram illustrating an example of sample selection for derivation of CCLM/LIC parameters in accordance with some implementations of the present disclosure.
  • FIG. 20 is a block diagram illustrating an exemplary apparatus for video coding in accordance with some implementations of the present disclosure.
  • FIG.21 is a flowchart illustrating an exemplary process of video coding for generating prediction signals using linear models in accordance with some implementations of the present disclosure.
  • a“first,”“second,”“third,” and etc. are all used as nomenclature only for references to relevant elements, e.g. devices, components, compositions, steps, and etc., without implying any spatial or chronological orders, unless expressly specified otherwise.
  • a“first device” and a“second device” may refer to two separately formed devices, or two parts, components or operational states of a same device, and may be named arbitrarily.
  • module may include memory (shared, dedicated, or group) that stores code or instructions that can be executed by one or more processors.
  • a module may include one or more circuits with or without stored code or instructions.
  • the module or circuit may include one or more components that are directly or indirectly connected. These components may or may not be physically attached to, or located adjacent to, one another.
  • a unit or module may be implemented purely by software, purely by hardware, or by a combination of hardware and software.
  • the unit or module may include functionally related code blocks or software components, that are directly or indirectly linked together, so as to perform a particular function.
  • FIG. 1 is a block diagram illustrating an exemplary system 10 for encoding and decoding video blocks in accordance with some implementations of the present disclosure.
  • the system 10 includes a source device 12 that generates and encodes video data which is to be decoded at a later time by a destination device 14.
  • the source device 12 and the destination device 14 may be any of a wide variety of electronic devices, including desktop or laptop computers, tablet computers, smart phones, set-top boxes, digital televisions, cameras, display devices, digital media players, video gaming consoles, video streaming device, or the like.
  • the source device 12 and the destination device 14 are equipped with wireless communication capabilities.
  • the destination device 14 may receive the encoded video data to be decoded via a link 16.
  • the link 16 may be any type of communication medium or device capable of moving the encoded video data from the source device 12 to the destination device 14.
  • the link 16 may be a communication medium to enable the source device 12 to transmit the encoded video data directly to the destination device 14 in real-time.
  • the encoded video data may be modulated according to a communication standard, such as a wireless communication protocol, and transmitted to the destination device 14.
  • the communication medium may be any wireless or wired communication medium, such as a radio frequency (RF) spectrum or one or more physical transmission lines.
  • RF radio frequency
  • the communication medium 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 medium 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.
  • the encoded video data may be transmitted from an output interface 22 to a storage device 32. Subsequently, the encoded video data in the storage device 32 may be accessed by the destination device 14 via an input interface 28.
  • the storage device 32 may include any of a variety of distributed or locally accessed data storage media such as a hard drive, Blu-ray discs, DVDs, CD-ROMs, flash memory, volatile or non-volatile memory, or any other suitable digital storage media for storing encoded video data.
  • the storage device 32 may correspond to a file server or another intermediate storage device that may hold the encoded video data generated by the source device 12.
  • the destination device 14 may access the stored video data from the storage device 32 via streaming or downloading.
  • the file server may be any type of computer capable of storing encoded video data and transmitting the encoded video data to the destination device 14.
  • Exemplary file servers include a web server (e.g., for a website), an FTP server, network attached storage (NAS) devices, or a local disk drive.
  • the destination device 14 may access the encoded video data through any standard data connection, including a wireless channel (e.g., a Wi-Fi connection), a wired connection (e.g., DSL, cable modem, etc.), or a combination of both which is suitable for accessing encoded video data stored on a file server.
  • the transmission of the encoded video data from the storage device 32 may be a streaming transmission, a download transmission, or a combination of both.
  • the source device 12 includes a video source 18, a video encoder 20 and the output interface 22.
  • the video source 18 may include a source such as a video capture device, e.g., a video camera, a video archive containing previously captured video, a video feed interface to receive video from a video content provider, and/or a computer graphics system for generating computer graphics data as the source video, or a combination of such sources.
  • a video capture device e.g., a video camera, a video archive containing previously captured video, a video feed interface to receive video from a video content provider, and/or a computer graphics system for generating computer graphics data as the source video, or a combination of such sources.
  • the source device 12 and the destination device 14 may be camera phones or video phones.
  • the implementations described in the present disclosure may be applicable to video coding in general, and may be applied to wireless and/or wired applications.
  • the captured, pre-captured, or computer-generated video may be encoded by the video encoder 20.
  • the encoded video data may be transmitted directly to the destination device 14 via the output interface 22 of the source device 12.
  • the encoded video data may also (or alternatively) be stored onto the storage device 32 for later access by the destination device 14 or other devices, for decoding and/or playback.
  • the output interface 22 may further include a modem and/or a transmitter.
  • the destination device 14 includes an input interface 28, a video decoder 30, and a display device 34.
  • the input interface 28 may include a receiver and/or a modem and receive the encoded video data over the link 16.
  • the encoded video data communicated over the link 16, or provided on the storage device 32 may include a variety of syntax elements generated by the video encoder 20 for use by the video decoder 30 in decoding the video data. Such syntax elements may be included within the encoded video data transmitted on a communication medium, stored on a storage medium, or stored a file server.
  • the destination device 14 may include the display device 34, which may be an integrated display device or an external display device that is configured to communicate with the destination device 14.
  • the display device 34 displays the decoded video data to a user, and may be any of a variety 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.
  • LCD liquid crystal display
  • OLED organic light emitting diode
  • the video encoder 20 and the video decoder 30 may operate according to proprietary or industry standards, such as VVC, HEVC, MPEG-4, Part 10, Advanced Video Coding (AVC), or extensions of such standards. It should be understood that the present disclosure is not limited to a specific video coding/decoding standard and may be applicable to other video coding/decoding standards. It is generally contemplated that the video encoder 20 of the source device 12 may be configured to encode video data according to any of these current or future standards. Similarly, it is also generally contemplated that the video decoder 30 of the destination device 14 may be configured to decode video data according to any of these current or future standards.
  • the video encoder 20 and the video decoder 30 each may be implemented as any of a variety of suitable encoder circuitry, 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 combinations thereof.
  • DSPs digital signal processors
  • ASICs application specific integrated circuits
  • FPGAs field programmable gate arrays
  • an electronic device may store instructions for the software in a suitable, non-transitory computer-readable medium and execute the instructions in hardware using one or more processors to perform the video coding/decoding operations disclosed in the present disclosure.
  • Each of the video encoder 20 and the video decoder 30 may be included in one or more encoders or decoders, either of which may be integrated as part of a combined encoder/decoder (CODEC) in a respective device.
  • CDEC combined encoder/decoder
  • FIG. 2 is a block diagram illustrating an exemplary video encoder 20 in accordance with some implementations described in the present disclosure.
  • the video encoder 20 may perform intra and inter predictive coding of video blocks within video frames.
  • Intra predictive coding relies on spatial prediction to reduce or remove spatial redundancy in video data within a given video frame or picture.
  • Inter predictive coding relies on temporal prediction to reduce or remove temporal redundancy in video data within adjacent video frames or pictures of a video sequence.
  • the video encoder 20 includes a video data memory 40, a prediction processing unit 41, a decoded picture buffer (DPB) 64, a summer 50, a transform processing unit 52, a quantization unit 54, and an entropy encoding unit 56.
  • the prediction processing unit 41 further includes a motion estimation unit 42, a motion compensation unit 44, a partition unit 45, an intra prediction processing unit 46, an intra block copy (IBC) unit 48, and an intra/inter mode decision unit 49.
  • the video encoder 20 also includes an inverse quantization unit 58, an inverse transform processing unit 60, and a summer 62 for video block reconstruction.
  • a deblocking filter may be positioned between the summer 62 and the DPB 64 to filter block boundaries to remove blockiness artifacts from a reconstructed video.
  • An in loop filter 63 may also be used in addition to the deblocking filter to filter the output of summer 62.
  • the video encoder 20 may take the form of a fixed or programmable hardware unit or may be divided among one or more of the fixed or programmable hardware units.
  • the video data memory 40 may store video data to be encoded by the components of the video encoder 20.
  • the video data in the video data memory 40 may be obtained, for example, from the video source 18.
  • the DPB 64 is a buffer that stores reference video data for use in encoding video data by the video encoder 20 (e.g., in intra or inter predictive coding modes).
  • the video data memory 40 and DPB 64 may be any of a variety of memory devices.
  • the video data memory 40 may be on-chip with other components of the video encoder 20, or off-chip relative to those components.
  • the partition unit 45 within the prediction processing unit 41 partitions the video data into video blocks.
  • This partitioning may also include partitioning a video frame into slices, tiles, or other larger coding units (CUs) according to a predefined splitting structures such as quad-tree structure associated with the video data.
  • the video frame may be divided into multiple video blocks (or sets of video blocks referred to as tiles).
  • the prediction processing unit 41 may select one of a plurality of possible predictive coding modes, such as one of a plurality of intra predictive coding modes or one of a plurality of inter predictive coding modes, for the current video block based on error results (e.g., coding rate and the level of distortion).
  • the prediction processing unit 41 may provide the resulting intra or inter prediction coded block to the summer 50 to generate a residual block and to the summer 62 to reconstruct the encoded block for use as part of a reference frame subsequently.
  • the prediction processing unit 41 also provides syntax elements, such as motion vectors, intra-mode indicators, partition information, and other such syntax information, to the entropy encoding unit 56.
  • the intra prediction processing unit 46 within the prediction processing unit 41 may perform intra predictive coding of the current video block relative to one or more neighbor blocks in the same frame as the current block to be coded to provide spatial prediction.
  • the motion estimation unit 42 and the motion compensation unit 44 within the prediction processing unit 41 perform inter predictive coding of the current video block relative to one or more predictive blocks in one or more reference frames to provide temporal prediction.
  • the video encoder 20 may perform multiple coding passes, e.g., to select an appropriate coding mode for each block of the video data.
  • the motion estimation unit 42 determines the inter prediction mode for a current video frame by generating a motion vector, which indicates the displacement of a prediction unit (PU) of a video block within the current video frame relative to a predictive block within a reference video frame, according to a predetermined pattern within a sequence of video frames.
  • Motion estimation performed by the motion estimation unit 42, is the process of generating motion vectors, which estimate motion for video blocks.
  • a motion vector may indicate the displacement of a PU of a video block within a current video frame or picture relative to a predictive block within a reference frame (or other coded unit) relative to the current block being coded within the current frame (or other coded unit).
  • the predetermined pattern may designate video frames in the sequence as P frames or B frames.
  • the intra BC unit 48 may determine vectors, e.g., block vectors, for intra BC coding in a manner similar to the determination of motion vectors by the motion estimation unit 42 for inter prediction, or may utilize the motion estimation unit 42 to determine the block vector.
  • a predictive block is a block of a reference frame that is deemed as closely matching the PU of the video block to be coded in terms of pixel difference, which may be determined by sum of absolute difference (SAD), sum of square difference (SSD), or other difference metrics.
  • the video encoder 20 may calculate values for sub-integer pixel positions of reference frames stored in the DPB 64. For example, the video encoder 20 may interpolate values of one-quarter pixel positions, one-eighth pixel positions, or other fractional pixel positions of the reference frame. Therefore, the motion estimation unit 42 may perform a motion search relative to the full pixel positions and fractional pixel positions, and output a motion vector with fractional pixel precision.
  • the motion estimation unit 42 calculates a motion vector for a PU of a video block in an inter prediction coded frame by comparing the position of the PU to the position of a predictive block of a reference frame selected from a first reference frame list (e.g., List 0) or a second reference frame list (e.g., List 1), each of which identifies one or more reference frames stored in the DPB 64.
  • the motion estimation unit 42 sends the calculated motion vector to the motion compensation unit 44 and then to the entropy encoding unit 56.
  • Motion compensation performed by the motion compensation unit 44, may involve fetching or generating the predictive block based on the motion vector determined by the motion estimation unit 42.
  • the motion compensation unit 44 may locate a predictive block to which the motion vector points in one of the reference frame lists, retrieve the predictive block from the DPB 64, and forward the predictive block to the summer 50.
  • the summer 50 then forms a residual video block of pixel difference values by subtracting pixel values of the predictive block provided by the motion compensation unit 44 from the pixel values of the current video block being coded.
  • the pixel difference values forming the residual vide block may include luma or chroma difference components or both.
  • the motion compensation unit 44 may also generate syntax elements associated with the video blocks of a video frame for use by the video decoder 30 in decoding the video blocks of the video frame.
  • the syntax elements may include, for example, syntax elements defining the motion vector used to identify the predictive block, any flags indicating the prediction mode, or any other syntax information described herein. Note that the motion estimation unit 42 and the motion compensation unit 44 may be highly integrated, but they are illustrated separately for conceptual purposes.
  • the intra BC unit 48 may generate vectors and fetch predictive blocks in a manner similar to that described above in connection with the motion estimation unit 42 and the motion compensation unit 44, but with the predictive blocks being in the same frame as the current block being coded and with the vectors being referred to as block vectors as opposed to motion vectors.
  • the intra BC unit 48 may determine an intra-prediction mode to use to encode a current block.
  • the intra BC unit 48 may encode a current block using various intra-prediction modes, e.g., during separate encoding passes, and test their performance through rate-distortion analysis.
  • the intra BC unit 48 may select, among the various tested intra-prediction modes, an appropriate intra- prediction mode to use and generate an intra-mode indicator accordingly. For example, the intra BC unit 48 may calculate rate-distortion values using a rate-distortion analysis for the various tested intra-prediction modes, and select the intra-prediction mode having the best rate- distortion characteristics among the tested modes as the appropriate intra-prediction mode to use. Rate-distortion analysis generally determines an amount of distortion (or error) between an encoded block and an original, unencoded block that was encoded to produce the encoded block, as well as a bitrate (i.e., a number of bits) used to produce the encoded block. The intra BC unit 48 may calculate ratios from the distortions and rates for the various encoded blocks to determine which intra-prediction mode exhibits the best rate-distortion value for the block.
  • Rate-distortion analysis generally determines an amount of distortion (or error) between an encoded block and an original, unencoded block that was encoded
  • the intra BC unit 48 may use the motion estimation unit 42 and the motion compensation unit 44, in whole or in part, to perform such functions for intra BC prediction according to the implementations described herein.
  • a predictive block may be a block that is deemed as closely matching the block to be coded, in terms of pixel difference, which may be determined by sum of absolute difference (SAD), sum of squared difference (SSD), or other difference metrics, and identification of the predictive block may include calculation of values for sub-integer pixel positions.
  • the video encoder 20 may form a residual video block by subtracting pixel values of the predictive block from the pixel values of the current video block being coded, forming pixel difference values.
  • the pixel difference values forming the residual video block may include both luma and chroma component differences.
  • the intra prediction processing unit 46 may intra-predict a current video block, as an alternative to the inter-prediction performed by the motion estimation unit 42 and the motion compensation unit 44, or the intra block copy prediction performed by the intra BC unit 48, as described above.
  • the intra prediction processing unit 46 may determine an intra prediction mode to use to encode a current block. To do so, the intra prediction processing unit 46 may encode a current block using various intra prediction modes, e.g., during separate encoding passes, and the intra prediction processing unit 46 (or a mode select unit, in some examples) may select an appropriate intra prediction mode to use from the tested intra prediction modes.
  • the intra prediction processing unit 46 may provide information indicative of the selected intra-prediction mode for the block to the entropy encoding unit 56.
  • the entropy encoding unit 56 may encode the information indicating the selected intra-prediction mode in the bitstream.
  • the summer 50 forms a residual video block by subtracting the predictive block from the current video block.
  • the residual video data in the residual block may be included in one or more transform units (TUs) and is provided to the transform processing unit 52.
  • the transform processing unit 52 transforms the residual video data into residual transform coefficients using a transform, such as a discrete cosine transform (DCT) or a conceptually similar transform.
  • DCT discrete cosine transform
  • the transform processing unit 52 may send the resulting transform coefficients to the quantization unit 54.
  • the quantization unit 54 quantizes the transform coefficients to further reduce bit rate.
  • the quantization process may also reduce the bit depth associated with some or all of the coefficients.
  • the degree of quantization may be modified by adjusting a quantization parameter.
  • the quantization unit 54 may then perform a scan of a matrix including the quantized transform coefficients.
  • the entropy encoding unit 56 may perform the scan.
  • the entropy encoding unit 56 entropy encodes the quantized transform coefficients into a video bitstream using, e.g., 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) coding or another entropy encoding methodology or technique.
  • CAVLC context adaptive variable length coding
  • CABAC context adaptive binary arithmetic coding
  • SBAC syntax-based context- adaptive binary arithmetic coding
  • PIPE probability interval partitioning entropy
  • the encoded bitstream may then be transmitted to the video decoder 30, or archived in the storage device 32 for later transmission to or retrieval by the video decoder 30.
  • the entropy encoding unit 56 may also entropy encode the motion vectors and the other syntax elements for the current video frame being coded.
  • the inverse quantization unit 58 and the inverse transform processing unit 60 apply inverse quantization and inverse transformation, respectively, to reconstruct the residual video block in the pixel domain for generating a reference block for prediction of other video blocks.
  • the motion compensation unit 44 may generate a motion compensated predictive block from one or more reference blocks of the frames stored in the DPB 64.
  • the motion compensation unit 44 may also apply one or more interpolation filters to the predictive block to calculate sub-integer pixel values for use in motion estimation.
  • the summer 62 adds the reconstructed residual block to the motion compensated predictive block produced by the motion compensation unit 44 to produce a reference block for storage in the DPB 64.
  • the reference block may then be used by the intra BC unit 48, the motion estimation unit 42 and the motion compensation unit 44 as a predictive block to inter predict another video block in a subsequent video frame.
  • a video frame is partitioned into blocks for processing. For each given video block, a prediction is formed based on either inter prediction or intra prediction.
  • inter prediction predictors or predictive blocks may be formed through motion estimation and motion compensation, based on pixels from previously reconstructed frames.
  • intra prediction predictors may be formed based on reconstructed pixels in the current frame. Through mode decision, a best predictor may be chosen to predict a current block.
  • the prediction residual or the residual block (i.e. the difference between a current block and its predictor) is sent to a transform module, for example, the transform processing unit 52.
  • Transform coefficients are then sent to a quantization module, e.g., the quantization unit 54, for entropy reduction.
  • Quantized coefficients are fed to an entropy coding module, e.g., the entropy encoding unit 56, to generate compressed video bitstream.
  • a transform module for example, the transform processing unit 52.
  • Transform coefficients are then sent to a quantization module, e.g., the quantization unit 54, for entropy reduction.
  • Quantized coefficients are fed to an entropy coding module, e.g., the entropy encoding unit 56, to generate compressed video bitstream.
  • prediction related information from inter and/or intra prediction modules is also going through an entropy coding module, e.g., the entropy encoding unit 56, and then saved into the bitstream.
  • an entropy coding module e.g., the entropy encoding unit 56
  • decoder related modules may be needed in order to reconstruct pixels for prediction purpose.
  • the prediction residual is reconstructed through inverse quantization and inverse transform.
  • the reconstructed prediction residual is then combined with the predictor to generate unfiltered reconstructed pixels for a current block.
  • an in-loop filter 63 is commonly used.
  • a deblocking filter is available in AVC, HEVC as well as VVC.
  • SAO sample adaptive offset
  • SAO sample adaptive offset
  • ALF adaptive loop filter
  • intra prediction is usually based on unfiltered reconstructed pixels, while inter prediction is based on filtered reconstructed pixels if these filters are turned on by the encoder.
  • FIG. 3 is a block diagram illustrating an exemplary video decoder 30 in accordance with some implementations of the present disclosure.
  • the video decoder 30 includes a video data memory 79, an entropy decoding unit 80, a prediction processing unit 81, an inverse quantization unit 86, an inverse transform processing unit 88, a summer 90, and a DPB 92.
  • the prediction processing unit 81 further includes a motion compensation unit 82, an intra prediction processing unit 84, an intra BC unit 85, and an intra/inter mode selection unit 87.
  • the video decoder 30 may perform a decoding process generally reciprocal to the encoding process described above with respect to the video encoder 20 in connection with FIG. 2.
  • the motion compensation unit 82 may generate prediction data based on motion vectors received from the entropy decoding unit 80, while the intra-prediction unit 84 may generate prediction data based on intra-prediction mode indicators received from the entropy decoding unit 80.
  • the bitstream received is decoded through the entropy decoding unit 80 to derive quantized coefficient levels (or quantized coefficients) and prediction related information.
  • Quantized coefficient levels are then processed through the inverse quantization unit 86 and the inverse transform processing unit 88 to obtain reconstructed residual block.
  • a predictor or predictive block is formed through either intra prediction or motion compensation process based on prediction related information decoded.
  • the unfiltered reconstructed pixels are obtained by summing up the reconstructed residual block and the predictor. In the case that an in-loop filter is turned on, filtering operations are performed on these pixels to derive the final reconstructed video for output.
  • a unit of the video decoder 30 may be tasked to perform the implementations of the present disclosure. Also, in some examples, the implementations of the present disclosure may be divided among one or more of the units of the video decoder 30.
  • the intra BC unit 85 may perform the implementations of the present disclosure, alone, or in combination with other units of the video decoder 30, such as the motion compensation unit 82, the intra prediction processing unit 84, and the entropy decoding unit 80.
  • the video decoder 30 may not include the intra BC unit 85 and the functionality of the intra BC unit 85 may be performed by other components of the prediction processing unit 81, such as the motion compensation unit 82.
  • the video data memory 79 may store video data, such as an encoded video bitstream, to be decoded by the other components of the video decoder 30.
  • the video data stored in the video data memory 79 may be obtained, for example, from the storage device 32, from a local video source, such as a camera, via wired or wireless network communication of video data, or by accessing physical data storage media (e.g., a flash drive or hard disk).
  • the video data memory 79 may include a coded picture buffer (CPB) that stores encoded video data from an encoded video bitstream.
  • CPB coded picture buffer
  • the decoded picture buffer (DPB) 92 of video decoder 30 stores reference video data for use in decoding video data by the video decoder 30 (e.g., in intra or inter predictive coding modes).
  • the video data memory 79 and the DPB 92 may be formed by any of a variety of memory devices, such as dynamic random access memory (DRAM), including synchronous DRAM (SDRAM), magneto-resistive RAM (MRAM), resistive RAM (RRAM), or other types of memory devices.
  • DRAM dynamic random access memory
  • SDRAM synchronous DRAM
  • MRAM magneto-resistive RAM
  • RRAM resistive RAM
  • the video data memory 79 and the DPB 92 may be provided by the same memory device or separate memory devices.
  • the video data memory 79 may be on-chip with other components of the video decoder 30, or off-chip relative to those components.
  • the video decoder 30 receives an encoded video bitstream that represents video blocks of an encoded video frame and associated syntax elements.
  • the video decoder 30 may receive the syntax elements at the video frame level and/or the video block level.
  • the entropy decoding unit 80 of the video decoder 30 entropy decodes the bitstream to generate quantized coefficients, motion vectors or intra-prediction mode indicators, and other syntax elements.
  • the entropy decoding unit 80 then forwards the motion vectors and other syntax elements to the prediction processing unit 81.
  • the intra prediction processing unit 84 of the prediction processing unit 81 may generate prediction data for a video block of the current video frame based on a signaled intra prediction mode and reference data from previously decoded blocks of the current frame.
  • the motion compensation unit 82 of the prediction processing unit 81 produces one or more predictive blocks for a video block of the current video frame based on the motion vectors and other syntax elements received from the entropy decoding unit 80.
  • Each of the predictive blocks may be produced from a reference frame within one of the reference frame lists.
  • the video decoder 30 may construct the reference frame lists, e.g., List0 and List1, using default construction techniques based on reference frames stored in the DPB 92.
  • the intra BC unit 85 of the prediction processing unit 81 produces predictive blocks for the current video block based on block vectors and other syntax elements received from the entropy decoding unit 80.
  • the predictive blocks may be within a reconstructed region of the same picture as the current video block defined by the video encoder 20.
  • the motion compensation unit 82 and/or the intra BC unit 85 determines prediction information for a video block of the current video frame by parsing the motion vectors and other syntax elements, and then uses the prediction information to produce the predictive blocks for the current video block being decoded. For example, the motion compensation unit 82 uses some of the received syntax elements to determine a prediction mode (e.g., intra or inter prediction) used to code video blocks of the video frame, an inter prediction frame type (e.g., B or P), construction information for one or more of the reference frame lists for the frame, motion vectors for each inter predictive encoded video block of the frame, inter prediction status for each inter predictive coded video block of the frame, and other information to decode the video blocks in the current video frame.
  • a prediction mode e.g., intra or inter prediction
  • an inter prediction frame type e.g., B or P
  • the intra BC unit 85 may use some of the received syntax elements, e.g., a flag, to determine that the current video block was predicted using the intra BC mode, construction information of which video blocks of the frame are within the reconstructed region and should be stored in the DPB 92, block vectors for each intra BC predicted video block of the frame, intra BC prediction status for each intra BC predicted video block of the frame, and other information to decode the video blocks in the current video frame.
  • a flag e.g., a flag
  • the motion compensation unit 82 may also perform interpolation using the interpolation filters as used by the video encoder 20 during encoding of the video blocks to calculate interpolated values for sub-integer pixels of reference blocks. In this case, the motion compensation unit 82 may determine the interpolation filters used by the video encoder 20 from the received syntax elements and use the interpolation filters to produce predictive blocks.
  • the inverse quantization unit 86 inverse quantizes the quantized transform coefficients provided in the bitstream and entropy decoded by the entropy decoding unit 80 using the same quantization parameter calculated by the video encoder 20 for each video block in the video frame to determine a degree of quantization.
  • the inverse transform processing unit 88 applies an inverse transform, e.g., an inverse DCT, an inverse integer transform, or a conceptually similar inverse transform process, to the transform coefficients in order to reconstruct the residual blocks in the pixel domain.
  • the summer 90 reconstructs decoded video block for the current video block by summing the residual block from the inverse transform processing unit 88 and a corresponding predictive block generated by the motion compensation unit 82 and the intra BC unit 85.
  • An in-loop filter 91 may be positioned between the summer 90 and the DPB 92 to further process the decoded video block.
  • the decoded video blocks in a given frame are then stored in the DPB 92, which stores reference frames used for subsequent motion compensation of next video blocks.
  • the DPB 92, or a memory device separate from the DPB 92 may also store the decoded video for later presentation on a display device, such as the display device 34 of FIG.1.
  • a video sequence typically includes an ordered set of frames or pictures.
  • Each frame may include three sample arrays, denoted SL, SCb, and SCr.
  • SL is a two-dimensional array of luma samples.
  • SCb is a two-dimensional array of Cb chroma samples.
  • SCr is a two-dimensional array of Cr chroma samples.
  • a frame may be monochrome and therefore includes only one two-dimensional array of luma samples.
  • the term“luma,” represented by the symbol or subscript Y or L is used for specifying that a sample array or single sample is representing the monochrome signal related to the primary colors.
  • the term“chroma,” represented by the symbols Cb and Cr (or C) is used for specifying that a sample array or single sample is representing one of the two color difference signals related to the primary colors.
  • a cross-component linear model (CCLM) prediction mode is used in the VVC reference software VTM, for which the chroma samples of a coding unit (CU) are predicted based on the reconstructed luma samples of the same CU by using a linear model as follows:
  • pred ⁇ (i, j) represents the predicted chroma samples in the CU and rec' ⁇ (i, j) represents the down-sampled reconstructed luma samples of the same CU.
  • the predicted chroma samples are modeled as a linear function of reconstructed luma samples of the luma block with parameters a1 and b1.
  • the reconstructed luma samples may be down-sampled to match the size of the chroma samples.
  • the yuv format 4:2:0 is used in common test condition during the development of VVC, and the derivation of the parameters a1 and b1 is illustrated below with respect to the yuv format 4:2:0.
  • FIG. 4 shows sampling grids of the luma samples and the chroma samples for yuv sampling format 4:2:0. In the sampling grids shown, X indicates the locations of the luma samples and O indicates the locations of the chroma samples or down- sampled luma samples.
  • Rec’L (x, y) represents the down-sampled reconstructed luma sample
  • RecL represents the six neighboring luma samples, which may be used to generate the down-sampled reconstructed luma sample Rec’L (x, y), where x and y are pixel indices.
  • the parameters a1 and b1 are derived by a method, which may be named a min-Max method, using a straight line equation.
  • FIG.5 shows locations of samples used for derivation of parameters a1 and b1 for a coding block having 2Wx2H luma samples.
  • RecC represents the top and left neighboring reconstructed chroma samples, which may be referred to as anchor samples;
  • Rec’L represents the corresponding down-sampled top and left neighboring reconstructed luma samples, which may be referred to as referred samples; and the value of N (N is the number of samples used in the determination of the straight line) is equal to twice of the minimum of width and height of the current chroma coding block.
  • N is the number of samples used in the determination of the straight line
  • FIG. 6 illustrates the straight line between the minimum and maximum luma values for the derivation of parameters a and b.
  • the 2 points A, B are the minimum and maximum values inside the set of neighboring luma samples as depicted in FIG. 5.
  • Each chroma sample and its corresponding luma sample are termed a sample pair; and A represents the sample pair having the smallest luma value, i.e., the minimum sample pair, and B represents the sample pair having the largest luma value, i.e., the maximum sample pair.
  • the linear model parameters a1 and b1 are obtained according to the following equation (the division could be avoided and replaced by a multiplication and a shift):
  • y B is a chroma sample value of the maximum sample pair
  • y A is a chroma sample value of the minimum sample pair
  • x B is a luma sample value of the maximum sample pair
  • x A is a luma sample value of the minimum sample pair.
  • the min-Max method is applied directly.
  • the neighboring samples of the longer boundary are first subsampled to have the same number of samples as that of the shorter boundary before the min-Max method is applied.
  • FIG.5 shows the locations of the left and above neighboring samples and the sample of the current block involved in the CCLM mode.
  • the min-Max method computation is performed as part of the decoding process and is not just as an encoder search operation. As a result, no syntax is used to convey the parameter a1 and parameter b1 values to the decoder.
  • the equation/filter (3) is used as the luma down-sampling filters to generate the down-sampled luma samples.
  • different equations/filters could be selected to generate the down-sampled luma samples as shown in equations (3) to (19). It is noted that equations (5) to (10) can be regarded as directly taking sample without the down-sampling process.
  • the templates may also be used alternatively in the other 2 LM modes, called LM_A and LM_L modes, respectively.
  • LM_A mode the above template is used to calculate the linear model coefficients.
  • W+W the above template is extended to (W+W).
  • LM_L mode only left template is used to calculate the linear model coefficients.
  • H+H the left template is extended to (H+H).
  • the codec may also support 4:2:2 and 4:4:4 format.
  • FIG. 9 and FIG. 10 shows sampling grids of the luma samples and the chroma samples for yuv 4:2:2 format and yuv 4:4:4 format, respectively.
  • LIC Local illumination compensation
  • a scaling factor a and an offset b may be enabled or disabled adaptively for each inter-mode coded coding unit (CU).
  • CU inter-mode coded coding unit
  • pred ⁇ (i, j) represents the predicted samples in a CU and represents the reference samples in the reference picture of the current block or CU.
  • the reference samples are located by the coded or derived motion vectors.
  • a least square error method may be employed to derive the parameters a2 and b2 by using the neighboring samples of the current CU and their corresponding reference samples. More specifically, as illustrated in FIG.11, the neighboring samples (sub-sampling could be applied) of the current block (or CU), and the corresponding reference samples in the reference picture that may be identified by motion information of the current block/CU or sub-CU, are used.
  • the illumination compensation (IC) parameters a2 and b2 are derived and applied for each prediction direction separately.
  • LIC When LIC is enabled for a picture, additional CU level Rate-Distortion (RD) check is needed to determine whether LIC is applied or not for a CU.
  • MR-SAD mean-removed sum of absolute difference
  • MR-SATD mean-removed sum of absolute Hadamard-transformed difference
  • SAD sum of absolute difference
  • SATD sum of absolute transformed difference
  • the min-Max method which may be implemented as a parameter deriving process, may be used for LIC mode.
  • a same method for the derivation of parameters may be used for the CCLM mode and LIC mode. That is, a same processing module, or parameter deriving process, may be shared for the two coding modes.
  • a1 and a2 are instances of the parameter a
  • b1 and b2 are instances of the parameter b.
  • the parameter deriving process implements an algorithm of deriving the parameters a and b using a preset number X of sample pairs, each sample pair including an anchor sample that is a neighboring reconstructed sample and its corresponding referred sample.
  • X is a positive integer
  • sample pairs [sc1] may be used to derive the CCLM and LIC parameters (e.g., a1 and b1 in equation (1), and a2 and b2 in equation (20)).
  • Each sample pair contains one anchor sample and one referred sample.
  • the anchor sample is the neighboring chroma sample and the referred sample is the anchor sample’s corresponding luma sample.
  • FIG. 5 An example of the sample pairs for CCLM is illustrated in FIG. 5.
  • the referred sample could be down-sampled luma sample (e.g., the down-sampled luma sample obtained by using the equation (3)) or the reconstructed luma sample without down- sampling (e.g., the luma sample obtained by using one of the equations (5)-(9) which directly take one luma sample).
  • the referred sample could be down-sampled luma sample (e.g., the down-sampled luma sample obtained by using the equation (3)) or the reconstructed luma sample without down- sampling (e.g., the luma sample obtained by using one of the equations (5)-(9) which directly take one luma sample).
  • the anchor sample is the neighboring reconstructed sample of the current block and the referred sample is the anchor sample’s corresponding reference sample in the reference picture.
  • An example of the sample pairs for LIC is illustrated in FIG.11.
  • the referred sample is the neighboring reconstructed sample of the current block and the anchor sample is the referred sample’s corresponding reference sample in the reference picture.
  • Sample pair selection when X 3 [0108]
  • three sample pairs are used as the selected sample pairs to derive the CCLM/LIC parameters a and b:
  • sample pairs and samples are selected as the sample pairs to derive the CCLM parameters, where W and H denote the width and height of the chroma block.
  • W and H denote the width and height of the chroma block.
  • W and H denote the width and height of the current block and the current block could be a chroma or luma block.
  • W and H denote the width and height of the current block and the current block could be a chroma or luma block.
  • the leftmost sample of the above neighboring samples, the bottom sample of the left neighboring samples and the rightmost sample of the above neighboring samples are used as the selected three sample pairs. That is, the sample pairs and are selected as the sample pairs to derive the CCLM
  • FIG. 15 and FIG.16 two alternative selections of samples are depicted in FIG. 15 and FIG.16, respectively.
  • the leftmost sample of the above neighboring samples, the half of width of the leftmost sample of the above neighboring samples (e.g., for LIC), and the rightmost sample of the above neighboring samples are selected.
  • the leftmost sample of the above neighboring samples, the one width (W) of the leftmost sample of the above neighboring samples (e.g., for CCLM, for LIC), and the rightmost sample of the above neighboring samples e.g., for CCLM,
  • the sample pair selection may not be restricted to the abovementioned embodiments.
  • the three sample pairs could be any three sample pairs selected from the above or left reconstructed neighboring samples and the neighboring samples are not restricted to be samples only one line above or one line left.
  • the sample pair which has the largest referred sample value and the sample pair which has the smallest referred sample value are identified, through referred sample values comparison, as the maximum sample pair and the minimum sample pair, respectively.
  • the referred sample value of the maximum sample pair is denoted as xB and the anchor sample value of the maximum sample pair is denoted as y
  • the referred sample value of the minimum sample pair is denoted as xA and the anchor sample value of the minimum sample pair is denoted as yA.
  • the parameters a and b are then calculated using the equation (2).
  • the sample pair which has the largest referred sample value and the sample pair which has the smallest referred sample value are identified through referred sample values comparisons.
  • the down-sampled sample associated with the referred sample value of the maximum sample pair is then generated (e.g., using the equation (4)), and the referred sample value of the down-sampled sample is denoted as xB; the anchor sample value of the maximum sample pair is denoted as yB; the down-sampled sample associated with the referred sample value of the minimum sample pair is then generated (e.g., using the equation (4)), and the referred sample value of the down-sampled sample is denoted as x A ; and the anchor sample value of the minimum sample pair is denoted as y A .
  • the a parameters and b are then calculated using the equation (2).
  • the sample pairs which respectively have the largest referred sample value, the middle referred sample value (or the intermediate referred sample value), and the smallest referred sample value are identified through referred sample values comparisons as the maximum sample pair, the middle sample pair and the minimum sample pair, respectively.
  • the weighted average of the referred sample values of the maximum and middle sample pairs is denoted as xB and the weighted average of the anchor sample values of the maximum and middle sample pairs is denoted as yB;
  • the weighted average of the referred sample values of the middle and minimum sample pairs is denoted as xA and the weighted average of the anchor sample values of the middle and minimum sample pairs is denoted as yA.
  • xA, yA, xB and yB are derived based on the following equations:
  • xmax is the referred sample value of the maximum sample pair
  • xmid is the referred sample value of the middle sample pair
  • xmin is the referred sample values of the minimum sample pair
  • ymax is the anchor sample value of the maximum sample pair
  • ymid is the anchor sample value of the middle sample pair
  • ymin is the anchor sample value of the minimum sample pair
  • w1, w2, w3, w4, offset1, offset2, N1 and N2 are predefined parameters
  • the three sample pairs could be either fully sorted by luma values, or be divided into two groups: one that contains two larger values and the other one that contains one smaller value, or vise versa. When the values are fully sorted, the method described above could be used.
  • the weighted average of the luma or chroma sample(s) in the same group i.e., the group that contains two sample pairs
  • the weighted average values are used as the xA, yA, xB and yB to derive the CCLM parameters using the equation (2).
  • the derivation method for CCLM parameters may not be restricted to the abovementioned embodiments.
  • the selected three sample pairs could be used in any manner to derive the CCLM parameters.
  • W and H denote the width and height of the current block and the current block could be a chroma or luma block.
  • the quarter of width of the leftmost sample of the above neighboring samples, the quarter of height of the top sample of the left neighboring samples, the bottom sample of the left neighboring samples and the rightmost sample of the above neighboring samples are used as the sample pairs to derive the CCLM/LIC parameters.
  • T o be specific, the sample pairs ,
  • sample pairs are selected as the sample pairs to derive the CCLM parameters.
  • the sample pair selection may not be restricted to the abovementioned embodiments.
  • the four sample pairs could be any four sample pairs selected from the above or left reconstructed neighboring samples, and the neighbor samples are not restricted to be samples only one line above or one line left.
  • one sample pair set include: the quarter of width of the leftmost sample of the above neighboring samples, the quarter of width of the top sample of the left neighboring samples, the three quarter of width of the leftmost sample of the above neighboring samples, the three quarter of width of the top sample of the left neighboring samples.
  • another sample pair set include: the one-eighth of width of the leftmost sample of the above neighboring samples, the three-eighth of width of the leftmost sample of the above neighboring samples, the five-eighth of width of the leftmost sample of the above neighboring samples, the seven-eighth of width of the leftmost sample of the above neighboring samples.
  • another sample pair set include: the one-eighth of height of the top sample of the left neighboring samples, the three-eighth of height of the top sample of the left neighboring samples, the five-eighth of height of the top sample of the left neighboring samples, the seven-eighth of height of the top sample of the left neighboring samples.
  • the sample pairs which have the largest referred sample value and the smallest referred sample value are identified, through luma sample comparisons, as the maximum sample pair and the minimum sample pair, respectively.
  • the referred sample value of the maximum sample pair is denoted as xB and the anchor sample value of the maximum sample pair is denoted as yB;
  • the referred sample value of the minimum sample pair is denoted as xA and the anchor sample value of the minimum sample pair is denoted as yA.
  • the parameters a and b are then calculated using the equation (2).
  • the sample pair which has the largest referred sample value and the sample pair which has the smallest referred sample value are identified through referred sample values comparisons.
  • the down-sampled sample associated with the referred sample value of the maximum sample pair is then generated (e.g., using the equation (4)), and the referred sample value of the down-sampled sample is denoted as xB; the anchor sample value of the maximum sample pair is denoted as yB; the down-sampled sample associated with the referred sample value of the minimum sample pair is then generated (e.g., using equation the (4)), and the referred sample value of the down-sampled sample is denoted as xA; and the anchor sample value of the minimum sample pair is denoted as yA.
  • the a parameters and b are then calculated using the equation (2).
  • the sample pairs which respectively have the two larger referred sample values and the two smaller referred sample values are identified through referred sample comparisons.
  • the referred sample values of the two larger sample pairs are denoted as x B0 , x B1 and the anchor sample values of the two larger sample pairs are denoted as he referred sample values of the two smaller sample pairs are denoted as x A0 , x A1 and the anchor sample values of the two smaller sample pairs are denoted as y A0 , y A1 .
  • yB are then derived as the weighted average of xA0, xA1, and .
  • the parameters a and b are then calculated using the equation (2).
  • CCLM/LIC parameters may not be restricted to the abovementioned embodiments.
  • the four selected sample pairs could be used in any manner to derive the CCLM/LIC parameters.
  • FIG.20 is a block diagram illustrating an apparatus for video coding in accordance with some implementations of the present disclosure.
  • the apparatus 2000 may be a terminal, such as a mobile phone, a tablet computer, a digital broadcast terminal, a tablet device, or a personal digital assistant.
  • the apparatus 2000 may include one or more of the following components: a processing component 2002, a memory 2004, a power supply component 2006, a multimedia component 2008, an audio component 2010, an input/output (I/O) interface 2012, a sensor component 2020, and a communication component 2016.
  • a processing component 2002 a memory 2004, a power supply component 2006, a multimedia component 2008, an audio component 2010, an input/output (I/O) interface 2012, a sensor component 2020, and a communication component 2016.
  • the processing component 2002 usually controls overall operations of the apparatus 2000, such as operations relating to display, a telephone call, data communication, a camera operation and a recording operation.
  • the processing component 2002 may include one or more processors 2020 for executing instructions to complete all or a part of steps of the above method.
  • the processing component 2002 may include one or more modules to facilitate interaction between the processing component 2002 and other components.
  • the processing component 2002 may include a multimedia module to facilitate the interaction between the multimedia component 2008 and the processing component 2002.
  • the memory 2004 is configured to store different types of data to support operations of the apparatus 2000. Examples of such data include instructions, contact data, phonebook data, messages, pictures, videos, and so on for any application or method that operates on the apparatus 2000.
  • the memory 2004 may be implemented by any type of volatile or non-volatile storage devices or a combination thereof, and the memory 2004 may be a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic memory, a flash memory, a magnetic disk or a compact disk.
  • SRAM Static Random Access Memory
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • EPROM Erasable Programmable Read-Only Memory
  • PROM Programmable Read-Only Memory
  • ROM Read-Only Memory
  • the power supply component 2006 supplies power for different components of the apparatus 2000.
  • the power supply component 2006 may include a power supply management system, one or more power supplies, and other components associated with generating, managing and distributing power for the apparatus 2000.
  • the multimedia component 2008 includes a screen providing an output interface between the apparatus 2000 and a user.
  • the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen receiving an input signal from a user.
  • the touch panel may include one or more touch sensors for sensing a touch, a slide and a gesture on the touch panel. The touch sensor may not only sense a boundary of a touching or sliding actions, but also detect duration and pressure related to the touching or sliding operation.
  • the multimedia component 2008 may include a front camera and/or a rear camera. When the apparatus 2000 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data.
  • the audio component 2010 is configured to output and/or input an audio signal.
  • the audio component 2010 includes a microphone (MIC).
  • the microphone When the apparatus 2000 is in an operating mode, such as a call mode, a recording mode and a voice recognition mode, the microphone is configured to receive an external audio signal.
  • the received audio signal may be further stored in the memory 2004 or sent via the communication component 2016.
  • the audio component 2010 further includes a speaker for outputting an audio signal.
  • the I/O interface 2012 provides an interface between the processing component 2002 and a peripheral interface module.
  • the above peripheral interface module may be a keyboard, a click wheel, a button, or the like. These buttons may include but not limited to, a home button, a volume button, a start button and a lock button.
  • the sensor component 2020 includes one or more sensors for providing a state assessment in different aspects for the apparatus 2000.
  • the sensor component 2020 may detect an on/off state of the apparatus 2000 and relative locations of components.
  • the components are a display and a keypad of the apparatus 2000.
  • the sensor component 2020 may also detect a position change of the apparatus 2000 or a component of the apparatus 2000, presence or absence of a contact of a user on the apparatus 2000, an orientation or acceleration/deceleration of the apparatus 2000, and a temperature change of apparatus 2000.
  • the sensor component 2020 may include a proximity sensor configured to detect presence of a nearby object without any physical touch.
  • the sensor component 2020 may further include an optical sensor, such as a CMOS or CCD image sensor used in an imaging application.
  • the sensor component 2020 may further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • the communication component 2016 is configured to facilitate wired or wireless communication between the apparatus 2000 and other devices.
  • the apparatus 2000 may access a wireless network based on a communication standard, such as WiFi, 4G, or a combination thereof.
  • the communication component 2016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component 2016 may further include a Near Field Communication (NFC) module for promoting short-range communication.
  • NFC Near Field Communication
  • the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra-Wide Band (UWB) technology, Bluetooth (BT) technology and other technology.
  • RFID Radio Frequency Identification
  • IrDA infrared data association
  • UWB Ultra-Wide Band
  • Bluetooth Bluetooth
  • the apparatus 2000 may be implemented by one or more of Application Specific Integrated Circuits (ASIC), Digital Signal Processors (DSP), Digital Signal Processing Devices (DSPD), Programmable Logic Devices (PLD), Field Programmable Gate Arrays (FPGA), controllers, microcontrollers, microprocessors or other electronic elements to perform the above method.
  • ASIC Application Specific Integrated Circuits
  • DSP Digital Signal Processors
  • DSPD Digital Signal Processing Devices
  • PLD Programmable Logic Devices
  • FPGA Field Programmable Gate Arrays
  • controllers microcontrollers, microprocessors or other electronic elements to perform the above method.
  • a non-transitory computer readable storage medium may be, for example, a Hard Disk Drive (HDD), a Solid-State Drive (SSD), Flash memory, a Hybrid Drive or Solid-State Hybrid Drive (SSHD), a Read-Only Memory (ROM), a Compact Disc Read-Only Memory (CD- ROM), a magnetic tape, a floppy disk and etc.
  • HDD Hard Disk Drive
  • SSD Solid-State Drive
  • SSHD Solid-State Hybrid Drive
  • ROM Read-Only Memory
  • CD- ROM Compact Disc Read-Only Memory
  • magnetic tape a floppy disk and etc.
  • FIG.21 is a flowchart illustrating an exemplary process of video coding for generating a prediction signal using linear models in accordance with some implementations of the present disclosure.
  • step 2102 the processor 2020 derives prediction parameters a and b, using neighboring reconstructed chroma samples and their referred samples, by a parameter deriving process.
  • the parameter deriving process for example by an apparatus, circuitry, or computer program code block, for the derivation of prediction parameters a and b.
  • step 2104 the processor 2020 determines whether Local Illumination Compensation (LIC) mode is applied to a current Coding Unit (CU), and upon determining that the LIC mode is applied, derives parameters a2 and b2 for the LIC by execution of the parameter deriving process, and obtains a final LIC predictor based on equation:
  • LIC Local Illumination Compensation
  • a2 and b2 are instances of the parameters a and b; pred ⁇ (i, j) represents LIC predicted samples in the current CU; and rec'' ⁇ (i, j) represents reference samples in a reference picture of the current CU.
  • the processor 2020 may further determine whether Cross- Component Linear Model (CCLM) mode is applied to the current Coding Unit (CU), and upon determining that the CCLM mode is applied, derive parameters a1 and b1 for the CCLM by execution of the parameter deriving process, and obtain a final CCLM predictor based on equation:
  • CCLM Cross- Component Linear Model
  • a1 and b1 are instances of the parameters a and b; pred ⁇ (i, j) represents CCLM predicted chroma samples in the current CU; andrec' ⁇ (i, j) represents downsampled reconstructed luma samples of the current CU.
  • the parameter deriving process implements an algorithm of deriving the parameters a and b using a preset number X of sample pairs, each sample pair comprising an anchor sample that is a neighboring reconstructed sample and its corresponding referred sample.
  • an apparatus for video coding includes a processor 2020; and a memory 2004 configured to store instructions executable by the processor; where the processor, upon execution of the instructions, is configured to perform a method as illustrated in FIG.21.
  • the instructions When the instructions are executed by a processor 2020, the instructions cause the processor to perform a method as illustrated in FIG. 21.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

L'invention concerne un procédé de codage vidéo. Le procédé comprend les étapes consistant à : déduire des paramètres de prédiction α et β, à l'aide d'échantillons de chroma reconstruits adjacents et de leurs échantillons désignés, par un processus de déduction de paramètres; et à déterminer si un mode de compensation d'éclairage local (LIC) est appliqué à une unité de codage (CU) actuelle, et lorsqu'il est déterminé que le mode LIC est appliqué, déduire des paramètres α2 et β2 pour le LIC par l'exécution du processus de déduction de paramètres, et obtenir un prédicteur LIC final sur la base de l'équation : pred L(i,j) = α2. rec L''(i,j) + β2; où α2 et β2 sont des instances des paramètres α et β; pred L(i,j) représente des échantillons prédits LIC dans la CU actuelle; et rec L''(i,j) représente des échantillons de référence dans une image de référence de la CU actuelle.
PCT/US2020/013965 2019-01-17 2020-01-16 Procédé et appareil de déduction de modèle linéaire pour un codage vidéo WO2020150535A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202080016731.9A CN113491130B (zh) 2019-01-17 2020-01-16 用于视频编解码的线性模型推导的方法和装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201962793869P 2019-01-17 2019-01-17
US62/793,869 2019-01-17

Publications (1)

Publication Number Publication Date
WO2020150535A1 true WO2020150535A1 (fr) 2020-07-23

Family

ID=71613454

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2020/013965 WO2020150535A1 (fr) 2019-01-17 2020-01-16 Procédé et appareil de déduction de modèle linéaire pour un codage vidéo

Country Status (2)

Country Link
CN (1) CN113491130B (fr)
WO (1) WO2020150535A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022178433A1 (fr) * 2021-02-22 2022-08-25 Beijing Dajia Internet Information Technology Co., Ltd. Compensation d'éclairage local améliorée pour prédiction inter-composantes
WO2023134452A1 (fr) * 2022-01-11 2023-07-20 Beijing Bytedance Network Technology Co., Ltd. Procédé, appareil et support de traitement vidéo

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024037649A1 (fr) * 2022-08-19 2024-02-22 Douyin Vision Co., Ltd. Extension de compensation d'éclairage local

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130163666A1 (en) * 2010-09-03 2013-06-27 Dolby Laboratories Licensing Corporation Method and System for Illumination Compensation and Transition for Video Coding and Processing
WO2018039596A1 (fr) * 2016-08-26 2018-03-01 Qualcomm Incorporated Unification de procédures de dérivation de paramètres pour une compensation d'éclairage local et une prédiction de modèle linéaire de composante transversale
WO2019004283A1 (fr) * 2017-06-28 2019-01-03 シャープ株式会社 Dispositif de codage vidéo, et dispositif de décodage vidéo

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10477231B2 (en) * 2015-06-16 2019-11-12 Lg Electronics Inc. Method and device for predicting block on basis of illumination compensation in image coding system
US10419757B2 (en) * 2016-08-31 2019-09-17 Qualcomm Incorporated Cross-component filter
US10652575B2 (en) * 2016-09-15 2020-05-12 Qualcomm Incorporated Linear model chroma intra prediction for video coding
US10798404B2 (en) * 2016-10-05 2020-10-06 Qualcomm Incorporated Systems and methods of performing improved local illumination compensation
US10542280B2 (en) * 2017-01-09 2020-01-21 QUALCOMM Incorpated Encoding optimization with illumination compensation and integer motion vector restriction

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130163666A1 (en) * 2010-09-03 2013-06-27 Dolby Laboratories Licensing Corporation Method and System for Illumination Compensation and Transition for Video Coding and Processing
WO2018039596A1 (fr) * 2016-08-26 2018-03-01 Qualcomm Incorporated Unification de procédures de dérivation de paramètres pour une compensation d'éclairage local et une prédiction de modèle linéaire de composante transversale
WO2019004283A1 (fr) * 2017-06-28 2019-01-03 シャープ株式会社 Dispositif de codage vidéo, et dispositif de décodage vidéo

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JUNYAN HUO: "Non-CE3:Current luma related-CCLM (CCCLM)], Joint Video Experts Team (JVET) olf ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11", JOINT VIDEO EXPERTS TEAM (JVET), 12 October 2018 (2018-10-12), Macao, CN, pages 1 - 3, XP030192756 *
SHUAI WAN: "[Non-CE3: CCLM Performance Of Extended Neighboring Region], Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11", JOINT VIDEO EXPERTS TEAM (JVET), no. L0107, Macao, CN, pages 20181012, XP030192752 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022178433A1 (fr) * 2021-02-22 2022-08-25 Beijing Dajia Internet Information Technology Co., Ltd. Compensation d'éclairage local améliorée pour prédiction inter-composantes
WO2023134452A1 (fr) * 2022-01-11 2023-07-20 Beijing Bytedance Network Technology Co., Ltd. Procédé, appareil et support de traitement vidéo

Also Published As

Publication number Publication date
CN113491130B (zh) 2024-02-27
CN113491130A (zh) 2021-10-08

Similar Documents

Publication Publication Date Title
US10771811B2 (en) Overlapped motion compensation for video coding
US10390015B2 (en) Unification of parameters derivation procedures for local illumination compensation and cross-component linear model prediction
JP7055745B2 (ja) ビデオコーディングのためのフィルタのための幾何学的変換
KR20200108431A (ko) 비디오 코딩에서의 디블록킹 필터 선택 및 적용
US20210314601A1 (en) Methods and apparatus of video coding for deriving affine motion vectors for chroma components
US20220021894A1 (en) Methods and apparatuses for signaling of merge modes in video coding
WO2020150535A1 (fr) Procédé et appareil de déduction de modèle linéaire pour un codage vidéo
US11622111B2 (en) Methods and apparatus of video coding for triangle prediction
CN113545050B (zh) 利用三角形预测的视频编解码方法及装置
US20220239902A1 (en) Methods and apparatuses for video coding using triangle partition
US20240187584A1 (en) Methods and apparatus of video coding for triangle prediction
WO2023141338A1 (fr) Procédés et dispositifs pour un mode de partitionnement géométrique avec réagencement de modes divisés
WO2021062283A1 (fr) Procédés et appareils d'affinement de vecteur de mouvement côté décodeur dans un codage vidéo
WO2021021698A1 (fr) Procédés et appareils d'affinement de vecteur de mouvement côté décodeur dans le codage vidéo

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20741358

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20741358

Country of ref document: EP

Kind code of ref document: A1