WO2020067679A1 - 머지 후보 리스트를 구성하는 방법 및 장치 - Google Patents

머지 후보 리스트를 구성하는 방법 및 장치 Download PDF

Info

Publication number
WO2020067679A1
WO2020067679A1 PCT/KR2019/012222 KR2019012222W WO2020067679A1 WO 2020067679 A1 WO2020067679 A1 WO 2020067679A1 KR 2019012222 W KR2019012222 W KR 2019012222W WO 2020067679 A1 WO2020067679 A1 WO 2020067679A1
Authority
WO
WIPO (PCT)
Prior art keywords
block
merge
cpr
merge candidate
current block
Prior art date
Application number
PCT/KR2019/012222
Other languages
English (en)
French (fr)
Inventor
남정학
박내리
김승환
임재현
Original Assignee
엘지전자 주식회사
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 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Publication of WO2020067679A1 publication Critical patent/WO2020067679A1/ko

Links

Images

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/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • 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

Definitions

  • the present disclosure relates to a still image or video encoding / decoding method, and more particularly, to a method and apparatus for constructing a merge candidate list in a merge mode.
  • HD images high definition (HD) images and ultra high definition (UHD) images
  • UHD images ultra high definition
  • the image data becomes higher resolution and higher quality, the amount of transmitted information or bit amount increases compared to the existing image data, so the image data is transmitted using a medium such as a conventional wired / wireless broadband line or the image data is stored using an existing storage medium.
  • the transmission cost and storage cost are increased.
  • a high-efficiency image compression technology is required to effectively transmit, store, and reproduce high-resolution, high-quality image information.
  • the technical problem of the present disclosure is to provide a method and apparatus for improving image coding efficiency.
  • Another technical problem of the present disclosure is to provide a method and apparatus for performing inter prediction or Current Picture Referencing (CPR). Also, of the present disclosure
  • Another technical problem of the present disclosure is to provide a method and apparatus for constructing a merge candidate list in a merge mode.
  • Another technical problem of the present disclosure is to provide a method and apparatus for constructing a merge candidate list using a CPR merge candidate in a merge mode.
  • Another technical problem of the present disclosure is to provide a method and apparatus for constructing a motion vector prediction candidate list during inter prediction.
  • an image decoding method performed by a decoding apparatus includes, when a merge mode is applied to a current block, deriving merge candidates based on at least one spatial neighboring block and at least one temporal neighboring block of the current block, wherein the number of derived merge candidates is If it is less than the maximum number of merge candidates, deriving a CPR (Current Picture Referencing) merge candidate referring to a reference block in the current picture including the current block, and a merge candidate list based on the merge candidates and the CPR merge candidate And constructing, deriving prediction samples for the current block based on the configured merge candidate list, and generating reconstruction samples for the current block based on the prediction samples.
  • CPR Current Picture Referencing
  • a decoding apparatus for performing image decoding.
  • the decoding apparatus derives merge candidates based on at least one spatial neighboring block and at least one temporal neighboring block of the current block, and the number of derived merge candidates is If less than the maximum number of merge candidates, derive a CPR merge candidate referring to a reference block in the current picture including the current block, construct a merge candidate list based on the merge candidates and the CPR merge candidate, and configure the merge And a prediction unit for deriving prediction samples for the current block based on a candidate list and an adder for generating reconstruction samples for the current block based on the prediction samples.
  • an image encoding method by an encoding device includes, when a merge mode is applied to a current block, deriving merge candidates based on at least one spatial neighboring block and at least one temporal neighboring block of the current block, wherein the number of derived merge candidates is If less than the maximum number of merge candidates, deriving a CPR merge candidate referring to a reference block in the current picture including the current block, constructing a merge candidate list based on the merge candidates and the CPR merge candidate, the And deriving prediction samples for the current block based on the configured merge candidate list, and encoding image information obtained in the process of deriving the prediction samples.
  • an encoding apparatus for performing video encoding.
  • the encoding device derives merge candidates based on at least one spatial neighboring block and at least one temporal neighboring block of the current block, and the number of the derived merge candidates is If less than the maximum number of merge candidates, derive a CPR merge candidate referring to a reference block in the current picture including the current block, construct a merge candidate list based on the merge candidates and the CPR merge candidate, and configure the merge And a prediction unit for deriving prediction samples for the current block based on a candidate list and an entropy encoding unit for encoding image information obtained in the process of deriving the prediction samples.
  • inter prediction or CPR can be efficiently performed.
  • a merge candidate list can be efficiently configured in the merge mode.
  • a merge candidate list can be efficiently constructed using a CPR merge candidate in a merge mode.
  • a motion vector prediction candidate list can be efficiently constructed during inter prediction.
  • FIG. 1 schematically shows an example of a video / image coding system to which the present disclosure can be applied.
  • FIG. 2 is a diagram schematically illustrating a configuration of a video / video encoding apparatus to which the present disclosure can be applied.
  • FIG. 3 is a diagram schematically illustrating a configuration of a video / video decoding apparatus to which the present disclosure can be applied.
  • FIG. 4 is a diagram illustrating a motion compensation area according to an embodiment.
  • FIG. 5 is a flowchart illustrating a method of constructing a merge candidate list according to an embodiment.
  • FIG. 6 is a diagram showing an example of a reference picture list configuration of a current picture.
  • FIG. 7 is a diagram for explaining a CPR merge candidate.
  • FIG. 8 is a flowchart illustrating a method of constructing a merge candidate list according to another embodiment.
  • FIG. 9 is a flowchart illustrating a method of constructing a motion vector prediction candidate list according to an embodiment.
  • FIG. 10 is a flowchart illustrating a method of constructing a motion vector prediction candidate list according to another embodiment.
  • FIG. 11 is a flowchart illustrating an operation of an encoding apparatus according to an embodiment.
  • FIG. 12 is a block diagram showing the configuration of an encoding apparatus according to an embodiment.
  • FIG. 13 is a flowchart illustrating an operation of a decoding apparatus according to an embodiment.
  • FIG. 14 is a block diagram showing the configuration of a decoding apparatus according to an embodiment.
  • 15 is a diagram illustrating a structure diagram of a content streaming system according to an embodiment.
  • an image decoding method performed by a decoding apparatus includes, when a merge mode is applied to a current block, deriving merge candidates based on at least one spatial neighboring block and at least one temporal neighboring block of the current block, wherein the number of derived merge candidates is If it is less than the maximum number of merge candidates, deriving a CPR (Current Picture Referencing) merge candidate referring to a reference block in the current picture including the current block, and a merge candidate list based on the merge candidates and the CPR merge candidate And constructing, deriving prediction samples for the current block based on the configured merge candidate list, and generating reconstruction samples for the current block based on the prediction samples.
  • CPR Current Picture Referencing
  • each configuration in the drawings described in the present disclosure is independently shown for convenience of description of different characteristic functions, and does not mean that each configuration is implemented with separate hardware or separate software.
  • two or more components of each component may be combined to form one component, or one component may be divided into a plurality of components.
  • Embodiments in which each configuration is integrated and / or separated are also included in the scope of the present disclosure without departing from the essence of the present disclosure.
  • the methods / embodiments disclosed in this document may include a versatile video coding (VVC) standard, an essential video coding (EVC) standard, an AOMedia Video 1 (AV1) standard, a 2nd generation of audio video coding standard (AVS2), or next-generation video / It can be applied to the method disclosed in the image coding standard (ex. H.267, H.268, etc.).
  • VVC versatile video coding
  • EVC essential video coding
  • AV1 AOMedia Video 1
  • AVS2 2nd generation of audio video coding standard
  • next-generation video / It can be applied to the method disclosed in the image coding standard (ex. H.267, H.268, etc.).
  • video may refer to a set of images over time.
  • a picture generally refers to a unit representing one image in a specific time period, and a slice / tile is a unit constituting a part of a picture in coding.
  • the slice / tile may include one or more coding tree units (CTUs).
  • CTUs coding tree units
  • One picture may be composed of one or more slices / tiles.
  • One picture may be composed of one or more tile groups, and one tile group may include one or more tiles. If necessary, pictures, slices, and tiles may be used interchangeably.
  • a pixel or pel may mean a minimum unit constituting one picture (or image).
  • 'sample' may be used as a term corresponding to a pixel.
  • the sample may generally represent a pixel or a pixel value, and may indicate only a pixel / pixel value of a luma component or only a pixel / pixel value of a saturation component.
  • the unit represents a basic unit of image processing.
  • the unit may include at least one of a specific region of a picture and information related to the region.
  • the unit may be used interchangeably with terms such as a block or area depending on the case.
  • the MxN block may represent samples of M columns and N rows or a set of transform coefficients.
  • FIG. 1 schematically shows an example of a video / image coding system to which the present disclosure can be applied.
  • a video / image coding system may include a source device and a reception device.
  • the source device may transmit the encoded video / image information or data to a receiving device through a digital storage medium or network in the form of a file or streaming.
  • the source device may include a video source, an encoding device, and a transmission unit.
  • the receiving device may include a receiving unit, a decoding apparatus, and a renderer.
  • the encoding device may be called a video / video encoding device, and the decoding device may be called a video / video decoding device.
  • the transmitter can be included in the encoding device.
  • the receiver may be included in the decoding device.
  • the renderer may include a display unit, and the display unit may be configured as a separate device or an external component.
  • the video source may acquire a video / image through a capture, synthesis, or generation process of the video / image.
  • the video source may include a video / image capture device and / or a video / image generation device.
  • the video / image capture device may include, for example, one or more cameras, a video / image archive including previously captured video / images, and the like.
  • the video / image generating device may include, for example, a computer, a tablet and a smart phone, and the like (electronically) to generate the video / image.
  • a virtual video / image may be generated through a computer or the like, and in this case, the video / image capture process may be replaced by a process in which related data is generated.
  • the encoding device can encode the input video / video.
  • the encoding apparatus may perform a series of procedures such as prediction, transformation, and quantization for compression and coding efficiency.
  • the encoded data (encoded video / video information) may be output in the form of a bitstream.
  • the transmitting unit may transmit the encoded video / video information or data output in the form of a bitstream to a receiving unit of a receiving device through a digital storage medium or a network in a file or streaming format.
  • the digital storage media may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD.
  • the transmission unit may include an element for generating a media file through a predetermined file format, and may include an element for transmission through a broadcast / communication network.
  • the receiver may receive / extract the bitstream and deliver it to a decoding device.
  • the decoding apparatus may decode a video / image by performing a series of procedures such as inverse quantization, inverse transformation, and prediction corresponding to the operation of the encoding apparatus.
  • the renderer can render the decoded video / image.
  • the rendered video / image may be displayed through the display unit.
  • FIG. 2 is a diagram schematically illustrating a configuration of a video / encoding apparatus to which the present disclosure can be applied.
  • the video / video encoding device may be referred to as an encoding device
  • the video / video decoding device may be referred to as a decoding device.
  • the encoding / decoding device may include a video encoding / decoding device and / or a video encoding / decoding device, and the video encoding / decoding device is used as a concept including a video encoding / decoding device, or the video encoding / decoding device is a video. It may also be used as a concept including an encoding / decoding device.
  • the encoding device 200 includes an image partitioner 210, a predictor 220, a residual processor 230, and an entropy encoder 240. It may be configured to include an adder (250), a filtering unit (filter, 260) and a memory (memory, 270).
  • the prediction unit 220 may include an inter prediction unit 221 and an intra prediction unit 222.
  • the residual processing unit 230 may include a transform unit 232, a quantizer 233, a dequantizer 234, and an inverse transformer 235.
  • the residual processing unit 230 may further include a subtractor 231.
  • the adder 250 may be called a reconstructor or a recontructged block generator.
  • the above-described image segmentation unit 210, prediction unit 220, residual processing unit 230, entropy encoding unit 240, adding unit 250, and filtering unit 260 may include one or more hardware components (for example, it may be configured by an encoder chipset or processor). Also, the memory 270 may include a decoded picture buffer (DPB), or may be configured by a digital storage medium. The hardware component may further include a memory 270 as an internal / external component.
  • DPB decoded picture buffer
  • the image division unit 210 may divide the input image (or picture, frame) input to the encoding apparatus 100 into one or more processing units.
  • the processing unit may be called a coding unit (CU).
  • the coding unit is recursively divided according to a quad-tree binary-tree ternary-tree (QTBTTT) structure from a coding tree unit (CTU) or a largest coding unit (LCU). You can.
  • QTBTTT quad-tree binary-tree ternary-tree
  • CTU coding tree unit
  • LCU largest coding unit
  • one coding unit may be divided into a plurality of coding units of a deeper depth based on a quad tree structure, a binary tree structure, and / or a ternary structure.
  • a quad tree structure may be applied first, and a binary tree structure and / or a ternary structure may be applied later.
  • a binary tree structure may be applied first.
  • the coding procedure according to the present disclosure can be performed based on the final coding unit that is no longer split.
  • the maximum coding unit may be directly used as a final coding unit based on coding efficiency according to image characteristics, or the coding unit may be recursively divided into coding units having a lower depth than optimal if necessary.
  • the coding unit of the size of can be used as the final coding unit.
  • the coding procedure may include procedures such as prediction, transformation, and reconstruction, which will be described later.
  • the processing unit may further include a prediction unit (PU) or a transform unit (TU).
  • the prediction unit and the transform unit may be partitioned or partitioned from the above-described final coding unit, respectively.
  • the prediction unit may be a unit of sample prediction
  • the transformation unit may be a unit for deriving a transform coefficient and / or a unit for deriving a residual signal from the transform coefficient.
  • the unit may be used interchangeably with terms such as a block or area depending on the case.
  • the MxN block may represent samples of M columns and N rows or a set of transform coefficients.
  • the sample may generally represent a pixel or a pixel value, and may indicate only a pixel / pixel value of a luma component or only a pixel / pixel value of a saturation component.
  • the sample may be used as a term for one picture (or image) corresponding to a pixel or pel.
  • the subtraction unit 231 subtracts the prediction signal (predicted block, prediction samples, or prediction sample array) output from the prediction unit 220 from the input image signal (the original block, the original samples, or the original sample array) and performs a residual A signal (residual block, residual samples, or residual sample array) may be generated, and the generated residual signal is transmitted to the converter 232.
  • the prediction unit 220 may perform prediction on a block to be processed (hereinafter, referred to as a current block) and generate a predicted block including prediction samples for the current block.
  • the prediction unit 220 may determine whether intra prediction or inter prediction is applied in units of a current block or CU.
  • the prediction unit may generate various information regarding prediction, such as prediction mode information, and transmit it to the entropy encoding unit 240.
  • the prediction information may be encoded by the entropy encoding unit 240 and output in the form of a bitstream.
  • the intra prediction unit 222 may predict the current block by referring to samples in the current picture.
  • the referenced samples may be located in the neighborhood of the current block or may be located apart depending on a prediction mode.
  • prediction modes may include a plurality of non-directional modes and a plurality of directional modes.
  • the non-directional mode may include, for example, a DC mode and a planar mode (Planar mode).
  • the directional mode may include, for example, 33 directional prediction modes or 65 directional prediction modes depending on the degree of detail of the prediction direction. However, this is an example, and more or less directional prediction modes may be used depending on the setting.
  • the intra prediction unit 242 may determine a prediction mode applied to the current block using a prediction mode applied to neighboring blocks.
  • the inter prediction unit 221 may derive the predicted block for the current block based on a reference block (reference sample array) specified by a motion vector on the reference picture.
  • motion information may be predicted in units of blocks, subblocks, or samples based on the correlation of motion information between a neighboring block and a current block.
  • the motion information may include a motion vector and a reference picture index.
  • the motion information may further include inter prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information.
  • the neighboring block may include a spatial neighboring block existing in the current picture and a temporal neighboring block present in the reference picture.
  • the reference picture including the reference block and the reference picture including the temporal neighboring block may be the same or different.
  • the temporal neighboring block may be referred to by a name such as a collocated reference block or a colCU, and a reference picture including the temporal neighboring block may be called a collocated picture (colPic).
  • the inter prediction unit 221 constructs a motion information candidate list based on neighboring blocks, and provides information indicating which candidates are used to derive the motion vector and / or reference picture index of the current block. Can be created. Inter prediction may be performed based on various prediction modes. For example, in the case of the skip mode and the merge mode, the inter prediction unit 221 may use motion information of neighboring blocks as motion information of the current block.
  • the residual signal may not be transmitted.
  • a motion vector of a current block is obtained by using a motion vector of a neighboring block as a motion vector predictor and signaling a motion vector difference. I can order.
  • the prediction unit 220 may generate a prediction signal based on various prediction methods described below.
  • the prediction unit may apply intra prediction or inter prediction as well as intra prediction and inter prediction at the same time for prediction for one block. This can be called combined inter and intra prediction (CIIP).
  • the prediction unit may perform intra block copy (IBC) for prediction of a block.
  • the intra block copy may be used for content video / video coding, such as a game, such as screen content coding (SCC).
  • SCC screen content coding
  • IBC basically performs prediction in the current picture, but may be performed similarly to inter prediction in that a reference block is derived in the current picture. That is, the IBC can use at least one of the inter prediction techniques described in this document.
  • the prediction signal generated by the inter prediction unit 221 and / or the intra prediction unit 222 may be used to generate a reconstructed signal or may be used to generate a residual signal.
  • the transform unit 232 may generate transform coefficients by applying a transform technique to the residual signal.
  • the transform technique may include a DCT (Discrete Cosine Transform), a DST (Discrete Sine Transform), a GBT (Graph-Based Transform), or a CNT (Conditionally Non-linear Transform).
  • GBT refers to a transformation obtained from this graph when it is said that the relationship information between pixels is graphically represented.
  • CNT means a transform obtained by generating a predictive signal using all previously reconstructed pixels and based on it.
  • the transform process may be applied to pixel blocks having the same size of a square, or may be applied to blocks of variable sizes other than squares.
  • the quantization unit 233 quantizes the transform coefficients and transmits them to the entropy encoding unit 240, and the entropy encoding unit 240 encodes the quantized signal (information about quantized transform coefficients) and outputs it as a bitstream. have. Information about the quantized transform coefficients may be called residual information.
  • the quantization unit 233 may rearrange block-type quantized transform coefficients into a one-dimensional vector form based on a coefficient scan order, and quantize the quantized transform coefficients based on the one-dimensional vector form. Information regarding transform coefficients may be generated.
  • the entropy encoding unit 240 may perform various encoding methods such as exponential Golomb (CAVLC), context-adaptive variable length coding (CAVLC), and context-adaptive binary arithmetic coding (CABAC).
  • CAVLC exponential Golomb
  • CAVLC context-adaptive variable length coding
  • CABAC context-adaptive binary arithmetic coding
  • the entropy encoding unit 240 may encode information necessary for video / image reconstruction (eg, values of syntax elements, etc.) together with the quantized transform coefficients together or separately.
  • the encoded information (ex. Encoded video / video information) may be transmitted or stored in units of network abstraction layer (NAL) units in the form of a bitstream.
  • NAL network abstraction layer
  • the video / image information may further include information regarding various parameter sets such as an adaptation parameter set (APS), a picture parameter set (PPS), a sequence parameter set (SPS), or a video parameter set (VPS). Also, the video / image information may further include general constraint information. Signaling / transmitted information and / or syntax elements described later in this document may be encoded through the above-described encoding procedure and included in the bitstream.
  • the bitstream can be transmitted over a network or stored on a digital storage medium.
  • the network may include a broadcasting network and / or a communication network
  • the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD.
  • the signal output from the entropy encoding unit 240 may be configured as an internal / external element of the encoding unit 200 by a transmitting unit (not shown) and / or a storing unit (not shown) for storing, or the transmitting unit It may be included in the entropy encoding unit 240.
  • the quantized transform coefficients output from the quantization unit 233 may be used to generate a prediction signal.
  • a residual signal residual block or residual samples
  • the adder 250 may generate a reconstructed signal (restored picture, reconstructed block, reconstructed samples, or reconstructed sample array) by adding the reconstructed residual signal to the predicted signal output from the predictor 220. . If there is no residual for the block to be processed, such as when the skip mode is applied, the predicted block may be used as a reconstructed block.
  • the generated reconstructed signal may be used for intra prediction of the next processing target block in the current picture, or may be used for inter prediction of the next picture through filtering as described below.
  • LMCS luma mapping with chroma scaling
  • the filtering unit 260 may improve subjective / objective image quality by applying filtering to the reconstructed signal.
  • the filtering unit 260 may generate a modified restoration picture by applying various filtering methods to the restoration picture, and the modified restoration picture may be a DPB of the memory 270, specifically, the memory 270. Can be stored in.
  • the various filtering methods may include, for example, deblocking filtering, sample adaptive offset (SAO), adaptive loop filter, bilateral filter, and the like.
  • the filtering unit 260 may generate various information regarding filtering as described later in the description of each filtering method, and may transmit the filtering information to the entropy encoding unit 290.
  • the filtering information may be encoded by the entropy encoding unit 290 and output in the form of a bitstream.
  • the modified reconstructed picture transmitted to the memory 270 may be used as a reference picture in the inter prediction unit 280.
  • inter prediction When the inter prediction is applied through the encoding apparatus, prediction mismatch between the encoding apparatus 200 and the decoding apparatus can be avoided, and encoding efficiency can be improved.
  • the DPB of the memory 270 may store the modified reconstructed picture for use as a reference picture in the inter prediction unit 221.
  • the memory 270 may store motion information of a block from which motion information in a current picture is derived (or encoded) and / or motion information of blocks in a picture that has already been reconstructed.
  • the stored motion information may be transmitted to the inter prediction unit 221 to be used as motion information of a spatial neighboring block or motion information of a temporal neighboring block.
  • the memory 270 may store reconstructed samples of blocks reconstructed in the current picture, and may transmit the reconstructed samples to the intra prediction unit 222.
  • FIG. 3 is a diagram schematically illustrating a configuration of a video / video decoding apparatus to which the present disclosure can be applied.
  • the decoding apparatus 300 includes an entropy decoder (310), a residual processor (320), a prediction unit (predictor, 330), an adder (340), and a filtering unit (filter, 350) and memory (memoery, 360).
  • the prediction unit 330 may include an inter prediction unit 331 and an intra prediction unit 332.
  • the residual processing unit 320 may include a deequantizer 321 and an inverse transformer 321.
  • the entropy decoding unit 310, the residual processing unit 320, the prediction unit 330, the adding unit 340, and the filtering unit 350 described above may include one hardware component (eg, a decoder chipset or processor) according to an embodiment. ).
  • the memory 360 may include a decoded picture buffer (DPB), or may be configured by a digital storage medium.
  • the hardware component may further include a memory 360 as an internal / external component.
  • the decoding apparatus 300 may restore an image in response to a process in which the video / image information is processed in the encoding apparatus of FIG. 2.
  • the decoding apparatus 300 may derive units / blocks based on block partitioning related information obtained from the bitstream.
  • the decoding apparatus 300 may perform decoding using a processing unit applied in the encoding apparatus.
  • the processing unit of decoding may be, for example, a coding unit, and the coding unit may be divided along a quad tree structure, a binary tree structure and / or a ternary tree structure from a coding tree unit or a largest coding unit.
  • One or more transform units can be derived from the coding unit. Then, the decoded video signal decoded and output through the decoding device 300 may be reproduced through the reproduction device.
  • the decoding apparatus 300 may receive the signal output from the encoding apparatus of FIG. 2 in the form of a bitstream, and the received signal may be decoded through the entropy decoding unit 310.
  • the entropy decoding unit 310 may parse the bitstream to derive information (eg, video / image information) necessary for image reconstruction (or picture reconstruction).
  • the video / image information may further include information regarding various parameter sets such as an adaptation parameter set (APS), a picture parameter set (PPS), a sequence parameter set (SPS), or a video parameter set (VPS).
  • the video / image information may further include general constraint information.
  • the decoding apparatus may decode a picture further based on the information on the parameter set and / or the general restriction information.
  • Signaling / receiving information and / or syntax elements described later in this document may be decoded through the decoding procedure and obtained from the bitstream.
  • the entropy decoding unit 310 decodes information in the bitstream based on a coding method such as exponential Golomb coding, CAVLC, or CABAC, and quantizes a value of a syntax element required for image reconstruction and a transform coefficient for residual.
  • a coding method such as exponential Golomb coding, CAVLC, or CABAC
  • the CABAC entropy decoding method receives bins corresponding to each syntax element in the bitstream, and decodes the syntax element information to be decoded and decoding information of neighboring and decoding target blocks or information of symbols / bins decoded in the previous step.
  • the context model is determined by using, and the probability of occurrence of the bin is predicted according to the determined context model, and arithmetic decoding of the bin is performed to generate a symbol corresponding to the value of each syntax element. have.
  • the CABAC entropy decoding method may update the context model using the decoded symbol / bin information for the next symbol / bin context model after determining the context model.
  • information regarding prediction is provided to the prediction unit 330, and information about the residual in which entropy decoding is performed by the entropy decoding unit 310, that is, quantized transform coefficients and Related parameter information may be input to the inverse quantization unit 321.
  • information related to filtering among information decoded by the entropy decoding unit 310 may be provided to the filtering unit 350.
  • a receiving unit (not shown) that receives a signal output from the encoding device may be further configured as an internal / external element of the decoding device 300, or the receiving unit may be a component of the entropy decoding unit 310.
  • the decoding device according to this document may be called a video / picture / picture decoding device, and the decoding device may be classified into an information decoder (video / picture / picture information decoder) and a sample decoder (video / picture / picture sample decoder). It might be.
  • the information decoder may include the entropy decoding unit 310, and the sample decoder may include an inverse quantization unit 321, an inverse transform unit 322, a prediction unit 330, an adder unit 340, and a filtering unit ( 350) and the memory 360.
  • the inverse quantization unit 321 may inverse quantize the quantized transform coefficients to output transform coefficients.
  • the inverse quantization unit 321 may rearrange the quantized transform coefficients in a two-dimensional block form. In this case, the reordering may be performed based on the coefficient scan order performed by the encoding device.
  • the inverse quantization unit 321 may perform inverse quantization on the quantized transform coefficients using a quantization parameter (for example, quantization step size information), and obtain transform coefficients.
  • a quantization parameter for example, quantization step size information
  • the inverse transform unit 322 inversely transforms the transform coefficients to obtain a residual signal (residual block, residual sample array).
  • the prediction unit may perform prediction on the current block and generate a predicted block including prediction samples for the current block.
  • the prediction unit may determine whether intra prediction or inter prediction is applied to the current block based on information about the prediction output from the entropy decoding unit 310, and may determine a specific intra / inter prediction mode.
  • the prediction unit may generate a prediction signal based on various prediction methods described below. For example, the prediction unit may apply intra prediction or inter prediction as well as intra prediction and inter prediction at the same time for prediction for one block. This can be called combined inter and intra prediction (CIIP).
  • the prediction unit may perform intra block copy (IBC) for prediction of a block.
  • the intra block copy may be used for content video / video coding, such as a game, such as screen content coding (SCC).
  • SCC screen content coding
  • IBC basically performs prediction in the current picture, but may be performed similarly to inter prediction in that a reference block is derived in the current picture. That is, the IBC can use at least one of the inter prediction techniques described in this document.
  • the intra prediction unit 332 may predict the current block by referring to samples in the current picture.
  • the referenced samples may be located in the neighborhood of the current block or may be located apart depending on a prediction mode.
  • prediction modes may include a plurality of non-directional modes and a plurality of directional modes.
  • the intra prediction unit 332 may determine a prediction mode applied to the current block using a prediction mode applied to neighboring blocks.
  • the inter prediction unit 331 may derive a predicted block for the current block based on a reference block (reference sample array) specified by a motion vector on the reference picture.
  • motion information may be predicted in units of blocks, subblocks, or samples based on the correlation of motion information between a neighboring block and a current block.
  • the motion information may include a motion vector and a reference picture index.
  • the motion information may further include inter prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information.
  • the neighboring block may include a spatial neighboring block existing in the current picture and a temporal neighboring block present in the reference picture.
  • the inter prediction unit 331 may construct a motion information candidate list based on neighboring blocks, and derive a motion vector and / or reference picture index of the current block based on the received candidate selection information.
  • Inter prediction may be performed based on various prediction modes, and information on the prediction may include information indicating a mode of inter prediction for the current block.
  • the adder 340 generates a reconstructed signal (restored picture, reconstructed block, reconstructed sample array) by adding the obtained residual signal to the predicted signal (predicted block, predicted sample array) output from the predictor 330. You can. If there is no residual for the block to be processed, such as when the skip mode is applied, the predicted block may be used as a reconstructed block.
  • the adding unit 340 may be called a restoration unit or a restoration block generation unit.
  • the generated reconstructed signal may be used for intra prediction of a next processing target block in a current picture, may be output through filtering as described below, or may be used for inter prediction of a next picture.
  • LMCS luma mapping with chroma scaling
  • the filtering unit 350 may improve subjective / objective image quality by applying filtering to the reconstructed signal.
  • the filtering unit 350 may generate a modified reconstructed picture by applying various filtering methods to the reconstructed picture, and the modified reconstructed picture may be a DPB of the memory 60, specifically, the memory 360 Can be transferred to.
  • the various filtering methods may include, for example, deblocking filtering, sample adaptive offset, adaptive loop filter, bilateral filter, and the like.
  • the (corrected) reconstructed picture stored in the DPB of the memory 360 may be used as a reference picture in the inter prediction unit 331.
  • the memory 360 may store motion information of a block from which motion information in a current picture is derived (or decoded) and / or motion information of blocks in a picture that has already been reconstructed.
  • the stored motion information may be transmitted to the inter prediction unit 331 for use as motion information of a spatial neighboring block or motion information of a temporal neighboring block.
  • the memory 360 may store reconstructed samples of blocks reconstructed in the current picture, and may transmit the reconstructed samples to the intra prediction unit 332.
  • the embodiments described in the prediction unit 330, the inverse quantization unit 321, the inverse transform unit 322, and the filtering unit 350 of the decoding apparatus 300 are respectively predictors of the encoding apparatus 200 ( 220), the inverse quantization unit 234, the inverse transformation unit 235, and the filtering unit 260 may be applied to the same or corresponding.
  • a predicted block including prediction samples for a current block as a block to be coded can be generated.
  • the predicted block includes prediction samples in a spatial domain (or pixel domain).
  • the predicted block is derived equally from an encoding device and a decoding device, and the encoding device decodes information (residual information) about the residual between the original block and the predicted block, not the original sample value itself of the original block. Signaling to the device can improve video coding efficiency.
  • the decoding apparatus may derive a residual block including residual samples based on the residual information, and combine the residual block and the predicted block to generate a reconstructed block including reconstructed samples, and reconstruct the reconstructed blocks.
  • a reconstructed picture can be generated.
  • the residual information may be generated through a transform and quantization procedure.
  • the encoding device derives a residual block between the original block and the predicted block, and performs transformation procedures on residual samples (residual sample array) included in the residual block to derive transformation coefficients. And, by performing a quantization procedure on the transform coefficients, the quantized transform coefficients are derived to signal related residual information (via a bitstream) to a decoding apparatus.
  • the residual information may include value information of the quantized transform coefficients, location information, a transform technique, a transform kernel, quantization parameters, and the like.
  • the decoding apparatus may perform an inverse quantization / inverse transformation procedure based on the residual information and derive residual samples (or residual blocks).
  • the decoding apparatus may generate a reconstructed picture based on the predicted block and the residual block.
  • the encoding apparatus may also dequantize / inverse transform quantized transform coefficients for reference for inter prediction of a picture, to derive a residual block, and generate a reconstructed picture based on this.
  • FIG. 4 is a diagram illustrating a motion compensation area according to an embodiment.
  • a prediction performed by deriving a reference block for a current block within a current picture is represented as “CPR (Current Picture Referencing)”, and a merge candidate for CPR prediction is indicated as a “CPR merge candidate”, and MVP
  • the list containing candidates is referred to as a "prediction candidate list”.
  • CPR may be replaced with various terms such as IBC, IBC prediction, IBC coding, CPR prediction, and "CPR merge candidate” as CPR merge candidate, CPR candidate block, CPR candidate, IBC merge candidate block, IBC merge candidate , IBC candidate block, block vector, block vector, CPR merge candidate vector, CPR merge motion vector, and may be replaced with various terms.
  • the "prediction candidate list” includes an MVP candidate list, an MVP list, an AMVP candidate list, an AMVP list, Since it can be replaced with various terms such as a motion vector prediction candidate list, in interpreting a specific term or sentence used to define specific information or concepts in the present specification, the interpretation limited to the name should not be performed. It is necessary to pay attention to and interpret various actions, functions, and effects according to the content of the term.
  • FIG. 4 shows a region capable of performing motion compensation when performing motion compensation in the current picture.
  • wave-like parallelization may be supported. That is, parallelization may be performed in units of a maximum coding unit line (or CTU line), and in order to maintain a reference to a neighboring block in consideration of compression performance, when a motion compensation is used in a current picture, an upper maximum coding unit is currently
  • a maximum coding unit on the right side by +1 or +2 in units of a maximum coding unit line based on a maximum coding unit may be used as a motion compensation area.
  • FIG. 4 can represent a prediction based on CPR for the current block.
  • One embodiment of the present disclosure relates to a method of using a part of the current picture that has been encoded so far as a reference block in the process of encoding the current block (or current coding unit).
  • the prediction unit of the encoding device may add the current picture to the reference picture list, and detect a block (most) similar to the current block in a specific area (eg, a predetermined area) of the already coded areas.
  • the encoding apparatus predicts motion information by performing inter prediction based on an optimal motion vector, and may transmit a motion vector difference value to a decoding device through a bitstream.
  • Two methods can be used to indicate whether motion compensation is performed in the current picture.
  • it may be determined whether motion compensation is performed in the current picture based on the reference picture index.
  • the DiffPicOrderCnt function represents a difference in picture order count (POC) between two pictures coming as input.
  • the input value currPic means the current picture including the current block (or current decoding target block)
  • RefPicList0 [ref_idx_l0 [x0] [y0]] means the reference picture of the current block.
  • x0 and y0 indicate the position of the current block
  • ref_idx_l0 indicates the reference picture index in the zero direction of the reference picture list. Therefore, the reference picture of the current block can be derived from the reference picture list based on the received reference picture index.
  • the output value 0 by the DiffPicOrderCnt function means that the current image and the reference image are the same image.
  • whether to perform motion compensation in the current picture in units of coding units or block units may be transmitted in the form of a flag.
  • intra_bc_flag indicating whether motion compensation is performed in the current picture may be defined, and when the value of intra_bc_flag is 1, the corresponding block performs motion compensation within the current picture, and the flag value is 0. In the case of, the corresponding block may not perform motion compensation within the current picture.
  • encoding efficiency increases when an I-slice without a reference picture is used or when the most similar motion compensation block is present in the current picture can do.
  • FIG. 5 is a flowchart illustrating a method of constructing a merge candidate list according to an embodiment.
  • One embodiment of the present disclosure relates to a method of constructing a merge candidate list in consideration of a CPR merge candidate based on CPR that performs prediction by using a part of a current picture decoded in a merge mode as a reference block.
  • the encoding apparatus and / or the decoding apparatus may search for spatial neighboring blocks of the current block and insert it into the merge candidate list to construct the merge candidate list.
  • the spatial neighboring blocks may be, for example, a left block adjacent to the current block, a left lower block, an upper block, a right upper block, an upper left block, etc., and examples are not limited thereto.
  • the encoding apparatus and / or the decoding apparatus may search for temporal neighboring blocks and add them to the merge candidate list. After filling the merge candidate list based on spatial and temporal neighboring blocks, if the number of merge candidates included in the merge candidate list is less than the maximum number of merge candidates (or the maximum merge size), a combined merge candidate (or pair) Pair-wise merge candidates) may be added to the merge candidate list.
  • the pairwise merge candidate indicates a merge candidate derived based on a combination of merge candidates already included in the merge candidate list.
  • Table 1 shows a list of pairwise merge candidates representing combined pairwise merge candidates.
  • the corresponding CPR merge candidate may not be used when combining the pairwise merge candidates. That is, when generating a pairwise merge candidate, a condition for determining whether the merge candidate is a CPR merge candidate may be added. Since a CPR merge candidate referencing a current picture and a merge candidate referencing a different picture may have different characteristics, coding efficiency may be reduced when combining or averaging is applied. Therefore, a candidate referring to the current picture can be used only for unidirectional prediction.
  • a merge type may be designated for each merge candidate to derive whether it is a CPR merge candidate or a CPR merge candidate based on a POC of a reference picture for each merge candidate.
  • the next CPR merge candidate (depending on the size of the current block) Can be added to the merge candidate list.
  • the CPR merge candidate is, for example, (-W, 0), (0, -H), (-2W, 0), (0, -2H), (-W,- H) or (-2W, -2H).
  • the CPR merge candidates are, for example, (-W, 0) and (0, -H), (0, -H) and (-W, 0), (-2W, 0) and (0, -2H), (0, -2H) and (-2W, 0), (-W, -H) and (-2W, -2H), or (-2W, -2H) and ( -W, -H).
  • W represents the width of the current block
  • H represents the height of the current block.
  • the scope of the disclosure is not limited to the sequence of examples for the above-described CPR merge candidate.
  • FIG. 6 is a diagram showing an example of a reference picture list configuration of a current picture.
  • the CPR merge candidate may be inserted in a candidate direction of a reference picture list side including a current picture among reference picture list 0 and reference picture list 1 for the current picture.
  • the current picture is POC6, and the current picture (POC6) for POC4, POC0 and CPR is included as a reference picture in the reference picture list 0 direction, and POC8 and POC16 are included as a reference picture in the reference picture list 1 direction. If there is no current picture for CPR, the CPR merge candidate is inserted in the reference picture list 0 direction, and the reference picture list 1 may not be used. That is, unidirectional prediction can be used.
  • Table 2 shows an example of the composition of the merge candidate list.
  • the CPR merge candidate according to an embodiment of the present disclosure is the reference picture list 0 as the merge candidate index 3 and the merge candidate index 4 Included in the direction, a motion vector may not exist in the reference picture list 1 direction.
  • RefIdx value -1 means that the corresponding motion vector and reference picture are not used.
  • Merge index MVL0 RefIdx0 MVL1 RefIdx1 0 (10, -5) 0 (0, 0) -One One (0, 0) -One (18, -8) 0 2 (20, 10) One (30, 3) One 3 (-2W, 0) 2 (0, 0) -One 4 (0, -2H) 2 (0, 0) -One 5 (0, 0) 0 (0, 0) 0
  • FIG. 7 is a diagram for describing a CPR merge candidate
  • FIG. 8 is a flowchart illustrating a method of constructing a merge candidate list according to another embodiment.
  • the encoding apparatus and / or the decoding apparatus inserts spatial merge candidates derived by searching for spatial neighboring blocks into a merge candidate list and spatial merge candidates derived by searching for temporal neighboring blocks. It is inserted into the merge candidate list, and a combined merge candidate according to the method described above in Table 1 may be inserted into the merge candidate list.
  • a CPR merge candidate referring to a reference block in a current picture may be inserted into a merge candidate list only when it is a valid block vector based on the current picture.
  • block vector refers to a vector representing a displacement between a reference block and a current block that has already been decoded in the current picture.
  • the "CPR merge candidate” may indicate a block size-based motion vector candidate.
  • the CPR merge candidate since the CPR merge candidate is not always based (or dependent) on the size (or size) of the current block, the CPR merge candidate should not be interpreted as necessarily representing a block size based motion vector candidate.
  • FIG. 7 is a view for explaining a step of determining a valid CPR merge candidate (or block vector) among the methods of constructing the merge candidate list.
  • the CPR merge candidate may not be used (or adopted, selected, etc.).
  • a displacement of a given block vector is applied based on the upper left position of the current block 712, and the block vector is the block vector
  • the merge candidate can be used only when it is within an allowable range or region.
  • the CPR merge candidate (or block vector) is in a line buffer (714) of the largest coding unit (or coding tree unit (CTU) 710) including the current block 712. Reference samples included may be indicated. That is, the range or region in which the block vector is allowed may be determined as the region including the maximum coding unit 710 and the line buffer region 714 of the maximum coding unit.
  • the line buffer 710 may include a left line buffer and a right line buffer based on the maximum coding unit.
  • the CPR merge candidate may indicate a reference sample included in the left line buffer (ie, the range or region in which the block vector is allowed indicates the maximum coding unit and the left line buffer region of the maximum coding unit).
  • the CPR merge candidate may indicate a reference sample included in the upper line buffer (ie, the range or region in which the block vector is allowed is the maximum coding unit and It may be determined as an area including an upper line buffer area of the largest coding unit).
  • the CPR merge candidate may indicate a sample included in the largest coding unit 710 including the current block 712. That is, a range or an area in which the block vector is allowed may be determined as an area including the maximum coding unit 710.
  • the determination of a valid block vector may be based on pseudo codes according to Tables 3 to 6 below.
  • the pseudo codes according to Tables 3 to 6 below are examples of the range or region in which the block vector is allowed. However, examples of the range or region in which the block vector is allowed are not limited by the pseudo codes according to Tables 3 to 6 below.
  • Table 3 shows an example of defining a region decoded in the current picture 700 including the current block 712 as an allowable range of the block vector. That is, the x-axis coordinates and y-axis coordinates of the point where the block vector is applied to the current block 712 must be greater than or equal to 0, and the x-axis coordinates of the point where the block vector is applied to the current block 712.
  • the value W is added to should be less than or equal to picW, and the value of H added to the y-axis coordinate of the point where the block vector is applied to the current block 712 should be less than or equal to picH.
  • xBv + W must be less than or equal to 0, or yBv + H must be less than or equal to 0 to indicate the decoded region within the current picture 700.
  • the allowable range of the block vector may be limited to the maximum coding unit 710 including the current block 712.
  • the determination as to whether it is a valid block vector may be performed based on the pseudo code according to Table 4 below.
  • Table 4 shows an example in which the maximum coding unit 710 including the current block 712 is defined as an allowable range of a block vector. That is, the x-axis coordinate and y-axis coordinate of the point where the block vector is applied to the current block 712 must be greater than or equal to xQ and yQ, respectively, and the x-axis of the point where the block vector is applied to the current block 712.
  • the value of W added to the coordinate should be less than or equal to xQ + xCTU, and the value of H added to the y-axis coordinate of the point where the block vector is applied to the position of the current block 712 should be less than or equal to yQ + yCTU.
  • xBv + W must be less than or equal to 0, or yBv + H must be less than or equal to 0 to indicate the decoded region within the current picture 700.
  • the line buffer 714 of the current largest coding unit 710 may be used to apply filtering (eg, deblocking filtering) to an image in which intra prediction or decoding is completed in the video codec system according to an embodiment have. That is, in the coding process, some reference samples of the left line buffer existing to the left of the largest coding unit 710 including the current block 712 or some reference samples of the upper line buffer existing above the maximum coding unit may be used. have.
  • samples existing in the line buffer 714 being used in another decoding process may be used without additional memory burden in reference to the current picture 700.
  • the determination as to whether or not it is a valid block vector is a pseudo of Table 5 below. It can be code based.
  • N can represent, for example, one of integers of 1 or more and 8 or less.
  • the video decoding system decodes pictures in a sequential order, where the largest coding unit 720 located to the left of the current largest coding unit 710 decodes the current largest coding unit 710 When you do, it can exist in memory.
  • the maximum coding located on the left side Information about the samples in the left line buffer, which are some of the samples of the unit 720 may be stored in the memory. For this reason, as shown in Table 5, the current maximum coding unit 710 including the current block 712 and the upper and left line buffers of the current maximum coding unit 710 may be defined as an allowable range of the block vector. .
  • the block size based motion vector candidate (or CPR merge candidate) according to the CPR condition has a specific threshold number of block size based motion vector candidates according to the CPR condition included in the merge candidate list. It can only be added if it is below the value.
  • the threshold value may have a value from 0 to the maximum number of merge candidate lists.
  • spatial merge candidates and temporal peripheral blocks derived based on spatial peripheral blocks and temporal peripheral blocks, and combines derived based on the spatial merge candidates and temporal peripheral blocks If the merge candidates included in the merge candidate list are less than the maximum number of merge candidates even after inserting the de-merge candidate and the CPR merge candidate into the merge candidate list, the encoding device and / or the decoding device merge the merge candidate (0, 0). You can insert it into the candidate list. However, the process of inserting merge candidates (0, 0) into the merge candidate list is not a required component and may be omitted in some cases.
  • description is mainly focused on the content of configuring the merge candidate list based on the CPR merge candidate when the merge mode is applied to the current block 712, but the embodiment is limited thereto. It does not work.
  • a motion vector prediction candidate list may be configured based on a “CPR motion vector predictor” corresponding to the CPR merge candidate, and the tactics of FIGS. 4 to 8 may be described above. Can be applied.
  • FIGS. 10 and 11 related embodiments will be described with reference to content configuring a motion vector prediction candidate list based on a CPR motion vector predictor during inter prediction.
  • FIG. 9 is a flowchart illustrating a method of constructing a motion vector prediction candidate list according to an embodiment.
  • One embodiment of the present disclosure relates to a method of constructing a motion vector prediction candidate list in a motion vector prediction mode when performing motion compensation in a current picture.
  • the encoding apparatus and / or the decoding apparatus may search for spatial neighboring blocks for constructing a motion vector prediction candidate list and insert it into a motion vector prediction candidate list.
  • the spatial neighboring blocks may be, for example, a left block adjacent to the current block, a left lower block, an upper block, a right upper block, an upper left block, etc., and examples are not limited thereto.
  • temporal neighboring blocks may be searched and added to the motion vector prediction candidate list.
  • the block After filling the motion vector prediction candidate list with spatial and temporal neighboring blocks, if the number of motion vector prediction candidates included in the motion vector prediction candidate list does not reach the maximum number of motion vector prediction candidates, the block according to an embodiment of the present disclosure
  • the size-based motion vector candidate (or CPR motion vector predictor) can be inserted into the motion vector prediction candidate list.
  • the number of motion vector prediction candidates included in the configured motion vector prediction candidate list is less than the maximum number of motion vector prediction candidates
  • the current block has a reference for CPR (depending on the size of the current block) )
  • the following CPR motion vector predictor may be added to the motion vector prediction candidate list.
  • the CPR motion vector predictor is (-W, 0), (0, -H), (-2W, 0), (0, -2H), (-W) , -H) or (-2W, -2H).
  • the CPR motion vector predictors are, for example, (-W, 0) and (0, -H), (0, -H) and (-W, 0), (- 2W, 0) and (0, -2H), (0, -2H) and (-2W, 0), (-W, -H) and (-2W, -2H), or (-2W, -2H) And (-W, -H).
  • W represents the width of the current block
  • H represents the height of the current block.
  • the scope of the disclosure is not limited to the sequence of examples for the above-described CPR motion vector predictor.
  • an example of the maximum number of motion vector prediction candidates is 2, but the embodiment is not limited thereto.
  • the maximum number of motion vector prediction candidates may be an integer of 1 or more and 6 or less.
  • FIG. 10 is a flowchart illustrating a method of constructing a motion vector prediction candidate list according to another embodiment.
  • FIG. 10 is a diagram for explaining a step of determining a valid CPR motion vector predictor (or block size-based motion vector candidate) among methods of constructing a motion vector prediction candidate list.
  • a valid CPR motion vector predictor or block size-based motion vector candidate
  • some of the left, right, top, and bottom directions of the block to which the displacement is applied are of the current picture. If it is external, the CPR motion vector predictor may not be used (or adopted, selected, etc.).
  • a displacement of a given CPR motion vector predictor is applied based on the upper left position of the current block, and the CPR motion vector predictor is the CPR motion vector
  • the CPR motion vector predictor can be used only when the predictor is within an allowable range or region.
  • 10 shows a method of determining a valid CPR motion vector predictor among methods of constructing a motion vector prediction candidate list. The method of determining a valid CPR motion vector predictor may be the same or similar to the method used when determining a valid CPR merge candidate in the embodiments according to FIGS. 7 and 8 above.
  • FIG. 11 is a flowchart illustrating an operation of an encoding device according to an embodiment
  • FIG. 12 is a block diagram showing a configuration of an encoding device according to an embodiment.
  • the encoding device according to FIGS. 11 and 12 may perform operations corresponding to the decoding device according to FIGS. 13 and 14. Accordingly, the operations of the decoding device to be described later in FIGS. 13 and 14 can be applied to the encoding device according to FIGS. 11 and 12 as well.
  • Each step disclosed in FIG. 11 may be performed by the encoding apparatus 200 disclosed in FIG. 2. More specifically, S1100 to S1130 may be performed by the prediction unit 220 illustrated in FIG. 2, and S1140 may be performed by the entropy encoding unit 240 illustrated in FIG. 2. In addition, the operations according to S1100 to S1140 are based on some of the contents described in FIGS. 4 to 10. Accordingly, detailed descriptions that overlap with those described above in FIGS. 2 and 4 to 10 will be omitted or simplified.
  • the encoding apparatus may include a prediction unit 220 and an entropy encoding unit 240. However, in some cases, not all of the components illustrated in FIG. 12 may be required components of the encoding apparatus, and the encoding apparatus may be implemented by more or less components than those illustrated in FIG. 12.
  • the prediction unit 220 and the entropy encoding unit 240 may be implemented as separate chips, or at least two or more components may be implemented through one chip.
  • the encoding apparatus may derive merge candidates based on at least one spatial neighboring block and at least one temporal neighboring block of the current block (S1100). More specifically, when a merge mode is applied to the current block, the prediction unit 220 of the encoding apparatus may derive merge candidates based on at least one spatial neighboring block and at least one temporal neighboring block of the current block. have.
  • the encoding apparatus may derive a CPR merge candidate referring to a reference block in a current picture including the current block (S1110). More specifically, when the number of the derived merge candidates is less than the maximum number of merge candidates, the prediction unit 220 of the encoding apparatus may derive a CPR merge candidate referring to a reference block in the current picture including the current block. have.
  • the encoding apparatus may configure a merge candidate list based on the merge candidates and the CPR merge candidate (S1120). More specifically, the prediction unit 220 of the encoding apparatus may construct a merge candidate list based on the merge candidates and the CPR merge candidate.
  • the encoding apparatus may derive prediction samples for the current block based on the configured merge candidate list (S1130). More specifically, the prediction unit 220 of the encoding apparatus may derive prediction samples for the current block based on the configured merge candidate list.
  • the encoding apparatus may encode image information obtained in the process of deriving the prediction samples (S1140). More specifically, the entropy encoding unit 240 of the encoding device may encode image information obtained in the process of deriving the prediction samples.
  • the encoding apparatus when the merge mode is applied to the current block, the encoding apparatus is based on at least one spatial peripheral block and at least one temporal peripheral block of the current block Merge candidates are derived (S1100), and if the number of derived merge candidates is less than the maximum number of merge candidates, a CPR merge candidate is derived that refers to a reference block in the current picture including the current block (S1110), Constructing a merge candidate list based on the merge candidates and the CPR merge candidate (S1120), deriving prediction samples for the current block based on the configured merge candidate list (S1130), and deriving the prediction samples It is possible to encode (S1140) the image information obtained in. That is, the merge candidate list can be efficiently constructed by using the CPR merge candidate in the merge mode.
  • FIG. 13 is a flowchart illustrating an operation of a decoding apparatus according to an embodiment
  • FIG. 14 is a block diagram showing a configuration of a decoding apparatus according to an embodiment.
  • Each step disclosed in FIG. 13 may be performed by the decoding apparatus 300 disclosed in FIG. 3. More specifically, S1300 to S1330 may be performed by the prediction unit 330 illustrated in FIG. 3, and S1340 may be performed by the adder 340 illustrated in FIG. 3. In addition, the operations according to S1300 to S1340 are based on some of the contents described in FIGS. 4 to 10B. Therefore, detailed descriptions that overlap with those described above in FIGS. 3 to 12 will be omitted or simplified.
  • the decoding apparatus may include a prediction unit 330 and an adder 340. However, in some cases, all of the components illustrated in FIG. 14 may not be essential components of the decoding apparatus, and the decoding apparatus may be implemented by more or fewer components than those illustrated in FIG. 14.
  • the prediction unit 330 and the addition unit 340 may be implemented as separate chips, or at least two or more components may be implemented through one chip.
  • the decoding apparatus When a merge mode is applied to a current block, the decoding apparatus according to an embodiment may derive merge candidates based on at least one spatial neighboring block and at least one temporal neighboring block of the current block (S1300). . More specifically, when a merge mode is applied to the current block, the prediction unit 330 of the decoding apparatus may derive merge candidates based on at least one spatial neighboring block and at least one temporal neighboring block of the current block. have.
  • the decoding apparatus may derive a CPR (Current Picture Referencing) merge candidate referring to a reference block in a current picture including the current block when the number of derived merge candidates is less than the maximum number of merge candidates. It can be (S1310). More specifically, when the number of the derived merge candidates is less than the maximum number of merge candidates, the prediction unit 330 of the decoding apparatus, a CPR (Current Picture Referencing) merge referring to a reference block in the current picture including the current block Candidates can be derived.
  • a CPR Current Picture Referencing
  • the block vector may indicate a reference sample included in a line buffer of the largest Corning unit including the current block.
  • the line buffer includes a left line buffer and a right line buffer based on the maximum coding unit, and the reference sample can be included in the left line buffer.
  • the line buffer includes a left line buffer and a right line buffer based on the maximum coding unit, and the reference sample can be included in the upper line buffer.
  • the block vector may indicate a sample in the largest coding unit including the current block.
  • the CPR merge candidate may be determined based on the size of the current block.
  • the CPR merge candidate may be derived when the number of derived merge candidates is less than two.
  • the decoding apparatus may configure a merge candidate list based on the merge candidates and the CPR merge candidate (S1320). More specifically, the prediction unit 330 of the decoding apparatus may construct a merge candidate list based on the merge candidates and the CPR merge candidate.
  • the merge candidate list includes the merge candidates, the CPR merge candidate, and a zero vector. Characterized in that the configuration, based on the video decoding method.
  • the merge candidate list includes a plurality of CPR merge candidates, and the number of the plurality of CPR merge candidates may be equal to or less than a pre-defined threshold value.
  • the decoding apparatus may derive prediction samples for the current block based on the configured merge candidate list (S1330). More specifically, the prediction unit 330 of the decoding apparatus may derive prediction samples for the current block based on the configured merge candidate list.
  • the decoding apparatus may generate reconstruction samples for the current block based on the prediction samples (S1340). More specifically, the adder 340 of the decoding apparatus may generate reconstruction samples for the current block based on the prediction samples.
  • the decoding apparatus when a merge mode is applied to a current block, the decoding apparatus is based on at least one spatial peripheral block and at least one temporal peripheral block of the current block Merge candidates are derived (S1300), and when the number of derived merge candidates is less than the maximum number of merge candidates, a CPR (Current Picture Referencing) merging candidate referring to a reference block in the current picture including the current block is derived.
  • a CPR Current Picture Referencing
  • the merge candidate list can be efficiently constructed by using the CPR merge candidate in the merge mode.
  • the embodiments described in the present disclosure may be implemented and implemented on a processor, microprocessor, controller, or chip.
  • the functional units illustrated in each drawing may be implemented and implemented on a computer, processor, microprocessor, controller, or chip.
  • decoders and encoders to which embodiments of the present disclosure are applied include multimedia broadcast transmission / reception devices, mobile communication terminals, home cinema video devices, digital cinema video devices, surveillance cameras, video communication devices, real-time communication devices such as video communication, mobile Streaming devices, storage media, camcorders, video on demand (VoD) service providers, over the top video (OTT video) devices, Internet streaming service providers, 3D (3D) video devices, video telephony video devices, and medical video devices Etc., and may be used to process video signals or data signals.
  • the OTT video (Over the top video) device may include a game console, a Blu-ray player, an Internet-connected TV, a home theater system, a smartphone, a tablet PC, and a digital video recorder (DVR).
  • the processing method to which the embodiments of the present disclosure are applied may be produced in the form of a computer-executable program, and may be stored in a computer-readable recording medium.
  • Multimedia data having a data structure according to the present disclosure can also be stored in a computer-readable recording medium.
  • the computer-readable recording medium includes all kinds of storage devices and distributed storage devices in which computer-readable data is stored.
  • the computer-readable recording medium includes, for example, Blu-ray Disc (BD), Universal Serial Bus (USB), ROM, PROM, EPROM, EEPROM, RAM, CD-ROM, magnetic tape, floppy disk and optical. It may include a data storage device.
  • the computer-readable recording medium includes media implemented in the form of a carrier wave (for example, transmission via the Internet).
  • the bitstream generated by the encoding method may be stored in a computer-readable recording medium or transmitted through a wired or wireless communication network.
  • embodiments of the present disclosure may be implemented as a computer program product by program code, and the program code may be executed on a computer by the embodiment of the present disclosure.
  • the program code can be stored on a computer readable carrier.
  • 15 is a diagram illustrating a structure diagram of a content streaming system according to an embodiment.
  • the content streaming system to which the present disclosure is applied may largely include an encoding server, a streaming server, a web server, a media storage, a user device, and a multimedia input device.
  • the encoding server serves to compress a content input from multimedia input devices such as a smartphone, a camera, and a camcorder into digital data to generate a bitstream and transmit it to the streaming server.
  • multimedia input devices such as a smart phone, a camera, and a camcorder directly generate a bitstream
  • the encoding server may be omitted.
  • the bitstream may be generated by an encoding method or a bitstream generation method to which the present disclosure is applied, and the streaming server may temporarily store the bitstream in the process of transmitting or receiving the bitstream.
  • the streaming server transmits multimedia data to a user device based on a user request through a web server, and the web server serves as an intermediary to inform the user of the service.
  • the web server delivers it to the streaming server, and the streaming server transmits multimedia data to the user.
  • the content streaming system may include a separate control server, in which case the control server serves to control commands / responses between devices in the content streaming system.
  • the streaming server may receive content from a media storage and / or encoding server. For example, when content is received from the encoding server, the content may be received in real time. In this case, in order to provide a smooth streaming service, the streaming server may store the bitstream for a predetermined time.
  • Examples of the user device include a mobile phone, a smart phone, a laptop computer, a terminal for digital broadcasting, a personal digital assistants (PDA), a portable multimedia player (PMP), navigation, a slate PC, Tablet PC, ultrabook, wearable device (e.g., smartwatch, smart glass, head mounted display (HMD)), digital TV, desktop Computers, digital signage, and the like.
  • PDA personal digital assistants
  • PMP portable multimedia player
  • slate PC slate PC
  • Tablet PC tablet
  • ultrabook ultrabook
  • wearable device e.g., smartwatch, smart glass, head mounted display (HMD)
  • digital TV desktop Computers, digital signage, and the like.
  • Each server in the content streaming system can be operated as a distributed server, and in this case, data received from each server can be distributed.
  • the above-described method according to the present disclosure may be implemented in software form, and the encoding device and / or the decoding device according to the present disclosure may perform image processing, such as a TV, a computer, a smartphone, a set-top box, and a display device. Device.
  • Each of the above-described parts, modules, or units may be a processor or a hardware part that executes continuous execution processes stored in a memory (or storage unit). Each of the steps described in the above-described embodiment may be performed by a processor or hardware parts. Each module / block / unit described in the above-described embodiment can operate as a hardware / processor. Also, the methods presented by the present disclosure can be executed as code. This code can be written to a storage medium that can be read by a processor, and thus can be read by a processor provided by an apparatus.
  • the above-described method may be implemented as a module (process, function, etc.) that performs the above-described function.
  • Modules are stored in memory and can be executed by a processor.
  • the memory may be internal or external to the processor, and may be connected to the processor by various well-known means.
  • the processor may include an application-specific integrated circuit (ASIC), other chipsets, logic circuits, and / or data processing devices.
  • the memory may include read-only memory (ROM), random access memory (RAM), flash memory, memory cards, storage media and / or other storage devices.

Abstract

본 개시의 일 실시예에 따른 디코딩 장치에 의하여 수행되는 픽처 디코딩 방법은, 현재 블록에 머지 모드가 적용되는 경우, 상기 현재 블록의 적어도 하나의 공간적 주변 블록들 및 적어도 하나의 시간적 주변 블록들을 기반으로 머지 후보들을 도출하는 단계, 상기 도출된 머지 후보들의 개수가 최대 머지 후보 개수보다 적은 경우, 상기 현재 블록을 포함하는 현재 픽처 내의 참조 블록을 참조하는 CPR 머지 후보를 도출하는 단계, 상기 머지 후보들 및 상기 CPR 머지 후보를 기반으로 머지 후보 리스트를 구성하는 단계, 상기 구성된 머지 후보 리스트를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하는 단계 및 상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성하는 단계를 포함하는 것을 특징으로 한다.

Description

머지 후보 리스트를 구성하는 방법 및 장치
본 개시는 정지 영상 또는 동영상 인코딩/디코딩 방법에 관한 것으로서, 보다 상세하게는 머지 모드에서 머지 후보 리스트를 구성하는 방법 및 장치에 관한 것이다.
최근 HD(High Definition) 영상 및 UHD(Ultra High Definition) 영상과 같은 고해상도, 고품질의 영상에 대한 수요가 다양한 분야에서 증가하고 있다. 영상 데이터가 고해상도, 고품질이 될수록 기존의 영상 데이터에 비해 상대적으로 전송되는 정보량 또는 비트량이 증가하기 때문에 기존의 유무선 광대역 회선과 같은 매체를 이용하여 영상 데이터를 전송하거나 기존의 저장 매체를 이용해 영상 데이터를 저장하는 경우, 전송 비용과 저장 비용이 증가된다.
이에 따라, 고해상도, 고품질 영상의 정보를 효과적으로 전송하거나 저장하고, 재생하기 위해 고효율의 영상 압축 기술이 요구된다.
본 개시의 기술적 과제는 영상 코딩 효율을 높이는 방법 및 장치를 제공함에 있다.
본 개시의 다른 기술적 과제는 인터 예측 또는 CPR(Current Picture Referencing)을 수행하는 방법 및 장치를 제공함에 있다. 또한, 본 개시의
본 개시의 또 다른 기술적 과제는 머지 모드에서 머지 후보 리스트를 구성하는 방법 및 장치를 제공함에 있다.
본 개시의 또 다른 기술적 과제는 머지 모드에서 CPR 머지 후보를 이용하여 머지 후보 리스트를 구성하는 방법 및 장치를 제공함에 있다.
본 개시의 또 다른 기술적 과제는 인터 예측 시 움직임 벡터 예측 후보 리스트를 구성하는 방법 및 장치를 제공함에 있다.
본 개시의 일 실시예에 따르면, 디코딩 장치에 의하여 수행되는 영상 디코딩 방법이 제공된다. 상기 방법은, 현재 블록에 머지 모드가 적용되는 경우, 상기 현재 블록의 적어도 하나의 공간적 주변 블록들 및 적어도 하나의 시간적 주변 블록들을 기반으로 머지 후보들을 도출하는 단계, 상기 도출된 머지 후보들의 개수가 최대 머지 후보 개수보다 적은 경우, 상기 현재 블록을 포함하는 현재 픽처 내의 참조 블록을 참조하는 CPR(Current Picture Referencing) 머지 후보를 도출하는 단계, 상기 머지 후보들 및 상기 CPR 머지 후보를 기반으로 머지 후보 리스트를 구성하는 단계, 상기 구성된 머지 후보 리스트를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하는 단계 및 상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성하는 단계를 포함하는 것을 특징으로 한다.
본 개시의 다른 일 실시예에 따르면, 영상 디코딩을 수행하는 디코딩 장치가 제공된다. 상기 디코딩 장치는, 현재 블록에 머지 모드가 적용되는 경우, 상기 현재 블록의 적어도 하나의 공간적 주변 블록들 및 적어도 하나의 시간적 주변 블록들을 기반으로 머지 후보들을 도출하고, 상기 도출된 머지 후보들의 개수가 최대 머지 후보 개수보다 적은 경우, 상기 현재 블록을 포함하는 현재 픽처 내의 참조 블록을 참조하는 CPR 머지 후보를 도출하고, 상기 머지 후보들 및 상기 CPR 머지 후보를 기반으로 머지 후보 리스트를 구성하고, 상기 구성된 머지 후보 리스트를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하는 예측부 및 상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성하는 가산부를 포함하는 것을 특징으로 한다.
본 개시의 또 다른 일 실시예에 따르면, 인코딩 장치에 의한 영상 인코딩 방법이 제공된다. 상기 방법은, 현재 블록에 머지 모드가 적용되는 경우, 상기 현재 블록의 적어도 하나의 공간적 주변 블록들 및 적어도 하나의 시간적 주변 블록들을 기반으로 머지 후보들을 도출하는 단계, 상기 도출된 머지 후보들의 개수가 최대 머지 후보 개수보다 적은 경우, 상기 현재 블록을 포함하는 현재 픽처 내의 참조 블록을 참조하는 CPR 머지 후보를 도출하는 단계, 상기 머지 후보들 및 상기 CPR 머지 후보를 기반으로 머지 후보 리스트를 구성하는 단계, 상기 구성된 머지 후보 리스트를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하는 단계 및 상기 예측 샘플들을 도출하는 과정에서 획득된 영상 정보를 인코딩 하는 단계를 포함하는 것을 특징으로 한다.
본 개시의 또 다른 일 실시예에 따르면, 영상 인코딩을 수행하는 인코딩 장치가 제공된다. 상기 인코딩 장치는, 현재 블록에 머지 모드가 적용되는 경우, 상기 현재 블록의 적어도 하나의 공간적 주변 블록들 및 적어도 하나의 시간적 주변 블록들을 기반으로 머지 후보들을 도출하고, 상기 도출된 머지 후보들의 개수가 최대 머지 후보 개수보다 적은 경우, 상기 현재 블록을 포함하는 현재 픽처 내의 참조 블록을 참조하는 CPR 머지 후보를 도출하고, 상기 머지 후보들 및 상기 CPR 머지 후보를 기반으로 머지 후보 리스트를 구성하고, 상기 구성된 머지 후보 리스트를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하는 예측부 및 상기 예측 샘플들을 도출하는 과정에서 획득된 영상 정보를 인코딩 하는 엔트로피 인코딩부를 포함하는 것을 특징으로 한다.
본 개시에 따르면 전반적인 영상/비디오 압축 효율을 높일 수 있다.
본 개시에 따르면 인터 예측 또는 CPR을 효율적으로 수행할 수 있다.
본 개시에 따르면 머지 모드에서 머지 후보 리스트를 효율적으로 구성할 수 있다.
본 개시에 따르면 머지 모드에서 CPR 머지 후보를 이용하여 머지 후보 리스트를 효율적으로 구성할 수 있다.
본 개시에 따르면 인터 예측 시 움직임 벡터 예측 후보 리스트를 효율적으로 구성할 수 있다.
도 1은 본 개시가 적용될 수 있는 비디오/영상 코딩 시스템의 예를 개략적으로 나타낸다.
도 2는 본 개시가 적용될 수 있는 비디오/영상 인코딩 장치의 구성을 개략적으로 설명하는 도면이다.
도 3은 본 개시가 적용될 수 있는 비디오/영상 디코딩 장치의 구성을 개략적으로 설명하는 도면이다.
도 4는 일 실시예에 따른 움직임 보상 가능 영역을 도시하는 도면이다.
도 5는 일 실시예에 따른 머지 후보 리스트를 구성하는 방법을 도시하는 흐름도이다.
도 6은 현재 픽처의 참조 픽처 리스트 구성의 일 예시를 도시하는 도면이다.
도 7은 CPR 머지 후보에 대한 설명을 위한 도면이다.
도 8은 다른 일 실시예에 따른 머지 후보 리스트를 구성하는 방법을 도시하는 흐름도이다.
도 9는 일 실시예에 따른 움직임 벡터 예측 후보 리스트를 구성하는 방법을 도시하는 흐름도이다.
도 10은 다른 일 실시예에 따른 움직임 벡터 예측 후보 리스트를 구성하는 방법을 도시하는 흐름도이다.
도 11은 일 실시예에 따른 인코딩 장치의 동작을 도시하는 흐름도이다.
도 12는 일 실시예에 따른 인코딩 장치의 구성을 도시하는 블록도이다.
도 13은 일 실시예에 따른 디코딩 장치의 동작을 도시하는 흐름도이다.
도 14는 일 실시예에 따른 디코딩 장치의 구성을 도시하는 블록도이다.
도 15는 일 실시예에 따른 컨텐츠 스트리밍 시스템 구조도를 도시하는 도면이다.
본 개시의 일 실시예에 따르면, 디코딩 장치에 의하여 수행되는 영상 디코딩 방법이 제공된다. 상기 방법은, 현재 블록에 머지 모드가 적용되는 경우, 상기 현재 블록의 적어도 하나의 공간적 주변 블록들 및 적어도 하나의 시간적 주변 블록들을 기반으로 머지 후보들을 도출하는 단계, 상기 도출된 머지 후보들의 개수가 최대 머지 후보 개수보다 적은 경우, 상기 현재 블록을 포함하는 현재 픽처 내의 참조 블록을 참조하는 CPR(Current Picture Referencing) 머지 후보를 도출하는 단계, 상기 머지 후보들 및 상기 CPR 머지 후보를 기반으로 머지 후보 리스트를 구성하는 단계, 상기 구성된 머지 후보 리스트를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하는 단계 및 상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성하는 단계를 포함하는 것을 특징으로 한다.
본 개시는 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다. 그러나, 이는 본 개시를 특정 실시예에 한정하려고 하는 것이 아니다. 본 명세서에서 상용하는 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 개시의 기술적 사상을 한정하려는 의도로 사용되는 것은 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서 "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성 요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성 요소, 부품 도는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.
한편, 본 개시에서 설명되는 도면상의 각 구성들은 서로 다른 특징적인 기능들에 관한 설명의 편의를 위해 독립적으로 도시된 것으로서, 각 구성들이 서로 별개의 하드웨어나 별개의 소프트웨어로 구현된다는 것을 의미하지는 않는다. 예컨대, 각 구성 중 두 개 이상의 구성이 합쳐져 하나의 구성을 이룰 수도 있고, 하나의 구성이 복수의 구성으로 나뉘어질 수도 있다. 각 구성이 통합 및/또는 분리된 실시예도 본 개시의 본질에서 벗어나지 않는 한 본 개시의 권리범위에 포함된다.
이하의 설명은 비디오/영상 코딩에 관한 것이다. 예를 들어 이 문서에서 개시된 방법/실시예는 VVC (versatile video coding) 표준, EVC (essential video coding) 표준, AV1 (AOMedia Video 1) 표준, AVS2 (2nd generation of audio video coding standard) 또는 차세대 비디오/영상 코딩 표준(ex. H.267, H.268 등)에 개시되는 방법에 적용될 수 있다.
이하, 첨부한 도면들을 참조하여, 본 개시의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 이하, 도면상의 동일한 구성 요소에 대해서는 동일한 참조 부호를 사용하고 동일한 구성 요소에 대해서 중복된 설명은 생략한다.
본 명세서에서 비디오(video)는 시간의 흐름에 따른 일련의 영상(image)들의 집합을 의미할 수 있다. 픽처(picture)는 일반적으로 특정 시간대의 하나의 영상을 나타내는 단위를 의미하며, 슬라이스(slice)/타일(tile)은 코딩에 있어서 픽처의 일부를 구성하는 단위이다. 슬라이스/타일은 하나 이상의 CTU(coding tree unit)를 포함할 수 있다. 하나의 픽처는 하나 이상의 슬라이스/타일로 구성될 수 있다. 하나의 픽처는 하나 이상의 타일 그룹으로 구성될 수 있으며, 하나의 타일 그룹은 하나 이상의 타일들을 포함할 수 있다. 필요에 따라서 픽처, 슬라이스 및 타일은 서로 혼용되어 사용될 수 있다.
픽셀(pixel) 또는 펠(pel)은 하나의 픽처(또는 영상)을 구성하는 최소의 단위를 의미할 수 있다. 또한, 픽셀에 대응하는 용어로서 '샘플(sample)'이 사용될 수 있다. 샘플은 일반적으로 픽셀 또는 픽셀의 값을 나타낼 수 있으며, 휘도(luma) 성분의 픽셀/픽셀값만을 나타낼 수도 있고, 채도(chroma) 성분의 픽셀/픽셀 값만을 나타낼 수도 있다.
유닛(unit)은 영상 처리의 기본 단위를 나타낸다. 유닛은 픽처의 특정 영역 및 해당 영역에 관련된 정보 중 적어도 하나를 포함할 수 있다. 유닛은 경우에 따라서 블록(block) 또는 영역(area) 등의 용어와 혼용하여 사용될 수 있다. 일반적인 경우, MxN 블록은 M개의 열과 N개의 행으로 이루어진 샘플들 또는 변환 계수(transform coefficient)들의 집합을 나타낼 수 있다.
도 1은 본 개시를 적용될 수 있는 비디오/영상 코딩 시스템의 예를 개략적으로 나타낸다.
도 1을 참조하면, 비디오/영상 코딩 시스템은 소스 디바이스 및 수신 디바이스를 포함할 수 있다. 소스 디바이스는 인코딩된 비디오(video)/영상(image) 정보 또는 데이터를 파일 또는 스트리밍 형태로 디지털 저장매체 또는 네트워크를 통하여 수신 디바이스로 전달할 수 있다.
상기 소스 디바이스는 비디오 소스, 인코딩 장치, 전송부를 포함할 수 있다. 상기 수신 디바이스는 수신부, 디코딩 장치 및 렌더러를 포함할 수 있다. 상기 인코딩 장치는 비디오/영상 인코딩 장치라고 불릴 수 있고, 상기 디코딩 장치는 비디오/영상 디코딩 장치라고 불릴 수 있다. 송신기는 인코딩 장치에 포함될 수 있다. 수신기는 디코딩 장치에 포함될 수 있다. 렌더러는 디스플레이부를 포함할 수도 있고, 디스플레이부는 별개의 디바이스 또는 외부 컴포넌트로 구성될 수도 있다.
비디오 소스는 비디오/영상의 캡쳐, 합성 또는 생성 과정 등을 통하여 비디오/영상을 획득할 수 있다. 비디오 소스는 비디오/영상 캡쳐 디바이스 및/또는 비디오/영상 생성 디바이스를 포함할 수 있다. 비디오/영상 캡쳐 디바이스는 예를 들어, 하나 이상의 카메라, 이전에 캡쳐된 비디오/영상을 포함하는 비디오/영상 아카이브 등을 포함할 수 있다. 비디오/영상 생성 디바이스는 예를 들어 컴퓨터, 타블렛 및 스마트폰 등을 포함할 수 있으며 (전자적으로) 비디오/영상을 생성할 수 있다. 예를 들어, 컴퓨터 등을 통하여 가상의 비디오/영상이 생성될 수 있으며, 이 경우 관련 데이터가 생성되는 과정으로 비디오/영상 캡쳐 과정이 갈음될 수 있다.
인코딩 장치는 입력 비디오/영상을 인코딩할 수 있다. 인코딩 장치는 압축 및 코딩 효율을 위하여 예측, 변환, 양자화 등 일련의 절차를 수행할 수 있다. 인코딩된 데이터(인코딩된 비디오/영상 정보)는 비트스트림(bitstream) 형태로 출력될 수 있다.
전송부는 비트스트림 형태로 출력된 인코딩된 비디오/영상 정보 또는 데이터를 파일 또는 스트리밍 형태로 디지털 저장매체 또는 네트워크를 통하여 수신 디바이스의 수신부로 전달할 수 있다. 디지털 저장 매체는 USB, SD, CD, DVD, 블루레이, HDD, SSD 등 다양한 저장 매체를 포함할 수 있다. 전송부는 미리 정해진 파일 포멧을 통하여 미디어 파일을 생성하기 위한 엘리먼트를 포함할 수 있고, 방송/통신 네트워크를 통한 전송을 위한 엘리먼트를 포함할 수 있다. 수신부는 상기 비트스트림을 수신/추출하여 디코딩 장치로 전달할 수 있다.
디코딩 장치는 인코딩 장치의 동작에 대응하는 역양자화, 역변환, 예측 등 일련의 절차를 수행하여 비디오/영상을 디코딩할 수 있다.
렌더러는 디코딩된 비디오/영상을 렌더링할 수 있다. 렌더링된 비디오/영상은 디스플레이부를 통하여 디스플레이될 수 있다.
도 2는 본 개시가 적용될 수 있는 비디오/영상 인코딩 장치(video encoding apparatus)의 구성을 개략적으로 설명하는 도면이다. 이하 비디오/영상 인코딩 장치는 인코딩 장치로 지칭될 수 있고, 비디오/영상 디코딩 장치는 디코딩 장치로 지칭될 수 있다. 인코딩/디코딩 장치는 비디오 인코딩/디코딩 장치 및/또는 영상 인코딩/디코딩 장치를 포함할 수 있고, 비디오 인코딩/디코딩 장치가 영상 인코딩/디코딩 장치를 포함하는 개념으로 사용되거나, 영상 인코딩/디코딩 장치가 비디오 인코딩/디코딩 장치를 포함하는 개념으로 사용될 수도 있다.
도 2를 참조하면, 인코딩 장치(200)는 영상 분할부(image partitioner, 210), 예측부(predictor, 220), 레지듀얼 처리부(residual processor, 230), 엔트로피 인코딩부(entropy encoder, 240), 가산부(adder, 250), 필터링부(filter, 260) 및 메모리(memory, 270)를 포함하여 구성될 수 있다. 예측부(220)는 인터 예측부(221) 및 인트라 예측부(222)를 포함할 수 있다. 레지듀얼 처리부(230)는 변환부(transformer, 232), 양자화부(quantizer 233), 역양자화부(dequantizer 234), 역변환부(inverse transformer, 235)를 포함할 수 있다. 레지듀얼 처리부(230)은 감산부(subtractor, 231)를 더 포함할 수 있다. 가산부(250)는 복원부(reconstructor) 또는 복원 블록 생성부(recontructged block generator)로 불릴 수 있다. 상술한 영상 분할부(210), 예측부(220), 레지듀얼 처리부(230), 엔트로피 인코딩부(240), 가산부(250) 및 필터링부(260)는 실시예에 따라 하나 이상의 하드웨어 컴포넌트(예를 들어 인코더 칩셋 또는 프로세서)에 의하여 구성될 수 있다. 또한 메모리(270)는 DPB(decoded picture buffer)를 포함할 수 있고, 디지털 저장 매체에 의하여 구성될 수도 있다. 상기 하드웨어 컴포넌트는 메모리(270)을 내/외부 컴포넌트로 더 포함할 수도 있다.
영상 분할부(210)는 인코딩 장치(100)에 입력된 입력 영상(또는, 픽처, 프레임)를 하나 이상의 처리 유닛(processing unit)으로 분할할 수 있다. 일 예로, 상기 처리 유닛은 코딩 유닛(coding unit, CU)이라고 불릴 수 있다. 이 경우 코딩 유닛은 코딩 트리 유닛(coding tree unit, CTU) 또는 최대 코딩 유닛(largest coding unit, LCU)으로부터 QTBTTT (Quad-tree binary-tree ternary-tree) 구조에 따라 재귀적으로(recursively) 분할될 수 있다. 예를 들어, 하나의 코딩 유닛은 쿼드 트리 구조, 바이너리 트리 구조, 및/또는 터너리 구조를 기반으로 하위(deeper) 뎁스의 복수의 코딩 유닛들로 분할될 수 있다. 이 경우 예를 들어 쿼드 트리 구조가 먼저 적용되고 바이너리 트리 구조 및/또는 터너리 구조가 나중에 적용될 수 있다. 또는 바이너리 트리 구조가 먼저 적용될 수도 있다. 더 이상 분할되지 않는 최종 코딩 유닛을 기반으로 본 개시에 따른 코딩 절차가 수행될 수 있다. 이 경우 영상 특성에 따른 코딩 효율 등을 기반으로, 최대 코딩 유닛이 바로 최종 코딩 유닛으로 사용될 수 있고, 또는 필요에 따라 코딩 유닛은 재귀적으로(recursively) 보다 하위 뎁스의 코딩 유닛들로 분할되어 최적의 사이즈의 코딩 유닛이 최종 코딩 유닛으로 사용될 수 있다. 여기서 코딩 절차라 함은 후술하는 예측, 변환, 및 복원 등의 절차를 포함할 수 있다. 다른 예로, 상기 처리 유닛은 예측 유닛(PU: Prediction Unit) 또는 변환 유닛(TU: Transform Unit)을 더 포함할 수 있다. 이 경우 상기 예측 유닛 및 상기 변환 유닛은 각각 상술한 최종 코딩 유닛으로부터 분할 또는 파티셔닝될 수 있다. 상기 예측 유닛은 샘플 예측의 단위일 수 있고, 상기 변환 유닛은 변환 계수를 유도하는 단위 및/또는 변환 계수로부터 레지듀얼 신호(residual signal)를 유도하는 단위일 수 있다.
유닛은 경우에 따라서 블록(block) 또는 영역(area) 등의 용어와 혼용하여 사용될 수 있다. 일반적인 경우, MxN 블록은 M개의 열과 N개의 행으로 이루어진 샘플들 또는 변환 계수(transform coefficient)들의 집합을 나타낼 수 있다. 샘플은 일반적으로 픽셀 또는 픽셀의 값을 나타낼 수 있으며, 휘도(luma) 성분의 픽셀/픽셀값만을 나타낼 수도 있고, 채도(chroma) 성분의 픽셀/픽셀 값만을 나타낼 수도 있다. 샘플은 하나의 픽처(또는 영상)을 픽셀(pixel) 또는 펠(pel)에 대응하는 용어로서 사용될 수 있다.
감산부(231)는 입력 영상 신호(원본 블록, 원본 샘플들 또는 원본 샘플 어레이)에서 예측부(220)로부터 출력된 예측 신호(예측된 블록, 예측 샘플들 또는 예측 샘플 어레이)를 감산하여 레지듀얼 신호(레지듀얼 블록, 레지듀얼 샘플들 또는 레지듀얼 샘플 어레이)를 생성할 수 있고, 생성된 레지듀얼 신호는 변환부(232)로 전송된다. 예측부(220)는 처리 대상 블록(이하, 현재 블록이라 함)에 대한 예측을 수행하고, 상기 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록(predicted block)을 생성할 수 있다. 예측부(220)는 현재 블록 또는 CU 단위로 인트라 예측이 적용되는지 또는 인터 예측이 적용되는지 결정할 수 있다. 예측부는 각 예측모드에 대한 설명에서 후술하는 바와 같이 예측 모드 정보 등 예측에 관한 다양한 정보를 생성하여 엔트로피 인코딩부(240)로 전달할 수 있다. 예측에 관한 정보는 엔트로피 인코딩부(240)에서 인코딩되어 비트스트림 형태로 출력될 수 있다.
인트라 예측부(222)는 현재 픽처 내의 샘플들을 참조하여 현재 블록을 예측할 수 있다. 상기 참조되는 샘플들은 예측 모드에 따라 상기 현재 블록의 주변(neighbor)에 위치할 수 있고, 또는 떨어져서 위치할 수도 있다. 인트라 예측에서 예측 모드들은 복수의 비방향성 모드와 복수의 방향성 모드를 포함할 수 있다. 비방향성 모드는 예를 들어 DC 모드 및 플래너 모드(Planar 모드)를 포함할 수 있다. 방향성 모드는 예측 방향의 세밀한 정도에 따라 예를 들어 33개의 방향성 예측 모드 또는 65개의 방향성 예측 모드를 포함할 수 있다. 다만, 이는 예시로서 설정에 따라 그 이상 또는 그 이하의 개수의 방향성 예측 모드들이 사용될 수 있다. 인트라 예측부(242)는 주변 블록에 적용된 예측 모드를 이용하여, 현재 블록에 적용되는 예측 모드를 결정할 수도 있다.
인터 예측부(221)는 참조 픽처 상에서 움직임 벡터에 의해 특정되는 참조 블록(참조 샘플 어레이)을 기반으로, 현재 블록에 대한 예측된 블록을 유도할 수 있다. 이때, 인터 예측 모드에서 전송되는 움직임 정보의 양을 줄이기 위해 주변 블록과 현재 블록 간의 움직임 정보의 상관성에 기초하여 움직임 정보를 블록, 서브블록 또는 샘플 단위로 예측할 수 있다. 상기 움직임 정보는 움직임 벡터 및 참조 픽처 인덱스를 포함할 수 있다. 상기 움직임 정보는 인터 예측 방향(L0 예측, L1 예측, Bi 예측 등) 정보를 더 포함할 수 있다. 인터 예측의 경우에, 주변 블록은 현재 픽처 내에 존재하는 공간적 주변 블록(spatial neighboring block)과 참조 픽처에 존재하는 시간적 주변 블록(temporal neighboring block)을 포함할 수 있다. 상기 참조 블록을 포함하는 참조 픽처와 상기 시간적 주변 블록을 포함하는 참조 픽처는 동일할 수도 있고, 다를 수도 있다. 상기 시간적 주변 블록은 동일 위치 참조 블록(collocated reference block), 동일 위치 CU(colCU) 등의 이름으로 불릴 수 있으며, 상기 시간적 주변 블록을 포함하는 참조 픽처는 동일 위치 픽처(collocated picture, colPic)라고 불릴 수도 있다. 예를 들어, 인터 예측부(221)는 주변 블록들을 기반으로 움직임 정보 후보 리스트를 구성하고, 상기 현재 블록의 움직임 벡터 및/또는 참조 픽처 인덱스를 도출하기 위하여 어떤 후보가 사용되는지를 지시하는 정보를 생성할 수 있다. 다양한 예측 모드를 기반으로 인터 예측이 수행될 수 있으며, 예를 들어 스킵 모드와 머지 모드의 경우에, 인터 예측부(221)는 주변 블록의 움직임 정보를 현재 블록의 움직임 정보로 이용할 수 있다. 스킵 모드의 경우, 머지 모드와 달리 레지듀얼 신호가 전송되지 않을 수 있다. 움직임 정보 예측(motion vector prediction, MVP) 모드의 경우, 주변 블록의 움직임 벡터를 움직임 벡터 예측자(motion vector predictor)로 이용하고, 움직임 벡터 차분(motion vector difference)을 시그널링함으로써 현재 블록의 움직임 벡터를 지시할 수 있다.
예측부(220)는 후술하는 다양한 예측 방법을 기반으로 예측 신호를 생성할 수 있다. 예를 들어, 예측부는 하나의 블록에 대한 예측을 위하여 인트라 예측 또는 인터 예측을 적용할 수 있을 뿐 아니라, 인트라 예측과 인터 예측을 동시에 적용할 수 있다. 이는 combined inter and intra prediction (CIIP)라고 불릴 수 있다. 또한, 예측부는 블록에 대한 예측을 위하여 인트라 블록 카피(intra block copy, IBC)를 수행할 수도 있다. 상기 인트라 블록 카피는 예를 들어 SCC(screen content coding) 등과 같이 게임 등의 컨텐츠 영상/동영상 코딩을 위하여 사용될 수 있다. IBC는 기본적으로 현재 픽처 내에서 예측을 수행하나 현재 픽처 내에서 참조 블록을 도출하는 점에서 인터 예측과 유사하게 수행될 수 있다. 즉, IBC는 본 문서에서 설명되는 인터 예측 기법들 중 적어도 하나를 이용할 수 있다.
인터 예측부(221) 및/또는 인트라 예측부(222)를 통해 생성된 예측 신호는 복원 신호를 생성하기 위해 이용되거나 레지듀얼 신호를 생성하기 위해 이용될 수 있다. 변환부(232)는 레지듀얼 신호에 변환 기법을 적용하여 변환 계수들(transform coefficients)를 생성할 수 있다. 예를 들어, 변환 기법은 DCT(Discrete Cosine Transform), DST(Discrete Sine Transform), GBT(Graph-Based Transform), 또는 CNT(Conditionally Non-linear Transform) 등을 포함할 수 있다. 여기서, GBT는 픽셀 간의 관계 정보를 그래프로 표현한다고 할 때 이 그래프로부터 얻어진 변환을 의미한다. CNT는 이전에 복원된 모든 픽셀(all previously reconstructed pixel)를 이용하여 예측 신호를 생성하고 그에 기초하여 획득되는 변환을 의미한다. 또한, 변환 과정은 정사각형의 동일한 크기를 갖는 픽셀 블록에 적용될 수도 있고, 정사각형이 아닌 가변 크기의 블록에도 적용될 수 있다.
양자화부(233)는 변환 계수들을 양자화하여 엔트로피 인코딩부(240)로 전송되고, 엔트로피 인코딩부(240)는 양자화된 신호(양자화된 변환 계수들에 관한 정보)를 인코딩하여 비트스트림으로 출력할 수 있다. 상기 양자화된 변환 계수들에 관한 정보는 레지듀얼 정보라고 불릴 수 있다. 양자화부(233)는 계수 스캔 순서(scan order)를 기반으로 블록 형태의 양자화된 변환 계수들을 1차원 벡터 형태로 재정렬할 수 있고, 상기 1차원 벡터 형태의 양자화된 변환 계수들을 기반으로 상기 양자화된 변환 계수들에 관한 정보를 생성할 수도 있다. 엔트로피 인코딩부(240)는 예를 들어 지수 골롬(exponential Golomb), CAVLC(context-adaptive variable length coding), CABAC(context-adaptive binary arithmetic coding) 등과 같은 다양한 인코딩 방법을 수행할 수 있다. 엔트로피 인코딩부(240)는 양자화된 변환 계수들 외 비디오/이미지 복원에 필요한 정보들(예컨대 신택스 요소들(syntax elements)의 값 등)을 함께 또는 별도로 인코딩할 수도 있다. 인코딩된 정보(ex. 인코딩된 비디오/영상 정보)는 비트스트림 형태로 NAL(network abstraction layer) 유닛 단위로 전송 또는 저장될 수 있다. 상기 비디오/영상 정보는 어댑테이션 파라미터 세트(APS), 픽처 파라미터 세트(PPS), 시퀀스 파라미터 세트(SPS) 또는 비디오 파라미터 세트(VPS) 등 다양한 파라미터 세트에 관한 정보를 더 포함할 수 있다. 또한 상기 비디오/영상 정보는 일반 제한 정보(general constraint information)을 더 포함할 수 있다. 본 문서에서 후술되는 시그널링/전송되는 정보 및/또는 신택스 요소들은 상술한 인코딩 절차를 통하여 인코딩되어 상기 비트스트림에 포함될 수 있다. 상기 비트스트림은 네트워크를 통하여 전송될 수 있고, 또는 디지털 저장매체에 저장될 수 있다. 여기서 네트워크는 방송망 및/또는 통신망 등을 포함할 수 있고, 디지털 저장매체는 USB, SD, CD, DVD, 블루레이, HDD, SSD 등 다양한 저장매체를 포함할 수 있다. 엔트로피 인코딩부(240)로부터 출력된 신호는 전송하는 전송부(미도시) 및/또는 저장하는 저장부(미도시)가 인코딩 장치(200)의 내/외부 엘리먼트로서 구성될 수 있고, 또는 전송부는 엔트로피 인코딩부(240)에 포함될 수도 있다.
양자화부(233)로부터 출력된 양자화된 변환 계수들은 예측 신호를 생성하기 위해 이용될 수 있다. 예를 들어, 양자화된 변환 계수들에 역양자화부(234) 및 역변환부(235)를 통해 역양자화 및 역변환을 적용함으로써 레지듀얼 신호(레지듀얼 블록 or 레지듀얼 샘플들)를 복원할 수 있다. 가산부(250)는 복원된 레지듀얼 신호를 예측부(220)로부터 출력된 예측 신호에 더함으로써 복원(reconstructed) 신호(복원 픽처, 복원 블록, 복원 샘플들 또는 복원 샘플 어레이)가 생성될 수 있다. 스킵 모드가 적용된 경우와 같이 처리 대상 블록에 대한 레지듀얼이 없는 경우, 예측된 블록이 복원 블록으로 사용될 수 있다. 생성된 복원 신호는 현재 픽처 내 다음 처리 대상 블록의 인트라 예측을 위하여 사용될 수 있고, 후술하는 바와 같이 필터링을 거쳐서 다음 픽처의 인터 예측을 위하여 사용될 수도 있다.
한편 픽처 인코딩 및/또는 복원 과정에서 LMCS (luma mapping with chroma scaling)가 적용될 수도 있다.
필터링부(260)는 복원 신호에 필터링을 적용하여 주관적/객관적 화질을 향상시킬 수 있다. 예를 들어 필터링부(260)은 복원 픽처에 다양한 필터링 방법을 적용하여 수정된(modified) 복원 픽처를 생성할 수 있고, 상기 수정된 복원 픽처를 메모리(270), 구체적으로 메모리(270)의 DPB에 저장할 수 있다. 상기 다양한 필터링 방법은 예를 들어, 디블록킹 필터링, 샘플 적응적 오프셋(sample adaptive offset, SAO), 적응적 루프 필터(adaptive loop filter), 양방향 필터(bilateral filter) 등을 포함할 수 있다. 필터링부(260)은 각 필터링 방법에 대한 설명에서 후술하는 바와 같이 필터링에 관한 다양한 정보를 생성하여 엔트로피 인코딩부(290)로 전달할 수 있다. 필터링 관한 정보는 엔트로피 인코딩부(290)에서 인코딩되어 비트스트림 형태로 출력될 수 있다.
메모리(270)에 전송된 수정된 복원 픽처는 인터 예측부(280)에서 참조 픽처로 사용될 수 있다. 인코딩 장치는 이를 통하여 인터 예측이 적용되는 경우, 인코딩 장치(200)와 디코딩 장치에서의 예측 미스매치를 피할 수 있고, 부호화 효율도 향상시킬 수 있다.
메모리(270)의 DPB는 수정된 복원 픽처를 인터 예측부(221)에서의 참조 픽처로 사용하기 위해 저장할 수 있다. 메모리(270)는 현재 픽처 내 움직임 정보가 도출된(또는 인코딩된) 블록의 움직임 정보 및/또는 이미 복원된 픽처 내 블록들의 움직임 정보를 저장할 수 있다. 상기 저장된 움직임 정보는 공간적 주변 블록의 움직임 정보 또는 시간적 주변 블록의 움직임 정보로 활용하기 위하여 인터 예측부(221)에 전달할 수 있다. 메모리(270)는 현재 픽처 내 복원된 블록들의 복원 샘플들을 저장할 수 있고, 인트라 예측부(222)에 전달할 수 있다.
도 3은 본 개시가 적용될 수 있는 비디오/영상 디코딩 장치의 구성을 개략적으로 설명하는 도면이다.
도 3을 참조하면, 디코딩 장치(300)는 엔트로피 디코딩부(entropy decoder, 310), 레지듀얼 처리부(residual processor, 320), 예측부(predictor, 330), 가산부(adder, 340), 필터링부(filter, 350) 및 메모리(memoery, 360)를 포함하여 구성될 수 있다. 예측부(330)는 인터 예측부(331) 및 인트라 예측부(332)를 포함할 수 있다. 레지듀얼 처리부(320)는 역양자화부(dequantizer, 321) 및 역변환부(inverse transformer, 321)를 포함할 수 있다. 상술한 엔트로피 디코딩부(310), 레지듀얼 처리부(320), 예측부(330), 가산부(340) 및 필터링부(350)는 실시예에 따라 하나의 하드웨어 컴포넌트(예를 들어 디코더 칩셋 또는 프로세서)에 의하여 구성될 수 있다. 또한 메모리(360)는 DPB(decoded picture buffer)를 포함할 수 있고, 디지털 저장 매체에 의하여 구성될 수도 있다. 상기 하드웨어 컴포넌트는 메모리(360)을 내/외부 컴포넌트로 더 포함할 수도 있다.
비디오/영상 정보를 포함하는 비트스트림이 입력되면, 디코딩 장치(300)는 도 2의 인코딩 장치에서 비디오/영상 정보가 처리된 프로세스에 대응하여 영상을 복원할 수 있다. 예를 들어, 디코딩 장치(300)는 상기 비트스트림으로부터 획득한 블록 분할 관련 정보를 기반으로 유닛들/블록들을 도출할 수 있다. 디코딩 장치(300)는 인코딩 장치에서 적용된 처리 유닛을 이용하여 디코딩을 수행할 수 있다. 따라서 디코딩의 처리 유닛은 예를 들어 코딩 유닛일 수 있고, 코딩 유닛은 코딩 트리 유닛 또는 최대 코딩 유닛으로부터 쿼드 트리 구조, 바이너리 트리 구조 및/또는 터너리 트리 구조를 따라서 분할될 수 있다. 코딩 유닛으로부터 하나 이상의 변환 유닛이 도출될 수 있다. 그리고, 디코딩 장치(300)를 통해 디코딩 및 출력된 복원 영상 신호는 재생 장치를 통해 재생될 수 있다.
디코딩 장치(300)는 도 2의 인코딩 장치로부터 출력된 신호를 비트스트림 형태로 수신할 수 있고, 수신된 신호는 엔트로피 디코딩부(310)를 통해 디코딩될 수 있다. 예를 들어, 엔트로피 디코딩부(310)는 상기 비트스트림을 파싱하여 영상 복원(또는 픽처 복원)에 필요한 정보(ex. 비디오/영상 정보)를 도출할 수 있다. 상기 비디오/영상 정보는 어댑테이션 파라미터 세트(APS), 픽처 파라미터 세트(PPS), 시퀀스 파라미터 세트(SPS) 또는 비디오 파라미터 세트(VPS) 등 다양한 파라미터 세트에 관한 정보를 더 포함할 수 있다. 또한 상기 비디오/영상 정보는 일반 제한 정보(general constraint information)을 더 포함할 수 있다. 으며, 디코딩 장치는 상기 파라미터 세트에 관한 정보 및/또는 상기 일반 제한 정보를 더 기반으로 픽처를 디코딩할 수 있다. 본 문서에서 후술되는 시그널링/수신되는 정보 및/또는 신택스 요소들은 상기 디코딩 절차를 통하여 디코딩되어 상기 비트스트림으로부터 획득될 수 있다. 예컨대, 엔트로피 디코딩부(310)는 지수 골롬 부호화, CAVLC 또는 CABAC 등의 코딩 방법을 기초로 비트스트림 내 정보를 디코딩하고, 영상 복원에 필요한 신택스 엘리먼트의 값, 레지듀얼에 관한 변환 계수의 양자화된 값 들을 출력할 수 있다. 보다 상세하게, CABAC 엔트로피 디코딩 방법은, 비트스트림에서 각 구문 요소에 해당하는 빈을 수신하고, 디코딩 대상 구문 요소 정보와 주변 및 디코딩 대상 블록의 디코딩 정보 혹은 이전 단계에서 디코딩된 심볼/빈의 정보를 이용하여 문맥(context) 모델을 결정하고, 결정된 문맥 모델에 따라 빈(bin)의 발생 확률을 예측하여 빈의 산술 디코딩(arithmetic decoding)를 수행하여 각 구문 요소의 값에 해당하는 심볼을 생성할 수 있다. 이때, CABAC 엔트로피 디코딩 방법은 문맥 모델 결정 후 다음 심볼/빈의 문맥 모델을 위해 디코딩된 심볼/빈의 정보를 이용하여 문맥 모델을 업데이트할 수 있다. 엔트로피 디코딩부(310)에서 디코딩된 정보 중 예측에 관한 정보는 예측부(330)로 제공되고, 엔트로피 디코딩부(310)에서 엔트로피 디코딩이 수행된 레지듀얼에 대한 정보, 즉 양자화된 변환 계수들 및 관련 파라미터 정보는 역양자화부(321)로 입력될 수 있다. 또한, 엔트로피 디코딩부(310)에서 디코딩된 정보 중 필터링에 관한 정보는 필터링부(350)으로 제공될 수 있다. 한편, 인코딩 장치로부터 출력된 신호를 수신하는 수신부(미도시)가 디코딩 장치(300)의 내/외부 엘리먼트로서 더 구성될 수 있고, 또는 수신부는 엔트로피 디코딩부(310)의 구성요소일 수도 있다. 한편, 본 문서에 따른 디코딩 장치는 비디오/영상/픽처 디코딩 장치라고 불릴 수 있고, 상기 디코딩 장치는 정보 디코더(비디오/영상/픽처 정보 디코더) 및 샘플 디코더(비디오/영상/픽처 샘플 디코더)로 구분할 수도 있다. 상기 정보 디코더는 상기 엔트로피 디코딩부(310)를 포함할 수 있고, 상기 샘플 디코더는 상기 역양자화부(321), 역변환부(322), 예측부(330), 가산부(340), 필터링부(350) 및 메모리(360) 중 적어도 하나를 포함할 수 있다.
역양자화부(321)에서는 양자화된 변환 계수들을 역양자화하여 변환 계수들을 출력할 수 있다. 역양자화부(321)는 양자화된 변환 계수들을 2차원의 블록 형태로 재정렬할 수 있다. 이 경우 상기 재정렬은 인코딩 장치에서 수행된 계수 스캔 순서를 기반하여 재정렬을 수행할 수 있다. 역양자화부(321)는 양자화 파라미터(예를 들어 양자화 스텝 사이즈 정보)를 이용하여 양자화된 변환 계수들에 대한 역양자화를 수행하고, 변환 계수들(transform coefficient)를 획득할 수 있다.
역변환부(322)에서는 변환 계수들를 역변환하여 레지듀얼 신호(레지듀얼 블록, 레지듀얼 샘플 어레이)를 획득하게 된다.
예측부는 현재 블록에 대한 예측을 수행하고, 상기 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록(predicted block)을 생성할 수 있다. 예측부는 엔트로피 디코딩부(310)로부터 출력된 상기 예측에 관한 정보를 기반으로 상기 현재 블록에 인트라 예측이 적용되는지 또는 인터 예측이 적용되는지 결정할 수 있고, 구체적인 인트라/인터 예측 모드를 결정할 수 있다.
예측부는 후술하는 다양한 예측 방법을 기반으로 예측 신호를 생성할 수 있다. 예를 들어, 예측부는 하나의 블록에 대한 예측을 위하여 인트라 예측 또는 인터 예측을 적용할 수 있을 뿐 아니라, 인트라 예측과 인터 예측을 동시에 적용할 수 있다. 이는 combined inter and intra prediction (CIIP)라고 불릴 수 있다. 또한, 예측부는 블록에 대한 예측을 위하여 인트라 블록 카피(intra block copy, IBC)를 수행할 수도 있다. 상기 인트라 블록 카피는 예를 들어 SCC(screen content coding) 등과 같이 게임 등의 컨텐츠 영상/동영상 코딩을 위하여 사용될 수 있다. IBC는 기본적으로 현재 픽처 내에서 예측을 수행하나 현재 픽처 내에서 참조 블록을 도출하는 점에서 인터 예측과 유사하게 수행될 수 있다. 즉, IBC는 본 문서에서 설명되는 인터 예측 기법들 중 적어도 하나를 이용할 수 있다.
인트라 예측부(332)는 현재 픽처 내의 샘플들을 참조하여 현재 블록을 예측할 수 있다. 상기 참조되는 샘플들은 예측 모드에 따라 상기 현재 블록의 주변(neighbor)에 위치할 수 있고, 또는 떨어져서 위치할 수도 있다. 인트라 예측에서 예측 모드들은 복수의 비방향성 모드와 복수의 방향성 모드를 포함할 수 있다. 인트라 예측부(332)는 주변 블록에 적용된 예측 모드를 이용하여, 현재 블록에 적용되는 예측 모드를 결정할 수도 있다.
인터 예측부(331)는 참조 픽처 상에서 움직임 벡터에 의해 특정되는 참조 블록(참조 샘플 어레이)을 기반으로, 현재 블록에 대한 예측된 블록을 유도할 수 있다. 이때, 인터 예측 모드에서 전송되는 움직임 정보의 양을 줄이기 위해 주변 블록과 현재 블록 간의 움직임 정보의 상관성에 기초하여 움직임 정보를 블록, 서브블록 또는 샘플 단위로 예측할 수 있다. 상기 움직임 정보는 움직임 벡터 및 참조 픽처 인덱스를 포함할 수 있다. 상기 움직임 정보는 인터 예측 방향(L0 예측, L1 예측, Bi 예측 등) 정보를 더 포함할 수 있다. 인터 예측의 경우에, 주변 블록은 현재 픽처 내에 존재하는 공간적 주변 블록(spatial neighboring block)과 참조 픽처에 존재하는 시간적 주변 블록(temporal neighboring block)을 포함할 수 있다. 예를 들어, 인터 예측부(331)는 주변 블록들을 기반으로 움직임 정보 후보 리스트를 구성하고, 수신한 후보 선택 정보를 기반으로 상기 현재 블록의 움직임 벡터 및/또는 참조 픽처 인덱스를 도출할 수 있다. 다양한 예측 모드를 기반으로 인터 예측이 수행될 수 있으며, 상기 예측에 관한 정보는 상기 현재 블록에 대한 인터 예측의 모드를 지시하는 정보를 포함할 수 있다.
가산부(340)는 획득된 레지듀얼 신호를 예측부(330)로부터 출력된 예측 신호(예측된 블록, 예측 샘플 어레이)에 더함으로써 복원 신호(복원 픽처, 복원 블록, 복원 샘플 어레이)를 생성할 수 있다. 스킵 모드가 적용된 경우와 같이 처리 대상 블록에 대한 레지듀얼이 없는 경우, 예측된 블록이 복원 블록으로 사용될 수 있다.
가산부(340)는 복원부 또는 복원 블록 생성부라고 불릴 수 있다. 생성된 복원 신호는 현재 픽처 내 다음 처리 대상 블록의 인트라 예측을 위하여 사용될 수 있고, 후술하는 바와 같이 필터링을 거쳐서 출력될 수도 있고 또는 다음 픽처의 인터 예측을 위하여 사용될 수도 있다.
한편, 픽처 디코딩 과정에서 LMCS (luma mapping with chroma scaling)가 적용될 수도 있다.
필터링부(350)는 복원 신호에 필터링을 적용하여 주관적/객관적 화질을 향상시킬 수 있다. 예를 들어 필터링부(350)는 복원 픽처에 다양한 필터링 방법을 적용하여 수정된(modified) 복원 픽처를 생성할 수 있고, 상기 수정된 복원 픽처를 메모리(60), 구체적으로 메모리(360)의 DPB에 전송할 수 있다. 상기 다양한 필터링 방법은 예를 들어, 디블록킹 필터링, 샘플 적응적 오프셋(sample adaptive offset), 적응적 루프 필터(adaptive loop filter), 양방향 필터(bilateral filter) 등을 포함할 수 있다.
메모리(360)의 DPB에 저장된 (수정된) 복원 픽처는 인터 예측부(331)에서 참조 픽쳐로 사용될 수 있다. 메모리(360)는 현재 픽처 내 움직임 정보가 도출된(또는 디코딩된) 블록의 움직임 정보 및/또는 이미 복원된 픽처 내 블록들의 움직임 정보를 저장할 수 있다. 상기 저장된 움직임 정보는 공간적 주변 블록의 움직임 정보 또는 시간적 주변 블록의 움직임 정보로 활용하기 위하여 인터 예측부(331)에 전달할 수 있다. 메모리(360)는 현재 픽처 내 복원된 블록들의 복원 샘플들을 저장할 수 있고, 인트라 예측부(332)에 전달할 수 있다.
본 명세서에서, 디코딩 장치(300)의 예측부(330), 역양자화부(321), 역변환부(322) 및 필터링부(350) 등에서 설명된 실시예들은 각각 인코딩 장치(200)의 예측부(220), 역양자화부(234), 역변환부(235) 및 필터링부(260) 등에도 동일 또는 대응되도록 적용될 수 있다.
상술한 바와 같이 비디오 코딩을 수행함에 있어 압축 효율을 높이기 위하여 예측을 수행한다. 이를 통하여 코딩 대상 블록인 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록을 생성할 수 있다. 여기서 상기 예측된 블록은 공간 도메인(또는 픽셀 도메인)에서의 예측 샘플들을 포함한다. 상기 예측된 블록은 인코딩 장치 및 디코딩 장치에서 동일하게 도출되며, 상기 인코딩 장치는 원본 블록의 원본 샘플 값 자체가 아닌 상기 원본 블록과 상기 예측된 블록 간의 레지듀얼에 대한 정보(레지듀얼 정보)를 디코딩 장치로 시그널링함으로써 영상 코딩 효율을 높일 수 있다. 디코딩 장치는 상기 레지듀얼 정보를 기반으로 레지듀얼 샘플들을 포함하는 레지듀얼 블록을 도출하고, 상기 레지듀얼 블록과 상기 예측된 블록을 합하여 복원 샘플들을 포함하는 복원 블록을 생성할 수 있고, 복원 블록들을 포함하는 복원 픽처를 생성할 수 있다.
상기 레지듀얼 정보는 변환 및 양자화 절차를 통하여 생성될 수 있다. 예를 들어, 인코딩 장치는 상기 원본 블록과 상기 예측된 블록 간의 레지듀얼 블록을 도출하고, 상기 레지듀얼 블록에 포함된 레지듀얼 샘플들(레지듀얼 샘플 어레이)에 변환 절차를 수행하여 변환 계수들을 도출하고, 상기 변환 계수들에 양자화 절차를 수행하여 양자화된 변환 계수들을 도출하여 관련된 레지듀얼 정보를 (비트스트림을 통하여) 디코딩 장치로 시그널링할 수 있다. 여기서 상기 레지듀얼 정보는 상기 양자화된 변환 계수들의 값 정보, 위치 정보, 변환 기법, 변환 커널, 양자화 파라미터 등의 정보를 포함할 수 있다. 디코딩 장치는 상기 레지듀얼 정보를 기반으로 역양자화/역변환 절차를 수행하고 레지듀얼 샘플들(또는 레지듀얼 블록)을 도출할 수 있다. 디코딩 장치는 예측된 블록과 상기 레지듀얼 블록을 기반으로 복원 픽처를 생성할 수 있다. 인코딩 장치는 또한 이후 픽처의 인터 예측을 위한 참조를 위하여 양자화된 변환 계수들을 역양자화/역변환하여 레지듀얼 블록을 도출하고, 이를 기반으로 복원 픽처를 생성할 수 있다.
도 4는 일 실시예에 따른 움직임 보상 가능 영역을 도시하는 도면이다.
본 명세서에서는 특정 정보 또는 개념을 정의하기 위한 특정 용어 또는 문장을 사용하고 있다. 예를 들어, 현재 픽처 내에서 현재 블록에 대한 참조 블록을 도출하여 수행하는 예측을"CPR(Current Picture Referencing)"로 나타내고 있고, CPR 예측을 위한 머지 후보를 "CPR 머지 후보"라고 나타내고 있고, MVP(Motion Vector Predictor) 후보들을 포함하는 리스트를 "예측 후보 리스트"라고 나타내고 있다. 그러나, "CPR"은 IBC, IBC 예측, IBC 코딩, CPR 예측 등 다양한 용어로 대체될 수 있고, "CPR 머지 후보"는 CPR 머지 후보, CPR 후보 블록, CPR 후보, IBC 머지 후보 블록, IBC 머지 후보, IBC 후보 블록, 블록 벡터(block vector), CPR 머지 후보 벡터, CPR 머지 움직임 벡터 등 다양한 용어로 대체될 수 있으며, "예측 후보 리스트"는 MVP 후보 리스트, MVP 리스트, AMVP 후보 리스트, AMVP 리스트, 움직임 벡터 예측 후보 리스트 등 다양한 용어로 대체될 수 있는 바, 본 명세서에서 특정 정보 또는 개념을 정의하기 위해 사용된 특정 용어 또는 문장을 명세서 전반에서 해석함에 있어서 그 명칭에 국한된 해석을 하여서는 안 되고, 상기 용어가 나타내고자 하는 내용에 따른 다양한 동작, 기능 및 효과에 주목하여 해석할 필요가 있다.
도 4는 현재 픽처에서 움직임 보상을 수행할 시, 움직임 보상을 수행 가능한 영역을 나타내고 있다. 일 실시예에 따른 비디오 디코더의 설계 시, 물결 형태의 병렬화가 지원될 수 있다. 즉, 최대 부호화 유닛 라인(또는 CTU 라인) 단위에서 병렬화가 수행될 수 있으며, 압축 성능을 고려하여 주변 블록에 대한 참조를 유지하기 위하여, 현재 픽처에서 움직임 보상을 사용할 때 상측의 최대 부호화 유닛은 현재 최대 부호화 유닛을 기준으로 최대 부호화 유닛 라인 단위로 +1 또는 +2만큼 오른쪽의 최대 부호화 유닛을 움직임 보상 영역으로 사용할 수 있다. 일 예시에서, 도 4는 현재 블록에 대한 CPR에 기반한 예측을 나타낼 수 있다.
본 개시의 일 실시예는 현재 블록(또는 현재 부호화 유닛)을 인코딩 하는 과정에서 지금까지 부호화 된 현재 픽처의 일부분을 참조 블록으로 사용하는 방법에 대한 것이다. 디코딩 장치와 동일하게 인코딩 장치의 예측부는 현재 픽처를 참조 픽처 리스트에 추가하고, 이미 부호화 된 영역 중 특정 영역 (예를 들어, 미리 정해진 영역)에서 현재 블록과 (가장) 유사한 블록을 검출할 수 있다. 인코딩장치는 최적의 움직임 벡터에 기반하여 인터 예측을 수행하여 움직임 정보를 예측하며, 움직임 벡터 차분 값을 비트스트림을 통해 디코딩 장치로 전송할 수 있다.
현재 픽처 내에서 움직임 보상을 수행하는지 여부를 나타내기 위해서, 두 가지 방법이 사용될 수 있다. 첫 번째 방법으로, 참조 픽처 인덱스를 기반으로 현재 픽처 내에서 움직임 보상을 수행하는지 여부를 판단할 수 있다.
[수학식 1]
if( DiffPicOrderCnt( currPic, RefPicList0[ ref_idx_l0[ x0 ][ y0 ]] ) = 0 )
상기 수학식 1에서, DiffPicOrderCnt 함수는 입력으로 들어오는 2개의 픽처 간의 POC(picture order count)의 차이를 나타낸다. 입력 값 currPic는 현재 블록(또는 현재 복호화 대상 블록)을 포함하는 현재 픽처를 의미하고, RefPicList0[ref_idx_l0[ x0 ][ y0 ]]는 현재 블록의 참조 픽처를 의미한다. 여기서, x0, y0는 현재 블록의 위치를 나타내고, ref_idx_l0는 참조 픽처 리스트 0 방향의 참조 픽처 인덱스를 나타낸다. 따라서 현재 블록의 참조 픽처는 수신 받은 참조 영상 인덱스를 기반으로 참조 픽처 리스트 내에서 도출할 수 있다. DiffPicOrderCnt 함수에 의한 출력 값 0은 현재 영상과 참조 영상이 동일한 영상 임을 의미한다.
두 번째 방법으로, 부호화 유닛 또는 블록 유닛 단위로 현재 픽처 내에서 움직임 보상을 수행하는지 여부를 플래그 형태로 전송할 수 있다. 일 예시에서, 현재 픽처 내에서 움직임 보상을 수행하는지 여부를 나타내는 intra_bc_flag가 정의될 수 있고, 상기 intra_bc_flag의 값이 1인 경우, 해당 블록은 현재 픽처 내에서 움직임 보상을 수행하고, 상기 플래그 값이 0인 경우, 해당 블록은 현재 픽처 내에서 움직임 보상을 수행하지 않을 수 있다.
일 실시예에서, 현재 픽처를 참조 영상으로 사용하여 현재 블록에 대한 예측을 수행하는 경우, 참조 픽처가 존재하지 않는 I-슬라이스가 이용되거나 가장 유사한 움직임 보상 블록이 현재 픽처에 존재할 때 부호화 효율이 증가할 수 있다.
도 5는 일 실시예에 따른 머지 후보 리스트를 구성하는 방법을 도시하는 흐름도이다.
본 개시의 일 실시예는 머지 모드에서 복호화 된 현재 픽처의 일부분을 참조 블록으로 하여 예측을 수행하는 CPR에 기반한 CPR 머지 후보를 고려하여 머지 후보 리스트를 구성하는 방법에 대한 것이다. 먼저, 일 실시예에 따른 인코딩 장치 및/또는 디코딩 장치는 머지 후보 리스트 구성을 위해 현재 블록의 공간적 주변 블록들을 탐색하여 머지 후보 리스트에 삽입할 수 있다. 공간적 주변 블록들은, 예를 들어 현재 블록에 인접한 좌측 블록, 좌하측 블록, 상측 블록, 우상측 블록, 좌상측 블록 등이 있을 수 있으며, 예시는 이에 한정되지 않는다. 다음으로, 일 실시예에 따른 인코딩 장치 및/또는 디코딩 장치는 시간적 주변 블록들을 탐색하여 머지 후보 리스트에 추가할 수 있다. 공간적 및 시간적 주변 블록들을 기반으로 머지 후보 리스트를 채운 이후, 머지 후보 리스트에 포함된 머지 후보들의 개수가 최대 머지 후보 개수(또는 최대 머지 크기)보다 적은 경우, 컴바인드(combined) 머지 후보(또는 페어와이즈(Pair-wise) 머지 후보)를 머지 후보 리스트에 추가할 수 있다.
페어와이즈 머지 후보는 머지 후보 리스트에 기 포함된 머지 후보들의 조합을 기반으로 도출된 머지 후보를 나타낸다. 아래의 표 1은 조합된 페어와이즈 머지 후보들을 나타내는 페어와이즈 머지 후보 리스트를 나타낸다. 일 예시에 따른 페어와이즈 머지 후보 구성 시, 이전에 머지 후보 리스트에 기 포함된 후보의 L0(List 0)와 L1(List1)에 존재하는 후보의 해당 위치에서 움직임 정보를 가져와서 양방향으로 움직임을 조합할 수 있다.
순서 0 1 2 3 4 5 6 7 8 9 10 11
L0 0 1 0 2 1 2 0 3 1 3 2 3
L1 1 0 2 0 2 1 3 0 3 1 3 2
다만, 일 예시에 따라 이전에 머지 후보 리스트에 기 포함된 머지 후보 가운데 현재 픽처를 참조하는 CPR 머지 후보가 존재하는 경우, 해당 CPR 머지 후보는 페어와이즈 머지 후보 조합 시 사용되지 않을 수 있다. 즉, 페어와이즈 머지 후보 생성 시, 머지 후보가 CPR 머지 후보인지 여부를 확인하는 조건이 추가될 수 있다. 현재 픽처를 참조하는 CPR 머지 후보와 다른 픽처를 참조하는 머지 후보는 다른 특성을 가질 수 있기 때문에, 조합 또는 평균을 적용하는 경우 부호화 효율이 떨어질 수 있다. 따라서, 현재 픽처를 참조하는 후보는 단방향 예측 시만 사용할 수 있다.
일 예시에서는, 각각의 머지 후보에 대해서 머지 타입을 지정하여 CPR 머지 후보인지 여부를 도출하거나, 각 머지 후보에 대한 참조 픽처의 POC를 기반으로 CPR 머지 후보인지 여부를 도출할 수 있다.
일 실시예에서, 구성된 머지 후보 리스트에 포함된 머지 후보들의 개수가 최대 머지 후보 개수보다 적은 경우, 현재 블록이 CPR을 위한 레퍼런스를 가지고 있을 때, (현재 블록의 크기에 따라서) 다음의 CPR 머지 후보가 머지 후보 리스트에 추가될 수 있다.
CPR 머지 후보를 하나만 추가하는 경우, CPR 머지 후보는, 예를 들어 (-W, 0), (0, -H), (-2W, 0), (0, -2H), (-W, -H) 또는 (-2W, -2H) 일 수 있다.
CPR 머지 후보를 두 개 추가하는 경우, CPR 머지 후보는, 예를 들어 (-W, 0) 및 (0, -H), (0, -H) 및 (-W, 0), (-2W, 0) 및 (0, -2H), (0, -2H) 및 (-2W, 0), (-W, -H) 및 (-2W, -2H), 또는 (-2W, -2H) 및 (-W, -H)가 될 수 있다. 여기서 W는 현재 블록의 너비를 나타내고, H는 현재 블록의 높이를 나타낸다. 한편 상기된 CPR 머지 후보에 대한 예시의 순서에 개시의 범위가 한정되지 않는다.
도 6은 현재 픽처의 참조 픽처 리스트 구성의 일 예시를 도시하는 도면이다.
일 실시예에서, CPR 머지 후보는 현재 픽처를 위한 참조 픽처 리스트 0 및 참조 픽처 리스트 1 중에서 현재 픽처를 포함하는 참조 픽처 리스트 쪽의 후보 방향에 삽입될 수 있다.
도 6은 현재 픽처에 대한 양방향 참조 픽처 리스트의 구성을 나타내고 있다. 예를 들어, 현재 영상은 POC6이고, 참조 픽처 리스트 0 방향에는 POC4, POC0 및 CPR을 위한 현재 픽처 (POC6)가 참조 픽처로 포함되어 있고, 참조 픽처 리스트 1 방향에는 POC8 및 POC16이 참조 픽처로 포함되어 있고 CPR을 위한 현재 픽처는 존재하지 않는 경우, CPR 머지 후보는 참조 픽처 리스트 0 방향에 삽입되며, 참조 픽처 리스트 1은 사용하지 않을 수 있다. 즉, 단방향 예측이 사용될 수 있다.
표 2는 머지 후보 리스트의 구성 예를 보여준다. 상기에서 기술한 바와 같이, CPR을 위한 현재 픽처는 참조 픽처 리스트 0 방향에만 존재하기 때문에, 본 개시의 일 실시예에 따른 CPR 머지 후보는 머지 후보 인덱스 3 및 머지 후보 인덱스 4와 같이 참조 픽처 리스트 0 방향에 포함되며, 참조 픽처 리스트 1 방향에는 움직임 벡터가 존재하지 않을 수 있다. 하기 표 2에서 RefIdx 값 -1은 해당 움직임 벡터 및 참조 픽처를 사용하지 않음을 의미한다.
Merge index MVL0 RefIdx0 MVL1 RefIdx1
0 (10, -5) 0 (0, 0) -1
1 (0, 0) -1 (18, -8) 0
2 (20, 10) 1 (30, 3) 1
3 (-2W, 0) 2 (0, 0) -1
4 (0, -2H) 2 (0, 0) -1
5 (0, 0) 0 (0, 0) 0
도 7은 CPR 머지 후보에 대한 설명을 위한 도면이고, 도 8은 다른 일 실시예에 따른 머지 후보 리스트를 구성하는 방법을 도시하는 흐름도이다.
도 8을 참조하면, 일 실시예에 따른 인코딩 장치 및/또는 디코딩 장치는 공간적 주변 블록들을 탐색하여 도출된 공간적 머지 후보들을 머지 후보 리스트에 삽입하고, 시간적 주변 블록들을 탐색하여 도출된 공간적 머지 후보들을 머지 후보 리스트에 삽입하며, 상기 표 1에서 전술된 방법에 따른 컴바인드(combined) 머지 후보를 머지 후보 리스트에 삽입할 수 있다.
일 실시예에서, 도 8에 도시된 바와 같이, 현재 픽처 내 참조 블록을 참조하는 CPR 머지 후보는 현재 픽처를 기준으로 유효한 블록 벡터(block vector)인 경우에만 머지 후보 리스트에 삽입될 수 있다. 본 명세서에서 "블록 벡터"는 현재 픽처 내에서 이미 복호화가 완료된 참조 블록과 현재 블록 간의 디스플레이스먼트(displacement)를 나타내는 벡터를 의미한다. 또한, 본 명세서에서 상기 "CPR 머지 후보"는 블록 크기 기반(block size-based) 움직임 벡터 후보를 나타낼 수 있다. 다만 CPR 머지 후보가 항상 현재 블록의 크기(또는 사이즈)에 기반(또는 의존)하는 것은 아니므로, CPR 머지 후보가 반드시 블록 크기 기반 움직임 벡터 후보를 나타내는 것으로 해석되어서는 아니된다.
도 7은 머지 후보 리스트의 구성 방법 중 유효한 CPR 머지 후보(또는 블록 벡터)를 판단하는 단계를 설명하기 위한 도면이다. 일 실시예에서, 현재 블록(712)의 좌상측(top-left) 위치 (xP, yP) 를 기준으로 주어진 블록 벡터의 변위를 적용하였을 때, 변위가 적용된 블록의 좌측, 우측, 상측, 하측 방향 중 일부가 현재 픽처의 외부에 존재하는 경우에는 해당 CPR 머지 후보를 사용(또는 채택, 선택 등)하지 않을 수 있다. 다른 일 실시예에서, CPR을 위한 블록 벡터가 허용되는 범위 또는 영역이 정해지는 경우, 현재 블록(712)의 좌상측 위치를 기준으로 주어진 블록 벡터의 변위를 적용하고, 블록 벡터가 상기 블록 벡터가 허용되는 범위 또는 영역 내에 존재하는 경우에만 해당 머지 후보를 사용할 수 있다.
또 다른 일 실시예에서, 상기 CPR 머지 후보(또는 블록 벡터)는 상기 현재 블록(712)을 포함하는 최대 코딩 유닛(또는 CTU(Coding Tree Unit), 710)의 라인 버퍼(line buffer, 714)에 포함된 참조 샘플을 지시할 수 있다. 즉, 상기 블록 벡터가 허용되는 범위 또는 영역이 상기 최대 코딩 유닛(710) 및 상기 최대 코딩 유닛의 라인 버퍼 영역(714)을 포함하는 영역으로 결정될 수 있다. 상기 라인 버퍼(710)는 상기 최대 코딩 유닛을 기준으로 하는 좌측 라인 버퍼 및 우측 라인 버퍼를 포함할 수 있다. 일 예시에서는 상기 CPR 머지 후보가 상기 좌측 라인 버퍼에 포함된 참조 샘플을 지시할 수 있고(즉, 상기 블록 벡터가 허용되는 범위 또는 영역이 상기 최대 코딩 유닛 및 상기 최대 코딩 유닛의 좌측 라인 버퍼 영역을 포함하는 영역으로 결정될 수 있다), 다른 일 예시에서는 상기 CPR 머지 후보가 상기 상측 라인 버퍼에 포함된 참조 샘플을 지시할 수 있다(즉, 상기 블록 벡터가 허용되는 범위 또는 영역이 상기 최대 코딩 유닛 및 상기 최대 코딩 유닛의 상측 라인 버퍼 영역을 포함하는 영역으로 결정될 수 있다).
또 다른 일 실시예에서, 상기 CPR 머지 후보는 상기 현재 블록(712)을 포함하는 최대 코딩 유닛(710)에 포함된 샘플을 지시할 수 있다. 즉, 상기 블록 벡터가 허용되는 범위 또는 영역이 상기 최대 코딩 유닛(710)을 포함하는 영역으로 결정될 수 있다.
유효한 블록 벡터에 대한 판단은 아래의 표 3 내지 표 6에 따른 의사 코드들(pseudo codes)에 기반할 수 있다. 하기 표 3 내지 표 6에 따른 의사 코드들은 상기 블록 벡터가 허용되는 범위 또는 영역을 예시적으로 나타내는 수식이다. 다만, 상기 블록 벡터가 허용되는 범위 또는 영역의 예시는 하기 표 3 내지 표 6에 따른 의사 코드들에 의하여 한정되지 않는다.
(xP, yP): 현재 블록의 (x, y) 위치
(xBv, yBv): 블록 벡터의 (x, y) 값
W, H: 현재 블록의 폭(width) 및 높이(height)
picW, picH: 현재 픽처의 폭 및 높이
if (xP + xBv < 0) return false;
if (xP + xBv + W > picW) return false;
if (yP + yBv < 0) return false;
if (yP + yBv + H > picH) return false;
if (xBv + W > 0 && yBv + H > 0) return false;
상기 표 3은 현재 블록(712)을 포함하는 현재 픽처(700) 내에서 복호화 된 영역을 블록 벡터의 허용 범위로 정의하는 예시를 나타내고 있다. 즉, 현재 블록(712)의 위치에 블록 벡터가 적용된 지점의 x축 좌표 및 y축 좌표는 각각 0보다 크거나 같아야 하고, 상기 현재 블록(712)의 위치에 블록 벡터가 적용된 지점의 x축 좌표에 W가 더해진 값은 picW보다 작거나 같아야 하고, 상기 현재 블록(712)의 위치에 블록 벡터가 적용된 지점의 y축 좌표에 H가 더해진 값은 picH보다 작거나 같아야 함을 나타내고 있다. 또한, 현재 픽처(700) 내에서 복호화 된 영역을 나타내기 위해 xBv + W이 0보다 작거나 같거나, yBv + H가 0보다 작거나 같아야 함을 나타내고 있다.
상기 복호화(또는 디코딩) 된 픽처 전체를 블록 벡터의 허용 범위로 정의하는 경우, 디코딩 장치의 메모리에 디코딩 된 픽처 전체에 대한 정보가 필요하다는 문제가 있다. 이는 하드웨어 구현 시 대역폭 (bandwidth)의 증가를 야기할 수 있다. 이에 일 예시에서는 블록 벡터의 허용 범위를 현재 블록(712)을 포함하는 최대 부호화 유닛(710)으로 한정할 수 있다. 현재 블록(712)을 포함하는 최대 부호화 유닛(710)을 블록 벡터의 허용 범위로 정의하는 경우, 유효한 블록 벡터인지 여부에 대한 판단은 아래의 표 4에 따른 의사 코드를 기반으로 수행될 수 있다.
(xBv, yBv): 블록 벡터의 (x, y) 값
W, H: 현재 블록의 폭(width) 및 높이(height)
picW, picH: 현재 픽처의 폭 및 높이
xCTU, yCTU: 현재 최대 부호화 유닛의 폭 및 높이
(xQ, yQ): 현재 최대 부호화 유닛의 (x, y) 위치
if (xP + xBv < xQ) return false;
if (xP + xBv + W > xQ + xCTU) return false;
if (yP + yBv < yQ) return false;
if (yP + yBv + H > yQ + yCTU) return false;
if (xBv + W > 0 && yBv + H > 0) return false;
(xP, yP) : 현재 블록의 (x, y) 위치
상기 표 4는 현재 블록(712)을 포함하는 최대 부호화 유닛(710)을 블록 벡터의 허용 범위로 정의하는 예시를 나타내고 있다. 즉, 현재 블록(712)의 위치에 블록 벡터가 적용된 지점의 x축 좌표 및 y축 좌표는 각각 xQ 및 yQ 보다 크거나 같아야 하고, 현재 블록(712)의 위치에 블록 벡터가 적용된 지점의 x축 좌표에 W가 더해진 값은 xQ + xCTU 보다 작거나 같아야 하고, 상기 현재 블록(712)의 위치에 블록 벡터가 적용된 지점의 y축 좌표에 H가 더해진 값은 yQ + yCTU 보다 작거나 같아야 함을 나타내고 있다. 또한, 현재 픽처(700) 내에서 복호화 된 영역을 나타내기 위해 xBv + W이 0보다 작거나 같거나, yBv + H가 0보다 작거나 같아야 함을 나타내고 있다.
일 실시예에 따른 비디오 코덱 시스템에서 인트라 예측 또는 복호화가 완료된 영상에 대하여 필터링(예를 들어, 디블록킹 필터링)을 적용하기 위해, 현재 최대 부호화 유닛(710)의 라인 버퍼(714)가 이용될 수 있다. 즉, 코딩 과정에서 현재 블록(712)을 포함하는 최대 부호화 유닛(710)의 좌측에 존재하는 좌측 라인 버퍼의 일부 참조 샘플 또는 최대 부호화 유닛의 상측에 존재하는 상측 라인 버퍼의 일부 참조 샘플을 이용할 수 있다. 여기서, 다른 복호화 프로세스에서 사용되고 있는 라인 버퍼(714)에 존재하는 샘플들은 현재 픽처(700)에 대한 참조에서 추가적인 메모리 버든(burden) 없이 이용될 수 있다. 현재 블록(712)을 포함하는 최대 부호화 유닛(710) 및 상기 최대 부호화 유닛(710)의 라인 버퍼를 블록 벡터의 허용 범위로 사용하는 경우, 유효한 블록 벡터인지 여부에 대한 판단은 하기 표 5의 의사 코드에 기반할 수 있다. 하기 N은, 예를 들어 1이상 8이하의 정수 중 하나를 나타낼 수 있다.
(xP, yP): 현재 블록의 (x, y) 위치
(xBv, yBv): 블록 벡터의 (x, y) 값
W, H: 현재 블록의 폭(width) 및 높이(height)
picW, picH: 현재 픽처의 폭 및 높이
xCTU, yCTU: 현재 최대 부호화 유닛의 폭 및 높이
(xQ, yQ): 현재 최대 부호화 유닛의 (x, y) 위치
N: 라인 버퍼의 참조 샘플 라인 개수
if (xP + xBv < 0) return false;
if (yP + yBv < 0) return false;
if ((xP, yP) + (xBv, yBv) + (a, b) ∈ N-line buffers Area) return True; wherein 0<a<=W, 0<b<=H
if (xBv + W > 0 && yBv + H > 0) return false;
일 실시예에 따른 비디오 디코딩 시스템은 픽처를 순차적 순서(raster order)로 복호화하며, 이 때 현재 최대 부호화 유닛(710)의 좌측에 위치한 최대 부호화 유닛(720)은 현재 최대 부호화 유닛(710)을 복호화 할 시 메모리 상에 존재할 수 있다. 일 예시에서, 최대 부호화 유닛(710)의 사이즈가 128x128 또는 그 이상인 경우, 좌측에 위치한 최대 부호화 유닛(720)의 샘플 정보들을 모두 메모리에 저장하는 것은 메모리 사용량 관점에서 손해이므로, 좌측에 위치한 최대 부호화 유닛(720)의 샘플들 중 일부인 좌측 라인 버퍼 내 샘플들에 대한 정보를 메모리에 저장할 수 있다. 이와 같은 이유로, 상기 표 5와 같이 현재 블록(712)을 포함하는 현재 최대 부호화 유닛(710) 및 상기 현재 최대 부호화 유닛(710)의 상측 및 좌측 라인 버퍼를 블록 벡터의 허용 범위로 정의할 수 있다.
일 실시예에서, 상기 CPR 조건에 따른 블록 크기 기반 움직임 벡터 후보(또는 CPR 머지 후보)는, 머지 후보 리스트에 기 포함된 상기 CPR 조건에 따른 블록 크기 기반 움직임 벡터 후보들의 개수가 특정 문턱치 (threshold) 값 이하인 경우에만 추가될 수 있다. 여기서 문턱치 값은 0 부터 최대 머지 후보 리스트 개수 범위 중에서 하나의 값을 가질 수 있다.
일 실시예에서, 도 8에 도시된 바와 같이, 공간적 주변 블록들 및 시간적 주변 블록들에 기반하여 도출된 공간적 머지 후보들 및 시간적 주변 블록들, 상기 공간적 머지 후보들 및 시간적 주변 블록들을 기반으로 도출된 컴바인드 머지 후보 및 CPR 머지 후보를 머지 후보 리스트에 삽입한 후에도 상기 머지 후보 리스트에 포함된 머지 후보들이 최대 머지 후보 개수보다 적은 경우, 인코딩 장치 및/또는 디코딩 장치는 머지 후보 (0, 0)을 머지 후보 리스트에 삽입할 수 있다. 다만 머지 후보 (0, 0)을 머지 후보 리스트에 삽입하는 과정은 필수 구성 요소가 아니며, 경우에 따라서 생략될 수 있다.
한편, 도 4 내지 도 8에 따른 실시예들에서는 현재 블록(712)에 머지 모드가 적용되는 경우에 CPR 머지 후보를 기반으로 머지 후보 리스트를 구성하는 내용을 중심으로 설명하고 있으나, 실시예가 이에 한정되는 것은 아니다. 예를 들어, 움직임 벡터 예측 모드에 기반한 인터 예측 시 상기 CPR 머지 후보에 대응되는 "CPR 움직임 벡터 예측자"를 기반으로 움직임 벡터 예측 후보 리스트가 구성될 수 있고, 이때 상기 도 4 내지 도 8에서 전술된 실시예들이 적용될 수 있다. 이하 도 10 및 도 11에서는 인터 예측 시 CPR 움직임 벡터 예측자를 기반으로 움직임 벡터 예측 후보 리스트를 구성하는 내용을 중심으로 관련 실시예들을 설명하기로 한다.
도 9는 일 실시예에 따른 움직임 벡터 예측 후보 리스트를 구성하는 방법을 도시하는 흐름도이다.
본 개시의 일 실시예는 현재 픽처에서 움직임 보상을 수행할 때 움직임 벡터 예측 모드에서 움직임 벡터 예측 후보 리스트를 구성하는 방법에 대한 것이다. 먼저, 일 실시예에 따른 인코딩 장치 및/또는 디코딩 장치는 움직임 벡터 예측 후보 리스트 구성을 위한 공간적 주변 블록들을 탐색하여 움직임 벡터 예측 후보 리스트에 삽입할 수 있다. 공간적 주변 블록들은, 예를 들어 현재 블록에 인접한 좌측 블록, 좌하측 블록, 상측 블록, 우상측 블록, 좌상측 블록 등이 있을 수 있으며, 예시는 이에 한정되지 않는다. 움직임 벡터 예측 후보 리스트에 포함된 움직임 벡터 예측 후보들의 개수가 최대 움직임 벡터 예측 후보 개수 미만인 경우, 시간적 주변 블록들을 탐색하여 움직임 벡터 예측 후보 리스트에 추가할 수 있다. 공간적 및 시간적 주변 블록들로 움직임 벡터 예측 후보 리스트를 채운 이후, 움직임 벡터 예측 후보 리스트에 포함된 움직임 벡터 예측 후보들의 개수가 최대 움직임 벡터 예측 후보 개수에 도달하지 않으면 본 개시의 일 실시예에 따른 블록 크기 기반 움직임 벡터 후보(또는 CPR 움직임 벡터 예측자)를 움직임 벡터 예측 후보 리스트에 삽입할 수 있다.
일 실시예에서, 구성된 움직임 벡터 예측 후보 리스트에 포함된 움직임 벡터 예측 후보들의 개수가 최대 움직임 벡터 예측 후보 개수보다 적은 경우, 현재 블록이 CPR을 위한 레퍼런스를 가지고 있을 때, (현재 블록의 크기에 따라서) 다음의 CPR 움직임 벡터 예측자가 움직임 벡터 예측 후보 리스트에 추가될 수 있다.
CPR 움직임 벡터 예측자를 하나만 추가하는 경우, CPR 움직임 벡터 예측자는, 예를 들어 (-W, 0), (0, -H), (-2W, 0), (0, -2H), (-W, -H) 또는 (-2W, -2H) 일 수 있다.
CPR 움직임 벡터 예측자를 두 개 추가하는 경우, CPR 움직임 벡터 예측자는, 예를 들어 (-W, 0) 및 (0, -H), (0, -H) 및 (-W, 0), (-2W, 0) 및 (0, -2H), (0, -2H) 및 (-2W, 0), (-W, -H) 및 (-2W, -2H), 또는 (-2W, -2H) 및 (-W, -H)가 될 수 있다. 여기서 W는 현재 블록의 너비를 나타내고, H는 현재 블록의 높이를 나타낸다. 한편 상기된 CPR 움직임 벡터 예측자에 대한 예시의 순서에 개시의 범위가 한정되지 않는다.
한편, 도 9에서는 최대 움직임 벡터 예측 후보 개수의 예시를 2로 기재하고 있으나, 실시예는 이에 한정되지 않는다. 일 예시에서, 최대 움직임 벡터 예측 후보 개수는 1이상 6이하의 정수일 수 있다.
도 10은 다른 일 실시예에 따른 움직임 벡터 예측 후보 리스트를 구성하는 방법을 도시하는 흐름도이다.
도 10은 움직임 벡터 예측 후보 리스트의 구성 방법 중 유효한 CPR 움직임 벡터 예측자(또는 블록 크기 기반 움직임 벡터 후보)를 판단하는 단계를 설명하기 위한 도면이다. 일 실시예에서, 현재 블록의 좌상측(top-left) 위치를 기준으로 주어진 CPR 움직임 벡터 예측자의 변위를 적용하였을 때, 변위가 적용된 블록의 좌측, 우측, 상측, 하측 방향 중 일부가 현재 픽처의 외부에 존재하는 경우에는 해당 CPR 움직임 벡터 예측자를 사용(또는 채택, 선택 등)하지 않을 수 있다. 다른 일 실시예에서, CPR 움직임 벡터 예측자가 허용되는 범위 또는 영역이 정해지는 경우, 현재 블록의 좌상측 위치를 기준으로 주어진 CPR 움직임 벡터 예측자의 변위를 적용하고, CPR 움직임 벡터 예측자가 상기 CPR 움직임 벡터 예측자가 허용되는 범위 또는 영역 내에 존재하는 경우에만 해당 CPR 움직임 벡터 예측자를 사용할 수 있다. 도 10은 움직임 벡터 예측 후보 리스트의 구성 방법 중 유효한 CPR 움직임 벡터 예측자를 판단하는 단계를 포함하는 방법을 보여준다. 유효한 CPR 움직임 벡터 예측자를 판단하는 방법은 상기 도 7 및 도 8에 따른 실시예들에서 유효한 CPR 머지 후보를 판단할 때 이용된 방법과 동일 또는 유사할 수 있다.
도 11은 일 실시예에 따른 인코딩 장치의 동작을 도시하는 흐름도이고, 도 12는 일 실시예에 따른 인코딩 장치의 구성을 도시하는 블록도이다.
도 11 및 도 12에 따른 인코딩 장치는 도 13 및 도 14에 따른 디코딩 장치와 대응되는 동작들을 수행할 수 있다. 따라서, 도 13 및 도 14에서 후술될 디코딩 장치의 동작들은 도 11 및 도 12에 따른 인코딩 장치에도 마찬가지로 적용될 수 있다.
도 11에 개시된 각 단계는 도 2에 개시된 인코딩 장치(200)에 의하여 수행될 수 있다. 보다 구체적으로, S1100 내지 S1130은 도 2에 개시된 예측부(220)에 의하여 수행될 수 있고, S1140은 도 2에 개시된 엔트로피 인코딩부(240) 의하여 수행될 수 있다. 더불어 S1100 내지 S1140에 따른 동작들은, 도 4 내지 도 10에서 전술된 내용들 중 일부를 기반으로 한 것이다. 따라서, 도 2 및 도 4 내지 도 10에서 전술된 내용과 중복되는 구체적인 내용은 설명을 생략하거나 간단히 하기로 한다.
도 12에 도시된 바와 같이, 일 실시예에 따른 인코딩 장치는 예측부(220) 및 엔트로피 인코딩부(240)를 포함할 수 있다. 그러나, 경우에 따라서는 도 12에 도시된 구성 요소 모두가 인코딩 장치의 필수 구성 요소가 아닐 수 있고, 인코딩 장치는 도 12에 도시된 구성 요소보다 많거나 적은 구성 요소에 의해 구현될 수 있다.
일 실시예에 따른 인코딩 장치에서 예측부(220) 및 엔트로피 인코딩부(240)는 각각 별도의 칩(chip)으로 구현되거나, 적어도 둘 이상의 구성 요소가 하나의 칩을 통해 구현될 수도 있다.
일 실시예에 따른 인코딩 장치는, 현재 블록에 머지 모드가 적용되는 경우, 상기 현재 블록의 적어도 하나의 공간적 주변 블록들 및 적어도 하나의 시간적 주변 블록들을 기반으로 머지 후보들을 도출할 수 있다(S1100). 보다 구체적으로, 인코딩 장치의 예측부(220)는 현재 블록에 머지 모드가 적용되는 경우, 상기 현재 블록의 적어도 하나의 공간적 주변 블록들 및 적어도 하나의 시간적 주변 블록들을 기반으로 머지 후보들을 도출할 수 있다.
일 실시예에 따른 인코딩 장치는, 상기 도출된 머지 후보들의 개수가 최대 머지 후보 개수보다 적은 경우, 상기 현재 블록을 포함하는 현재 픽처 내의 참조 블록을 참조하는 CPR 머지 후보를 도출할 수 있다(S1110). 보다 구체적으로, 인코딩 장치의 예측부(220)는 상기 도출된 머지 후보들의 개수가 최대 머지 후보 개수보다 적은 경우, 상기 현재 블록을 포함하는 현재 픽처 내의 참조 블록을 참조하는 CPR 머지 후보를 도출할 수 있다.
일 실시예에 따른 인코딩 장치는, 상기 머지 후보들 및 상기 CPR 머지 후보를 기반으로 머지 후보 리스트를 구성할 수 있다(S1120). 보다 구체적으로, 인코딩 장치의 예측부(220)는 상기 머지 후보들 및 상기 CPR 머지 후보를 기반으로 머지 후보 리스트를 구성할 수 있다.
일 실시예에 따른 인코딩 장치는, 상기 구성된 머지 후보 리스트를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출할 수 있다(S1130). 보다 구체적으로, 인코딩 장치의 예측부(220)는 상기 구성된 머지 후보 리스트를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출할 수 있다.
일 실시예에 따른 인코딩 장치는, 상기 예측 샘플들을 도출하는 과정에서 획득된 영상 정보를 인코딩 할 수 있다(S1140). 보다 구체적으로, 인코딩 장치의 엔트로피 인코딩부(240)는 상기 예측 샘플들을 도출하는 과정에서 획득된 영상 정보를 인코딩 할 수 있다.
도 11 및 도 12의 인코딩 장치 및 인코딩 장치의 동작 방법에 따르면, 인코딩 장치는 현재 블록에 머지 모드가 적용되는 경우, 상기 현재 블록의 적어도 하나의 공간적 주변 블록들 및 적어도 하나의 시간적 주변 블록들을 기반으로 머지 후보들을 도출하고(S1100), 상기 도출된 머지 후보들의 개수가 최대 머지 후보 개수보다 적은 경우, 상기 현재 블록을 포함하는 현재 픽처 내의 참조 블록을 참조하는 CPR 머지 후보를 도출하고(S1110), 상기 머지 후보들 및 상기 CPR 머지 후보를 기반으로 머지 후보 리스트를 구성하고(S1120), 상기 구성된 머지 후보 리스트를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하고(S1130), 상기 예측 샘플들을 도출하는 과정에서 획득된 영상 정보를 인코딩(S1140) 할 수 있다. 즉, 머지 모드에서 CPR 머지 후보를 이용하여 머지 후보 리스트를 효율적으로 구성할 수 있다.
도 13은 일 실시예에 따른 디코딩 장치의 동작을 도시하는 흐름도이고, 도 14는 일 실시예에 따른 디코딩 장치의 구성을 도시하는 블록도이다.
도 13에 개시된 각 단계는 도 3에 개시된 디코딩 장치(300)에 의하여 수행될 수 있다. 보다 구체적으로, S1300 내지 S1330은 도 3에 개시된 예측부(330)에 의하여 수행될 수 있고, S1340은 도 3에 개시된 가산부(340)에 의하여 수행될 수 있다. 더불어 S1300 내지 S1340에 따른 동작들은, 도 4 내지 도 10b에서 전술된 내용들 중 일부를 기반으로 한 것이다. 따라서, 도 3 내지 도 12에서 전술된 내용과 중복되는 구체적인 내용은 설명을 생략하거나 간단히 하기로 한다.
도 14에 도시된 바와 같이, 일 실시예에 따른 디코딩 장치는 예측부(330) 및 가산부(340)를 포함할 수 있다. 그러나, 경우에 따라서는 도 14에 도시된 구성 요소 모두가 디코딩 장치의 필수 구성 요소가 아닐 수 있고, 디코딩 장치는 도 14에 도시된 구성 요소보다 많거나 적은 구성 요소에 의해 구현될 수 있다.
일 실시예에 따른 디코딩 장치에서 예측부(330) 및 가산부(340)는 각각 별도의 칩(chip)으로 구현되거나, 적어도 둘 이상의 구성 요소가 하나의 칩을 통해 구현될 수도 있다.
일 실시예에 따른 디코딩 장치는, 현재 블록에 머지 모드가 적용되는 경우, 상기 현재 블록의 적어도 하나의 공간적 주변 블록들 및 적어도 하나의 시간적 주변 블록들을 기반으로 머지 후보들을 도출할 수 있다(S1300). 보다 구체적으로, 디코딩 장치의 예측부(330)는 현재 블록에 머지 모드가 적용되는 경우, 상기 현재 블록의 적어도 하나의 공간적 주변 블록들 및 적어도 하나의 시간적 주변 블록들을 기반으로 머지 후보들을 도출할 수 있다.
일 실시예에 따른 디코딩 장치는, 상기 도출된 머지 후보들의 개수가 최대 머지 후보 개수보다 적은 경우, 상기 현재 블록을 포함하는 현재 픽처 내의 참조 블록을 참조하는 CPR(Current Picture Referencing) 머지 후보를 도출할 수 있다(S1310). 보다 구체적으로, 디코딩 장치의 예측부(330)는 상기 도출된 머지 후보들의 개수가 최대 머지 후보 개수보다 적은 경우, 상기 현재 블록을 포함하는 현재 픽처 내의 참조 블록을 참조하는 CPR(Current Picture Referencing) 머지 후보를 도출할 수 있다.
일 실시예에서, 상기 블록 벡터는 상기 현재 블록을 포함하는 최대 코닝 유닛의 라인 버퍼(line buffer)에 포함된 참조 샘플을 지시할 수 있다.
일 실시예에서, 상기 라인 버퍼는 상기 최대 코딩 유닛을 기준으로 하는 좌측 라인 버퍼 및 우측 라인 버퍼를 포함하고, 상기 참조 샘플은 상기 좌측 라인 버퍼에 포함될 수 있다.
일 실시예에서, 상기 라인 버퍼는 상기 최대 코딩 유닛을 기준으로 하는 좌측 라인 버퍼 및 우측 라인 버퍼를 포함하고, 상기 참조 샘플은 상기 상측 라인 버퍼에 포함될 수 있다.
일 실시예에서, 상기 블록 벡터는 상기 현재 블록을 포함하는 최대 코딩 유닛 내 샘플을 지시할 수 있다.
일 실시예에서, 상기 CPR 머지 후보는 상기 현재 블록의 사이즈에 기반하여 결정될 수 있다.
일 실시예에서, 상기 CPR 머지 후보는 상기 도출된 머지 후보들의 개수가 2개 미만인 경우에 도출될 수 있다.
일 실시예에 따른 디코딩 장치는, 상기 머지 후보들 및 상기 CPR 머지 후보를 기반으로 머지 후보 리스트를 구성할 수 있다(S1320). 보다 구체적으로, 디코딩 장치의 예측부(330)는 상기 머지 후보들 및 상기 CPR 머지 후보를 기반으로 머지 후보 리스트를 구성할 수 있다.
일 실시예에서, 상기 머지 후보들의 개수와 상기 CPR 머지 후보의 개수의 합이 상기 최대 머지 후보 개수보다 적은 경우, 상기 머지 후보 리스트는 상기 머지 후보들, 상기 CPR 머지 후보 및 제로 벡터(zero vector)를 기반으로 구성되는 것을 특징으로 하는, 영상 디코딩 방법.
일 실시예에서, 상기 머지 후보 리스트는 복수의 CPR 머지 후보들을 포함하며, 상기 복수의 CPR 머지 후보들의 개수는 기 정의된(pre-defined) 임계치(threshold value) 이하일 수 있다.
일 실시예에 따른 디코딩 장치는, 상기 구성된 머지 후보 리스트를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출할 수 있다(S1330). 보다 구체적으로, 디코딩 장치의 예측부(330)는 상기 구성된 머지 후보 리스트를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출할 수 있다.
일 실시예에 따른 디코딩 장치는, 상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성할 수 있다(S1340). 보다 구체적으로, 디코딩 장치의 가산부(340)는 상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성할 수 있다.
도 13 및 도 14의 디코딩 장치 및 디코딩 장치의 동작 방법에 따르면, 디코딩 장치는 현재 블록에 머지 모드가 적용되는 경우, 상기 현재 블록의 적어도 하나의 공간적 주변 블록들 및 적어도 하나의 시간적 주변 블록들을 기반으로 머지 후보들을 도출하고(S1300), 상기 도출된 머지 후보들의 개수가 최대 머지 후보 개수보다 적은 경우, 상기 현재 블록을 포함하는 현재 픽처 내의 참조 블록을 참조하는 CPR(Current Picture Referencing) 머지 후보를 도출하고(S1310), 상기 머지 후보들 및 상기 CPR 머지 후보를 기반으로 머지 후보 리스트를 구성하고(S1320), 상기 구성된 머지 후보 리스트를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하고(S1330), 상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성(S1340)할 수 있다. 즉, 머지 모드에서 CPR 머지 후보를 이용하여 머지 후보 리스트를 효율적으로 구성할 수 있다.
본 개시에서 설명한 실시예들은 프로세서, 마이크로 프로세서, 컨트롤러 또는 칩 상에서 구현되어 수행될 수 있다. 예를 들어, 각 도면에서 도시한 기능 유닛들은 컴퓨터, 프로세서, 마이크로 프로세서, 컨트롤러 또는 칩 상에서 구현되어 수행될 수 있다.
또한, 본 개시의 실시예들이 적용되는 디코더 및 인코더는 멀티미디어 방송 송수신 장치, 모바일 통신 단말, 홈 시네마 비디오 장치, 디지털 시네마 비디오 장치, 감시용 카메라, 비디오 대화 장치, 비디오 통신과 같은 실시간 통신 장치, 모바일 스트리밍 장치, 저장 매체, 캠코더, 주문형 비디오(VoD) 서비스 제공 장치, OTT 비디오(Over the top video) 장치, 인터넷 스트리밍 서비스 제공 장치, 3차원(3D) 비디오 장치, 화상 전화 비디오 장치, 및 의료용 비디오 장치 등에 포함될 수 있으며, 비디오 신호 또는 데이터 신호를 처리하기 위해 사용될 수 있다. 예를 들어, OTT 비디오(Over the top video) 장치로는 게임 콘솔, 블루레이 플레이어, 인터넷 접속 TV, 홈시어터 시스템, 스마트폰, 태블릿 PC, DVR(Digital Video Recoder) 등을 포함할 수 있다.
또한, 본 개시의 실시예들이 적용되는 처리 방법은 컴퓨터로 실행되는 프로그램의 형태로 생산될 수 있으며, 컴퓨터가 판독할 수 있는 기록 매체에 저장될 수 있다. 본 개시에 따른 데이터 구조를 가지는 멀티미디어 데이터도 또한 컴퓨터가 판독할 수 있는 기록 매체에 저장될 수 있다. 상기 컴퓨터가 판독할 수 있는 기록 매체는 컴퓨터로 읽을 수 있는 데이터가 저장되는 모든 종류의 저장 장치 및 분산 저장 장치를 포함한다. 상기 컴퓨터가 판독할 수 있는 기록 매체는, 예를 들어, 블루레이 디스크(BD), 범용 직렬 버스(USB), ROM, PROM, EPROM, EEPROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크 및 광학적 데이터 저장 장치를 포함할 수 있다. 또한, 상기 컴퓨터가 판독할 수 있는 기록 매체는 반송파(예를 들어, 인터넷을 통한 전송)의 형태로 구현된 미디어를 포함한다. 또한, 인코딩 방법으로 생성된 비트스트림이 컴퓨터가 판독할 수 있는 기록 매체에 저장되거나 유무선 통신 네트워크를 통해 전송될 수 있다.
또한, 본 개시의 실시예들은 프로그램 코드에 의한 컴퓨터 프로그램 제품으로 구현될 수 있고, 상기 프로그램 코드는 본 개시의 실시예에 의해 컴퓨터에서 수행될 수 있다. 상기 프로그램 코드는 컴퓨터에 의해 판독가능한 캐리어 상에 저장될 수 있다.
도 15는 일 실시예에 따른 컨텐츠 스트리밍 시스템 구조도를 도시하는 도면이다.
본 개시가 적용되는 컨텐츠 스트리밍 시스템은 크게 인코딩 서버, 스트리밍 서버, 웹 서버, 미디어 저장소, 사용자 장치 및 멀티미디어 입력 장치를 포함할 수 있다.
상기 인코딩 서버는 스마트폰, 카메라, 캠코더 등과 같은 멀티미디어 입력 장치들로부터 입력된 컨텐츠를 디지털 데이터로 압축하여 비트스트림을 생성하고 이를 상기 스트리밍 서버로 전송하는 역할을 한다. 다른 예로, 스마트폰, 카메라, 캠코더 등과 같은 멀티미디어 입력 장치들이 비트스트림을 직접 생성하는 경우, 상기 인코딩 서버는 생략될 수 있다.
상기 비트스트림은 본 개시가 적용되는 인코딩 방법 또는 비트스트림 생성 방법에 의해 생성될 수 있고, 상기 스트리밍 서버는 상기 비트스트림을 전송 또는 수신하는 과정에서 일시적으로 상기 비트스트림을 저장할 수 있다.
상기 스트리밍 서버는 웹 서버를 통한 사용자 요청에 기초하여 멀티미디어 데이터를 사용자 장치에 전송하고, 상기 웹 서버는 사용자에게 어떠한 서비스가 있는지를 알려주는 매개체 역할을 한다. 사용자가 상기 웹 서버에 원하는 서비스를 요청하면, 상기 웹 서버는 이를 스트리밍 서버에 전달하고, 상기 스트리밍 서버는 사용자에게 멀티미디어 데이터를 전송한다. 이때, 상기 컨텐츠 스트리밍 시스템은 별도의 제어 서버를 포함할 수 있고, 이 경우 상기 제어 서버는 상기 컨텐츠 스트리밍 시스템 내 각 장치 간 명령/응답을 제어하는 역할을 한다.
상기 스트리밍 서버는 미디어 저장소 및/또는 인코딩 서버로부터 컨텐츠를 수신할 수 있다. 예를 들어, 상기 인코딩 서버로부터 컨텐츠를 수신하게 되는 경우, 상기 컨텐츠를 실시간으로 수신할 수 있다. 이 경우, 원활한 스트리밍 서비스를 제공하기 위하여 상기 스트리밍 서버는 상기 비트스트림을 일정 시간동안 저장할 수 있다.
상기 사용자 장치의 예로는, 휴대폰, 스마트 폰(smart phone), 노트북 컴퓨터(laptop computer), 디지털방송용 단말기, PDA(personal digital assistants), PMP(portable multimedia player), 네비게이션, 슬레이트 PC(slate PC), 태블릿 PC(tablet PC), 울트라북(ultrabook), 웨어러블 디바이스(wearable device, 예를 들어, 워치형 단말기 (smartwatch), 글래스형 단말기 (smart glass), HMD(head mounted display)), 디지털 TV, 데스크탑 컴퓨터, 디지털 사이니지 등이 있을 수 있다.
상기 컨텐츠 스트리밍 시스템 내 각 서버들은 분산 서버로 운영될 수 있으며, 이 경우 각 서버에서 수신하는 데이터는 분산 처리될 수 있다.
상술한 본 개시에 따른 방법은 소프트웨어 형태로 구현될 수 있으며, 본 개시에 따른 인코딩 장치 및/또는 디코딩 장치는 예를 들어 TV, 컴퓨터, 스마트폰, 셋톱박스, 디스플레이 장치 등의 영상 처리를 수행하는 장치에 포함될 수 있다.
전술한 각각의 파트, 모듈 또는 유닛은 메모리(또는 저장 유닛)에 저장된 연속된 수행과정들을 실행하는 프로세서이거나 하드웨어 파트일 수 있다. 전술한 실시예에 기술된 각 단계들은 프로세서 또는 하드웨어 파트들에 의해 수행될 수 있다. 전술한 실시예에 기술된 각 모듈/블록/유닛들은 하드웨어/프로세서로서 동작할 수 있다. 또한, 본 개시가 제시하는 방법들은 코드로서 실행될 수 있다. 이 코드는 프로세서가 읽을 수 있는 저장매체에 쓰여질 수 있고, 따라서 장치(apparatus)가 제공하는 프로세서에 의해 읽혀질 수 있다.
상술한 실시예에서, 방법들은 일련의 단계 또는 블록으로써 순서도를 기초로 설명되고 있지만, 본 개시는 단계들의 순서에 한정되는 것은 아니며, 어떤 단계는 상술한 바와 다른 단계와 다른 순서로 또는 동시에 발생할 수 있다. 또한, 당업자라면 순서도에 나타내어진 단계들이 배타적이지 않고, 다른 단계가 포함되거나 순서도의 하나 또는 그 이상의 단계가 본 개시의 범위에 영향을 미치지 않고 삭제될 수 있음을 이해할 수 있을 것이다.
본 개시에서 실시예들이 소프트웨어로 구현될 때, 상술한 방법은 상술한 기능을 수행하는 모듈(과정, 기능 등)로 구현될 수 있다. 모듈은 메모리에 저장되고, 프로세서에 의해 실행될 수 있다. 메모리는 프로세서 내부 또는 외부에 있을 수 있고, 잘 알려진 다양한 수단으로 프로세서와 연결될 수 있다. 프로세서는 ASIC(appICation-specific integrated circuit), 다른 칩셋, 논리 회로 및/또는 데이터 처리 장치를 포함할 수 있다. 메모리는 ROM(read-only memory), RAM(random access memory), 플래쉬 메모리, 메모리 카드, 저장 매체 및/또는 다른 저장 장치를 포함할 수 있다.

Claims (15)

  1. 디코딩 장치에 의하여 수행되는 영상 디코딩 방법에 있어서,
    현재 블록에 머지 모드가 적용되는 경우, 상기 현재 블록의 적어도 하나의 공간적 주변 블록들 및 적어도 하나의 시간적 주변 블록들을 기반으로 머지 후보들을 도출하는 단계;
    상기 도출된 머지 후보들의 개수가 최대 머지 후보 개수보다 적은 경우, 상기 현재 블록을 포함하는 현재 픽처 내의 참조 블록을 참조하는 CPR(Current Picture Referencing) 머지 후보를 도출하는 단계;
    상기 머지 후보들 및 상기 CPR 머지 후보를 기반으로 머지 후보 리스트를 구성하는 단계;
    상기 구성된 머지 후보 리스트를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하는 단계; 및
    상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성하는 단계를 포함하는 것을 특징으로 하는 영상 디코딩 방법.
  2. 제1항에 있어서,
    상기 CPR 머지 후보는 상기 현재 블록을 포함하는 최대 코닝 유닛의 라인 버퍼(line buffer)에 포함된 참조 샘플을 지시하는 것을 특징으로 하는, 영상 디코딩 방법.
  3. 제2항에 있어서,
    상기 라인 버퍼는 상기 최대 코딩 유닛을 기준으로 하는 좌측 라인 버퍼 및 우측 라인 버퍼를 포함하고, 상기 참조 샘플은 상기 좌측 라인 버퍼에 포함되는 것을 특징으로 하는, 영상 디코딩 방법.
  4. 제2항에 있어서,
    상기 라인 버퍼는 상기 최대 코딩 유닛을 기준으로 하는 좌측 라인 버퍼 및 우측 라인 버퍼를 포함하고, 상기 참조 샘플은 상기 상측 라인 버퍼에 포함되는 것을 특징으로 하는, 영상 디코딩 방법.
  5. 제1항에 있어서,
    상기 CPR 머지 후보는 상기 현재 블록을 포함하는 최대 코딩 유닛 내 샘플을 지시하는 것을 특징으로 하는, 영상 디코딩 방법.
  6. 제1항에 있어서,
    상기 머지 후보들의 개수와 상기 CPR 머지 후보의 개수의 합이 상기 최대 머지 후보 개수보다 적은 경우, 상기 머지 후보 리스트는 상기 머지 후보들, 상기 CPR 머지 후보 및 제로 벡터(zero vector)를 기반으로 구성되는 것을 특징으로 하는, 영상 디코딩 방법.
  7. 제1항에 있어서,
    상기 CPR 머지 후보는 상기 현재 블록의 사이즈에 기반하여 결정되는 것을 특징으로 하는, 영상 디코딩 방법.
  8. 제1항에 있어서,
    상기 머지 후보 리스트는 복수의 CPR 머지 후보들을 포함하며, 상기 복수의 CPR 머지 후보들의 개수는 기 정의된(pre-defined) 임계치(threshold value) 이하인 것을 특징으로 하는, 영상 디코딩 방법.
  9. 제1항에 있어서,
    상기 CPR 머지 후보는 상기 도출된 머지 후보들의 개수가 2개 미만인 경우에 도출되는 것을 특징으로 하는, 영상 디코딩 방법.
  10. 인코딩 장치에 의하여 수행되는 영상 인코딩 방법에 있어서,
    현재 블록에 머지 모드가 적용되는 경우, 상기 현재 블록의 적어도 하나의 공간적 주변 블록들 및 적어도 하나의 시간적 주변 블록들을 기반으로 머지 후보들을 도출하는 단계;
    상기 도출된 머지 후보들의 개수가 최대 머지 후보 개수보다 적은 경우, 상기 현재 블록을 포함하는 현재 픽처 내의 참조 블록을 참조하는 CPR 머지 후보를 도출하는 단계;
    상기 머지 후보들 및 상기 CPR 머지 후보를 기반으로 머지 후보 리스트를 구성하는 단계;
    상기 구성된 머지 후보 리스트를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하는 단계; 및
    상기 예측 샘플들을 도출하는 과정에서 획득된 영상 정보를 인코딩 하는 단계를 포함하는 것을 특징으로 하는 영상 인코딩 방법.
  11. 제10항에 있어서,
    상기 CPR 머지 후보는 상기 현재 블록을 포함하는 최대 코닝 유닛의 라인 버퍼에 포함된 참조 샘플을 지시하는 것을 특징으로 하는, 영상 인코딩 방법.
  12. 제11항에 있어서,
    상기 라인 버퍼는 상기 최대 코딩 유닛을 기준으로 하는 좌측 라인 버퍼 및 우측 라인 버퍼를 포함하고, 상기 참조 샘플은 상기 좌측 라인 버퍼에 포함되는 것을 특징으로 하는, 영상 인코딩 방법.
  13. 제11항에 있어서,
    상기 라인 버퍼는 상기 최대 코딩 유닛을 기준으로 하는 좌측 라인 버퍼 및 우측 라인 버퍼를 포함하고, 상기 참조 샘플은 상기 상측 라인 버퍼에 포함되는 것을 특징으로 하는, 영상 인코딩 방법.
  14. 제10항에 있어서,
    상기 CPR 머지 후보는 상기 현재 블록을 포함하는 최대 코딩 유닛 내 샘플을 지시하는 것을 특징으로 하는, 영상 인코딩 방법.
  15. 영상을 디코딩하는 디코딩 장치에 있어서,
    현재 블록에 머지 모드가 적용되는 경우, 상기 현재 블록의 적어도 하나의 공간적 주변 블록들 및 적어도 하나의 시간적 주변 블록들을 기반으로 머지 후보들을 도출하고, 상기 도출된 머지 후보들의 개수가 최대 머지 후보 개수보다 적은 경우, 상기 현재 블록을 포함하는 현재 픽처 내의 참조 블록을 참조하는 CPR 머지 후보를 도출하고, 상기 머지 후보들 및 상기 CPR 머지 후보를 기반으로 머지 후보 리스트를 구성하고, 상기 구성된 머지 후보 리스트를 기반으로 상기 현재 블록에 대한 예측 샘플들을 도출하는 예측부; 및
    상기 예측 샘플들을 기반으로 상기 현재 블록에 대한 복원 샘플들을 생성하는 가산부를 포함하는 것을 특징으로 하는 디코딩 장치.
PCT/KR2019/012222 2018-09-29 2019-09-20 머지 후보 리스트를 구성하는 방법 및 장치 WO2020067679A1 (ko)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201862739163P 2018-09-29 2018-09-29
US62/739,163 2018-09-29
US201862742933P 2018-10-09 2018-10-09
US62/742,933 2018-10-09

Publications (1)

Publication Number Publication Date
WO2020067679A1 true WO2020067679A1 (ko) 2020-04-02

Family

ID=69953022

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2019/012222 WO2020067679A1 (ko) 2018-09-29 2019-09-20 머지 후보 리스트를 구성하는 방법 및 장치

Country Status (1)

Country Link
WO (1) WO2020067679A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140057667A (ko) * 2011-11-07 2014-05-13 인포브릿지 피티이 엘티디 영상 복호화 장치
KR20170029549A (ko) * 2014-07-07 2017-03-15 에이치에프아이 이노베이션 인크. 인트라 블록 카피 검색 및 보상 범위의 방법
US20170332099A1 (en) * 2016-05-13 2017-11-16 Qualcomm Incorporated Merge candidates for motion vector prediction for video coding
US20180160137A1 (en) * 2011-01-07 2018-06-07 Lg Electronics Inc. Method for encoding and decoding image information and device using same
KR20180098161A (ko) * 2017-02-24 2018-09-03 주식회사 케이티 비디오 신호 처리 방법 및 장치

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180160137A1 (en) * 2011-01-07 2018-06-07 Lg Electronics Inc. Method for encoding and decoding image information and device using same
KR20140057667A (ko) * 2011-11-07 2014-05-13 인포브릿지 피티이 엘티디 영상 복호화 장치
KR20170029549A (ko) * 2014-07-07 2017-03-15 에이치에프아이 이노베이션 인크. 인트라 블록 카피 검색 및 보상 범위의 방법
US20170332099A1 (en) * 2016-05-13 2017-11-16 Qualcomm Incorporated Merge candidates for motion vector prediction for video coding
KR20180098161A (ko) * 2017-02-24 2018-09-03 주식회사 케이티 비디오 신호 처리 방법 및 장치

Similar Documents

Publication Publication Date Title
WO2020036417A1 (ko) 히스토리 기반 움직임 벡터에 기반한 인터 예측 방법 및 그 장치
WO2020017840A1 (ko) Dmvr에 기반하여 인터 예측을 수행하는 방법 및 장치
WO2019194440A1 (ko) 인트라 예측 모드에 대한 룩업 테이블을 이용한 영상 코딩 방법 및 그 장치
WO2020197236A1 (ko) 서브 픽처 핸들링 구조 기반 영상 또는 비디오 코딩
WO2020189960A1 (ko) 크로마 포맷에 대한 정보를 시그널링 하는 방법 및 장치
WO2020197038A1 (ko) 영상 코딩 시스템에서 인트라 서브 파티션 기반의 인트라 예측 방법 및 장치
WO2020009390A1 (ko) 영상 코딩 시스템에서 인터 예측에 따른 영상 처리 방법 및 장치
WO2020141928A1 (ko) 영상 코딩 시스템에서 mmvd 에 따른 예측에 기반한 영상 디코딩 방법 및 장치
WO2020076066A1 (ko) 신택스 디자인 방법 및 신택스를 이용하여 코딩을 수행하는 장치
WO2020005002A1 (ko) 영상 코딩 시스템에서 인터 예측에 따른 템플릿 영역 도출 방법 및 장치
WO2020141932A1 (ko) Cpr 기반 mmvd를 이용하는 인터 예측 방법 및 장치
WO2019209026A1 (ko) 비디오 코딩 시스템에서 인터 예측 방법 및 장치
WO2020251338A1 (ko) 비디오 또는 영상 코딩 시스템에서의 인터 예측
WO2020141884A1 (ko) Cpr 기반 mmvd를 사용하는 영상 코딩 방법 및 장치
WO2020004879A1 (ko) 영상 코딩 시스템에서 복수의 주변 블록들을 사용하는 인터 예측에 따른 영상 디코딩 방법 및 장치
WO2019203533A1 (ko) 다중 움직임 모델을 고려한 인터 예측 방법 및 그 장치
WO2020251339A1 (ko) 쌍예측 기반 영상/비디오 코딩 방법 및 장치
WO2021118263A1 (ko) 영상 정보를 시그널링하는 방법 및 장치
WO2020145656A1 (ko) Tmvp 후보의 가용 여부를 시그널링하는 방법 및 장치
WO2020130629A1 (ko) 다중 참조 라인 인트라 예측에 기반한 영상 코딩 방법 및 그 장치
WO2020040439A1 (ko) 영상 코딩 시스템에서 인트라 예측 방법 및 장치
WO2020017841A1 (ko) 머지 모드에 기반하여 인터 예측을 수행하는 방법 및 장치
WO2020067679A1 (ko) 머지 후보 리스트를 구성하는 방법 및 장치
WO2020122588A1 (ko) 머지 후보의 유효성을 체크하는 방법 및 장치
WO2021107623A1 (ko) 영상/비디오 인코딩/디코딩 방법 및 장치

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: 19864048

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: 19864048

Country of ref document: EP

Kind code of ref document: A1