WO2015046866A1 - Method and apparatus for encoding/decoding multilayer video signal - Google Patents

Method and apparatus for encoding/decoding multilayer video signal Download PDF

Info

Publication number
WO2015046866A1
WO2015046866A1 PCT/KR2014/008872 KR2014008872W WO2015046866A1 WO 2015046866 A1 WO2015046866 A1 WO 2015046866A1 KR 2014008872 W KR2014008872 W KR 2014008872W WO 2015046866 A1 WO2015046866 A1 WO 2015046866A1
Authority
WO
WIPO (PCT)
Prior art keywords
layer
picture
block
inter
prediction
Prior art date
Application number
PCT/KR2014/008872
Other languages
French (fr)
Korean (ko)
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 WO2015046866A1 publication Critical patent/WO2015046866A1/en

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/30Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
    • 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/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/187Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a scalable video layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/30Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
    • H04N19/33Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability in the spatial domain
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Definitions

  • the present invention relates to a method and apparatus for encoding / decoding multilayer video signals.
  • High efficiency image compression techniques can be used to solve these problems caused by high resolution and high quality image data.
  • An inter-screen prediction technique for predicting pixel values included in the current picture from a picture before or after the current picture using an image compression technique an intra prediction technique for predicting pixel values included in a current picture using pixel information in the current picture
  • An object of the present invention is to provide a method and apparatus for determining a corresponding picture of a reference layer used for inter-layer prediction of a current picture in encoding / decoding a multilayer video signal.
  • An object of the present invention is to provide a method and apparatus for upsampling a corresponding picture of a reference layer in encoding / decoding a multilayer video signal.
  • An object of the present invention is to provide a method and apparatus for specifying a reference block of a reference layer used for inter-layer prediction of a current block in encoding / decoding a multilayer video signal.
  • An object of the present invention is to provide a method and apparatus for constructing a reference picture list using an inter-layer reference picture in encoding / decoding a multilayer video signal.
  • An object of the present invention is to provide a method and apparatus for effectively deriving texture information of a current layer through inter-layer prediction in encoding / decoding a multilayer video signal.
  • the method and apparatus for decoding a multilayer video signal determine a corresponding picture of a reference layer used for inter-layer prediction of a current picture in a current layer, and upsample the determined corresponding picture to generate an interlayer reference picture. And specifying a reference block in the interlayer reference picture used for inter-layer prediction of the current block based on spatial offset information, and performing inter-layer prediction of the current block using the specified reference block. .
  • the specification of the reference block is performed based on the inter-layer prediction limit flag.
  • the inter-layer prediction limit flag is a constraint that a reference block specified based on the spatial offset information is applied in inter-layer prediction of the current block. It is characterized by indicating whether or not.
  • the reference block is specified as a block of a position moved by an offset according to the spatial offset information with respect to a call block belonging to the interlayer reference picture. do.
  • the spatial offset information includes at least one of a segment offset and a block offset.
  • the method and apparatus for encoding a multilayer video signal determine a corresponding picture of a reference layer used for inter-layer prediction of a current picture in a current layer, and upsample the determined corresponding picture to generate an interlayer reference picture. And specifying a reference block in the interlayer reference picture used for inter-layer prediction of the current block based on spatial offset information, and performing inter-layer prediction of the current block using the specified reference block. .
  • the specification of the reference block is performed based on the inter-layer prediction limit flag.
  • whether the inter-layer prediction limit flag is applied in the inter-layer prediction of the current block, the constraint that a reference block specified based on the spatial offset information is applied is applied. It is characterized by indicating whether or not.
  • the reference block is specified as a block of a position moved by an offset according to the spatial offset information with respect to a call block belonging to the interlayer reference picture. do.
  • the spatial offset information includes at least one of a segment offset and a block offset.
  • the present invention it is possible to effectively determine the corresponding picture of the reference layer used for inter-layer prediction of the current picture in the current layer.
  • a reference picture list including an interlayer reference picture can be effectively constructed.
  • the reference block of the reference layer used for inter-layer prediction of the current block can be effectively determined.
  • texture information of the current layer can be effectively derived through inter-layer prediction.
  • FIG. 1 is a block diagram schematically illustrating an encoding apparatus according to an embodiment of the present invention.
  • FIG. 2 is a block diagram schematically illustrating a decoding apparatus according to an embodiment of the present invention.
  • FIG. 3 is a flowchart illustrating a process of performing inter prediction of a current layer using a corresponding picture of a reference layer according to an embodiment to which the present invention is applied.
  • FIG. 4 illustrates a method of determining a corresponding picture of a reference layer based on a reference active flag according to an embodiment to which the present invention is applied.
  • FIG. 5 illustrates a syntax table of a reference active flag according to an embodiment to which the present invention is applied.
  • FIG. 6 illustrates a method of obtaining inter-layer reference information for a current picture according to an embodiment to which the present invention is applied.
  • FIG. 7 illustrates a syntax table of interlayer reference information according to an embodiment to which the present invention is applied.
  • FIG. 8 is a flowchart illustrating a method of upsampling a corresponding picture of a reference layer according to an embodiment to which the present invention is applied.
  • FIG. 9 illustrates a method of specifying a near reference picture stored in a decoding picture buffer as an embodiment to which the present invention is applied.
  • FIG. 10 illustrates a method of specifying a long-term reference picture as an embodiment to which the present invention is applied.
  • FIG. 11 illustrates a method of constructing a reference picture list using a near reference picture and a long range reference picture as an embodiment to which the present invention is applied.
  • FIG. 12 illustrates a process of performing inter-layer prediction of a current block based on spatial offset information according to an embodiment to which the present invention is applied.
  • 13 to 15 illustrate a syntax table of spatial offset information according to an embodiment to which the present invention is applied.
  • FIG. 16 illustrates a method of specifying a reference block used for inter-layer prediction of a current block by using spatial offset information according to an embodiment to which the present invention is applied.
  • the method and apparatus for decoding a multilayer video signal determine a corresponding picture of a reference layer used for inter-layer prediction of a current picture in a current layer, and upsample the determined corresponding picture to generate an interlayer reference picture. And specifying a reference block in the interlayer reference picture used for inter-layer prediction of the current block based on spatial offset information, and performing inter-layer prediction of the current block using the specified reference block. .
  • the specification of the reference block is performed based on the inter-layer prediction limit flag.
  • the inter-layer prediction limit flag is a constraint that a reference block specified based on the spatial offset information is applied in inter-layer prediction of the current block. It is characterized by indicating whether or not.
  • the reference block is specified as a block of a position moved by an offset according to the spatial offset information with respect to a call block belonging to the interlayer reference picture. do.
  • the spatial offset information includes at least one of a segment offset and a block offset.
  • the method and apparatus for encoding a multilayer video signal determine a corresponding picture of a reference layer used for inter-layer prediction of a current picture in a current layer, and upsample the determined corresponding picture to generate an interlayer reference picture. And specifying a reference block in the interlayer reference picture used for inter-layer prediction of the current block based on spatial offset information, and performing inter-layer prediction of the current block using the specified reference block. .
  • the specification of the reference block is performed based on the inter-layer prediction limit flag.
  • whether the inter-layer prediction limit flag is applied in the inter-layer prediction of the current block, the constraint that a reference block specified based on the spatial offset information is applied is applied. It is characterized by indicating whether or not.
  • the reference block is specified as a block of a position moved by an offset according to the spatial offset information with respect to a call block belonging to the interlayer reference picture. do.
  • the spatial offset information includes at least one of a segment offset and a block offset.
  • first and second may be used to describe various configurations, but the configurations are not limited by the terms. The terms are used to distinguish one configuration from another.
  • first configuration may be referred to as the second configuration, and similarly, the second configuration may also be referred to as the first configuration.
  • each component shown in the embodiments of the present invention are independently shown to represent different characteristic functions, and do not mean that each component is made of separate hardware or one software component unit.
  • each component is listed as a component for convenience of description, and at least two of the components may form one component, or one component may be divided into a plurality of components to perform a function.
  • the integrated and separated embodiments of each component are also included in the scope of the present invention without departing from the spirit of the present invention.
  • the components may not be essential components for performing essential functions in the present invention, but may be optional components for improving performance.
  • the present invention can be implemented including only the components essential for implementing the essentials of the present invention except for the components used for improving performance, and the structure including only the essential components except for the optional components used for improving performance. Also included in the scope of the present invention.
  • Encoding and decoding of video that supports multiple layers in a bitstream is called scalable video coding. Since there is a strong correlation between the plurality of layers, the prediction may be performed by using this correlation to remove redundant elements of data and to improve encoding performance of an image. Performing prediction of the current layer using information of another layer is referred to as inter-layer prediction or inter-layer prediction in the following.
  • the plurality of layers may have different resolutions, where the resolution may mean at least one of spatial resolution, temporal resolution, and image quality. Resampling such as up-sampling or downsampling of a layer may be performed to adjust the resolution during inter-layer prediction.
  • FIG. 1 is a block diagram schematically illustrating an encoding apparatus according to an embodiment of the present invention.
  • the encoding apparatus 100 includes an encoder 100a for an upper layer and an encoder 100b for a lower layer.
  • the upper layer may be expressed as a current layer or an enhancement layer
  • the lower layer may be expressed as an enhancement layer, a base layer, or a reference layer having a lower resolution than the upper layer.
  • the upper layer and the lower layer may have at least one of a spatial resolution, a temporal resolution according to a frame rate, and an image quality according to a color format or a quantization size. When a resolution change is necessary to perform inter-layer prediction, upsampling or downsampling of a layer may be performed.
  • the encoder 100a of the upper layer may include a divider 110, a predictor 120, a transformer 130, a quantizer 140, a reorderer 150, an entropy encoder 160, and an inverse quantizer ( 170, an inverse transform unit 180, a filter unit 190, and a memory 195.
  • the encoder 100b of the lower layer includes a divider 111, a predictor 125, a transformer 131, a quantizer 141, a reordering unit 151, an entropy encoder 161, and an inverse quantizer ( 171, an inverse transform unit 181, a filter unit 191, and a memory 196.
  • the encoder may be implemented by the image encoding method described in the following embodiments of the present invention, but operations in some components may not be performed to reduce the complexity of the encoding apparatus or for fast real time encoding.
  • some limited number of methods are used without selecting the optimal intra intra coding method using all intra prediction modes in order to perform encoding in real time.
  • a method of selecting one intra prediction mode among them as a final intra prediction mode using the intra prediction mode of the image may be used.
  • the unit of a block processed by the encoding apparatus may be a coding unit that performs encoding, a prediction unit that performs prediction, or a transformation unit that performs transformation.
  • a coding unit may be represented by a term such as a coding unit (CU), a prediction unit is a prediction unit (PU), and a transformation unit is a transform unit (TU).
  • the splitters 110 and 111 divide a layer image into a combination of a plurality of coding blocks, prediction blocks, and transform blocks, and one of the coding blocks, prediction blocks, and transform blocks according to a predetermined criterion (for example, a cost function). You can split the layer by selecting the combination of. For example, to split a coding unit in a layer image, a recursive tree structure such as a quad tree structure may be used.
  • a recursive tree structure such as a quad tree structure may be used.
  • the meaning of the coding block may be used not only as a block for encoding but also as a block for decoding.
  • the prediction block may be a unit for performing prediction such as intra prediction or inter prediction.
  • the block for performing intra prediction may be a block having a square shape such as 2N ⁇ 2N or N ⁇ N.
  • As a block for performing inter prediction there is a prediction block partitioning method using Asymmetric Motion Partitioning (AMP), which is a square form such as 2Nx2N and NxN, or a rectangular form or asymmetric form such as 2NxN and Nx2N.
  • AMP Asymmetric Motion Partitioning
  • the transform unit 115 may change a method of performing the transform.
  • the prediction units 120 and 125 of the encoders 100a and 100b may include the intra prediction units 121 and 126 performing intra prediction and the inter prediction unit performing inter prediction. (122, 127).
  • the predictor 120 of the higher layer encoder 100a may further include an inter-layer predictor 123 that performs prediction on the higher layer by using information of the lower layer.
  • the prediction units 120 and 125 may determine whether to use inter prediction or intra prediction on the prediction block.
  • the process of determining the intra prediction mode in units of prediction blocks and performing the intra prediction based on the determined intra prediction mode may be performed in units of transform blocks.
  • the residual value (residual block) between the generated prediction block and the original block may be input to the transformers 130 and 131.
  • prediction mode information and motion information used for prediction may be encoded by the entropy encoder 130 together with the residual value and transmitted to the decoding apparatus.
  • the original block may be encoded as it is and transmitted to the decoder without performing prediction through the prediction units 120 and 125.
  • PCM Pulse Coded Modulation
  • the intra prediction units 121 and 126 may generate an intra prediction block based on reference pixels present around the current block (the block to be predicted).
  • the intra prediction mode may have a directional prediction mode using a reference pixel according to a prediction direction and a non-directional mode without considering the prediction direction.
  • the mode for predicting luma information and the mode for predicting color difference information may be different.
  • an intra prediction mode in which luma information is predicted or predicted luma information may be used. If a reference pixel is not available, the unusable reference pixel may be replaced with another pixel, and a prediction block may be generated using the reference pixel.
  • the prediction block may include a plurality of transform blocks. If the prediction block has the same size as the transform block when the intra prediction is performed, pixels present on the left side of the prediction block, pixels present on the upper left side, and top Intra-prediction of the prediction block may be performed based on the pixels present in the. However, when the prediction block is different from the size of the transform block when the intra prediction is performed, and a plurality of transform blocks are included in the prediction block, intra prediction is performed by using neighboring pixels adjacent to the transform block as reference pixels. Can be done.
  • the neighboring pixel adjacent to the transform block may include at least one of the neighboring pixel adjacent to the prediction block and the pixels already decoded in the prediction block.
  • the intra prediction method may generate a prediction block after applying a mode dependent intra smoothing (MDIS) filter to a reference pixel according to the intra prediction mode.
  • MDIS mode dependent intra smoothing
  • the type of MDIS filter applied to the reference pixel may be different.
  • the MDIS filter is an additional filter applied to the predicted block in the picture by performing the intra prediction and may be used to reduce the residual present in the predicted block in the picture generated after performing the prediction with the reference pixel.
  • filtering on a reference pixel and some columns included in the predicted block in the screen may perform different filtering according to the direction of the intra prediction mode.
  • the inter prediction units 122 and 127 may perform prediction by referring to information of a block included in at least one of a previous picture or a subsequent picture of the current picture.
  • the inter prediction units 122 and 127 may include a reference picture interpolator, a motion predictor, and a motion compensator.
  • the reference picture interpolation unit may receive reference picture information from the memories 195 and 196 and generate pixel information of an integer pixel or less in the reference picture.
  • a DCT-based 8-tap interpolation filter having different filter coefficients may be used to generate pixel information of integer pixels or less in units of 1/4 pixels.
  • a DCT-based interpolation filter having different filter coefficients may be used to generate pixel information of an integer pixel or less in units of 1/8 pixels.
  • the inter prediction units 122 and 127 may perform motion prediction based on the reference picture interpolated by the reference picture interpolator.
  • various methods such as a full search-based block matching algorithm (FBMA), a three step search (TSS), and a new three-step search algorithm (NTS) may be used.
  • the motion vector may have a motion vector value of 1/2 or 1/4 pixel units based on the interpolated pixels.
  • the inter prediction units 122 and 127 may perform prediction on the current block by applying one inter prediction method among various inter prediction methods.
  • various methods such as a skip method, a merge method, and a motion vector predictor (MVP), may be used as the inter prediction method.
  • MVP motion vector predictor
  • motion information that is, information such as a reference index, a motion vector, and a residual signal
  • motion information is entropy coded and transmitted to a decoder.
  • the skip mode since the residual signal is not generated, the conversion and quantization processes for the residual signal may be omitted.
  • the interlayer prediction unit 123 performs interlayer prediction for predicting an upper layer by using information of a lower layer.
  • the inter-layer prediction unit 123 may perform inter-layer prediction using texture information, motion information, etc. of the lower layer.
  • prediction of a current block of an upper layer may be performed using motion information on a picture of a lower layer (reference layer) using a picture of a lower layer as a reference picture.
  • the picture of the reference layer used as the reference picture in inter-layer prediction may be a picture sampled according to the resolution of the current layer.
  • the motion information may include a motion vector and a reference index. In this case, the value of the motion vector for the picture of the reference layer may be set to (0,0).
  • the inter-layer prediction unit 123 may perform inter-layer texture prediction, inter-layer motion prediction, inter-layer syntax prediction, and inter-layer difference prediction.
  • Inter-layer texture prediction may derive the texture of the current layer based on the texture of the reference layer.
  • the texture of the reference layer may be sampled according to the resolution of the current layer, and the inter-layer predictor 123 may predict the texture of the current layer based on the sampled texture of the reference layer.
  • Inter-layer motion prediction may derive the motion vector of the current layer based on the motion vector of the reference layer.
  • the motion vector of the reference layer may be scaled according to the resolution of the current layer.
  • the syntax of the current layer may be predicted based on the syntax of the reference layer.
  • the inter-layer prediction unit 123 may use the syntax of the reference layer as the syntax of the current layer.
  • the picture of the current layer may be reconstructed using the difference between the reconstructed image of the reference layer and the reconstructed image of the current layer.
  • a residual block including residual information which is a difference between the predicted block generated by the predictors 120 and 125 and the reconstructed block of the predicted block, is generated, and the residual block is input to the transformers 130 and 131.
  • the transform units 130 and 131 may transform the residual block using a transform method such as a discrete cosine transform (DCT) or a discrete sine transform (DST). Whether DCT or DST is applied to transform the residual block may be determined based on intra prediction mode information of the prediction block used to generate the residual block and size information of the prediction block. That is, the transformers 130 and 131 may apply the transformation method differently according to the size of the prediction block and the prediction method.
  • a transform method such as a discrete cosine transform (DCT) or a discrete sine transform (DST).
  • DCT discrete cosine transform
  • DST discrete sine transform
  • the quantizers 140 and 141 may quantize the values transformed by the transformers 130 and 131 into the frequency domain.
  • the quantization coefficient may change depending on the block or the importance of the image.
  • the values calculated by the quantizers 140 and 141 may be provided to the dequantizers 170 and 17 and the reordering units 150 and 151.
  • the reordering units 150 and 151 may reorder coefficient values with respect to the quantized residual value.
  • the reordering units 150 and 151 may change the two-dimensional block shape coefficients into a one-dimensional vector form through a coefficient scanning method.
  • the realignment units 150 and 151 may scan DC coefficients to coefficients in the high frequency region by using a Zig-Zag scan method and change them into one-dimensional vectors.
  • a vertical scan method for scanning two-dimensional block shape coefficients in a column direction, not a zig-zag scan method, and a horizontal scan method for scanning two-dimensional block shape coefficients in a row direction Can be used. That is, according to the size of the transform block and the intra prediction mode, it is possible to determine which scan method among zigzag-scan, vertical scan and horizontal scan is used.
  • the entropy encoders 160 and 161 may perform entropy encoding based on the values calculated by the reordering units 150 and 151. Entropy encoding may use various encoding methods such as, for example, Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC).
  • Exponential Golomb Context-Adaptive Variable Length Coding
  • CABAC Context-Adaptive Binary Arithmetic Coding
  • the entropy encoders 160 and 161 transmit residual value coefficient information, block type information, prediction mode information, partition unit information, prediction block information, and the like of the coding block from the reordering units 150 and 151 and the prediction units 120 and 125. Entropy encoding may be performed based on a predetermined encoding method by receiving various information such as unit information, motion information, reference frame information, block interpolation information, and filtering information. In addition, the entropy encoder 160 or 161 may entropy-encode coefficient values of coding units input from the reordering unit 150 or 151.
  • the entropy encoders 160 and 161 may encode the intra prediction mode information of the current block by performing binarization on the intra prediction mode information.
  • the entropy encoder 160 or 161 may include a codeword mapping unit for performing such a binarization operation, and may perform different binarization according to the size of a prediction block for performing intra prediction.
  • the codeword mapping unit the codeword mapping table may be adaptively generated or stored in advance through a binarization operation.
  • the entropy encoders 160 and 161 may express prediction mode information in the current screen using a codenum mapping unit for performing codenum mapping and a codeword mapping unit for performing codeword mapping. In the codenum mapping unit and the codeword mapping unit, a codenum mapping table and a codeword mapping table may be generated or stored.
  • the inverse quantizers 170 and 171 and the inverse transformers 180 and 181 inverse quantize the quantized values in the quantizers 140 and 141 and inversely transform the converted values in the transformers 130 and 131.
  • the residual values generated by the inverse quantizers 170 and 171 and the inverse transformers 180 and 181 may be predicted by the motion estimator, the motion compensator, and the intra prediction unit included in the predictors 120 and 125. It may be combined with the prediction block to generate a reconstructed block.
  • the filter units 190 and 191 may include at least one of a deblocking filter and an offset correction unit.
  • the deblocking filter may remove block distortion caused by boundaries between blocks in the reconstructed picture.
  • it may be determined whether to apply a deblocking filter to the current block based on the pixels included in several columns or rows included in the block.
  • a strong filter or a weak filter may be applied according to the required deblocking filtering strength.
  • horizontal filtering and vertical filtering may be performed in parallel when vertical filtering and horizontal filtering are performed.
  • the offset correction unit may correct the offset with respect to the original image on a pixel-by-pixel basis for the deblocking image.
  • the pixels included in the image are divided into predetermined areas, and then, the area to be offset is determined and the offset is applied to the corresponding area, or the offset is applied considering the edge information of each pixel. Can be used.
  • the filter units 190 and 191 may apply only the deblocking filter or both the deblocking filter and the offset correction without applying both the deblocking filter and the offset correction.
  • the memories 195 and 196 may store reconstructed blocks or pictures calculated by the filters 190 and 191, and the stored reconstructed blocks or pictures may be provided to the predictors 120 and 125 when performing inter prediction. have.
  • the information output from the entropy encoder 100b of the lower layer and the information output from the entropy encoder 100a of the upper layer may be multiplexed by the MUX 197 and output as a bitstream.
  • the MUX 197 may be included in the encoder 100a of the upper layer or the encoder 100b of the lower layer, or may be implemented as an independent device or module separate from the encoder 100.
  • FIG. 2 is a block diagram schematically illustrating a decoding apparatus according to an embodiment of the present invention.
  • the decoding apparatus 200 includes a decoder 200a of an upper layer and a decoder 200b of a lower layer.
  • the decoder 200a of the upper layer includes an entropy decoder 210, a reordering unit 220, an inverse quantization unit 230, an inverse transform unit 240, a prediction unit 250, a filter unit 260, and a memory 270. ) May be included.
  • the lower layer decoding unit 200b includes an entropy decoding unit 211, a reordering unit 221, an inverse quantization unit 231, an inverse transform unit 241, a prediction unit 251, a filter unit 261, and a memory 271. ) May be included.
  • the DEMUX 280 may demultiplex information for each layer and transmit the information to the decoders 200a and 200b for each layer.
  • the input bitstream may be decoded in a procedure opposite to that of the encoding apparatus.
  • the entropy decoders 210 and 211 may perform entropy decoding in a procedure opposite to that of the entropy encoder in the encoding apparatus.
  • Information for generating a prediction block among the information decoded by the entropy decoders 210 and 211 is provided to the predictors 250 and 251, and the residual value obtained by entropy decoding by the entropy decoders 210 and 211 is a reordering unit. It may be input to (220, 221).
  • the entropy decoders 210 and 211 may use at least one of CABAC and CAVLC.
  • the entropy decoders 210 and 211 may decode information related to intra prediction and inter prediction performed by the encoding apparatus.
  • the entropy decoder 210 or 211 may include a codeword mapping unit and include a codeword mapping table for generating a received codeword as an intra prediction mode number.
  • the codeword mapping table may be stored in advance or generated adaptively.
  • a codenum mapping unit for performing codenum mapping may be additionally provided.
  • the reordering units 220 and 221 may reorder the bitstreams entropy decoded by the entropy decoding units 210 and 211 based on a method of rearranging the bitstreams by the encoder. Coefficients expressed in the form of a one-dimensional vector may be reconstructed by reconstructing the coefficients in a two-dimensional block form.
  • the reordering units 220 and 221 may be realigned by receiving information related to coefficient scanning performed by the encoder and performing reverse scanning based on the scanning order performed by the corresponding encoder.
  • the inverse quantization units 230 and 231 may perform inverse quantization based on quantization parameters provided by the encoding apparatus and coefficient values of the rearranged block.
  • the inverse transformers 240 and 241 may perform inverse DCT or inverse DST on the DCT or DST performed by the transformers 130 and 131 with respect to the quantization result performed by the encoding apparatus.
  • the inverse transform may be performed based on a transmission unit determined by the encoding apparatus.
  • the DCT and the DST may be selectively performed by the transform unit of the encoding apparatus according to a plurality of pieces of information, such as a prediction method, a size of the current block, and a prediction direction.
  • the inverse transformers 240 and 241 of the decoding apparatus may convert Inverse transformation may be performed based on the performed transformation information. When the transform is performed, the transform may be performed based on the coding block rather than the transform block.
  • the prediction units 250 and 251 may generate the prediction blocks based on the prediction block generation related information provided by the entropy decoding units 210 and 211 and previously decoded blocks or picture information provided by the memories 270 and 271. .
  • the predictors 250 and 251 may include a prediction unit determiner, an inter prediction unit, and an intra prediction unit.
  • the prediction unit discriminator receives various information such as prediction unit information input from the entropy decoder, prediction mode information of the intra prediction method, and motion prediction related information of the inter prediction method, and distinguishes the prediction block from the current coding block. It is possible to determine whether to perform this inter prediction or intra prediction.
  • the inter prediction unit uses information required for inter prediction of the current prediction block provided by the encoding apparatus to the current prediction block based on information included in at least one of a previous picture or a subsequent picture of the current picture including the current prediction block. Inter prediction can be performed.
  • a motion prediction method of a prediction block included in a coding block based on a coding block uses a skip mode, a merge mode, a motion vector predictor (MVP) (AMVP). Mode) can be determined.
  • the intra prediction unit may generate a prediction block based on the reconstructed pixel information in the current picture.
  • intra prediction may be performed based on intra prediction mode information of the prediction block provided by the encoding apparatus.
  • the intra prediction unit is an MDIS filter that performs filtering on the reference pixel of the current block, a reference pixel interpolator that generates a reference pixel of an integer value or less by interpolating the reference pixel, and filters when the prediction mode of the current block is DC mode. It may include a DC filter for generating a prediction block through.
  • the predictor 250 of the upper layer decoder 200a may further include an inter-layer predictor that performs inter-layer prediction for predicting an upper layer by using information of the lower layer.
  • the inter-layer prediction unit may perform inter-layer prediction using intra prediction mode information and motion information.
  • prediction of a current block of an upper layer may be performed using motion information of a lower layer (reference layer) picture using a picture of a lower layer as a reference picture.
  • the picture of the reference layer used as the reference picture in inter-layer prediction may be a picture sampled according to the resolution of the current layer.
  • the motion information may include a motion vector and a reference index.
  • the value of the motion vector for the picture of the reference layer may be set to (0,0).
  • inter-layer prediction unit 123 may further perform inter-layer texture prediction, inter-layer motion prediction, inter-layer syntax prediction, and inter-layer difference prediction.
  • Inter-layer texture prediction may derive the texture of the current layer based on the texture of the reference layer.
  • the texture of the reference layer may be sampled according to the resolution of the current layer, and the inter-layer predictor may predict the texture of the current layer based on the sampled texture.
  • Inter-layer motion prediction may derive the motion vector of the current layer based on the motion vector of the reference layer. In this case, the motion vector of the reference layer may be scaled according to the resolution of the current layer.
  • the syntax of the current layer may be predicted based on the syntax of the reference layer.
  • the inter-layer prediction unit 123 may use the syntax of the reference layer as the syntax of the current layer.
  • the picture of the current layer may be reconstructed using the difference between the reconstructed image of the reference layer and the reconstructed image of the current layer.
  • the reconstructed block or picture may be provided to the filter units 260 and 261.
  • the filter units 260 and 261 may include a deblocking filter and an offset correction unit.
  • the deblocking filter of the decoding apparatus may receive the deblocking filter related information provided by the encoding apparatus and perform the deblocking filtering on the corresponding block in the decoding apparatus.
  • the offset correction unit may perform offset correction on the reconstructed image based on the type of offset correction and offset value information applied to the image during encoding.
  • the memories 270 and 271 may store the reconstructed picture or block to be used as the reference picture or the reference block, and output the reconstructed picture.
  • the encoding apparatus and the decoding apparatus may encode three or more layers instead of two layers.
  • a plurality of encoders for a higher layer and a decoder for a higher layer may be provided in correspondence to the number of upper layers. Can be.
  • SVC Scalable Video Coding
  • the current layer may generate a prediction sample of the current layer by using a decoded picture of a reference layer used for inter-layer prediction as a reference picture.
  • the picture of the decoded reference layer matches the scalability of the current layer.
  • Resampling may be performed and then used as a reference picture for inter-layer prediction of the current layer. Resampling means up-sampling or downsampling samples of a reference layer picture according to a picture size of a current layer.
  • the current layer refers to a layer on which current encoding or decoding is performed, and may be an enhancement layer or an upper layer.
  • the reference layer refers to a layer referenced by the current layer for inter-layer prediction and may be a base layer or a lower layer.
  • a picture (ie, a reference picture) of a reference layer used for inter layer prediction of the current layer may be referred to as an inter layer reference picture or an inter layer reference picture.
  • FIG. 3 is a flowchart illustrating a process of performing inter prediction of a current layer using a corresponding picture of a reference layer according to an embodiment to which the present invention is applied.
  • a corresponding picture of a reference layer used for inter-layer prediction of the current picture of the current layer may be determined (S300).
  • the reference layer may mean a base layer or another enhancement layer having a lower resolution than the current layer.
  • the corresponding picture may mean a picture located at the same time zone as the current picture of the current layer.
  • the corresponding picture may be a picture having the same picture order count (POC) information as the current picture of the current layer.
  • the corresponding picture may belong to the same Access Unit (AU) as the current picture of the current layer.
  • the corresponding picture may have the same temporal level ID (TemporalID) as the current picture of the current layer.
  • the temporal level identifier may mean an identifier for specifying each of a plurality of layers that are coded scalable according to temporal resolution.
  • the current block may use corresponding pictures of one or more reference layers for inter-layer prediction, and a method of specifying the corresponding picture will be described with reference to FIGS. 4 to 7.
  • the interlayer reference picture may be generated by upsampling the corresponding picture determined in operation S300 (S310).
  • the interlayer reference picture may be used as a reference picture for inter-layer prediction of the current picture.
  • the interlayer reference picture may include at least one of a first interlayer reference picture and a second interlayer reference picture.
  • the first interlayer reference picture may mean a reference picture that has been filtered for the integer position
  • the second interlayer reference picture may mean a reference picture that has not been filtered for the integer position.
  • the integer position may refer to pixels of an integer unit of the corresponding picture to be upsampled.
  • n phases are generated, and at this time, zero phase positions (that is, n-fold integer pixels after interpolation) are generated. It may mean).
  • Filtering on the integer position may be performed using the surrounding integer position.
  • the surrounding integer position may be located in the same row or the same column as the currently filtered integer position.
  • the surrounding integer position may include a plurality of integer positions belonging to the same row or the same column. Here, the plurality of integer positions may be sequentially arranged in the same column or the same row. A detailed upsampling method will be described below with reference to FIG. 8.
  • the above upsampling process can be omitted. That is, the corresponding picture of the reference layer may be used as the interlayer reference picture.
  • a reference picture list including an interlayer reference picture and a temporal reference picture generated in step S310 may be generated (S320).
  • the reference picture list may include a reference picture (hereinafter, referred to as a temporal reference picture) belonging to the same layer as the current picture.
  • the temporal reference picture may mean a picture having an output order different from the current picture (eg, picture order count, POC).
  • POC picture order count
  • the reference picture list may further include an interlayer reference picture. That is, in a multilayer structure (eg, scalable video coding and multi-view video coding), a reference picture of the same layer as well as a reference picture of another layer may be used as a reference picture of the enhancement layer.
  • a reference picture of the same layer as well as a reference picture of another layer may be used as a reference picture of the enhancement layer.
  • a picture belonging to a reference layer may be used as a reference picture.
  • the reference layer may be identified by a reference layer identifier RefPiclayerId.
  • the reference layer identifier may be derived based on the syntax inter_layer_pred_layer_idc (hereinafter referred to as an interlayer indicator) of the slice header.
  • the interlayer indicator may indicate a layer of a picture used by the current picture for inter-layer prediction. In this manner, a reference picture list including the interlayer reference picture of the reference layer specified by the reference layer identifier can be generated.
  • the interlayer reference picture may include at least one of the first interlayer reference picture and the second interlayer reference picture. Accordingly, a reference picture list including any one of a first interlayer reference picture and a second interlayer reference picture may be generated, and a reference picture list including both the first interlayer reference picture and the second interlayer reference picture is generated. You may.
  • the encoding apparatus may signal information about which of the two layer reference pictures to use.
  • a reference index may be used for the selective use. Specifically, only the first interlayer reference picture may be selected by the reference index on a prediction block basis, or only the second interlayer reference picture may be selected, and both the first and second interlayer reference pictures are selected. May be
  • the ranges of num_ref_idx_l0_active_minus1 and num_ref_idx_l1_active_minus1 which are the syntaxes representing the maximum reference index values of the reference picture list for the current layer, range from 0 to 15.
  • the range of num_ref_idx_l0_active_minus1 and num_ref_idx_l1_active_minus1 is a value between 0 and 15. Can be defined.
  • the reference index maximum value of the reference picture list for the current layer is maximum.
  • the ranges of num_ref_idx_l0_active_minus1 and num_ref_idx_l1_active_minus1 which are syntaxes that represent NNs, may be defined as values between 0 and 16.
  • Inter-prediction of the current picture may be performed based on the reference picture list generated in step S320 (S330).
  • a reference picture corresponding to the reference index of the current block is selected from the reference picture list.
  • the selected reference picture may be a temporal reference picture or an inter-layer reference picture (ie, a corresponding picture of the reference layer or an upsampled corresponding picture) in the same layer as the current block.
  • a reference block in the reference picture may be specified based on the motion vector of the current block, and the sampled value or texture information of the current block may be predicted using the reconstructed sample value or texture information of the specified reference block.
  • the reference block When the reference picture corresponding to the reference index of the current block is an interlayer reference picture, the reference block may be a block at the same position as the current block (hereinafter, referred to as a call block). To this end, when the reference picture of the current block is an interlayer reference picture, the motion vector of the current block may be set to (0,0).
  • a block of a position shifted by a predetermined offset in the call block may be used as a reference block, and this will be described with reference to FIGS. 12 to 16. Let's take a closer look.
  • FIG. 4 illustrates a method of determining a corresponding picture of a reference layer based on a reference active flag as an embodiment to which the present invention is applied
  • FIG. 5 is an embodiment to which the present invention is applied. A syntax table is shown.
  • a reference active flag may be obtained from a bitstream (S400).
  • the reference active flag all_ref_layers_active_flag may indicate whether a constraint that the corresponding picture of all layers having direct dependency with the current layer is used for inter-layer prediction of the current picture is applied. Referring to FIG. 5, the reference active flag may be obtained from a video parameter set.
  • whether the layer has a direct dependency on the current layer may be determined based on the direct dependency flag direct_dependency_flag [i] [j].
  • the direct dependency flag direct_dependency_flag [i] [j] may indicate whether the j th layer is used for inter-layer prediction of the i th current layer.
  • the j th layer may be used for inter-layer prediction of the i th current layer.
  • the j th layer may be used. It may not be used for inter-layer prediction of the i th current layer.
  • the constraint that the corresponding picture of all layers having direct dependency with the current layer is used for inter-layer prediction of the current picture is applied.
  • corresponding pictures of all layers having direct dependency on the current layer may be included in a reference picture list of the current picture. Accordingly, the corresponding picture of all layers having direct dependency on the current layer may be determined as the corresponding picture used for inter-layer prediction of the current picture (S420).
  • the current picture of the current layer may perform inter-layer prediction using corresponding pictures of all layers having direct dependency on the current layer, and only some corresponding pictures of all layers having direct dependency on the current layer may be used. Inter-layer prediction may be performed selectively. That is, when the value of the reference active flag is 0, the corresponding picture of all layers having direct dependency with the current layer may be included in the reference picture list of the current picture, or only some corresponding pictures may be selectively included. Therefore, it is necessary to specify the corresponding picture used for inter-layer prediction of the current picture among the layers having the current layer and direct dependency. To this end, interlayer reference information about the current picture may be obtained (S430).
  • the interlayer reference information may include at least one of an interlayer prediction flag, information on the number of reference pictures, or a reference layer identifier.
  • the interlayer prediction flag may indicate whether inter-layer prediction is used in the decoding process of the current picture.
  • the number information of the reference picture may indicate the number of corresponding pictures used for inter-layer prediction of the current picture. Information about the number of reference pictures may be encoded and signaled by subtracting 1 from the number of corresponding pictures used for inter-layer prediction of the current picture for coding efficiency.
  • the reference layer identifier may mean a layer identifier (layerId) of a layer including a corresponding picture used for inter-layer prediction of the current picture.
  • a corresponding picture used for inter-layer prediction may be determined based on the interlayer reference information obtained in S430 (S440).
  • the corresponding picture of the layer specified by the reference layer identifier may be determined as the corresponding picture used for inter-layer prediction of the current picture.
  • FIG. 6 is a diagram illustrating a method of obtaining interlayer reference information on a current picture, according to an embodiment to which the present invention is applied; FIG. It is shown.
  • an interlayer prediction flag may be obtained based on a reference active flag (S600).
  • the interlayer prediction flag inter_layer_pred_enabled_flag may be obtained only when the value of the reference active flag all_ref_layers_active_flag is 0 (S700).
  • the value of the reference active flag is 1, this may mean that corresponding pictures of all layers having direct dependency on the current layer are used for inter-layer prediction of the current picture. Thus, in this case, there is no need to signal the interlayer prediction flag in the header information (eg, slice segment header) of the current picture.
  • the interlayer prediction flag may be obtained. This is because, when the layer identifier of the current layer is 0, the current layer corresponds to a base layer which does not perform inter-layer prediction in the multilayer.
  • the interlayer prediction flag may be obtained when the number NumDirectRefLayers of the layers having direct dependency with the current layer is at least one. This is because when there is no layer having direct dependency on the current layer, all pictures of the current layer do not perform inter-layer prediction.
  • the number information of the reference picture may indicate the number of corresponding pictures used for inter-layer prediction of the current picture among the corresponding pictures of the layer having direct dependency with the current layer.
  • the number of layers (NumDirectRefLayers) having direct dependency is one, the number of corresponding pictures used for inter-layer prediction of the current picture cannot exceed one. It is not necessary to signal the number information (num_inter_layer_ref_pics_minus1) of the reference picture. In this case, the number information of the reference picture may not be obtained, and the number of corresponding pictures used for inter-layer prediction of the current picture may be derived as one.
  • the number information of the reference picture may be obtained limitedly based on the maximum active reference flag.
  • the maximum active reference flag may indicate whether only at least one corresponding picture is used for inter-layer prediction of the current picture. For example, when the value of the maximum active reference flag is 1, the current picture performs inter-layer prediction using only at least one corresponding picture. When the value of the maximum active reference flag is 0, the current picture is one or more corresponding. Inter-layer prediction may be performed using a picture.
  • the number information of the reference picture may be obtained only when the value of the maximum active reference flag max_one_active_ref_layer_flag is 0. That is, when the value of the maximum active reference flag is 1, since the number of corresponding pictures used for inter-layer prediction of the current picture is limited to one, it is not necessary to signal the number information of the reference picture.
  • a reference layer identifier may be obtained based on the number information of the reference pictures obtained in S620 (S630).
  • a reference layer identifier may be obtained.
  • the variable NumActiveRefLayerPics may be derived from the number information of the reference picture. For example, when information on the number of reference pictures is encoded by subtracting 1 from the number of corresponding pictures used for inter-layer prediction of the current picture, the variable NumActiveRefLayerPics adds 1 to the information on the number of reference pictures acquired in S620. Can be derived from a value.
  • FIG. 8 is a flowchart illustrating a method of upsampling a corresponding picture of a reference layer according to an embodiment to which the present invention is applied.
  • a reference sample position of a reference layer corresponding to the current sample position of the current layer may be derived (S800).
  • the reference sample position corresponding to the current sample position may be derived in consideration of the resolution difference between the two. That is, the aspect ratio may be considered between the picture of the current layer and the picture of the reference layer.
  • an offset for correcting this may be required.
  • the reference sample position may be derived in consideration of the scale factor and the upsampled reference layer offset.
  • the scale factor may be calculated based on a ratio of the width and the height between the current picture of the current layer and the corresponding picture of the reference layer.
  • the upsampled reference layer offset may mean position difference information between any one sample located at the edge of the current picture and any one sample located at the edge of the interlayer reference picture.
  • the upsampled reference layer offset includes horizontal position information in the horizontal / vertical direction between the upper left sample of the current picture and the upper left sample of the interlayer reference picture, and the lower right sample of the current picture and the lower right sample of the interlayer reference picture.
  • Position difference information in the horizontal / vertical direction of the liver may be included.
  • the upsampled reference layer offset may be obtained from the bitstream.
  • the upsampled reference layer offset may be obtained from at least one of a video parameter set, a sequence parameter set, a picture parameter set, and a slice header. Can be.
  • the filter coefficient of the upsampling filter may be determined in consideration of the phase of the reference sample position derived in S800 (S810).
  • the upsampling filter may be any one of a fixed upsampling filter and an adaptive upsampling filter.
  • the fixed upsampling filter may mean an upsampling filter having a predetermined filter coefficient without considering the feature of the image.
  • a tap filter may be used as the fixed upsampling filter, which may be defined for the luminance component and the chrominance component, respectively.
  • a fixed upsampling filter having an accuracy of 1/16 sample units will be described with reference to Tables 1 to 2.
  • Table 1 is a table that defines the filter coefficients of the fixed upsampling filter for the luminance component.
  • interpolation may be performed using a reference sample of a reference layer corresponding to the current sample of the current layer and a neighboring sample adjacent to the reference sample.
  • the neighbor sample may be specified according to the direction in which interpolation is performed. For example, when performing interpolation in the horizontal direction, the neighboring sample may include three consecutive samples to the left and four consecutive samples to the right based on the reference sample. Alternatively, when performing interpolation in the vertical direction, the neighboring sample may include three consecutive samples at the top and four consecutive samples at the bottom based on the reference sample.
  • the fixed upsampling filter may use different filter coefficients for each phase p. Except in the case where phase p is zero, the magnitude of each filter coefficient may be defined to fall in the range of 0 to 63. This means that the filtering is performed with a precision of 6 bits.
  • a phase p of 0 means a position of an integer multiple of n times when interpolated in units of 1 / n samples.
  • Table 2 is a table that defines the filter coefficients of the fixed upsampling filter for the chrominance components.
  • a 4-tap filter may be applied unlike the luminance component. That is, interpolation may be performed using a reference sample of a reference layer corresponding to the current sample of the current layer and a neighboring sample adjacent to the reference sample.
  • the neighbor sample may be specified according to the direction in which interpolation is performed. For example, when performing interpolation in the horizontal direction, the neighboring sample may include one sample to the left and two samples to the right based on the reference sample. Alternatively, when performing interpolation in the vertical direction, the neighboring sample may include one sample continuous to the top and two samples continuous to the bottom based on the reference sample.
  • each filter coefficient may be defined to be in the range of 0 to 62. This also means filtering with 6bits precision.
  • an 8-tap filter is applied to the luminance component and a 4-tap filter to the chrominance component
  • the present invention is not limited thereto, and the order of the tap filter may be variably determined in consideration of coding efficiency.
  • the order of the tap filter may be variably determined in consideration of coding efficiency.
  • an optimal filter coefficient may be determined by an encoder in consideration of characteristics of an image, signaled, and transmitted to a decoder.
  • the adaptive upsampling filter uses the filter coefficients that are adaptively determined in the encoder. Since the characteristics of the image are different in picture units, coding efficiency can be improved by using an adaptive upsampling filter that can express the characteristics of the image better than using a fixed upsampling filter in all cases.
  • the interlayer reference picture may be generated by applying the filter coefficient determined in operation S810 to the corresponding picture of the reference layer (S820).
  • interpolation may be performed by applying the determined filter coefficients of the upsampling filter to samples of the corresponding picture.
  • the interpolation may be performed primarily in the horizontal direction, and may be performed in the vertical direction secondary to the sample generated after the horizontal interpolation.
  • FIG. 9 illustrates a method of specifying a near reference picture stored in a decoding picture buffer as an embodiment to which the present invention is applied.
  • the temporal reference picture may be stored in a decoded picture buffer (DPB) and used as a reference picture when necessary for inter prediction of the current picture.
  • the temporal reference picture stored in the decoding picture buffer may include a short-term reference picture.
  • the near reference picture refers to a picture in which the difference between the current picture and the POC value is not large.
  • the information specifying the near reference picture that should be stored in the decoding picture buffer at the present time is composed of the output order (POC) of the reference picture and a flag indicating whether the current picture is directly referenced (for example, used_by_curr_pic_s0_flag and used_by_curr_pic_s1_flag).
  • This is called a reference picture set.
  • the i-th near-reference picture of the near-reference picture set has a value smaller than the output order (POC) of the current picture
  • the i-th near-reference picture is the reference picture of the current picture. Not used.
  • the i th near reference picture of the near reference picture set has a value larger than the output order (POC) of the current picture
  • the i th near reference picture is the reference picture of the current picture. Not used.
  • the near-field reference picture can be specified based on the output order (POC) of the reference picture and a flag indicating whether the reference picture is used as the reference picture.
  • POC output order
  • an indication eg, unused for reference
  • an indication that is not used as a reference picture can be made, and further removed from the decoding picture buffer.
  • FIG. 10 illustrates a method of specifying a long-term reference picture as an embodiment to which the present invention is applied.
  • the POC value of the long range reference picture may be derived using a difference between the LSB value of the POC value of the reference picture, the POC value of the current picture, and the MSB of the POC value of the current picture and the MSB of the POC value of the reference picture.
  • a POC value of the current picture is 331
  • a maximum value that can be represented by the LSB is 32
  • a picture having a POC value of 308 is used as the long distance reference picture.
  • 331 which is a POC value of the current picture, may be expressed as 32 * 10 + 11, where 10 is an MSB value and 11 is an LSB value.
  • the POC value of the long range reference picture 308 is expressed as 32 * 9 + 20, where 9 is an MSB value and 20 is an LSB value.
  • the POC value of the long range reference picture may be derived as shown in FIG. 10.
  • FIG. 11 illustrates a method of constructing a reference picture list using a near reference picture and a long range reference picture as an embodiment to which the present invention is applied.
  • a reference picture list including a temporal reference picture may be generated in consideration of whether the temporal reference picture is a near reference picture and a POC value of the near reference picture.
  • the reference picture list may include at least one of reference picture list 0 for L0 prediction and reference picture list 1 for L1 prediction.
  • a near reference picture (RefPicSetCurr0) having a POC value smaller than the current picture, a near reference picture (RefPicSetCurr1) having a POC value larger than the current picture, and a long distance reference picture (RefPicSetLtCurr) may be arranged in this order. have.
  • a near reference picture (RefPicSetCurr1) having a larger POC value than the current picture, a near reference picture (RefPicSetCurr0) having a POC value smaller than the current picture, and a long distance reference picture (RefPicSetLtCurr) may be arranged in this order.
  • a plurality of temporal reference pictures included in the reference picture list may be rearranged in order to improve encoding efficiency of the reference index of the temporal reference picture. This may be adaptively performed based on the list rearrangement flag list_modification_present_flag.
  • the list rearrangement flag is information specifying whether or not the reference pictures in the reference picture list are rearranged. The list rearrangement flag may be signaled with respect to reference picture list 0 and reference picture list 1, respectively.
  • the reference pictures in the reference picture list are not rearranged, and only when the value of the list rearrangement flag list_modification_present_flag is 1. Reference pictures may be rearranged.
  • reference pictures in the reference picture list may be rearranged using list entry information list_entry [i].
  • the list entry information list_entry [i] may specify a reference index of the reference picture located at the current position (that is, the i-th entry) in the reference picture list.
  • a reference picture corresponding to the list entry information list_entry [i] may be specified in a previously generated reference picture list, and the specified reference picture may be rearranged to an i-th entry in the reference picture list.
  • the list entry information may be obtained by the number of reference pictures included in the reference picture list or by the maximum reference index of the reference picture list. In addition, the list entry information may be obtained in consideration of the slice type of the current picture. That is, if the slice type of the current picture is a P slice, the list entry information (list_entry_l0 [i]) for the reference picture list 0 is obtained. If the slice type of the current picture is a B slice, the list for the reference picture list 1 is obtained. Entry information list_entry_l1 [i] may be additionally obtained.
  • FIG. 12 illustrates a process of performing inter-layer prediction of a current block based on spatial offset information according to an embodiment to which the present invention is applied.
  • spatial offset information may be obtained (S1200).
  • the spatial offset information may indicate a position difference between the call block and the reference block of the current block.
  • the call block is a block belonging to the corresponding picture of the reference layer and may mean a block having the same position as the current block.
  • the reference block is a block belonging to a corresponding picture of the reference layer and may mean a block used for inter-layer prediction of the current block.
  • the spatial offset information may include at least one of a segment offset and a block offset.
  • the segment offset is an offset in units of slice segments, tiles, or coding tree unit columns (CTU rows), and may indicate a spatial region that is not used for inter-layer prediction of the picture of the current layer in the picture of the reference layer.
  • the segment offset is an offset in units of slice segments, tiles, or coding tree units (CTU rows), and specifies a spatial region for specifying a reference block used for inter-layer prediction of the picture of the current layer in the picture of the reference layer. You can also indicate.
  • the block offset is an offset in units of blocks, and may indicate a spatial region that is not used for inter-layer prediction of the picture of the current layer in the picture of the reference layer together with the segment offset.
  • the block offset may be an offset in units of blocks and may indicate a spatial region for specifying a reference block used for inter-layer prediction of the picture of the current layer in the picture of the reference layer.
  • the block unit may mean a coding tree unit, and the coding tree unit may mean a maximum coding unit of a video sequence.
  • the spatial offset information may be obtained from video usability information (VUI) belonging to a video parameter set.
  • VUI video usability information
  • the video usability information may not be used to decode the luminance component or the chrominance component, but may refer to information used for decoder conformance or output timing conformance. A detailed method of obtaining spatial offset information will be described below with reference to FIGS. 13 to 15.
  • 13 to 15 illustrate a syntax table of spatial offset information according to an embodiment to which the present invention is applied.
  • an inter-layer prediction restriction flag ilp_restricted_ref_layers_flag may be obtained (S1300).
  • the inter-layer prediction limit flag may indicate whether a constraint that a reference block of a reference layer specified based on spatial offset information is applied in inter-layer prediction of the current block is applied. For example, when the value of the inter-layer prediction limit flag is 1, this may mean that a constraint that inter-layer prediction of the current block is performed using a reference block specified based on spatial offset information is applied. On the contrary, when the value of the inter-layer prediction limit flag is 0, this means that the constraint is not applied. Thus, the current block may perform inter-layer prediction using a reference block specified based on spatial offset information. It may not be performed.
  • a segment offset min_spatial_segment_offset_plus1 [i] [j] may be obtained (S1310).
  • segment offset min_spatial_segment_offset_plus1 [i] [j] is not used for inter-layer prediction of a picture belonging to the i th current layer in each picture of the j th reference layer having direct dependency on the i th current layer. It can indicate a spatial domain.
  • a block offset flag ctu_based_offset_enable_flag [i] [j] may be obtained based on the segment offset obtained in step S1310 (S1320).
  • the block offset flag indicates whether to use a block offset in indicating a spatial region that is not used for inter-layer prediction of the picture belonging to the i th current layer from the picture of the j th reference layer.
  • the block offset flag indicates whether to use a block offset in indicating a spatial region that is not used for inter-layer prediction of the picture belonging to the i th current layer from the picture of the j th reference layer.
  • the value of the block offset flag is 1
  • this means that the spatial region that is not used for inter-layer prediction of the picture belonging to the i th current layer in the picture of the j th reference layer uses the block offset together with the segment offset. It may mean indicated.
  • the value of the block offset flag is 0, this may mean that a spatial region that is not used for inter-layer prediction of a picture belonging to the i th current layer in the picture of the j th reference layer is indicated only by the segment offset.
  • the block offset flag may be obtained when the value of the segment offset obtained in step S1310 is greater than zero. If the value of the segment offset is greater than 0, it is because there is a spatial region in the picture of the j th reference layer that is not used for inter-layer prediction of the picture belonging to the i th current layer.
  • a block offset min_horizontal_ctu_offset_plus1 may be obtained based on the block offset flag acquired in step S1320 (S1330).
  • the block offset flag when a spatial region that is not used for inter-layer prediction of a picture belonging to the i th current layer in the picture of the j th reference layer according to the block offset flag is indicated using the block offset together with the segment offset (that is, the block Block offset may be obtained in the case where the value of the offset flag is 1).
  • an inter-layer prediction restriction flag ilp_restricted_ref_layers_flag may be obtained (S1400).
  • the inter-layer prediction limit flag may indicate whether a constraint that a reference block of a reference layer specified based on spatial offset information is applied in inter-layer prediction of the current block is applied. Detailed description will be omitted.
  • a segment offset min_spatial_segment_offset_plus1 [i] [j] may be obtained (S1410).
  • segment offset min_spatial_segment_offset_plus1 [i] [j] is not used for inter-layer prediction of a picture belonging to the i th current layer in each picture of the j th reference layer having direct dependency on the i th current layer. It can indicate a spatial domain.
  • a block offset min_horizontal_ctu_offset [i] [j] may be obtained based on the segment offset obtained in step S1410 (S1420).
  • the block offset may be obtained when the value of the segment offset obtained in step S1410 is greater than zero. If the value of the segment offset is greater than 0, it is because there is a spatial region in the picture of the j th reference layer that is not used for inter-layer prediction of the picture belonging to the i th current layer.
  • a block offset (min_horizontal_ctu_offset [i] [j]) that determines the size of a spatial region that is not used for inter-layer prediction may be signaled. If the value of the block offset (min_horizontal_ctu_offset [i] [j]) is 0, it means that there is no spatial region that is not used for inter-layer prediction in the picture of the j th layer, as in the syntax ctu_based_offset_enable_flag [i ] [j] may not be used.
  • an inter-layer prediction restriction flag ilp_restricted_ref_layers_flag may be obtained (S1500).
  • the inter-layer prediction limit flag may indicate whether a constraint that a reference block of a reference layer specified based on spatial offset information is applied in inter-layer prediction of the current block is applied, as described above with reference to FIG. 13. Detailed description will be omitted.
  • a segment offset min_spatial_segment_offset_plus1 [i] [j] may be obtained (S1510).
  • segment offset min_spatial_segment_offset_plus1 [i] [j] is not used for inter-layer prediction of a picture belonging to the i th current layer in each picture of the j th reference layer having direct dependency on the i th current layer. It can indicate a spatial domain.
  • a block offset flag ctu_based_offset_enable_flag [i] [j] may be obtained based on the segment offset obtained in step S1510 (S1520).
  • the block offset flag indicates whether to use a block offset in indicating a spatial region that is not used for inter-layer prediction of the picture belonging to the i th current layer from the picture of the j th reference layer.
  • the block offset flag indicates whether to use a block offset in indicating a spatial region that is not used for inter-layer prediction of the picture belonging to the i th current layer from the picture of the j th reference layer.
  • the value of the block offset flag is 1
  • this means that the spatial region that is not used for inter-layer prediction of the picture belonging to the i th current layer in the picture of the j th reference layer uses the block offset together with the segment offset. It may mean indicated.
  • the value of the block offset flag is 0, this may mean that a spatial region that is not used for inter-layer prediction of a picture belonging to the i th current layer in the picture of the j th reference layer is indicated only by the segment offset.
  • the block offset flag may be obtained when the value of the segment offset obtained in step S1510 is greater than zero. If the value of the segment offset is greater than 0, it is because there is a spatial region in the picture of the j th reference layer that is not used for inter-layer prediction of the picture belonging to the i th current layer.
  • a block offset min_horizontal_ctu_offset_minus1 [i] [j] may be obtained based on the block offset flag acquired in step S1520 (S1530).
  • the block offset flag when a spatial region that is not used for inter-layer prediction of a picture belonging to the i th current layer in the picture of the j th reference layer according to the block offset flag is indicated using the block offset together with the segment offset (that is, the block Block offset may be obtained in the case where the value of the offset flag is 1).
  • a reference block used for inter-layer prediction of a current block may be specified based on spatial offset information (S1210).
  • the reference block may be specified as a block of a position moved by an offset according to spatial offset information based on the position of the call block, which will be described below with reference to FIG. 16.
  • FIG. 16 illustrates a method of specifying a reference block used for inter-layer prediction of a current block by using spatial offset information according to an embodiment to which the present invention is applied.
  • colCtbAddr [i] [j] of the j th reference layer refers to a block having the same position as the current block belonging to the i th current layer, that is, a call block.
  • the j th reference layer may be a layer having direct dependency on the i th current layer.
  • refCtbAddr [i] [j] means the position of the reference block used for inter-layer prediction of the current block.
  • refCtbAddr [i] [j] may be determined based on colCtbAddr [i] [j] and spatial offset information (eg, min_spatial_segment_offset_plus1 and min_horizontal_ctu_offset_plus1).
  • the location of the call block or reference block may be represented by a raster scan address. Specific methods for determining refCtbAddr [i] [j] will be described based on the first to third embodiments described above.
  • refCtbAddr [i] [j] may be derived as in Equation 1 below.
  • Equation 1 xOffset [i] [j] and yOffset [i] [j] may be derived as in Equation 2 below.
  • xColCtb [i] [j] corresponds to the x component of the coordinate values of the call block belonging to the picture of the j th layer.
  • refPicWidthInCtbY [i] [j] represents the number of coding tree units included in a coding tree unit column in a picture of a j-th layer.
  • minHorizontalCtbOffset [i] [j] may be derived based on the block offset min_horizontal_ctu_offset_plus1. For example, as shown in Equation 3, when the value of the block offset is 0, minHorizontalCtbOffset [i] [j] may be derived as (refPicWidthInCtbY [i] [j] -1), and the value of the block offset is 0. If larger, minHorizontalCtbOffset [i] [j] may be derived as (min_horizontal_ctu_offset_plus1-1).
  • minHorizontalCtbOffset [i] [j] may be derived as shown in Equation 4 not only considering whether the value of the block offset is greater than 0 but also considering whether the value of the block offset is 1 or more.
  • refCtbAddr [i] [j] may be derived as shown in Equation 5 below.
  • Equation 5 xOffset [i] [j] and yOffset [i] [j] may be derived as in Equation 6 below.
  • Equation 6 xColCtb [i] [j] and refPicWidthInCtbY [i] [j] have been described in Equation 2, and a detailed description thereof will be omitted.
  • refCtbAddr [i] [j] may be derived as shown in Equation 7 below.
  • Equation 7 xOffset [i] [j] and yOffset [i] [j] may be derived as shown in Equation 8 below.
  • Equation 8 xColCtb [i] [j] and refPicWidthInCtbY [i] [j] have been described in Equation 2, and a detailed description thereof will be omitted.
  • inter-layer prediction of the current block may be performed based on the reference block specified in step S1210 (S1220).
  • the present invention can be used to code a multilayer video signal.

Abstract

A method for decoding a multilayer video signal, according to the present invention, is characterized by: determining a corresponding picture in a reference layer used for inter-layer prediction of a current picture in a current layer; generating an inter-layer reference picture by upsampling the determined corresponding picture; specifying a reference block in the inter-layer reference picture used for inter-layer prediction of the current block, based on spatial offset information; and conducting inter-layer prediction of the current block using the specified reference block.

Description

멀티 레이어 비디오 신호 인코딩/디코딩 방법 및 장치Method and apparatus for encoding / decoding multilayer video signal
본 발명은 멀티 레이어 비디오 신호 인코딩/디코딩 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for encoding / decoding multilayer video signals.
최근 HD(High Definition) 영상 및 UHD(Ultra High Definition) 영상과 같은 고해상도, 고품질의 영상에 대한 수요가 다양한 응용 분야에서 증가하고 있다. 영상 데이터가 고해상도, 고품질이 될수록 기존의 영상 데이터에 비해 상대적으로 데이터량이 증가하기 때문에 기존의 유무선 광대역 회선과 같은 매체를 이용하여 영상 데이터를 전송하거나 기존의 저장 매체를 이용해 저장하는 경우, 전송 비용과 저장 비용이 증가하게 된다. 영상 데이터가 고해상도, 고품질화 됨에 따라 발생하는 이러한 문제들을 해결하기 위해서는 고효율의 영상 압축 기술들이 활용될 수 있다.Recently, the demand for high resolution and high quality images such as high definition (HD) and ultra high definition (UHD) images is increasing in various applications. As the video data becomes higher resolution and higher quality, the amount of data increases relative to the existing video data. Therefore, when the video data is transmitted or stored using a medium such as a conventional wired / wireless broadband line, The storage cost will increase. High efficiency image compression techniques can be used to solve these problems caused by high resolution and high quality image data.
영상 압축 기술로 현재 픽쳐의 이전 또는 이후 픽쳐로부터 현재 픽쳐에 포함된 화소값을 예측하는 화면 간 예측 기술, 현재 픽쳐 내의 화소 정보를 이용하여 현재 픽쳐에 포함된 화소값을 예측하는 화면 내 예측 기술, 출현 빈도가 높은 값에 짧은 부호를 할당하고 출현 빈도가 낮은 값에 긴 부호를 할당하는 엔트로피 부호화 기술 등 다양한 기술이 존재하고 이러한 영상 압축 기술을 이용해 영상 데이터를 효과적으로 압축하여 전송 또는 저장할 수 있다.An inter-screen prediction technique for predicting pixel values included in the current picture from a picture before or after the current picture using an image compression technique, an intra prediction technique for predicting pixel values included in a current picture using pixel information in the current picture, Various techniques exist, such as an entropy encoding technique for allocating a short code to a high frequency of appearance and a long code to a low frequency of appearance, and the image data can be effectively compressed and transmitted or stored.
한편, 고해상도 영상에 대한 수요가 증가함과 함께, 새로운 영상 서비스로서 입체 영상 컨텐츠에 대한 수요도 함께 증가하고 있다. 고해상도 및 초고해상도의 입체 영상 콘텐츠를 효과적으로 제공하기 위한 비디오 압축 기술에 대하여 논의가 진행되고 있다.Meanwhile, as the demand for high resolution video increases, the demand for stereoscopic video content also increases as a new video service. There is a discussion about a video compression technology for effectively providing high resolution and ultra high resolution stereoscopic image contents.
본 발명은 멀티 레이어 비디오 신호를 인코딩/디코딩에 있어서, 현재 픽쳐의 레이어 간 예측에 이용되는 참조 레이어의 대응 픽쳐를 결정하는 방법 및 장치를 제공하는 것을 목적으로 한다.An object of the present invention is to provide a method and apparatus for determining a corresponding picture of a reference layer used for inter-layer prediction of a current picture in encoding / decoding a multilayer video signal.
본 발명은 멀티 레이어 비디오 신호를 인코딩/디코딩에 있어서, 참조 레이어의 대응 픽쳐를 업샘플링하는 방법 및 장치를 제공하는 것을 목적으로 한다.An object of the present invention is to provide a method and apparatus for upsampling a corresponding picture of a reference layer in encoding / decoding a multilayer video signal.
본 발명은 멀티 레이어 비디오 신호를 인코딩/디코딩에 있어서, 현재 블록의 레이어 간 예측에 이용되는 참조 레이어의 참조 블록을 특정하는 방법 및 장치를 제공하는 것을 목적으로 한다.An object of the present invention is to provide a method and apparatus for specifying a reference block of a reference layer used for inter-layer prediction of a current block in encoding / decoding a multilayer video signal.
본 발명은 멀티 레이어 비디오 신호를 인코딩/디코딩함에 있어서, 인터레이어 참조 픽쳐를 이용하여 참조 픽쳐 리스트를 구성하는 방법 및 장치를 제공하는 것을 목적으로 한다.An object of the present invention is to provide a method and apparatus for constructing a reference picture list using an inter-layer reference picture in encoding / decoding a multilayer video signal.
본 발명은 멀티 레이어 비디오 신호를 인코딩/디코딩함에 있어서, 레이어 간 예측을 통해 현재 레이어의 텍스쳐 정보를 효과적으로 유도하는 방법 및 장치를 제공하는 것을 목적으로 한다.An object of the present invention is to provide a method and apparatus for effectively deriving texture information of a current layer through inter-layer prediction in encoding / decoding a multilayer video signal.
본 발명에 따른 멀티 레이어 비디오 신호 디코딩 방법 및 장치는, 현재 레이어 내 현재 픽쳐의 레이어 간 예측에 이용되는 참조 레이어의 대응 픽쳐를 결정하고, 상기 결정된 대응 픽쳐를 업샘플링하여 인터레이어 참조 픽쳐를 생성하며, 공간적 오프셋 정보에 기초하여 현재 블록의 레이어 간 예측에 이용되는 상기 인터레이어 참조 픽쳐 내의 참조 블록을 특정하고, 상기 특정된 참조 블록을 이용하여 상기 현재 블록의 레이어 간 예측을 수행하는 것을 특징으로 한다.The method and apparatus for decoding a multilayer video signal according to the present invention determine a corresponding picture of a reference layer used for inter-layer prediction of a current picture in a current layer, and upsample the determined corresponding picture to generate an interlayer reference picture. And specifying a reference block in the interlayer reference picture used for inter-layer prediction of the current block based on spatial offset information, and performing inter-layer prediction of the current block using the specified reference block. .
본 발명에 따른 멀티 레이어 비디오 신호 디코딩 방법 및 장치에 있어서, 상기 참조 블록의 특정은 레이어 간 예측 제한 플래그에 기초하여 수행되는 것을 특징으로 한다.In the method and apparatus for decoding a multi-layer video signal according to the present invention, the specification of the reference block is performed based on the inter-layer prediction limit flag.
본 발명에 따른 멀티 레이어 비디오 신호 디코딩 방법 및 장치에 있어서, 상기 레이어 간 예측 제한 플래그는 상기 현재 블록의 레이어 간 예측에 있어서, 상기 공간적 오프셋 정보에 기초하여 특정되는 참조 블록이 이용된다는 제약이 적용되는지 여부를 나타내는 것을 특징으로 한다.In the method and apparatus for decoding a multi-layer video signal according to the present invention, the inter-layer prediction limit flag is a constraint that a reference block specified based on the spatial offset information is applied in inter-layer prediction of the current block. It is characterized by indicating whether or not.
본 발명에 따른 멀티 레이어 비디오 신호 디코딩 방법 및 장치에 있어서, 상기 참조 블록은 상기 인터레이어 참조 픽쳐에 속한 콜 블록을 기준으로 상기 공간적 오프셋 정보에 따른 오프셋만큼 이동한 위치의 블록으로 특정되는 것을 특징으로 한다.In the method and apparatus for decoding a multilayer video signal according to the present invention, the reference block is specified as a block of a position moved by an offset according to the spatial offset information with respect to a call block belonging to the interlayer reference picture. do.
본 발명에 따른 멀티 레이어 비디오 신호 디코딩 방법 및 장치에 있어서, 상기 공간적 오프셋 정보는 세그먼트 오프셋과 블록 오프셋 중 적어도 하나를 포함하는 것을 특징으로 한다.In the method and apparatus for decoding a multilayer video signal according to the present invention, the spatial offset information includes at least one of a segment offset and a block offset.
본 발명에 따른 멀티 레이어 비디오 신호 인코딩 방법 및 장치는, 현재 레이어 내 현재 픽쳐의 레이어 간 예측에 이용되는 참조 레이어의 대응 픽쳐를 결정하고, 상기 결정된 대응 픽쳐를 업샘플링하여 인터레이어 참조 픽쳐를 생성하며, 공간적 오프셋 정보에 기초하여 현재 블록의 레이어 간 예측에 이용되는 상기 인터레이어 참조 픽쳐 내의 참조 블록을 특정하고, 상기 특정된 참조 블록을 이용하여 상기 현재 블록의 레이어 간 예측을 수행하는 것을 특징으로 한다.The method and apparatus for encoding a multilayer video signal according to the present invention determine a corresponding picture of a reference layer used for inter-layer prediction of a current picture in a current layer, and upsample the determined corresponding picture to generate an interlayer reference picture. And specifying a reference block in the interlayer reference picture used for inter-layer prediction of the current block based on spatial offset information, and performing inter-layer prediction of the current block using the specified reference block. .
본 발명에 따른 멀티 레이어 비디오 신호 인코딩 방법 및 장치에 있어서, 상기 참조 블록의 특정은 레이어 간 예측 제한 플래그에 기초하여 수행되는 것을 특징으로 한다.In the method and apparatus for encoding a multi-layer video signal according to the present invention, the specification of the reference block is performed based on the inter-layer prediction limit flag.
본 발명에 따른 멀티 레이어 비디오 신호 인코딩 방법 및 장치에 있어서, 상기 레이어 간 예측 제한 플래그는 상기 현재 블록의 레이어 간 예측에 있어서, 상기 공간적 오프셋 정보에 기초하여 특정되는 참조 블록이 이용된다는 제약이 적용되는지 여부를 나타내는 것을 특징으로 한다.In the method and apparatus for encoding a multi-layer video signal according to the present invention, whether the inter-layer prediction limit flag is applied in the inter-layer prediction of the current block, the constraint that a reference block specified based on the spatial offset information is applied is applied. It is characterized by indicating whether or not.
본 발명에 따른 멀티 레이어 비디오 신호 인코딩 방법 및 장치에 있어서, 상기 참조 블록은 상기 인터레이어 참조 픽쳐에 속한 콜 블록을 기준으로 상기 공간적 오프셋 정보에 따른 오프셋만큼 이동한 위치의 블록으로 특정되는 것을 특징으로 한다.In the method and apparatus for encoding a multilayer video signal according to the present invention, the reference block is specified as a block of a position moved by an offset according to the spatial offset information with respect to a call block belonging to the interlayer reference picture. do.
본 발명에 따른 멀티 레이어 비디오 신호 인코딩 방법 및 장치에 있어서, 상기 공간적 오프셋 정보는 세그먼트 오프셋과 블록 오프셋 중 적어도 하나를 포함하는 것을 특징으로 한다.In the method and apparatus for encoding a multilayer video signal according to the present invention, the spatial offset information includes at least one of a segment offset and a block offset.
본 발명에 의하면, 현재 레이어 내 현재 픽쳐의 레이어 간 예측에 이용되는 참조 레이어의 대응 픽쳐를 효과적으로 결정할 수 있다.According to the present invention, it is possible to effectively determine the corresponding picture of the reference layer used for inter-layer prediction of the current picture in the current layer.
본 발명에 의하면, 참조 레이어의 픽쳐를 효과적으로 업샘플링할 수 있다.According to the present invention, it is possible to effectively upsample a picture of a reference layer.
본 발명에 의하면, 인터레이어 참조 픽쳐를 포함한 참조 픽쳐 리스트를 효과적으로 구성할 수 있다.According to the present invention, a reference picture list including an interlayer reference picture can be effectively constructed.
본 발명에 의하면, 현재 블록의 레이어 간 예측에 이용되는 참조 레이어의 참조 블록을 효과적으로 결정할 수 있다.According to the present invention, the reference block of the reference layer used for inter-layer prediction of the current block can be effectively determined.
본 발명에 의하면, 레이어 간 예측을 통해 현재 레이어의 텍스쳐 정보를 효과적으로 유도할 수 있다.According to the present invention, texture information of the current layer can be effectively derived through inter-layer prediction.
도 1은 본 발명의 일실시예에 따른 부호화 장치를 개략적으로 도시한 블록도이다.1 is a block diagram schematically illustrating an encoding apparatus according to an embodiment of the present invention.
도 2는 본 발명의 일실시예에 따른 복호화 장치를 개략적으로 도시한 블록도이다.2 is a block diagram schematically illustrating a decoding apparatus according to an embodiment of the present invention.
도 3은 본 발명이 적용되는 일실시예로서, 참조 레이어의 대응 픽쳐를 이용하여 현재 레이어의 인터 예측을 수행하는 과정을 도시한 순서도이다.3 is a flowchart illustrating a process of performing inter prediction of a current layer using a corresponding picture of a reference layer according to an embodiment to which the present invention is applied.
도 4는 본 발명이 적용되는 일실시예로서, 레퍼런스 액티브 플래그에 기초하여 참조 레이어의 대응 픽쳐를 결정하는 방법을 도시한 것이다.4 illustrates a method of determining a corresponding picture of a reference layer based on a reference active flag according to an embodiment to which the present invention is applied.
도 5는 본 발명이 적용되는 일실시예로서, 레퍼런스 액티브 플래그의 신택스 테이블을 도시한 것이다.5 illustrates a syntax table of a reference active flag according to an embodiment to which the present invention is applied.
도 6은 본 발명이 적용되는 일실시예로서, 현재 픽쳐에 대한 인터레이어 참조 정보를 획득하는 방법을 도시한 것이다.FIG. 6 illustrates a method of obtaining inter-layer reference information for a current picture according to an embodiment to which the present invention is applied.
도 7은 본 발명이 적용되는 일실시예로서, 인터레이어 참조 정보의 신택스 테이블을 도시한 것이다.7 illustrates a syntax table of interlayer reference information according to an embodiment to which the present invention is applied.
도 8은 본 발명이 적용되는 일실시예로서, 참조 레이어의 대응 픽쳐를 업샘플링하는 방법을 도시한 순서도이다.8 is a flowchart illustrating a method of upsampling a corresponding picture of a reference layer according to an embodiment to which the present invention is applied.
도 9는 본 발명이 적용되는 일실시예로서, 디코딩 픽쳐 버퍼에 저장되는 근거리 참조 픽쳐를 특정하는 방법을 도시한 것이다.FIG. 9 illustrates a method of specifying a near reference picture stored in a decoding picture buffer as an embodiment to which the present invention is applied.
도 10은 본 발명이 적용되는 일실시예로서, 장거리 참조 픽쳐(long-term reference picture)를 특정하는 방법을 도시한 것이다.FIG. 10 illustrates a method of specifying a long-term reference picture as an embodiment to which the present invention is applied.
도 11은 본 발명이 적용되는 일실시예로서, 근거리 참조 픽쳐와 장거리 참조 픽쳐를 이용하여 참조 픽쳐 리스트를 구성하는 방법을 도시한 것이다.FIG. 11 illustrates a method of constructing a reference picture list using a near reference picture and a long range reference picture as an embodiment to which the present invention is applied.
도 12는 본 발명이 적용되는 일실시예로서, 공간적 오프셋 정보에 기초하여 현재 블록의 레이어 간 예측을 수행하는 과정을 도시한 것이다.12 illustrates a process of performing inter-layer prediction of a current block based on spatial offset information according to an embodiment to which the present invention is applied.
도 13 내지 도 15는 본 발명이 적용되는 일실시예로서, 공간적 오프셋 정보의 신택스 테이블을 도시한 것이다.13 to 15 illustrate a syntax table of spatial offset information according to an embodiment to which the present invention is applied.
도 16은 본 발명이 적용되는 일실시예로서, 공간적 오프셋 정보를 이용하여 현재 블록의 레이어 간 예측에 이용되는 참조 블록을 특정하는 방법을 도시한 것이다.FIG. 16 illustrates a method of specifying a reference block used for inter-layer prediction of a current block by using spatial offset information according to an embodiment to which the present invention is applied.
본 발명에 따른 멀티 레이어 비디오 신호 디코딩 방법 및 장치는, 현재 레이어 내 현재 픽쳐의 레이어 간 예측에 이용되는 참조 레이어의 대응 픽쳐를 결정하고, 상기 결정된 대응 픽쳐를 업샘플링하여 인터레이어 참조 픽쳐를 생성하며, 공간적 오프셋 정보에 기초하여 현재 블록의 레이어 간 예측에 이용되는 상기 인터레이어 참조 픽쳐 내의 참조 블록을 특정하고, 상기 특정된 참조 블록을 이용하여 상기 현재 블록의 레이어 간 예측을 수행하는 것을 특징으로 한다.The method and apparatus for decoding a multilayer video signal according to the present invention determine a corresponding picture of a reference layer used for inter-layer prediction of a current picture in a current layer, and upsample the determined corresponding picture to generate an interlayer reference picture. And specifying a reference block in the interlayer reference picture used for inter-layer prediction of the current block based on spatial offset information, and performing inter-layer prediction of the current block using the specified reference block. .
본 발명에 따른 멀티 레이어 비디오 신호 디코딩 방법 및 장치에 있어서, 상기 참조 블록의 특정은 레이어 간 예측 제한 플래그에 기초하여 수행되는 것을 특징으로 한다.In the method and apparatus for decoding a multi-layer video signal according to the present invention, the specification of the reference block is performed based on the inter-layer prediction limit flag.
본 발명에 따른 멀티 레이어 비디오 신호 디코딩 방법 및 장치에 있어서, 상기 레이어 간 예측 제한 플래그는 상기 현재 블록의 레이어 간 예측에 있어서, 상기 공간적 오프셋 정보에 기초하여 특정되는 참조 블록이 이용된다는 제약이 적용되는지 여부를 나타내는 것을 특징으로 한다.In the method and apparatus for decoding a multi-layer video signal according to the present invention, the inter-layer prediction limit flag is a constraint that a reference block specified based on the spatial offset information is applied in inter-layer prediction of the current block. It is characterized by indicating whether or not.
본 발명에 따른 멀티 레이어 비디오 신호 디코딩 방법 및 장치에 있어서, 상기 참조 블록은 상기 인터레이어 참조 픽쳐에 속한 콜 블록을 기준으로 상기 공간적 오프셋 정보에 따른 오프셋만큼 이동한 위치의 블록으로 특정되는 것을 특징으로 한다.In the method and apparatus for decoding a multilayer video signal according to the present invention, the reference block is specified as a block of a position moved by an offset according to the spatial offset information with respect to a call block belonging to the interlayer reference picture. do.
본 발명에 따른 멀티 레이어 비디오 신호 디코딩 방법 및 장치에 있어서, 상기 공간적 오프셋 정보는 세그먼트 오프셋과 블록 오프셋 중 적어도 하나를 포함하는 것을 특징으로 한다.In the method and apparatus for decoding a multilayer video signal according to the present invention, the spatial offset information includes at least one of a segment offset and a block offset.
본 발명에 따른 멀티 레이어 비디오 신호 인코딩 방법 및 장치는, 현재 레이어 내 현재 픽쳐의 레이어 간 예측에 이용되는 참조 레이어의 대응 픽쳐를 결정하고, 상기 결정된 대응 픽쳐를 업샘플링하여 인터레이어 참조 픽쳐를 생성하며, 공간적 오프셋 정보에 기초하여 현재 블록의 레이어 간 예측에 이용되는 상기 인터레이어 참조 픽쳐 내의 참조 블록을 특정하고, 상기 특정된 참조 블록을 이용하여 상기 현재 블록의 레이어 간 예측을 수행하는 것을 특징으로 한다.The method and apparatus for encoding a multilayer video signal according to the present invention determine a corresponding picture of a reference layer used for inter-layer prediction of a current picture in a current layer, and upsample the determined corresponding picture to generate an interlayer reference picture. And specifying a reference block in the interlayer reference picture used for inter-layer prediction of the current block based on spatial offset information, and performing inter-layer prediction of the current block using the specified reference block. .
본 발명에 따른 멀티 레이어 비디오 신호 인코딩 방법 및 장치에 있어서, 상기 참조 블록의 특정은 레이어 간 예측 제한 플래그에 기초하여 수행되는 것을 특징으로 한다.In the method and apparatus for encoding a multi-layer video signal according to the present invention, the specification of the reference block is performed based on the inter-layer prediction limit flag.
본 발명에 따른 멀티 레이어 비디오 신호 인코딩 방법 및 장치에 있어서, 상기 레이어 간 예측 제한 플래그는 상기 현재 블록의 레이어 간 예측에 있어서, 상기 공간적 오프셋 정보에 기초하여 특정되는 참조 블록이 이용된다는 제약이 적용되는지 여부를 나타내는 것을 특징으로 한다.In the method and apparatus for encoding a multi-layer video signal according to the present invention, whether the inter-layer prediction limit flag is applied in the inter-layer prediction of the current block, the constraint that a reference block specified based on the spatial offset information is applied is applied. It is characterized by indicating whether or not.
본 발명에 따른 멀티 레이어 비디오 신호 인코딩 방법 및 장치에 있어서, 상기 참조 블록은 상기 인터레이어 참조 픽쳐에 속한 콜 블록을 기준으로 상기 공간적 오프셋 정보에 따른 오프셋만큼 이동한 위치의 블록으로 특정되는 것을 특징으로 한다.In the method and apparatus for encoding a multilayer video signal according to the present invention, the reference block is specified as a block of a position moved by an offset according to the spatial offset information with respect to a call block belonging to the interlayer reference picture. do.
본 발명에 따른 멀티 레이어 비디오 신호 인코딩 방법 및 장치에 있어서, 상기 공간적 오프셋 정보는 세그먼트 오프셋과 블록 오프셋 중 적어도 하나를 포함하는 것을 특징으로 한다.In the method and apparatus for encoding a multilayer video signal according to the present invention, the spatial offset information includes at least one of a segment offset and a block offset.
이하 첨부된 도면을 참조로 본 발명의 바람직한 실시예를 상세히 설명하기로 한다.  이에 앞서, 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니되며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위해 용어의 개념을 적절하게 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다. 따라서, 본 명세서에 기재된 실시예와 도면에 도시된 구성은 본 발명의 가장 바람직한 일 실시예에 불과할 뿐이고 본 발명의 기술적 사상을 모두 대변하는 것은 아니므로, 본 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형예들이 있을 수 있음을 이해하여야 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. Prior to this, terms or words used in the specification and claims should not be construed as having a conventional or dictionary meaning, and the inventors should properly explain the concept of terms in order to best explain their own invention. Based on the principle that can be defined, it should be interpreted as meaning and concept corresponding to the technical idea of the present invention. Therefore, the embodiments described in the specification and the drawings shown in the drawings are only the most preferred embodiment of the present invention and do not represent all of the technical idea of the present invention, various modifications that can be replaced at the time of the present application It should be understood that there may be equivalents and variations.
본 명세서에서 어떤 구성 요소가 다른 구성 요소에 “연결되어” 있다거나 “접속되어” 있다고 언급된 때에는, 그 다른 구성 요소에 직접적으로 연결되어 있거나 또는 접속되어 있는 것을 의미할 수도 있고, 중간에 다른 구성 요소가 존재하는 것을 의미할 수도 있다. 아울러, 본 명세서에서 특정 구성을 “포함”한다고 기술하는 내용은 해당 구성 이외의 구성을 배제하는 것이 아니며, 추가적인 구성이 본 발명의 실시 또는 본 발명의 기술적 사상의 범위에 포함될 수 있음을 의미한다.When a component is referred to herein as being “connected” or “connected” to another component, it may mean that it is directly connected to or connected to that other component, or another component in between. It may also mean that an element exists. In addition, the description "includes" a specific configuration in this specification does not exclude a configuration other than the configuration, it means that additional configuration may be included in the scope of the technical spirit of the present invention or the present invention.
제1, 제2 등의 용어는 다양한 구성들을 설명하는데 사용될 수 있지만, 상기 구성들은 상기 용어에 의해 한정되지 않는다. 상기 용어들은 하나의 구성을 다른 구성으로부터 구별하는 목적으로 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성은 제2 구성으로 명명될 수 있고, 유사하게 제2 구성도 제1 구성으로 명명될 수 있다.Terms such as first and second may be used to describe various configurations, but the configurations are not limited by the terms. The terms are used to distinguish one configuration from another. For example, without departing from the scope of the present invention, the first configuration may be referred to as the second configuration, and similarly, the second configuration may also be referred to as the first configuration.
또한, 본 발명의 실시예에 나타나는 구성부들은 서로 다른 특징적인 기능을 나타내기 위해 독립적으로 도시되는 것으로, 각 구성부들이 분리된 하드웨어나 하나의 소프트웨어 구성 단위로 이루어짐을 의미하지 않는다. 즉, 각 구성부는 설명의 편의상 각각의 구성부로 나열하여 포함한 것으로 각 구성부 중 적어도 두 개의 구성부가 하나의 구성부를 이루거나, 하나의 구성부가 복수 개의 구성부로 나뉘어져 기능을 수행할 수 있다. 각 구성부의 통합된 실시예 및 분리된 실시예도 본 발명의 본질에서 벗어나지 않는 한 본 발명의 권리 범위에 포함된다.In addition, the components shown in the embodiments of the present invention are independently shown to represent different characteristic functions, and do not mean that each component is made of separate hardware or one software component unit. In other words, each component is listed as a component for convenience of description, and at least two of the components may form one component, or one component may be divided into a plurality of components to perform a function. The integrated and separated embodiments of each component are also included in the scope of the present invention without departing from the spirit of the present invention.
또한, 일부의 구성 요소는 본 발명에서 본질적인 기능을 수행하는 필수적인 구성 요소는 아니고 단지 성능을 향상시키기 위한 선택적 구성 요소일 수 있다. 본 발명은 단지 성능 향상을 위해 사용되는 구성 요소를 제외한 본 발명의 본질을 구현하는데 필수적인 구성부만을 포함하여 구현될 수 있고, 단지 성능 향상을 위해 사용되는 선택적 구성 요소를 제외한 필수 구성 요소만을 포함한 구조도 본 발명의 권리범위에 포함된다.In addition, some of the components may not be essential components for performing essential functions in the present invention, but may be optional components for improving performance. The present invention can be implemented including only the components essential for implementing the essentials of the present invention except for the components used for improving performance, and the structure including only the essential components except for the optional components used for improving performance. Also included in the scope of the present invention.
비트스트림 내 복수의 레이어(multi-layer)를 지원하는 비디오의 부호화 및 복호화를 스케일러블 비디오 코딩(scalable video coding)이라고 한다. 복수의 레이어 간에는 강한 연관성(correlation)이 존재하기 때문에 이런 연관성을 이용하여 예측을 수행하면 데이터의 중복 요소를 제거할 수 있고, 영상의 부호화 성능을 향상시킬 수 있다. 다른 레이어의 정보를 이용하여 현재 레이어의 예측을 수행하는 것을 이하에서는 레이어 간 예측(inter-layer prediction) 혹은 인터 레이어 예측이라고 표현한다. Encoding and decoding of video that supports multiple layers in a bitstream is called scalable video coding. Since there is a strong correlation between the plurality of layers, the prediction may be performed by using this correlation to remove redundant elements of data and to improve encoding performance of an image. Performing prediction of the current layer using information of another layer is referred to as inter-layer prediction or inter-layer prediction in the following.
복수의 레이어들은 해상도가 상이할 수 있으며, 여기서 해상도는 공간 해상도, 시간 해상도, 이미지 퀄러티 중 적어도 하나를 의미할 수 있다. 인터 레이어 예측 시 해상도의 조절을 위하여 레이어의 업샘플링(up-sampling) 또는 다운샘플링(down sampling)과 같은 리샘플링(resampling)이 수행될 수 있다.The plurality of layers may have different resolutions, where the resolution may mean at least one of spatial resolution, temporal resolution, and image quality. Resampling such as up-sampling or downsampling of a layer may be performed to adjust the resolution during inter-layer prediction.
도 1은 본 발명의 일 실시예에 따른 부호화 장치를 개략적으로 도시한 블록도이다.1 is a block diagram schematically illustrating an encoding apparatus according to an embodiment of the present invention.
본 발명에 따른 부호화 장치(100)는 상위 레이어에 대한 부호화부(100a)와 하위 레이어에 대한 부호화부(100b)를 포함한다.The encoding apparatus 100 according to the present invention includes an encoder 100a for an upper layer and an encoder 100b for a lower layer.
상위 레이어는 현재 레이어 또는 인핸스먼트 레이어(enhancement layer)로 표현될 수 있으며, 하위 레이어는 상위 레이어보다 해상도가 낮은 인핸스먼트 레이어, 베이스 레이어(base layer) 또는 참조 레이어(reference layer)로 표현될 수 있다. 상위 레이어와 하위 레이어는 공간적 해상도, 프레임 레이트에 따른 시간적 해상도 및 컬러 포맷 또는 양자화 크기에 따른 이미지 퀄리티 중 적어도 하나가 서로 다를 수 있다. 레이어 간 예측을 수행하기 위하여 해상도 변경이 필요한 경우 레이어의 업샘플링 또는 다운샘플링이 수행될 수 있다.The upper layer may be expressed as a current layer or an enhancement layer, and the lower layer may be expressed as an enhancement layer, a base layer, or a reference layer having a lower resolution than the upper layer. . The upper layer and the lower layer may have at least one of a spatial resolution, a temporal resolution according to a frame rate, and an image quality according to a color format or a quantization size. When a resolution change is necessary to perform inter-layer prediction, upsampling or downsampling of a layer may be performed.
상위 레이어의 부호화부(100a)는 분할부(110), 예측부(120), 변환부(130), 양자화부(140), 재정렬부(150), 엔트로피 부호화부(160), 역양자화부(170), 역변환부(180), 필터부(190) 및 메모리(195)를 포함할 수 있다.The encoder 100a of the upper layer may include a divider 110, a predictor 120, a transformer 130, a quantizer 140, a reorderer 150, an entropy encoder 160, and an inverse quantizer ( 170, an inverse transform unit 180, a filter unit 190, and a memory 195.
하위 레이어의 부호화부(100b)는 분할부(111), 예측부(125), 변환부(131), 양자화부(141), 재정렬부(151), 엔트로피 부호화부(161), 역양자화부(171), 역변환부(181), 필터부(191) 및 메모리(196)를 포함할 수 있다.The encoder 100b of the lower layer includes a divider 111, a predictor 125, a transformer 131, a quantizer 141, a reordering unit 151, an entropy encoder 161, and an inverse quantizer ( 171, an inverse transform unit 181, a filter unit 191, and a memory 196.
부호화부는 이하의 본 발명의 실시예에서 설명하는 영상 부호화 방법에 의해 구현될 수 있으나, 일부의 구성부에서의 동작은 부호화 장치의 복잡도를 낮추기 위해 또는 빠른 실시간 부호화를 위해 수행되지 않을 수 있다. 예를 들어, 예측부에서 화면 내 예측을 수행함에 있어서, 실시간으로 부호화를 수행하기 위해 모든 화면 내 예측 모드 방법을 사용하여 최적의 화면 내 부호화 방법을 선택하는 방법을 사용하지 않고 일부의 제한적인 개수의 화면 내 예측 모드를 사용하여 그 중에서 하나의 화면 내 예측 모드를 최종 화면 내 예측 모드로 선택하는 방법이 사용될 수 있다. 또 다른 예로 화면 내 예측 또는 화면 간 예측을 수행함에 있어 사용되는 예측 블록의 형태를 제한적으로 사용하도록 하는 것도 가능하다. The encoder may be implemented by the image encoding method described in the following embodiments of the present invention, but operations in some components may not be performed to reduce the complexity of the encoding apparatus or for fast real time encoding. For example, in performing the intra prediction in the prediction unit, some limited number of methods are used without selecting the optimal intra intra coding method using all intra prediction modes in order to perform encoding in real time. A method of selecting one intra prediction mode among them as a final intra prediction mode using the intra prediction mode of the image may be used. As another example, it is possible to limit the use of the type of prediction block used in performing intra prediction or inter prediction.
부호화 장치에서 처리되는 블록의 단위는 부호화를 수행하는 부호화 단위, 예측을 수행하는 예측 단위, 변환을 수행하는 변환 단위가 될 수 있다. 부호화 단위는 CU(Coding Unit), 예측 단위는 PU(Prediction Unit), 변환 단위는 TU(Transform Unit)라는 용어로 표현될 수 있다.The unit of a block processed by the encoding apparatus may be a coding unit that performs encoding, a prediction unit that performs prediction, or a transformation unit that performs transformation. A coding unit may be represented by a term such as a coding unit (CU), a prediction unit is a prediction unit (PU), and a transformation unit is a transform unit (TU).
분할부(110, 111)에서는 레이어 영상을 복수의 부호화 블록, 예측 블록 및 변환 블록의 조합으로 분할하고 소정의 기준(예를 들어, 비용 함수)으로 그 중 하나의 부호화 블록, 예측 블록 및 변환 블록의 조합을 선택하여 레이어를 분할할 수 있다. 예를 들어, 레이어 영상에서 부호화 단위를 분할하기 위해서는 쿼드 트리 구조(QuadTree Structure)와 같은 재귀적인 트리 구조를 사용할 수 있다. 이하, 본 발명의 실시예에서는 부호화 블록의 의미를 부호화를 하는 블록이라는 의미뿐만 아니라 복호화를 수행하는 블록이라는 의미로도 사용할 수 있다.The splitters 110 and 111 divide a layer image into a combination of a plurality of coding blocks, prediction blocks, and transform blocks, and one of the coding blocks, prediction blocks, and transform blocks according to a predetermined criterion (for example, a cost function). You can split the layer by selecting the combination of. For example, to split a coding unit in a layer image, a recursive tree structure such as a quad tree structure may be used. Hereinafter, in the embodiment of the present invention, the meaning of the coding block may be used not only as a block for encoding but also as a block for decoding.
예측 블록은 화면 내 예측 또는 화면 간 예측과 같은 예측을 수행하는 단위가 될 수 있다. 화면 내 예측을 수행하는 블록은 2Nx2N, NxN과 같은 정사각형 형태의 블록일 수 있다. 화면 간 예측을 수행하는 블록으로는 2Nx2N, NxN과 같은 정사각형의 형태 또는 2NxN, Nx2N과 같은 직사각형의 형태 또는 비대칭 형태인 AMP (Asymmetric Motion Partitioning)를 사용한 예측 블록 분할 방법이 있다. 예측 블록의 형태에 따라 변환부(115)에서는 변환을 수행하는 방법이 달라질 수 있다.The prediction block may be a unit for performing prediction such as intra prediction or inter prediction. The block for performing intra prediction may be a block having a square shape such as 2N × 2N or N × N. As a block for performing inter prediction, there is a prediction block partitioning method using Asymmetric Motion Partitioning (AMP), which is a square form such as 2Nx2N and NxN, or a rectangular form or asymmetric form such as 2NxN and Nx2N. Depending on the shape of the prediction block, the transform unit 115 may change a method of performing the transform.
부호화부(100a, 100b)의 예측부(120, 125)는 화면 내 예측(intra prediction)을 수행하는 화면 내 예측부(121, 126)와 화면 간 예측(inter prediction)을 수행하는 화면 간 예측부(122, 127)를 포함할 수 있다. 상위 레이어 부호화부(100a)의 예측부(120)는 하위 레이어의 정보를 이용하여 상위 레이어에 대한 예측을 수행하는 레이어 간 예측부(123)를 더 포함할 수 있다. The prediction units 120 and 125 of the encoders 100a and 100b may include the intra prediction units 121 and 126 performing intra prediction and the inter prediction unit performing inter prediction. (122, 127). The predictor 120 of the higher layer encoder 100a may further include an inter-layer predictor 123 that performs prediction on the higher layer by using information of the lower layer.
예측부(120, 125)는 예측 블록에 대해 화면 간 예측을 사용할 것인지 또는 화면 내 예측을 수행할 것인지를 결정할 수 있다. 화면 내 예측을 수행함에 있어서 예측 블록 단위로 화면 내 예측 모드를 결정하고, 결정된 화면 내 예측 모드에 기초하여 화면 내 예측을 수행하는 과정은 변환 블록 단위로 수행될 수도 있다. 생성된 예측 블록과 원본 블록 사이의 잔차값(잔차 블록)은 변환부(130, 131)로 입력될 수 있다. 또한, 예측을 위해 사용한 예측 모드 정보, 움직임 정보 등은 잔차값과 함께 엔트로피 부호화부(130)에서 부호화되어 복호화 장치에 전달될 수 있다.The prediction units 120 and 125 may determine whether to use inter prediction or intra prediction on the prediction block. In performing the intra prediction, the process of determining the intra prediction mode in units of prediction blocks and performing the intra prediction based on the determined intra prediction mode may be performed in units of transform blocks. The residual value (residual block) between the generated prediction block and the original block may be input to the transformers 130 and 131. In addition, prediction mode information and motion information used for prediction may be encoded by the entropy encoder 130 together with the residual value and transmitted to the decoding apparatus.
PCM(Pulse Coded Modulation) 부호화 모드를 사용할 경우, 예측부(120, 125)를 통해 예측을 수행하지 않고, 원본 블록을 그대로 부호화하여 복호화부에 전송하는 것도 가능하다.When using the Pulse Coded Modulation (PCM) coding mode, the original block may be encoded as it is and transmitted to the decoder without performing prediction through the prediction units 120 and 125.
화면 내 예측부(121, 126)에서는 현재 블록(예측 대상이 되는 블록)의 주변에 존재하는 참조 픽셀을 기초로 화면 내 예측된 블록을 생성할 수 있다. 화면 내 예측 방법에서 화면 내 예측 모드는 참조 픽셀을 예측 방향에 따라 사용하는 방향성 예측 모드와 예측 방향을 고려하지 않는 비방향성 모드를 가질 수 있다. 루마 정보를 예측하기 위한 모드와 색차 정보를 예측하기 위한 모드는 종류가 상이할 수 있다. 색차 정보를 예측하기 위해 루마 정보를 예측한 화면 내 예측 모드 또는 예측된 루마 정보를 활용할 수 있다. 만약, 참조 픽셀이 가용하지 않는 경우, 가용하지 않은 참조 픽셀을 다른 픽셀로 대체하고, 이를 사용하여 예측 블록을 생성할 수 있다.The intra prediction units 121 and 126 may generate an intra prediction block based on reference pixels present around the current block (the block to be predicted). In the intra prediction method, the intra prediction mode may have a directional prediction mode using a reference pixel according to a prediction direction and a non-directional mode without considering the prediction direction. The mode for predicting luma information and the mode for predicting color difference information may be different. In order to predict the color difference information, an intra prediction mode in which luma information is predicted or predicted luma information may be used. If a reference pixel is not available, the unusable reference pixel may be replaced with another pixel, and a prediction block may be generated using the reference pixel.
예측 블록은 복수개의 변환 블록을 포함할 수 있는데, 화면 내 예측을 수행 시 예측 블록의 크기와 변환 블록의 크기가 동일할 경우, 예측 블록의 좌측에 존재하는 픽셀, 좌측 상단에 존재하는 픽셀, 상단에 존재하는 픽셀을 기초로 예측 블록에 대한 화면 내 예측을 수행할 수 있다. 하지만, 화면 내 예측을 수행 시 예측 블록의 크기와 변환 블록의 크기가 상이하여 예측 블록의 내부에 복수의 변환 블록이 포함되는 경우, 변환 블록에 인접한 주변 픽셀을 참조 픽셀로 이용하여 화면 내 예측을 수행할 수 있다. 여기서, 변환 블록에 인접한 주변 픽셀은 예측 블록에 인접한 주변 픽셀과 예측 블록 내에 이미 복호화된 픽셀 중 적어도 하나를 포함할 수 있다.The prediction block may include a plurality of transform blocks. If the prediction block has the same size as the transform block when the intra prediction is performed, pixels present on the left side of the prediction block, pixels present on the upper left side, and top Intra-prediction of the prediction block may be performed based on the pixels present in the. However, when the prediction block is different from the size of the transform block when the intra prediction is performed, and a plurality of transform blocks are included in the prediction block, intra prediction is performed by using neighboring pixels adjacent to the transform block as reference pixels. Can be done. Here, the neighboring pixel adjacent to the transform block may include at least one of the neighboring pixel adjacent to the prediction block and the pixels already decoded in the prediction block.
화면 내 예측 방법은 화면 내 예측 모드에 따라 참조 화소에 MDIS(Mode Dependent Intra Smoothing) 필터를 적용한 후 예측 블록을 생성할 수 있다. 참조 픽셀에 적용되는 MDIS 필터의 종류는 상이할 수 있다. MDIS 필터는 화면 내 예측이 수행되어 화면 내 예측된 블록에 적용되는 추가의 필터로서 참조 픽셀과 예측을 수행 후 생성된 화면 내 예측된 블록에 존재하는 잔차를 줄이는데 사용될 수 있다. MDIS 필터링을 수행함에 있어 참조 픽셀과 화면 내 예측된 블록에 포함된 일부 열에 대한 필터링은 화면 내 예측 모드의 방향성에 따라 다른 필터링을 수행할 수 있다.The intra prediction method may generate a prediction block after applying a mode dependent intra smoothing (MDIS) filter to a reference pixel according to the intra prediction mode. The type of MDIS filter applied to the reference pixel may be different. The MDIS filter is an additional filter applied to the predicted block in the picture by performing the intra prediction and may be used to reduce the residual present in the predicted block in the picture generated after performing the prediction with the reference pixel. In performing MDIS filtering, filtering on a reference pixel and some columns included in the predicted block in the screen may perform different filtering according to the direction of the intra prediction mode.
화면 간 예측부(122, 127)는 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐에 포함된 블록의 정보를 참조하여 예측을 수행할 수 있다. 화면 간 예측부(122, 127)에는 참조 픽쳐 보간부, 움직임 예측부, 움직임 보상부가 포함될 수 있다.The inter prediction units 122 and 127 may perform prediction by referring to information of a block included in at least one of a previous picture or a subsequent picture of the current picture. The inter prediction units 122 and 127 may include a reference picture interpolator, a motion predictor, and a motion compensator.
참조 픽쳐 보간부에서는 메모리(195, 196)로부터 참조 픽쳐 정보를 제공받고 참조 픽쳐에서 정수 화소 이하의 화소 정보를 생성할 수 있다. 루마 화소의 경우, 1/4 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 8탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다. 색차 신호의 경우 1/8 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 4탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다.The reference picture interpolation unit may receive reference picture information from the memories 195 and 196 and generate pixel information of an integer pixel or less in the reference picture. In the case of a luma pixel, a DCT-based 8-tap interpolation filter having different filter coefficients may be used to generate pixel information of integer pixels or less in units of 1/4 pixels. In the case of a chrominance signal, a DCT-based interpolation filter having different filter coefficients may be used to generate pixel information of an integer pixel or less in units of 1/8 pixels.
화면 간 예측부(122, 127)는 참조 픽쳐 보간부에 의해 보간된 참조 픽쳐를 기초로 움직임 예측을 수행할 수 있다. 움직임 벡터를 산출하기 위한 방법으로 FBMA(Full search-based Block Matching Algorithm), TSS(Three Step Search), NTS(New Three-Step Search Algorithm) 등 다양한 방법이 사용될 수 있다. 움직임 벡터는 보간된 화소를 기초로 1/2 또는 1/4 화소 단위의 움직임 벡터 값을 가질 수 있다. 화면 간 예측부(122, 127)에서는 여러 가지 화면 간 예측 방법 중 하나의 화면 간 예측 방법을 적용하여 현재 블록에 대한 예측을 수행할 수 있다. The inter prediction units 122 and 127 may perform motion prediction based on the reference picture interpolated by the reference picture interpolator. As a method for calculating a motion vector, various methods such as a full search-based block matching algorithm (FBMA), a three step search (TSS), and a new three-step search algorithm (NTS) may be used. The motion vector may have a motion vector value of 1/2 or 1/4 pixel units based on the interpolated pixels. The inter prediction units 122 and 127 may perform prediction on the current block by applying one inter prediction method among various inter prediction methods.
화면 간 예측 방법으로는 예를 들어, 스킵(Skip) 방법, 머지(Merge) 방법, MVP(Motion Vector Predictor)를 이용하는 방법 등 다양한 방법이 사용될 수 있다. For example, various methods, such as a skip method, a merge method, and a motion vector predictor (MVP), may be used as the inter prediction method.
화면 간 예측에 있어서 움직임 정보 즉, 참조 인덱스, 움직임 벡터, 레지듀얼 신호 등의 정보는 엔트로피 부호화되어 복호화부에 전달된다. 스킵 모드가 적용되는 경우에는 레지듀얼 신호가 생성되지 아니하므로, 레지듀얼 신호에 대한 변환 및 양자화 과정이 생략될 수 있다.In inter prediction, motion information, that is, information such as a reference index, a motion vector, and a residual signal, is entropy coded and transmitted to a decoder. When the skip mode is applied, since the residual signal is not generated, the conversion and quantization processes for the residual signal may be omitted.
레이어 간 예측부(123)는 하위 레이어의 정보를 이용하여 상위 레이어를 예측하는 레이어 간 예측을 수행한다. 레이어 간 예측부(123)는 하위 레이어의 텍스쳐 정보, 움직임 정보 등을 이용하여 레이어 간 예측(inter-layer prediction)을 수행할 수 있다. The interlayer prediction unit 123 performs interlayer prediction for predicting an upper layer by using information of a lower layer. The inter-layer prediction unit 123 may perform inter-layer prediction using texture information, motion information, etc. of the lower layer.
레이어 간 예측은 하위 레이어의 픽쳐를 참조 픽쳐로 해서 하위 레이어(참조 레이어)의픽쳐에 대한 움직임 정보를 이용하여 상위 레이어의 현재 블록에 대한 예측을 수행할 수 있다. 레이어 간 예측에서 참조 픽쳐로 사용되는 참조 레이어의 픽쳐는 현재 레이어의 해상도에 맞게 샘플링된 픽쳐일 수 있다. 또한, 움직임 정보는 움직임 벡터 및 참조 인덱스를 포함할 수 있다. 이때, 참조 레이어의 픽쳐에 대한 움직임 벡터의 값은 (0,0)으로 설정될 수 있다.In inter-layer prediction, prediction of a current block of an upper layer may be performed using motion information on a picture of a lower layer (reference layer) using a picture of a lower layer as a reference picture. The picture of the reference layer used as the reference picture in inter-layer prediction may be a picture sampled according to the resolution of the current layer. In addition, the motion information may include a motion vector and a reference index. In this case, the value of the motion vector for the picture of the reference layer may be set to (0,0).
레이어 간 예측의 예로서, 하위 레이어의 픽쳐를 참조 픽쳐로 이용하는 예측 방법을 설명하였으나, 본 발명은 이에 한정되지 않는다. 레이어 간 예측부(123)는 레이어 간 텍스처 예측, 레이어 간 움직임 예측, 레이어 간 신택스 예측 및 레이어 간 차분 예측 등을 수행할 수도 있다.As an example of inter-layer prediction, a prediction method using a picture of a lower layer as a reference picture has been described, but the present invention is not limited thereto. The inter-layer prediction unit 123 may perform inter-layer texture prediction, inter-layer motion prediction, inter-layer syntax prediction, and inter-layer difference prediction.
레이어 간 텍스처 예측은 참조 레이어의 텍스처를 기반으로 현재 레이어의 텍스처를 유도할 수 있다. 참조 레이어의 텍스처는 현재 레이어의 해상도에 맞춰 샘플링될 수 있으며, 레이어 간 예측부(123)는 샘플링된 참조 레이어의 텍스처를 기반으로 현재 레이어의 텍스처를 예측할 수 있다. Inter-layer texture prediction may derive the texture of the current layer based on the texture of the reference layer. The texture of the reference layer may be sampled according to the resolution of the current layer, and the inter-layer predictor 123 may predict the texture of the current layer based on the sampled texture of the reference layer.
레이어 간 움직임 예측은 참조 레이어의 움직임 벡터를 기반으로 현재 레이어의 움직임 벡터를 유도할 수 있다. 이때, 참조 레이어의 움직임 벡터는 현재 레이어의 해상도에 맞게 스케일링될 수 있다. 레이어 간 신택스 예측에서는 참조 레이어의 신택스를 기반으로 현재 레이어의 신택스가 예측될 수 있다. 예컨대, 레이어 간 예측부(123)는 참조 레이어의 신택스를 현재 레이어의 신택스로 이용할 수도 있다. 또한, 레이어 간 차분 예측에서는 참조 레이어의 복원 영상과 현재 레이어의 복원 영상 사이의 차분을 이용하여 현재 레이어의 픽쳐를 복원할 수 있다.Inter-layer motion prediction may derive the motion vector of the current layer based on the motion vector of the reference layer. In this case, the motion vector of the reference layer may be scaled according to the resolution of the current layer. In inter-layer syntax prediction, the syntax of the current layer may be predicted based on the syntax of the reference layer. For example, the inter-layer prediction unit 123 may use the syntax of the reference layer as the syntax of the current layer. In addition, in the difference prediction between layers, the picture of the current layer may be reconstructed using the difference between the reconstructed image of the reference layer and the reconstructed image of the current layer.
예측부(120, 125)에서 생성된 예측 블록과 예측 블록의 복원 블록과 차이 값인 잔차값(Residual) 정보를 포함하는 잔차 블록이 생성되며, 잔차 블록은 변환부(130, 131)에 입력된다. A residual block including residual information, which is a difference between the predicted block generated by the predictors 120 and 125 and the reconstructed block of the predicted block, is generated, and the residual block is input to the transformers 130 and 131.
변환부(130, 131)에서는 잔차 블록을 DCT(Discrete Cosine Transform) 또는 DST(Discrete Sine Transform)와 같은 변환 방법을 사용하여 변환시킬 수 있다. 잔차 블록을 변환하기 위해 DCT를 적용할지 DST를 적용할지는 잔차 블록을 생성하기 위해 사용된 예측 블록의 화면 내 예측 모드 정보 및 예측 블록의 크기 정보를 기초로 결정할 수 있다. 즉, 변환부(130, 131)에서는 예측 블록의 크기 및 예측 방법에 따라 변환 방법을 다르게 적용할 수 있다.The transform units 130 and 131 may transform the residual block using a transform method such as a discrete cosine transform (DCT) or a discrete sine transform (DST). Whether DCT or DST is applied to transform the residual block may be determined based on intra prediction mode information of the prediction block used to generate the residual block and size information of the prediction block. That is, the transformers 130 and 131 may apply the transformation method differently according to the size of the prediction block and the prediction method.
양자화부(140, 141)는 변환부(130, 131)에서 주파수 영역으로 변환된 값들을 양자화할 수 있다. 블록에 따라 또는 영상의 중요도에 따라 양자화 계수는 변할 수 있다. 양자화부(140, 141)에서 산출된 값은 역양자화부(170, 17)와 재정렬부(150, 151)에 제공될 수 있다.The quantizers 140 and 141 may quantize the values transformed by the transformers 130 and 131 into the frequency domain. The quantization coefficient may change depending on the block or the importance of the image. The values calculated by the quantizers 140 and 141 may be provided to the dequantizers 170 and 17 and the reordering units 150 and 151.
재정렬부(150, 151)는 양자화된 잔차 값에 대해 계수 값의 재정렬을 수행할 수 있다. 재정렬부(150, 151)는 계수 스캐닝(Coefficient Scanning) 방법을 통해 2차원의 블록 형태 계수를 1차원의 벡터 형태로 변경할 수 있다. 예를 들어, 재정렬부(150, 151)에서는 지그-재그 스캔(Zig-Zag Scan)방법을 이용하여 DC 계수부터 고주파수 영역의 계수까지 스캔하여 1차원 벡터 형태로 변경시킬 수 있다. 변환 블록의 크기 및 화면 내 예측 모드에 따라 지그-재그 스캔 방법이 아닌 2차원의 블록 형태 계수를 열 방향으로 스캔하는 수직 스캔 방법, 2차원의 블록 형태 계수를 행 방향으로 스캔하는 수평 스캔 방법이 사용될 수 있다. 즉, 변환 블록의 크기 및 화면 내 예측 모드에 따라 지그-재그 스캔, 수직 방향 스캔 및 수평 방향 스캔 중 어떠한 스캔 방법이 사용될지 여부를 결정할 수 있다.The reordering units 150 and 151 may reorder coefficient values with respect to the quantized residual value. The reordering units 150 and 151 may change the two-dimensional block shape coefficients into a one-dimensional vector form through a coefficient scanning method. For example, the realignment units 150 and 151 may scan DC coefficients to coefficients in the high frequency region by using a Zig-Zag scan method and change them into one-dimensional vectors. Depending on the size of the transform block and the intra prediction mode, a vertical scan method for scanning two-dimensional block shape coefficients in a column direction, not a zig-zag scan method, and a horizontal scan method for scanning two-dimensional block shape coefficients in a row direction Can be used. That is, according to the size of the transform block and the intra prediction mode, it is possible to determine which scan method among zigzag-scan, vertical scan and horizontal scan is used.
엔트로피 부호화부(160, 161)는 재정렬부(150, 151)에 의해 산출된 값들을 기초로 엔트피 부호화를 수행할 수 있다. 엔트로피 부호화는 예를 들어, 지수 골롬(Exponential Golomb), CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding)와 같은 다양한 부호화 방법을 사용할 수 있다.The entropy encoders 160 and 161 may perform entropy encoding based on the values calculated by the reordering units 150 and 151. Entropy encoding may use various encoding methods such as, for example, Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC).
엔트로피 부호화부(160, 161)는 재정렬부(150, 151) 및 예측부(120, 125)로부터 부호화 블록의 잔차값 계수 정보 및 블록 타입 정보, 예측 모드 정보, 분할 단위 정보, 예측 블록 정보 및 전송 단위 정보, 움직임 정보, 참조 프레임 정보, 블록의 보간 정보, 필터링 정보 등 다양한 정보를 제공받아 소정의 부호화 방법을 기초로 엔트로피 부호화를 수행할 수 있다. 또한, 엔트로피 부호화부(160, 161)에서는 재정렬부(150, 151)에서 입력된 부호화 단위의 계수값을 엔트로피 부호화할 수 있다. The entropy encoders 160 and 161 transmit residual value coefficient information, block type information, prediction mode information, partition unit information, prediction block information, and the like of the coding block from the reordering units 150 and 151 and the prediction units 120 and 125. Entropy encoding may be performed based on a predetermined encoding method by receiving various information such as unit information, motion information, reference frame information, block interpolation information, and filtering information. In addition, the entropy encoder 160 or 161 may entropy-encode coefficient values of coding units input from the reordering unit 150 or 151.
엔트로피 부호화부(160, 161)에서는 화면 내 예측 모드 정보에 대한 이진화를 수행하여 현재 블록의 화면 내 예측 모드 정보를 부호화할 수 있다. 엔트로피 부호화부(160, 161)에는 이러한 이진화 동작을 수행하기 위한 코드워드 매핑부가 포함될 수 있고, 화면 내 예측을 수행하는 예측 블록의 크기에 따라 이진화를 다르게 수행할 수 있다. 코드워드 매핑부에서는 코드워드 매핑 테이블이 이진화 동작을 통해 적응적으로 생성되거나 미리 저장되어 있을 수 있다. 또 다른 실시예로 엔트로피 부호화부(160, 161)에서 코드넘 매핑을 수행하는 코드넘 매핑부와 코드워드 매핑을 수행하는 코드워드 매핑부를 이용하여 현재 화면 내 예측 모드 정보를 표현할 수 있다. 코드넘 매핑부와 코드워드 매핑부에서는 코드넘 매핑 테이블과 코드워드 매핑 테이블이 생성되거나 저장되어 있을 수 있다.The entropy encoders 160 and 161 may encode the intra prediction mode information of the current block by performing binarization on the intra prediction mode information. The entropy encoder 160 or 161 may include a codeword mapping unit for performing such a binarization operation, and may perform different binarization according to the size of a prediction block for performing intra prediction. In the codeword mapping unit, the codeword mapping table may be adaptively generated or stored in advance through a binarization operation. As another embodiment, the entropy encoders 160 and 161 may express prediction mode information in the current screen using a codenum mapping unit for performing codenum mapping and a codeword mapping unit for performing codeword mapping. In the codenum mapping unit and the codeword mapping unit, a codenum mapping table and a codeword mapping table may be generated or stored.
역양자화부(170, 171) 및 역변환부(180, 181)에서는 양자화부(140, 141)에서 양자화된 값들을 역양자화하고 변환부(130, 131)에서 변환된 값들을 역변환 한다. 역양자화부(170, 171) 및 역변환부(180, 181)에서 생성된 잔차값(Residual)은 예측부(120, 125)에 포함된 움직임 추정부, 움직임 보상부 및 화면 내 예측부를 통해서 예측된 예측 블록과 합쳐져 복원 블록(Reconstructed Block)을 생성할 수 있다.The inverse quantizers 170 and 171 and the inverse transformers 180 and 181 inverse quantize the quantized values in the quantizers 140 and 141 and inversely transform the converted values in the transformers 130 and 131. The residual values generated by the inverse quantizers 170 and 171 and the inverse transformers 180 and 181 may be predicted by the motion estimator, the motion compensator, and the intra prediction unit included in the predictors 120 and 125. It may be combined with the prediction block to generate a reconstructed block.
필터부(190, 191)는 디블록킹 필터, 오프셋 보정부 중 적어도 하나를 포함할 수 있다. The filter units 190 and 191 may include at least one of a deblocking filter and an offset correction unit.
디블록킹 필터는 복원된 픽쳐에서 블록간의 경계로 인해 생긴 블록 왜곡을 제거할 수 있다. 디블록킹을 수행할지 여부를 판단하기 위해 블록에 포함된 몇 개의 열 또는 행에 포함된 픽셀을 기초로 현재 블록에 디블록킹 필터 적용할지 여부를 판단할 수 있다. 블록에 디블록킹 필터를 적용하는 경우 필요한 디블록킹 필터링 강도에 따라 강한 필터(Strong Filter) 또는 약한 필터(Weak Filter)를 적용할 수 있다. 또한, 디블록킹 필터를 적용함에 있어 수직 필터링 및 수평 필터링을 수행시 수평 방향 필터링 및 수직 방향 필터링이 병행처리가 되도록 할 수 있다.The deblocking filter may remove block distortion caused by boundaries between blocks in the reconstructed picture. In order to determine whether to perform deblocking, it may be determined whether to apply a deblocking filter to the current block based on the pixels included in several columns or rows included in the block. When the deblocking filter is applied to the block, a strong filter or a weak filter may be applied according to the required deblocking filtering strength. In addition, in applying the deblocking filter, horizontal filtering and vertical filtering may be performed in parallel when vertical filtering and horizontal filtering are performed.
오프셋 보정부는 디블록킹을 수행한 영상에 대해 픽셀 단위로 원본 영상과의 오프셋을 보정할 수 있다. 특정 픽쳐에 대한 오프셋 보정을 수행하기 위해 영상에 포함된 픽셀을 일정 영역으로 구분한 후 오프셋을 수행할 영역을 결정하고 해당 영역에 오프셋을 적용하는 방법 또는 각 픽셀의 에지 정보를 고려하여 오프셋을 적용하는 방법을 사용할 수 있다.The offset correction unit may correct the offset with respect to the original image on a pixel-by-pixel basis for the deblocking image. In order to perform offset correction for a specific picture, the pixels included in the image are divided into predetermined areas, and then, the area to be offset is determined and the offset is applied to the corresponding area, or the offset is applied considering the edge information of each pixel. Can be used.
필터부(190, 191)는 디블록킹 필터, 오프셋 보정을 모두 적용하지 않고 디블록킹 필터만 적용하거나 디블록킹 필터와 오프셋 보정을 둘 다 적용할 수도 있다.The filter units 190 and 191 may apply only the deblocking filter or both the deblocking filter and the offset correction without applying both the deblocking filter and the offset correction.
메모리(195, 196)는 필터부(190, 191)를 통해 산출된 복원 블록 또는 픽쳐를 저장할 수 있고, 저장된 복원 블록 또는 픽쳐는 화면 간 예측을 수행 시 예측부(120, 125)에 제공될 수 있다.The memories 195 and 196 may store reconstructed blocks or pictures calculated by the filters 190 and 191, and the stored reconstructed blocks or pictures may be provided to the predictors 120 and 125 when performing inter prediction. have.
하위 레이어의 엔트로피 부호화부(100b)에서 출력되는 정보와 상위 레이어의 엔트로피 부호화부(100a)에서 출력되는 정보는 MUX(197)에서 멀티플렉싱되어 비트스트림으로 출력될 수 있다.The information output from the entropy encoder 100b of the lower layer and the information output from the entropy encoder 100a of the upper layer may be multiplexed by the MUX 197 and output as a bitstream.
MUX(197)는 상위 레이어의 부호화부(100a) 또는 하위 레이어의 부호화부(100b)에 포함될 수도 있고, 부호화부(100)와는 별도의 독립적인 장치 또는 모듈로 구현될 수도 있다. The MUX 197 may be included in the encoder 100a of the upper layer or the encoder 100b of the lower layer, or may be implemented as an independent device or module separate from the encoder 100.
도 2는 본 발명의 일 실시예에 따른 복호화 장치를 개략적으로 도시한 블록도이다.2 is a block diagram schematically illustrating a decoding apparatus according to an embodiment of the present invention.
도 2에 도시된 바와 같이, 복호화 장치(200)는 상위 레이어의 복호화부(200a)와 하위 레이어의 복호화부(200b)를 포함한다.As shown in FIG. 2, the decoding apparatus 200 includes a decoder 200a of an upper layer and a decoder 200b of a lower layer.
상위 레이어의 복호화부(200a)는 엔트로피 복호화부(210), 재정렬부(220), 역양자화부(230), 역변환부(240), 예측부(250), 필터부(260), 메모리(270)를 포함할 수 있다.The decoder 200a of the upper layer includes an entropy decoder 210, a reordering unit 220, an inverse quantization unit 230, an inverse transform unit 240, a prediction unit 250, a filter unit 260, and a memory 270. ) May be included.
하위 레이어의 복호화부(200b)는 엔트로피 디코딩부(211), 재정렬부(221), 역양자화부(231), 역변환부(241), 예측부(251), 필터부(261), 메모리(271)를 포함할 수 있다.The lower layer decoding unit 200b includes an entropy decoding unit 211, a reordering unit 221, an inverse quantization unit 231, an inverse transform unit 241, a prediction unit 251, a filter unit 261, and a memory 271. ) May be included.
부호화 장치로부터 복수의 레이어를 포함하는 비트스트림이 전송되면, DEMUX(280)는 레이어 별로 정보를 디멀티플렉싱하여 각 레이어별 복호화부(200a, 200b)로 전달할 수 있다. 입력된 비트스트림은 부호화 장치와 반대의 절차로 복호화 될 수 있다.When a bitstream including a plurality of layers is transmitted from the encoding apparatus, the DEMUX 280 may demultiplex information for each layer and transmit the information to the decoders 200a and 200b for each layer. The input bitstream may be decoded in a procedure opposite to that of the encoding apparatus.
엔트로피 복호화부(210, 211)는 부호화 장치의 엔트로피 부호화부에서 엔트로피 부호화를 수행한 것과 반대의 절차로 엔트로피 복호화를 수행할 수 있다. 엔트로피 복호화부(210, 211)에서 복호화된 정보 중 예측 블록을 생성하기 위한 정보는 예측부(250, 251)로 제공되고 엔트로피 복호화부(210, 211)에서 엔트로피 복호화를 수행한 잔차값은 재정렬부(220, 221)로 입력될 수 있다.The entropy decoders 210 and 211 may perform entropy decoding in a procedure opposite to that of the entropy encoder in the encoding apparatus. Information for generating a prediction block among the information decoded by the entropy decoders 210 and 211 is provided to the predictors 250 and 251, and the residual value obtained by entropy decoding by the entropy decoders 210 and 211 is a reordering unit. It may be input to (220, 221).
엔트로피 복호화부(210, 211)에서도 엔트로피 부호화부(160, 161)와 마찬가지로 CABAC 또는 CAVLC 중 적어도 하나의 방법을 사용할 수 있다.Like the entropy encoders 160 and 161, the entropy decoders 210 and 211 may use at least one of CABAC and CAVLC.
엔트로피 복호화부(210, 211)에서는 부호화 장치에서 수행된 화면 내 예측 및 화면 간 예측에 관련된 정보를 복호화할 수 있다. 엔트로피 복호화부(210, 211)에는 코드워드 매핑부가 포함되어 수신된 코드워드를 화면 내 예측 모드 번호로 생성하기 위한 코드워드 매핑 테이블을 포함될 수 있다. 코드워드 매핑 테이블은 미리 저장되어 있거나 적응적으로 생성될 수 있다. 코드넘 매핑 테이블을 사용할 경우, 코드넘 매핑을 수행하기 위한 코드넘 매핑부가 추가적으로 구비될 수 있다.The entropy decoders 210 and 211 may decode information related to intra prediction and inter prediction performed by the encoding apparatus. The entropy decoder 210 or 211 may include a codeword mapping unit and include a codeword mapping table for generating a received codeword as an intra prediction mode number. The codeword mapping table may be stored in advance or generated adaptively. When using the codenum mapping table, a codenum mapping unit for performing codenum mapping may be additionally provided.
재정렬부(220, 221)는 엔트로피 복호화부(210, 211)에서 엔트로피 복호화된 비트스트림을 부호화부에서 재정렬한 방법을 기초로 재정렬을 수행할 수 있다. 1차원 벡터 형태로 표현된 계수들을 다시 2차원의 블록 형태의 계수로 복원하여 재정렬할 수 있다. 재정렬부(220, 221)에서는 부호화부에서 수행된 계수 스캐닝에 관련된 정보를 제공받고 해당 부호화부에서 수행된 스캐닝 순서에 기초하여 역으로 스캐닝하는 방법을 통해 재정렬을 수행할 수 있다. The reordering units 220 and 221 may reorder the bitstreams entropy decoded by the entropy decoding units 210 and 211 based on a method of rearranging the bitstreams by the encoder. Coefficients expressed in the form of a one-dimensional vector may be reconstructed by reconstructing the coefficients in a two-dimensional block form. The reordering units 220 and 221 may be realigned by receiving information related to coefficient scanning performed by the encoder and performing reverse scanning based on the scanning order performed by the corresponding encoder.
역양자화부(230, 231)는 부호화 장치에서 제공된 양자화 파라미터와 재정렬된 블록의 계수 값을 기초로 역양자화를 수행할 수 있다. The inverse quantization units 230 and 231 may perform inverse quantization based on quantization parameters provided by the encoding apparatus and coefficient values of the rearranged block.
역변환부(240, 241)는 부호화 장치에서 수행한 양자화 결과에 대해 변환부(130, 131)에서 수행한 DCT 또는 DST에 대해 역 DCT 또는 역 DST를 수행할 수 있다. 역변환은 부호화 장치에서 결정된 전송 단위를 기초로 수행될 수 있다. 부호화 장치의 변환부에서는 DCT와 DST는 예측 방법, 현재 블록의 크기 및 예측 방향 등 복수의 정보에 따라 선택적으로 수행될 수 있고, 복호화 장치의 역변환부(240, 241)에서는 부호화 장치의 변환부에서 수행된 변환 정보를 기초로 역변환을 수행할 수 있다. 변환 수행 시 변환 블록이 아닌 부호화 블록을 기준으로 변환을 수행할 수 있다.The inverse transformers 240 and 241 may perform inverse DCT or inverse DST on the DCT or DST performed by the transformers 130 and 131 with respect to the quantization result performed by the encoding apparatus. The inverse transform may be performed based on a transmission unit determined by the encoding apparatus. The DCT and the DST may be selectively performed by the transform unit of the encoding apparatus according to a plurality of pieces of information, such as a prediction method, a size of the current block, and a prediction direction. The inverse transformers 240 and 241 of the decoding apparatus may convert Inverse transformation may be performed based on the performed transformation information. When the transform is performed, the transform may be performed based on the coding block rather than the transform block.
예측부(250, 251)는 엔트로피 복호화부(210, 211)에서 제공된 예측 블록 생성 관련 정보와 메모리(270, 271)에서 제공된 이전에 복호화된 블록 또는 픽쳐 정보를 기초로 예측 블록을 생성할 수 있다.The prediction units 250 and 251 may generate the prediction blocks based on the prediction block generation related information provided by the entropy decoding units 210 and 211 and previously decoded blocks or picture information provided by the memories 270 and 271. .
예측부(250, 251)는 예측 단위 판별부, 화면 간 예측부 및 화면 내 예측부를 포함할 수 있다. The predictors 250 and 251 may include a prediction unit determiner, an inter prediction unit, and an intra prediction unit.
예측 단위 판별부는 엔트로피 복호화부에서 입력되는 예측 단위 정보, 화면 내 예측 방법의 예측 모드 정보, 화면 간 예측 방법의 움직임 예측 관련 정보 등 다양한 정보를 입력 받고 현재 부호화 블록에서 예측 블록을 구분하고, 예측 블록이 화면 간 예측을 수행하는지 아니면 화면 내 예측을 수행하는지 여부를 판별할 수 있다. The prediction unit discriminator receives various information such as prediction unit information input from the entropy decoder, prediction mode information of the intra prediction method, and motion prediction related information of the inter prediction method, and distinguishes the prediction block from the current coding block. It is possible to determine whether to perform this inter prediction or intra prediction.
화면 간 예측부는 부호화 장치에서 제공된 현재 예측 블록의 화면 간 예측에 필요한 정보를 이용해 현재 예측 블록이 포함된 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐에 포함된 정보를 기초로 현재 예측 블록에 대한 화면 간 예측을 수행할 수 있다. 화면 간 예측을 수행하기 위해 부호화 블록을 기준으로 해당 부호화 블록에 포함된 예측 블록의 움직임 예측 방법이 스킵 모드(Skip Mode), 머지 모드(Merge 모드), MVP(motion vector predictor)를 이용하는 모드(AMVP Mode) 중 어떠한 방법인지 여부를 판단할 수 있다.The inter prediction unit uses information required for inter prediction of the current prediction block provided by the encoding apparatus to the current prediction block based on information included in at least one of a previous picture or a subsequent picture of the current picture including the current prediction block. Inter prediction can be performed. In order to perform inter prediction, a motion prediction method of a prediction block included in a coding block based on a coding block uses a skip mode, a merge mode, a motion vector predictor (MVP) (AMVP). Mode) can be determined.
화면 내 예측부는 현재 픽쳐 내의 복원된 픽셀 정보를 기초로 예측 블록을 생성할 수 있다. 예측 블록이 화면 내 예측을 수행한 예측 블록인 경우, 부호화 장치에서 제공된 예측 블록의 화면 내 예측 모드 정보를 기초로 화면 내 예측을 수행할 수 있다. 화면 내 예측부는 현재 블록의 참조 픽셀에 필터링을 수행하는 MDIS 필터, 참조 픽셀을 보간하여 정수값 이하의 픽셀 단위의 참조 픽셀을 생성하는 참조 픽셀 보간부, 현재 블록의 예측 모드가 DC 모드일 경우 필터링을 통해서 예측 블록을 생성하는 DC 필터를 포함할 수 있다. The intra prediction unit may generate a prediction block based on the reconstructed pixel information in the current picture. When the prediction block is a prediction block that performs intra prediction, intra prediction may be performed based on intra prediction mode information of the prediction block provided by the encoding apparatus. The intra prediction unit is an MDIS filter that performs filtering on the reference pixel of the current block, a reference pixel interpolator that generates a reference pixel of an integer value or less by interpolating the reference pixel, and filters when the prediction mode of the current block is DC mode. It may include a DC filter for generating a prediction block through.
상위 레이어 복호화부(200a)의 예측부(250)는 하위 레이어의 정보를 이용하여 상위 레이어를 예측하는 레이어 간 예측을 수행하는 레이어 간 예측부를 더 포함할 수 있다. The predictor 250 of the upper layer decoder 200a may further include an inter-layer predictor that performs inter-layer prediction for predicting an upper layer by using information of the lower layer.
레이어 간 예측부는 화면 내 예측 모드 정보, 움직임 정보 등을 이용하여 인터 레이어 예측(inter-layer prediction) 을 수행할 수 있다. The inter-layer prediction unit may perform inter-layer prediction using intra prediction mode information and motion information.
레이어 간 예측은 하위 레이어의 픽쳐를 참조 픽쳐로 해서 하위 레이어(참조 레이어) 픽쳐에 대한 움직임 정보를 이용하여 상위 레이어의 현재 블록에 대한 예측을 수행할 수 있다. In inter-layer prediction, prediction of a current block of an upper layer may be performed using motion information of a lower layer (reference layer) picture using a picture of a lower layer as a reference picture.
레이어 간 예측에서 참조 픽쳐로 사용되는 참조 레이어의 픽쳐는 현재 레이어의 해상도에 맞게 샘플링된 픽쳐일 수 있다. 또한, 움직임 정보는 움직임 벡터 및 참조 인덱스를 포함할 수 있다. 이때, 참조 레이어의 픽쳐에 대한 움직임 벡터의 값은 (0,0)으로 설정될 수 있다. The picture of the reference layer used as the reference picture in inter-layer prediction may be a picture sampled according to the resolution of the current layer. In addition, the motion information may include a motion vector and a reference index. In this case, the value of the motion vector for the picture of the reference layer may be set to (0,0).
레이어 간 예측의 예로서, 하위 레이어의 픽쳐를 참조 픽쳐로 이용하는 예측 방법을 설명하였으나, 본 발명은 이에 한정되지 않는다. 레이어 간 예측부(123)는 레이어 간 텍스처 예측, 레이어 간 움직임 예측, 레이어 간 신택스 예측 및 레이어 간 차분 예측 등을 추가로 수행할 수도 있다.As an example of inter-layer prediction, a prediction method using a picture of a lower layer as a reference picture has been described, but the present invention is not limited thereto. The inter-layer prediction unit 123 may further perform inter-layer texture prediction, inter-layer motion prediction, inter-layer syntax prediction, and inter-layer difference prediction.
레이어 간 텍스처 예측은 참조 레이어의 텍스처를 기반으로 현재 레이어의 텍스처를 유도할 수 있다. 참조 레이어의 텍스처는 현재 레이어의 해상도에 맞춰 샘플링될 수 있으며, 레이어 간 예측부는 샘플링된 텍스처를 기반으로 현재 레이어의 텍스처를 예측할 수 있다. 레이어 간 움직임 예측은 참조 레이어의 움직임 벡터를 기반으로 현재 레이어의 움직임 벡터를 유도할 수 있다. 이때, 참조 레이어의 움직임 벡터는 현재 레이어의 해상도에 맞게 스케일링될 수 있다. 레이어 간 신택스 예측에서는 참조 레이어의 신택스를 기반으로 현재 레이어의 신택스가 예측될 수 있다. 예컨대, 레이어 간 예측부(123)는 참조 레이어의 신택스를 현재 레이어의 신택스로 이용할 수도 있다. 또한, 레이어 간 차분 예측에서는 참조 레이어의 복원 영상과 현재 레이어의 복원 영상 사이의 차분을 이용하여 현재 레이어의 픽쳐를 복원할 수 있다.Inter-layer texture prediction may derive the texture of the current layer based on the texture of the reference layer. The texture of the reference layer may be sampled according to the resolution of the current layer, and the inter-layer predictor may predict the texture of the current layer based on the sampled texture. Inter-layer motion prediction may derive the motion vector of the current layer based on the motion vector of the reference layer. In this case, the motion vector of the reference layer may be scaled according to the resolution of the current layer. In inter-layer syntax prediction, the syntax of the current layer may be predicted based on the syntax of the reference layer. For example, the inter-layer prediction unit 123 may use the syntax of the reference layer as the syntax of the current layer. In addition, in the difference prediction between layers, the picture of the current layer may be reconstructed using the difference between the reconstructed image of the reference layer and the reconstructed image of the current layer.
복원된 블록 또는 픽쳐는 필터부(260, 261)로 제공될 수 있다. 필터부(260, 261)는 디블록킹 필터, 오프셋 보정부를 포함할 수 있다.The reconstructed block or picture may be provided to the filter units 260 and 261. The filter units 260 and 261 may include a deblocking filter and an offset correction unit.
부호화 장치로부터 해당 블록 또는 픽쳐에 디블록킹 필터를 적용하였는지 여부에 대한 정보 및 디블록킹 필터를 적용하였을 경우, 강한 필터를 적용하였는지 또는 약한 필터를 적용하였는지에 대한 정보를 제공받을 수 있다. 복호화 장치의 디블록킹 필터에서는 부호화 장치에서 제공된 디블록킹 필터 관련 정보를 제공받고 복호화 장치에서 해당 블록에 대한 디블록킹 필터링을 수행할 수 있다. Information about whether a deblocking filter is applied to the corresponding block or picture and when the deblocking filter is applied to the block or picture may be provided from the encoding apparatus as to whether a strong filter or a weak filter is applied. The deblocking filter of the decoding apparatus may receive the deblocking filter related information provided by the encoding apparatus and perform the deblocking filtering on the corresponding block in the decoding apparatus.
오프셋 보정부는 부호화시 영상에 적용된 오프셋 보정의 종류 및 오프셋 값정보 등을 기초로 복원된 영상에 오프셋 보정을 수행할 수 있다.The offset correction unit may perform offset correction on the reconstructed image based on the type of offset correction and offset value information applied to the image during encoding.
메모리(270, 271)는 복원된 픽쳐 또는 블록을 저장하여 참조 픽쳐 또는 참조 블록으로 사용할 수 있도록 할 수 있고 또한 복원된 픽쳐를 출력할 수 있다. The memories 270 and 271 may store the reconstructed picture or block to be used as the reference picture or the reference block, and output the reconstructed picture.
부호화 장치 및 복호화 장치는 두 개의 레이어가 아닌 세 개 이상의 레이어에 대한 인코딩을 수행할 수 있으며, 이 경우 상위 레이어에 대한 부호화부 및 상위 레이어에 대한 복호화부는 상위 레이어의 개수에 대응하여 복수 개로 마련될 수 있다.The encoding apparatus and the decoding apparatus may encode three or more layers instead of two layers. In this case, a plurality of encoders for a higher layer and a decoder for a higher layer may be provided in correspondence to the number of upper layers. Can be.
멀티 레이어 구조를 지원하는 SVC(Scalable Video Coding) 에서는 레이어 간에 연관성이 존재한다. 이 연관성을 이용하여 예측을 수행하면 데이터의 중복 요소를 제거할 수 있고 영상의 부호화 성능을 향상시킬 수 있다. In SVC (Scalable Video Coding) supporting multi-layer structure, there is an association between layers. Prediction using this association can remove redundant elements of data and improve the encoding performance of the image.
따라서, 부호화/복호화 되는 현재 레이어(인핸스먼트 레이어)의 픽쳐(영상)를 예측할 경우, 현재 레이어의 정보를 이용한 인터 예측 혹은 인트라 예측뿐만 아니라, 다른 레이어의 정보를 이용한 인터 레이어 예측을 수행할 수 있다. Therefore, when predicting a picture (image) of a current layer (enhanced layer) to be encoded / decoded, not only inter prediction or intra prediction using information of the current layer, but also inter layer prediction using information of another layer may be performed. .
인터 레이어 예측을 수행할 경우, 현재 레이어는 인터 레이어 예측을 위해 사용되는 참조 레이어(reference layer)의 디코딩된 픽쳐를 참조 픽쳐(reference picture)로 사용하여 현재 레이어의 예측 샘플을 생성할 수 있다. When inter-layer prediction is performed, the current layer may generate a prediction sample of the current layer by using a decoded picture of a reference layer used for inter-layer prediction as a reference picture.
이때, 현재 레이어와 참조 레이어는 공간 해상도, 시간 해상도, 이미지 퀄리티 중 적어도 하나가 서로 다를 수 있기 때문에(즉, 레이어 간 스케일러빌리티 차이 때문에), 디코딩된 참조 레이어의픽쳐는 현재 레이어의 스케일러빌리티에 맞게 리샘플링(resampling)이 수행된 다음 현재 레이어의 인터 레이어 예측을 위한 참조 픽쳐로 사용될 수 있다. 리샘플링은 현재 레이어의 픽쳐 크기에 맞게 참조 레이어 픽쳐의 샘플들을 업샘플링(up-sampling) 또는 다운 샘플링(down sampling)하는 것을 의미한다. In this case, since the current layer and the reference layer may have at least one of spatial resolution, temporal resolution, and image quality different from each other (that is, due to scalability differences between layers), the picture of the decoded reference layer matches the scalability of the current layer. Resampling may be performed and then used as a reference picture for inter-layer prediction of the current layer. Resampling means up-sampling or downsampling samples of a reference layer picture according to a picture size of a current layer.
본 명세서에서, 현재 레이어는 현재 부호화 혹은 복호화가 수행되는 레이어를 말하며, 인핸스먼트 레이어 또는 상위 레이어일 수 있다. 참조 레이어는 현재 레이어가 인터 레이어 예측을 위해 참조하는 레이어를 말하며, 베이스 레이어 또는 하위 레이어일 수 있다. 현재 레이어의 인터 레이어 예측을 위해 사용되는 참조 레이어의 픽쳐(즉, 참조 픽쳐)는 인터 레이어 참조 픽쳐 또는 레이어 간 참조 픽쳐로 지칭될 수 있다.In the present specification, the current layer refers to a layer on which current encoding or decoding is performed, and may be an enhancement layer or an upper layer. The reference layer refers to a layer referenced by the current layer for inter-layer prediction and may be a base layer or a lower layer. A picture (ie, a reference picture) of a reference layer used for inter layer prediction of the current layer may be referred to as an inter layer reference picture or an inter layer reference picture.
도 3은 본 발명이 적용되는 일실시예로서, 참조 레이어의 대응 픽쳐를 이용하여 현재 레이어의 인터 예측을 수행하는 과정을 도시한 순서도이다.3 is a flowchart illustrating a process of performing inter prediction of a current layer using a corresponding picture of a reference layer according to an embodiment to which the present invention is applied.
도 3을 참조하면, 현재 레이어의 현재 픽쳐의 레이어 간 예측에 이용되는 참조 레이어의 대응 픽쳐를 결정할 수 있다(S300).Referring to FIG. 3, a corresponding picture of a reference layer used for inter-layer prediction of the current picture of the current layer may be determined (S300).
참조 레이어는 베이스 레이어 또는 현재 레이어보다 해상도가 낮은 다른 인핸스먼트 레이어를 의미할 수 있다. 대응 픽쳐는 현재 레이어의 현재 픽쳐와 동일 시간대에 위치한 픽쳐를 의미할 수 있다. The reference layer may mean a base layer or another enhancement layer having a lower resolution than the current layer. The corresponding picture may mean a picture located at the same time zone as the current picture of the current layer.
예를 들어, 상기 대응 픽쳐는 현재 레이어의 현재 픽쳐와 동일한 POC(picture order count) 정보를 갖는 픽쳐일 수 있다. 상기 대응 픽쳐는 현재 레이어의 현재 픽쳐와 동일한 액세스 유닛(Access Unit, AU)에 속할 수 있다. 상기 대응 픽쳐는 현재 레이어의 현재 픽쳐와 동일한 시간레벨 식별자(TemporalID)를 가질 수 있다. 여기서, 시간레벨 식별자는 시간적 해상도에 따라 스케일러블하게 코딩된 복수 개의 레이어 각각을 특정하는 식별자를 의미할 수 있다.For example, the corresponding picture may be a picture having the same picture order count (POC) information as the current picture of the current layer. The corresponding picture may belong to the same Access Unit (AU) as the current picture of the current layer. The corresponding picture may have the same temporal level ID (TemporalID) as the current picture of the current layer. Here, the temporal level identifier may mean an identifier for specifying each of a plurality of layers that are coded scalable according to temporal resolution.
현재 블록은 레이어 간 예측을 위해 하나 또는 그 이상의 참조 레이어의 대응 픽쳐를 이용할 수 있으며, 이러한 대응 픽쳐를 특정하는 방법에 대해서는 도 4 내지 도 7을 참조하여 살펴 보기로 한다.The current block may use corresponding pictures of one or more reference layers for inter-layer prediction, and a method of specifying the corresponding picture will be described with reference to FIGS. 4 to 7.
S300 단계에서 결정된 대응 픽쳐를 업샘플링하여 인터레이어 참조 픽쳐를 생성할 수 있다(S310).The interlayer reference picture may be generated by upsampling the corresponding picture determined in operation S300 (S310).
여기서, 인터레이어 참조 픽쳐는 현재 픽쳐의 레이어 간 예측을 위한 참조 픽쳐로 이용될 수 있다. Here, the interlayer reference picture may be used as a reference picture for inter-layer prediction of the current picture.
구체적으로, 인터레이어 참조 픽쳐는 제1 인터레이어 참조 픽쳐와 제2 인터레이어 참조 픽쳐 중 적어도 하나를 포함할 수 있다. 제1 인터레이어 참조 픽쳐는 인티저 포지션에 대해 필터링을 수행한 참조 픽쳐를 의미하고, 제2 인터레이어 참조 픽쳐는 인티저 포지션에 대해 필터링을 수행하지 아니한 참조 픽쳐를 의미할 수 있다. In more detail, the interlayer reference picture may include at least one of a first interlayer reference picture and a second interlayer reference picture. The first interlayer reference picture may mean a reference picture that has been filtered for the integer position, and the second interlayer reference picture may mean a reference picture that has not been filtered for the integer position.
여기서, 인티저 포지션이라 함은 업샘플링되는 대응 픽쳐의 정수 단위의 픽셀을 의미할 수 있다. 또는, 업샘플링 과정에서, 정수 픽셀 이하의 단위 즉, 1/n 픽셀 단위로 인터폴레이션하는 경우, n개의 위상이 생기며, 이때 위상이 0인 위치 (즉, 인터폴레이션한 후, n배수의 정수 픽셀의 위치)를 의미할 수도 있다. 인티저 포지션에 대한 필터링은 주변의 인티저 포지션을 이용하여 수행될 수 있다. 주변의 인티저 포지션은 현재 필터링되는 인티저 포지션과 동일한 행 또는 동일한 열에 위치한 것일 수 있다. 주변의 인티저 포지션은 상기 동일한 행 또는 동일한 열에 속한 복수 개의 인티저 포지션들을 포함할 수 있다. 여기서, 복수 개의 인티저 포지션들은 동일한 열 또는 동일한 행에서 순차적으로 배열된 것일 수 있다. 구체적인 업샘플링 방법에 대해서는 이하 도 8을 참조하여 살펴보기로 한다. Here, the integer position may refer to pixels of an integer unit of the corresponding picture to be upsampled. Alternatively, in the upsampling process, when interpolating in units of integer pixels or less, that is, in units of 1 / n pixels, n phases are generated, and at this time, zero phase positions (that is, n-fold integer pixels after interpolation) are generated. It may mean). Filtering on the integer position may be performed using the surrounding integer position. The surrounding integer position may be located in the same row or the same column as the currently filtered integer position. The surrounding integer position may include a plurality of integer positions belonging to the same row or the same column. Here, the plurality of integer positions may be sequentially arranged in the same column or the same row. A detailed upsampling method will be described below with reference to FIG. 8.
다만, 현재 레이어와 참조 레이어가 동일한 해상도를 가지는 경우에는 상술한 업샘플링 과정을 생략할 수 있다. 즉, 참조 레이어의 대응 픽쳐를 인터레이어 참조 픽쳐로 이용할 수 있다.However, when the current layer and the reference layer have the same resolution, the above upsampling process can be omitted. That is, the corresponding picture of the reference layer may be used as the interlayer reference picture.
S310 단계에서 생성된 인터레이어 참조 픽쳐 및 시간적 참조 픽쳐를 포함한 참조 픽쳐 리스트를 생성할 수 있다(S320).A reference picture list including an interlayer reference picture and a temporal reference picture generated in step S310 may be generated (S320).
먼저, 참조 픽쳐 리스트는 현재 픽쳐와 동일한 레이어에 속한 참조 픽쳐(이하, 시간적 참조 픽쳐라 한다.)를 포함할 수 있다. 상기 시간적 참조 픽쳐는 현재 픽쳐와 상이한 출력 순서(예를 들어, picture order count, POC)를 가진 픽쳐를 의미할 수 있다. 시간적 참조 픽쳐로 구성된 참조 픽쳐 리스트를 생성하는 방법에 대해서는 도 9 내지 도 11을 참조하여 살펴 보기로 한다.First, the reference picture list may include a reference picture (hereinafter, referred to as a temporal reference picture) belonging to the same layer as the current picture. The temporal reference picture may mean a picture having an output order different from the current picture (eg, picture order count, POC). A method of generating a reference picture list composed of temporal reference pictures will be described with reference to FIGS. 9 to 11.
한편, 현재 픽쳐가 레이어 간 예측을 수행하는 경우, 참조 픽쳐 리스트는 인터레이어 참조 픽쳐를 더 포함할 수 있다. 즉, 멀티레이어 구조(예를 들어, 스케일러블 비디오 코딩, 멀티-뷰 비디오 코딩)에서는 인핸스먼트 레이어의 참조 픽쳐로 동일 레이어의 참조 픽쳐뿐만 아니라 다른 레이어의 참조 픽쳐를 이용할 수 있다.Meanwhile, when the current picture performs inter-layer prediction, the reference picture list may further include an interlayer reference picture. That is, in a multilayer structure (eg, scalable video coding and multi-view video coding), a reference picture of the same layer as well as a reference picture of another layer may be used as a reference picture of the enhancement layer.
구체적으로, 참조 레이어에 속한 픽쳐를 참조 픽쳐로 사용할 수 있다. 여기서, 참조 레이어는 참조 레이어 식별자(RefPiclayerId)에 의해 식별될 수 있다. 참조 레이어 식별자는 슬라이스 헤더의 신택스 inter_layer_pred_layer_idc (이하, 인터레이어 지시자라 한다.)에 기초하여 유도될 수 있다. 인터레이어 지시자는 레이어 간 예측을 위해 현재 픽쳐에 의해 사용되는 픽쳐의 레이어를 나타낼 수 있다. 이와 같이, 참조 레이어 식별자에 의해 특정된 참조 레이어의 인터레이어 참조 픽쳐를 포함한 참조 픽쳐 리스트를 생성할 수 있다.In more detail, a picture belonging to a reference layer may be used as a reference picture. Here, the reference layer may be identified by a reference layer identifier RefPiclayerId. The reference layer identifier may be derived based on the syntax inter_layer_pred_layer_idc (hereinafter referred to as an interlayer indicator) of the slice header. The interlayer indicator may indicate a layer of a picture used by the current picture for inter-layer prediction. In this manner, a reference picture list including the interlayer reference picture of the reference layer specified by the reference layer identifier can be generated.
한편, S310 단계에서 살펴본 바와 같이, 인터레이어 참조 픽쳐는 제1 인터레이어 참조 픽쳐와 제2 인터레이어 참조 픽쳐 중 적어도 하나를 포함할 수 있다. 따라서, 제1 인터레이어 참조 픽쳐와 제2 인터레이어 참조 픽쳐 중 어느 하나를 포함한 참조 픽쳐 리스트를 생성할 수도 있고, 제1 인터레이어 참조 픽쳐와 제2 인터레이어 참조 픽쳐를 모두 포함한 참조 픽쳐 리스트를 생성할 수도 있다. Meanwhile, as described in operation S310, the interlayer reference picture may include at least one of the first interlayer reference picture and the second interlayer reference picture. Accordingly, a reference picture list including any one of a first interlayer reference picture and a second interlayer reference picture may be generated, and a reference picture list including both the first interlayer reference picture and the second interlayer reference picture is generated. You may.
제1 인터레이어 참조 픽쳐와 제2 인터레이어 참조 픽쳐의 선택적 이용을 위해, 픽쳐 단위로 제1 인터레이어 참조 픽쳐와 제2 인터레이어 참조 픽쳐를 모두 이용할 지, 아니면 그 중 어느 하나의 인터레이어 참조 픽쳐만을 이용할 지를 선택할 수 있다. 나아가, 제1 인터레이어 참조 픽쳐와 제2 인터레이어 참조 픽쳐 중 어느 하나만 선택하여 이용하는 경우에는 둘 중 어떤 인터레이어 참조 픽쳐를 사용할 지를 선택할 수 있다. 이를 위해 부호화 장치는 둘 중 어떤 인터레이어 참조 픽쳐를 사용할 지에 대한 정보를 시그날링할 수 있다.For selective use of the first interlayer reference picture and the second interlayer reference picture, whether to use both the first interlayer reference picture and the second interlayer reference picture on a picture basis, or any one of the interlayer reference pictures You can choose whether to use only. Furthermore, when only one of the first interlayer reference picture and the second interlayer reference picture is selected and used, it is possible to select which interlayer reference picture to use. To this end, the encoding apparatus may signal information about which of the two layer reference pictures to use.
또는, 상기 선택적 이용을 위해 참조 인덱스를 이용할 수도 있다. 구체적으로, 예측 블록 단위로 참조 인덱스에 의해 제1 인터레이어 참조 픽쳐만이 선택될 수 있고, 또는 제2 인터레이어 참조 픽쳐만이 선택될 수도 있으며, 제1 및 제2 인터레이어 참조 픽쳐가 모두 선택될 수도 있다.Alternatively, a reference index may be used for the selective use. Specifically, only the first interlayer reference picture may be selected by the reference index on a prediction block basis, or only the second interlayer reference picture may be selected, and both the first and second interlayer reference pictures are selected. May be
참조 픽쳐 리스트에 인터레이어 참조 픽쳐가 추가되는 경우, 참조 픽쳐 리스트에 배열되는 참조 픽쳐의 개수 또는 참조 픽쳐 별로 할당되는 참조 인덱스의 개수의 범위를 변경할 필요가 있다.When an interlayer reference picture is added to the reference picture list, it is necessary to change the range of the number of reference pictures arranged in the reference picture list or the number of reference indices allocated for each reference picture.
여기서, 베이스 레이어에 대한 참조 픽쳐 리스트의 참조 인덱스 최대값을 나타내는 슬라이스 헤더의 신택스인 num_ref_idx_l0_active_minus1과 num_ref_idx_l1_active_minus1의 범위가 0부터 14사이의 값을 가진다고 가정한다.Herein, it is assumed that the ranges of num_ref_idx_l0_active_minus1 and num_ref_idx_l1_active_minus1, which are syntaxes of the slice header indicating the maximum reference index of the reference picture list for the base layer, have a value between 0 and 14.
제1 인터레이어 참조 픽쳐와 제2 인터레이어 참조 픽쳐 중 어느 하나를 사용하는 경우에는 현재 레이어에 대한 참조 픽쳐 리스트의 참조 인덱스 최대값을 나타내는 신택스인 num_ref_idx_l0_active_minus1과 num_ref_idx_l1_active_minus1의 범위는 0부터 15 사이의 값으로 정의될 수 있다. 또는, 제1 인터레이어 참조 픽쳐와 제2 인터레이어 참조 픽쳐를 모두 사용하더라도, 2개의 인터레이어 참조 픽쳐가 각기 다른 참조 픽쳐 리스트에 추가되는 경우에는 num_ref_idx_l0_active_minus1과 num_ref_idx_l1_active_minus1의 범위가 0부터 15 사이의 값으로 정의될 수 있다.When using either the first interlayer reference picture or the second interlayer reference picture, the ranges of num_ref_idx_l0_active_minus1 and num_ref_idx_l1_active_minus1, which are the syntaxes representing the maximum reference index values of the reference picture list for the current layer, range from 0 to 15. Can be defined. Alternatively, even when both the first interlayer reference picture and the second interlayer reference picture are used, when two interlayer reference pictures are added to different reference picture lists, the range of num_ref_idx_l0_active_minus1 and num_ref_idx_l1_active_minus1 is a value between 0 and 15. Can be defined.
예를 들어, 참조 픽쳐 리스트 L0의 시간적 참조 픽쳐의 개수가 15개인 경우에는 제1 또는 제2 인터레이어 참조 픽쳐를 참조 픽쳐 리스트에 추가하면 총 16개의 참조 픽쳐가 존재하고, num_ref_idx_l0_active_minus1의 값은 15가 된다.For example, if the number of temporal reference pictures in the reference picture list L0 is 15, when the first or second interlayer reference picture is added to the reference picture list, 16 reference pictures exist in total, and the value of num_ref_idx_l0_active_minus1 is 15 do.
또는, 제1 인터레이어 참조 픽쳐와 제2 인터레이어 참조 픽쳐를 모두 사용하는 경우, 그리고 2개의 인터레이어 참조 픽쳐가 동일한 참조 픽쳐 리스트에 추가되는 경우에는 현재 레이어에 대한 참조 픽쳐 리스트의 참조 인덱스 최대값을 나타내는 신택스인 num_ref_idx_l0_active_minus1과 num_ref_idx_l1_active_minus1의 범위가 0부터 16 사이의 값으로 정의될 수도 있다.Alternatively, when both the first interlayer reference picture and the second interlayer reference picture are used, and when two interlayer reference pictures are added to the same reference picture list, the reference index maximum value of the reference picture list for the current layer is maximum. The ranges of num_ref_idx_l0_active_minus1 and num_ref_idx_l1_active_minus1, which are syntaxes that represent NNs, may be defined as values between 0 and 16.
예를 들어, 참조 픽쳐 리스트 L0의 시간적 참조 픽쳐의 개수가 15이고, 참조 픽쳐 리스트 L0에 제1 인터레이어 참조 픽쳐와 제2 인터레이어 참조 픽쳐를 추가하면 총 17개의 참조 픽쳐가 존재하고, num_ref_idx_l0_active_minus1의 값은 16이 된다.For example, if the number of temporal reference pictures in the reference picture list L0 is 15, and the first interlayer reference picture and the second interlayer reference picture are added to the reference picture list L0, a total of 17 reference pictures exist and num_ref_idx_l0_active_minus1 The value is 16.
S320 단계에서 생성된 참조 픽쳐 리스트에 기초하여 현재 픽쳐의 인터 예측을 수행할 수 있다(S330).Inter-prediction of the current picture may be performed based on the reference picture list generated in step S320 (S330).
구체적으로, 참조 픽쳐 리스트로부터 현재 블록의 참조 인덱스에 대응하는 참조 픽쳐를 선택한다. 선택된 참조 픽쳐는 현재 블록과 동일 레이어에 있는 시간적 참조 픽쳐 또는 인터 레이어 참조 픽쳐 (즉, 참조 레이어의 대응 픽쳐 또는 업샘플링된 대응 픽쳐)일 수 있다.Specifically, a reference picture corresponding to the reference index of the current block is selected from the reference picture list. The selected reference picture may be a temporal reference picture or an inter-layer reference picture (ie, a corresponding picture of the reference layer or an upsampled corresponding picture) in the same layer as the current block.
현재 블록의 모션 벡터에 기초하여 참조 픽쳐 내의 참조 블록을 특정하고, 특정된 참조 블록의 복원된 샘플값 또는 텍스쳐 정보를 이용하여 현재 블록의 샘플값 또는 텍스쳐 정보를 예측할 수 있다. A reference block in the reference picture may be specified based on the motion vector of the current block, and the sampled value or texture information of the current block may be predicted using the reconstructed sample value or texture information of the specified reference block.
현재 블록의 참조 인덱스에 대응하는 참조 픽쳐가 인터레이어 참조 픽쳐인 경우, 상기 참조 블록은 현재 블록과 동일 위치의 블록(이하, 콜 블록이라 한다.)일 수 있다. 이를 위해, 현재 블록의 참조 픽쳐가 인터레이어 참조 픽쳐인 경우에는 현재 블록의 모션 벡터를 (0,0)으로 설정할 수도 있다.When the reference picture corresponding to the reference index of the current block is an interlayer reference picture, the reference block may be a block at the same position as the current block (hereinafter, referred to as a call block). To this end, when the reference picture of the current block is an interlayer reference picture, the motion vector of the current block may be set to (0,0).
또는, 현재 블록의 참조 인덱스에 대응하는 참조 픽쳐가 인터레이어 참조 픽쳐인 경우, 상기 콜 블록에서 일정 오프셋만큼 이동한 위치의 블록을 참조 블록으로 이용할 수도 있으며, 이에 대해서는 도 12 내지 도 16을 참조하여 자세히 살펴 보기로 한다.Alternatively, when the reference picture corresponding to the reference index of the current block is an interlayer reference picture, a block of a position shifted by a predetermined offset in the call block may be used as a reference block, and this will be described with reference to FIGS. 12 to 16. Let's take a closer look.
도 4는 본 발명이 적용되는 일실시예로서, 레퍼런스 액티브 플래그에 기초하여 참조 레이어의 대응 픽쳐를 결정하는 방법을 도시한 것이며, 도 5는 본 발명이 적용되는 일실시예로서, 레퍼런스 액티브 플래그의 신택스 테이블을 도시한 것이다.4 illustrates a method of determining a corresponding picture of a reference layer based on a reference active flag as an embodiment to which the present invention is applied, and FIG. 5 is an embodiment to which the present invention is applied. A syntax table is shown.
도 4를 참조하면, 비트스트림으로부터 레퍼런스 액티브 플래그를 획득할 수 있다(S400). Referring to FIG. 4, a reference active flag may be obtained from a bitstream (S400).
레퍼런스 액티브 플래그(all_ref_layers_active_flag)는 현재 레이어와 다이렉트 디펜던시(direct dependency)를 갖는 모든 레이어의 대응 픽쳐가 현재 픽쳐의 레이어 간 예측에 이용된다는 제약이 적용되는지 여부를 나타낼 수 있다. 도 5를 참조하면, 상기 레퍼런스 액티브 플래그는 비디오 파라미터 세트(video parameter set)에서 획득될 수 있다.The reference active flag all_ref_layers_active_flag may indicate whether a constraint that the corresponding picture of all layers having direct dependency with the current layer is used for inter-layer prediction of the current picture is applied. Referring to FIG. 5, the reference active flag may be obtained from a video parameter set.
여기서, 현재 레이어와 다이렉트 디펜던시를 갖는 레이어인지 여부는 다이렉트 디펜던시 플래그(direct_dependency_flag[i][j])에 기초하여 결정될 수 있다. 다이렉트 디펜던시 플래그(direct_dependency_flag[i][j])는 j번째 레이어가 i번째 현재 레이어의 레이어 간 예측에 이용되는지 여부를 나타낼 수 있다.Here, whether the layer has a direct dependency on the current layer may be determined based on the direct dependency flag direct_dependency_flag [i] [j]. The direct dependency flag direct_dependency_flag [i] [j] may indicate whether the j th layer is used for inter-layer prediction of the i th current layer.
예를 들어, 다이렉트 디펜던시 플래그의 값이 1인 경우에는 j번째 레이어가 i번째 현재 레이어의 레이어 간 예측에 이용될 수 있고, 다이렉트 디펜던시 플래그의 값이 0인 경우에는 j번째 레이어가 i번째 현재 레이어의 레이어 간 예측에 이용되지 아니할 수 있다.For example, when the value of the direct dependency flag is 1, the j th layer may be used for inter-layer prediction of the i th current layer. When the value of the direct dependency flag is 0, the j th layer may be used. It may not be used for inter-layer prediction of the i th current layer.
레퍼런스 액티브 플래그의 값이 1인지 여부를 확인할 수 있다(S410).It may be checked whether the value of the reference active flag is 1 (S410).
레퍼런스 액티브 플래그의 값이 1인 경우, 현재 레이어와 다이렉트 디펜던시를 갖는 모든 레이어의 대응 픽쳐가 현재 픽쳐의 레이어 간 예측에 이용된다는 제약이 적용된다. 이 경우, 현재 레이어와 다이렉트 디펜던시를 갖는 모든 레이어의 대응 픽쳐는 현재 픽쳐의 참조 픽쳐 리스트에 포함될 수 있다. 따라서, 현재 레이어와 다이렉트 디펜던시를 갖는 모든 레이어의 대응 픽쳐를 현재 픽쳐의 레이어 간 예측에 이용되는 대응 픽쳐로 결정할 수 있다(S420).When the value of the reference active flag is 1, the constraint that the corresponding picture of all layers having direct dependency with the current layer is used for inter-layer prediction of the current picture is applied. In this case, corresponding pictures of all layers having direct dependency on the current layer may be included in a reference picture list of the current picture. Accordingly, the corresponding picture of all layers having direct dependency on the current layer may be determined as the corresponding picture used for inter-layer prediction of the current picture (S420).
반면, 레퍼런스 액티브 플래그의 값이 0인 경우, 현재 레이어와 다이렉트 디펜던시를 갖는 모든 레이어의 대응 픽쳐가 현재 픽쳐의 레이어 간 예측에 이용 된다는 제약이 적용되지 아니한다. 즉, 현재 레이어의 현재 픽쳐는 현재 레이어와 다이렉트 디펜던시를 갖는 모든 레이어의 대응 픽쳐를 이용하여 레이어 간 예측을 수행할 수도 있고, 현재 레이어와 다이렉트 디펜던시를 갖는 모든 레이어 중 일부 대응 픽쳐만을 선택적으로 이용하여 레이어 간 예측을 수행할 수도 있다. 즉, 레퍼런스 액티브 플래그의 값이 0인 경우, 현재 픽쳐의 참조 픽쳐 리스트에 현재 레이어와 다이렉트 디펜던시를 갖는 모든 레이어의 대응 픽쳐가 포함될 수도 있고, 일부 대응 픽쳐만이 선택적으로 포함될 수도 있다. 따라서, 현재 레이어와 다이렉트 디펜던시를 갖는 레이어 중 현재 픽쳐의 레이어 간 예측에 이용되는 대응 픽쳐를 특정할 필요가 있다. 이를 위해 현재 픽쳐에 대한 인터레이어 참조 정보를 획득할 수 있다(S430).On the other hand, when the value of the reference active flag is 0, the constraint that the corresponding picture of all layers having direct dependency with the current layer is used for inter-layer prediction of the current picture is not applied. That is, the current picture of the current layer may perform inter-layer prediction using corresponding pictures of all layers having direct dependency on the current layer, and only some corresponding pictures of all layers having direct dependency on the current layer may be used. Inter-layer prediction may be performed selectively. That is, when the value of the reference active flag is 0, the corresponding picture of all layers having direct dependency with the current layer may be included in the reference picture list of the current picture, or only some corresponding pictures may be selectively included. Therefore, it is necessary to specify the corresponding picture used for inter-layer prediction of the current picture among the layers having the current layer and direct dependency. To this end, interlayer reference information about the current picture may be obtained (S430).
여기서, 인터레이어 참조 정보는 인터레이어 예측 플래그, 참조 픽쳐의 개수 정보 또는 참조 레이어 식별자 중 적어도 하나를 포함할 수 있다. Here, the interlayer reference information may include at least one of an interlayer prediction flag, information on the number of reference pictures, or a reference layer identifier.
구체적으로, 인터레이어 예측 플래그는 현재 픽쳐의 복호화 과정에서 레이어 간 예측이 사용되는지 여부를 나타낼 수 있다. 참조 픽쳐의 개수 정보는 현재 픽쳐의 레이어 간 예측에 이용되는 대응 픽쳐의 개수를 나타낼 수 있다. 참조 픽쳐의 개수 정보는 코딩 효율을 위해 현재 픽쳐의 레이어 간 예측에 이용되는 대응 픽쳐의 개수에서 1을 뺀 값으로 부호화되어 시그날링될 수 있다. 참조 레이어 식별자는 현재 픽쳐의 레이어 간 예측을 위해 이용되는 대응 픽쳐가 포함된 레이어의 레이어 식별자(layerId)를 의미할 수 있다.In detail, the interlayer prediction flag may indicate whether inter-layer prediction is used in the decoding process of the current picture. The number information of the reference picture may indicate the number of corresponding pictures used for inter-layer prediction of the current picture. Information about the number of reference pictures may be encoded and signaled by subtracting 1 from the number of corresponding pictures used for inter-layer prediction of the current picture for coding efficiency. The reference layer identifier may mean a layer identifier (layerId) of a layer including a corresponding picture used for inter-layer prediction of the current picture.
상기 인터레이어 참조 정보를 획득하는 방법에 대해서는 도 6 및 도 7을 참조하여 살펴 보기로 한다.A method of obtaining the interlayer reference information will be described with reference to FIGS. 6 and 7.
S430에서 획득된 인터레이어 참조 정보에 기초하여 레이어 간 예측에 이용되는 대응 픽쳐를 결정할 수 있다(S440).A corresponding picture used for inter-layer prediction may be determined based on the interlayer reference information obtained in S430 (S440).
예를 들어, 현재 픽쳐의 인터 레이어 예측 플래그의 값이 1인 경우, 현재 픽쳐는 레이어 간 예측을 수행함을 의미한다. 이 경우, 현재 레이어와 다이렉트 디펜던시를 갖는 레이어 중에서 참조 레이어 식별자에 의해 특정된 레이어의 대응 픽쳐를 현재 픽쳐의 레이어 간 예측에 이용되는 대응 픽쳐로 결정할 수 있다. For example, when the value of the interlayer prediction flag of the current picture is 1, it means that the current picture performs inter-layer prediction. In this case, among the layers having direct dependency on the current layer, the corresponding picture of the layer specified by the reference layer identifier may be determined as the corresponding picture used for inter-layer prediction of the current picture.
한편, 현재 픽쳐의 인터 레이어 예측 플래그의 값이 0인 경우에는 현재 픽쳐가 레이어 간 예측을 수행하지 아니하므로, 현재 레이어와 다이렉트 디펜던시를 갖는 모든 레이어의 대응 픽쳐는 현재 픽쳐의 레이어 간 예측에 이용되지 아니할 것이다. On the other hand, when the value of the inter-layer prediction flag of the current picture is 0, since the current picture does not perform inter-layer prediction, corresponding pictures of all layers having direct dependency on the current layer are applied to inter-layer prediction of the current picture. Will not be used.
도 6은 본 발명이 적용되는 일실시예로서, 현재 픽쳐에 대한 인터레이어 참조 정보를 획득하는 방법을 도시한 것이고, 도 7은 본 발명이 적용되는 일실시예로서, 인터레이어 참조 정보의 신택스 테이블을 도시한 것이다.FIG. 6 is a diagram illustrating a method of obtaining interlayer reference information on a current picture, according to an embodiment to which the present invention is applied; FIG. It is shown.
도 6을 참조하면, 레퍼런스 액티브 플래그에 기초하여 인터레이어 예측 플래그를 획득할 수 있다(S600). Referring to FIG. 6, an interlayer prediction flag may be obtained based on a reference active flag (S600).
도 7을 참조하면, 인터레이어 예측 플래그(inter_layer_pred_enabled_flag)는 상기 레퍼런스 액티브 플래그(all_ref_layers_active_flag)의 값이 0인 경우에 한하여 획득될 수 있다(S700). Referring to FIG. 7, the interlayer prediction flag inter_layer_pred_enabled_flag may be obtained only when the value of the reference active flag all_ref_layers_active_flag is 0 (S700).
레퍼런스 액티브 플래그의 값이 1인 경우, 이는 현재 레이어와 다이렉트 디펜던시를 갖는 모든 레이어의 대응 픽쳐가 현재 픽쳐의 레이어 간 예측에 이용됨을 의미할 수 있다. 따라서, 이러한 경우에는 현재 픽쳐의 헤더 정보(예를 들어, 슬라이스 세그먼트 헤더)에서 인터레이어 예측 플래그를 시그날링할 필요가 없다.When the value of the reference active flag is 1, this may mean that corresponding pictures of all layers having direct dependency on the current layer are used for inter-layer prediction of the current picture. Thus, in this case, there is no need to signal the interlayer prediction flag in the header information (eg, slice segment header) of the current picture.
또한, 도 7을 참조하면, 현재 픽쳐가 포함된 현재 레이어의 레이어 식별자(nuh_layer_id)가 0보다 큰 경우에 상기 인터레이어 예측 플래그를 획득할 수 있다. 현재 레이어의 레이어 식별자가 0인 경우, 현재 레이어는 멀티레이어 중 레이어 간 예측을 수행하지 않는 베이스 레이어에 해당하기 때문이다. In addition, referring to FIG. 7, when the layer identifier nuh_layer_id of the current layer including the current picture is greater than 0, the interlayer prediction flag may be obtained. This is because, when the layer identifier of the current layer is 0, the current layer corresponds to a base layer which does not perform inter-layer prediction in the multilayer.
또한, 도 7을 참조하면, 인터레이어 예측 플래그는 현재 레이어와 다이렉트 디펜던시를 갖는 레이어의 개수(NumDirectRefLayers)가 적어도 하나 이상인 경우에 획득될 수 있다. 이는 현재 레이어와 다이렉트 디펜던시를 갖는 레이어가 없는 경우, 현재 레이어의 모든 픽쳐는 레이어 간 예측을 수행하지 않기 때문이다.In addition, referring to FIG. 7, the interlayer prediction flag may be obtained when the number NumDirectRefLayers of the layers having direct dependency with the current layer is at least one. This is because when there is no layer having direct dependency on the current layer, all pictures of the current layer do not perform inter-layer prediction.
도 6을 참조하면, S600에서 획득된 인터레이어 예측 플래그의 값이 1인지 여부를 확인할 수 있다(S610).Referring to FIG. 6, it may be determined whether the value of the interlayer prediction flag acquired in S600 is 1 (S610).
S610의 확인 결과, 인터레이어 예측 플래그의 값이 1인 경우, 참조 픽쳐의 개수 정보를 획득할 수 있다(S620).As a result of checking in S610, when the value of the interlayer prediction flag is 1, information about the number of reference pictures may be obtained (S620).
도 4에서 살펴본 바와 같이, 참조 픽쳐의 개수 정보는 현재 레이어와 다이렉트 디펜던시를 갖는 레이어의 대응 픽쳐 중에서 현재 픽쳐의 레이어 간 예측에 이용되는 대응 픽쳐의 개수를 나타낼 수 있다. As illustrated in FIG. 4, the number information of the reference picture may indicate the number of corresponding pictures used for inter-layer prediction of the current picture among the corresponding pictures of the layer having direct dependency with the current layer.
따라서, 도 7을 참조하면, 현재 레이어와 다이렉트 디펜던시를 갖는 레이어의 개수(NumDirectRefLayers)가 1개인 경우에는 현재 픽쳐의 레이어 간 예측에 이용되는 대응 픽쳐의 개수가 1개를 초과할 수 없으므로, 참조 픽쳐의 개수 정보(num_inter_layer_ref_pics_minus1)를 시그날링할 필요가 없다. 이 경우, 참조 픽쳐의 개수 정보는 획득되지 아니할 수 있고, 현재 픽쳐의 레이어 간 예측에 이용되는 대응 픽쳐의 개수는 1개로 유도될 수 있다.Therefore, referring to FIG. 7, when the number of layers (NumDirectRefLayers) having direct dependency is one, the number of corresponding pictures used for inter-layer prediction of the current picture cannot exceed one. It is not necessary to signal the number information (num_inter_layer_ref_pics_minus1) of the reference picture. In this case, the number information of the reference picture may not be obtained, and the number of corresponding pictures used for inter-layer prediction of the current picture may be derived as one.
한편, 참조 픽쳐의 개수 정보는 최대 액티브 레퍼런스 플래그에 기초하여 제한적으로 획득될 수 있다. Meanwhile, the number information of the reference picture may be obtained limitedly based on the maximum active reference flag.
여기서, 최대 액티브 레퍼런스 플래그는 현재 픽쳐의 레이어 간 예측을 위해 최대 하나의 대응 픽쳐만이 사용되는지 여부를 나타낼 수 있다. 예를 들어, 최대 액티브 레퍼런스 플래그의 값이 1인 경우, 현재 픽쳐는 최대 하나의 대응 픽쳐만을 이용하여 레이어 간 예측을 수행하며, 최대 액티브 레퍼런스 플래그의 값이 0인 경우, 현재 픽쳐는 하나 이상의 대응 픽쳐를 이용하여 레이어 간 예측을 수행할 수 있다.Here, the maximum active reference flag may indicate whether only at least one corresponding picture is used for inter-layer prediction of the current picture. For example, when the value of the maximum active reference flag is 1, the current picture performs inter-layer prediction using only at least one corresponding picture. When the value of the maximum active reference flag is 0, the current picture is one or more corresponding. Inter-layer prediction may be performed using a picture.
도 7을 참조하면, 참조 픽쳐의 개수 정보는 최대 액티브 레퍼런스 플래그(max_one_active_ref_layer_flag)의 값이 0인 경우에 한하여 획득될 수 있다. 즉, 최대 액티브 레퍼런스 플래그의 값이 1인 경우에는 현재 픽쳐의 레이어 간 예측에 이용되는 대응 픽쳐의 개수가 1개로 제한되기 때문에 참조 픽쳐의 개수 정보를 시그날링할 필요가 없기 때문이다.Referring to FIG. 7, the number information of the reference picture may be obtained only when the value of the maximum active reference flag max_one_active_ref_layer_flag is 0. That is, when the value of the maximum active reference flag is 1, since the number of corresponding pictures used for inter-layer prediction of the current picture is limited to one, it is not necessary to signal the number information of the reference picture.
도 6을 참조하면, S620에서 획득된 참조 픽쳐의 개수 정보에 기초하여 참조 레이어 식별자를 획득할 수 있다(S630).Referring to FIG. 6, a reference layer identifier may be obtained based on the number information of the reference pictures obtained in S620 (S630).
구체적으로, 도 7을 참조하면, 현재 레이어와 다이렉트 디펜던시를 갖는 레이어의 대응 픽쳐 중 현재 픽쳐의 레이어 간 예측에 이용되는 대응 픽쳐의 개수(NumActiveRefLayerPics)와 현재 레이어와 다이렉트 디펜던시를 갖는 레이어의 개수(NumDirectRefLayers)가 상이한 경우에 참조 레이어 식별자를 획득할 수 있다. 여기서, 변수 NumActiveRefLayerPics는 참조 픽쳐의 개수 정보로부터 유도될 수 있다. 예를 들어, 참조 픽쳐의 개수 정보가 현재 픽쳐의 레이어 간 예측에 이용되는 대응 픽쳐의 개수에서 1을 뺀 값으로 부호화된 경우, 상기 변수 NumActiveRefLayerPics는 S620에서 획득된 참조 픽쳐의 개수 정보에 1을 더한 값으로 유도될 수 있다.Specifically, referring to FIG. 7, the number of corresponding pictures (NumActiveRefLayerPics) used for inter-layer prediction of the current picture among the corresponding pictures of the layer having the direct dependency with the current layer, and the layer having the direct dependency with the current layer. When the number NumDirectRefLayers is different, a reference layer identifier may be obtained. Here, the variable NumActiveRefLayerPics may be derived from the number information of the reference picture. For example, when information on the number of reference pictures is encoded by subtracting 1 from the number of corresponding pictures used for inter-layer prediction of the current picture, the variable NumActiveRefLayerPics adds 1 to the information on the number of reference pictures acquired in S620. Can be derived from a value.
만일 변수 NumActiveRefLayerPics와 변수 NumDirectRefLayers가 동일한 경우, 이는 현재 레이어와 다이렉트 디펜던시를 갖는 레이어의 대응 픽쳐가 현재 픽쳐의 레이어 간 예측에 이용되는 대응 픽쳐가 됨을 의미한다. 따라서, 참조 레이어 식별자를 시그날링할 필요가 없다. If the variable NumActiveRefLayerPics and the variable NumDirectRefLayers are the same, this means that the corresponding picture of the layer having direct dependency on the current layer becomes the corresponding picture used for inter-layer prediction of the current picture. Thus, there is no need to signal the reference layer identifier.
도 8은 본 발명이 적용되는 일실시예로서, 참조 레이어의 대응 픽쳐를 업샘플링하는 방법을 도시한 순서도이다.8 is a flowchart illustrating a method of upsampling a corresponding picture of a reference layer according to an embodiment to which the present invention is applied.
도 8을 참조하면, 현재 레이어의 현재 샘플 위치에 대응하는 참조 레이어의 참조 샘플 위치를 유도할 수 있다(S800).Referring to FIG. 8, a reference sample position of a reference layer corresponding to the current sample position of the current layer may be derived (S800).
현재 레이어와 참조 레이어의 해상도가 상이할 수 있으므로, 양자간의 해상도 차이를 고려하여 현재 샘플 위치에 대응하는 참조 샘플 위치를 유도할 수 있다. 즉, 현재 레이어의 픽쳐와 참조 레이어의 픽쳐 간의 가로/세로 비율을 고려할 수 있다. 또한, 참조 레이어의 업샘플링된 픽쳐가 현재 레이어의 픽쳐와 크기가 일치하지 않을 경우가 발생할 수도 있으므로, 이를 보정하기 위한 오프셋이 요구될 수도 있다.Since the resolutions of the current layer and the reference layer may be different, the reference sample position corresponding to the current sample position may be derived in consideration of the resolution difference between the two. That is, the aspect ratio may be considered between the picture of the current layer and the picture of the reference layer. In addition, since a case where an upsampled picture of the reference layer does not match the size of the picture of the current layer may occur, an offset for correcting this may be required.
예를 들어, 참조 샘플 위치는 스케일 팩터와 업샘플링된 참조 레이어 오프셋을 고려하여 유도될 수 있다. For example, the reference sample position may be derived in consideration of the scale factor and the upsampled reference layer offset.
여기서, 스케일 팩터는 현재 레이어의 현재 픽쳐와 참조 레이어의 대응 픽쳐 간의 너비와 높이의 비율에 기초하여 산출될 수 있다. Here, the scale factor may be calculated based on a ratio of the width and the height between the current picture of the current layer and the corresponding picture of the reference layer.
업샘플링된 참조 레이어 오프셋은 현재 픽쳐의 가장자리에 위치한 어느 하나의 샘플과 인터레이어 참조 픽쳐의 가장자리에 위치한 어느 하나의 샘플 간의 위치 차이 정보를 의미할 수 있다. 예를 들어, 업샘플링된 참조 레이어 오프셋은 현재 픽쳐의 좌상단 샘플과 인터레이어 참조 픽쳐의 좌상단 샘플 간의 수평/수직 방향으로의 위치 차이 정보 및 현재 픽쳐의 우하단 샘플과 인터레이어 참조 픽쳐의 우하단 샘플 간의 수평/수직 방향으로의 위치 차이 정보를 포함할 수 있다.The upsampled reference layer offset may mean position difference information between any one sample located at the edge of the current picture and any one sample located at the edge of the interlayer reference picture. For example, the upsampled reference layer offset includes horizontal position information in the horizontal / vertical direction between the upper left sample of the current picture and the upper left sample of the interlayer reference picture, and the lower right sample of the current picture and the lower right sample of the interlayer reference picture. Position difference information in the horizontal / vertical direction of the liver may be included.
업샘플링된 참조 레이어 오프셋은 비트스트림으로부터 획득될 수 있다. 예를 들어, 업샘플링된 참조 레이어 오프셋은 비디오 파라미터 세트(Video Parameter Set), 시퀀스 파라미터 세트(Sequence Parameter Set), 픽쳐 파라미터 세트(Picture Parameter Set), 슬라이스 헤더(Slice Header) 중 적어도 하나로부터 획득될 수 있다.The upsampled reference layer offset may be obtained from the bitstream. For example, the upsampled reference layer offset may be obtained from at least one of a video parameter set, a sequence parameter set, a picture parameter set, and a slice header. Can be.
S800에서 유도된 참조 샘플 위치의 위상을 고려하여 업샘플링 필터의 필터 계수를 결정할 수 있다(S810).The filter coefficient of the upsampling filter may be determined in consideration of the phase of the reference sample position derived in S800 (S810).
여기서, 업샘플링 필터는 고정된 업샘플링 필터와 적응적 업샘플링 필터 중 어느 하나가 이용될 수 있다.Here, the upsampling filter may be any one of a fixed upsampling filter and an adaptive upsampling filter.
1. 고정된 업샘플링 필터1. Fixed Upsampling Filter
고정된 업샘플링 필터는 영상의 특징을 고려하지 아니하고, 기 결정된 필터 계수를 가진 업샘플링 필터를 의미할 수 있다. 고정된 업샘플링 필터로 tap 필터가 이용될 수 있으며, 이는 휘도 성분과 색차 성분에 대해서 각각 정의될 수 있다. 이하 표 1 내지 표 2를 참조하여 1/16 샘플 단위의 정확도를 가진 고정된 업샘플링 필터를 살펴 보기로 한다.The fixed upsampling filter may mean an upsampling filter having a predetermined filter coefficient without considering the feature of the image. A tap filter may be used as the fixed upsampling filter, which may be defined for the luminance component and the chrominance component, respectively. Hereinafter, a fixed upsampling filter having an accuracy of 1/16 sample units will be described with reference to Tables 1 to 2.
표 1
위상 p 보간 필터 계수
f[p, 0] f[p, 1] f[p, 2] f[p, 3] f[p, 4] f[p, 5] f[p, 6] f[p, 7]
0 0 0 0 64 0 0 0 0
1 0 1 -3 63 4 -2 1 0
2 -1 2 -5 62 8 -3 1 0
3 -1 3 -8 60 13 -4 1 0
4 -1 4 -10 58 17 -5 1 0
5 -1 4 -11 52 26 -8 3 -1
6 -1 3 -3 47 31 -10 4 -1
7 -1 4 -11 45 34 -10 4 -1
8 -1 4 -11 40 40 -11 4 -1
9 -1 4 -10 34 45 -11 4 -1
10 -1 4 -10 31 47 -9 3 -1
11 -1 3 -8 26 52 -11 4 -1
12 0 1 -5 17 58 -10 4 -1
13 0 1 -4 13 60 -8 3 -1
14 0 1 -3 8 62 -5 2 -1
15 0 1 -2 4 63 -3 1 0
Table 1
Phase p Interpolation filter coefficients
f [p, 0] f [p, 1] f [p, 2] f [p, 3] f [p, 4] f [p, 5] f [p, 6] f [p, 7]
0 0 0 0 64 0 0 0 0
One 0 One -3 63 4 -2 One 0
2 -One 2 -5 62 8 -3 One 0
3 -One 3 -8 60 13 -4 One 0
4 -One 4 -10 58 17 -5 One 0
5 -One 4 -11 52 26 -8 3 -One
6 -One 3 -3 47 31 -10 4 -One
7 -One 4 -11 45 34 -10 4 -One
8 -One 4 -11 40 40 -11 4 -One
9 -One 4 -10 34 45 -11 4 -One
10 -One 4 -10 31 47 -9 3 -One
11 -One 3 -8 26 52 -11 4 -One
12 0 One -5 17 58 -10 4 -One
13 0 One -4 13 60 -8 3 -One
14 0 One -3 8 62 -5 2 -One
15 0 One -2 4 63 -3 One 0
표 1은 휘도 성분에 대한 고정된 업샘플링 필터의 필터 계수를 정의한 테이블이다.Table 1 is a table that defines the filter coefficients of the fixed upsampling filter for the luminance component.
상기 표 1에서 보듯이, 휘도 성분에 대한 업샘플링의 경우, 8-tap 필터가 적용된다. 즉, 현재 레이어의 현재 샘플에 대응하는 참조 레이어의 참조 샘플 및 상기 참조 샘플에 인접한 이웃 샘플을 이용하여 인터폴레이션을 수행할 수 있다. 여기서, 이웃 샘플은 인터폴레이션을 수행하는 방향에 따라 특정될 수 있다. 예를 들어, 수평 방향으로 인터폴레이션을 수행하는 경우, 상기 이웃 샘플은 참조 샘플을 기준으로 좌측으로 연속적인 3개의 샘플 및 우측으로 연속적인 4개의 샘플을 포함할 수 있다. 또는, 수직 방향으로 인터폴레이션을 수행하는 경우, 상기 이웃 샘플은 상기 참조 샘플을 기준으로 상단으로 연속적인 3개의 샘플 및 하단으로 연속적인 4개의 샘플을 포함할 수 있다.As shown in Table 1, in the case of upsampling the luminance component, an 8-tap filter is applied. That is, interpolation may be performed using a reference sample of a reference layer corresponding to the current sample of the current layer and a neighboring sample adjacent to the reference sample. Here, the neighbor sample may be specified according to the direction in which interpolation is performed. For example, when performing interpolation in the horizontal direction, the neighboring sample may include three consecutive samples to the left and four consecutive samples to the right based on the reference sample. Alternatively, when performing interpolation in the vertical direction, the neighboring sample may include three consecutive samples at the top and four consecutive samples at the bottom based on the reference sample.
그리고, 1/16 샘플 단위의 정확도로 인터폴레이션을 수행하므로, 총 16개의 위상이 존재한다. 이는 2배, 1.5배 등 다양한 배율의 해상도를 지원하기 위한 것이다. In addition, since interpolation is performed with an accuracy of 1/16 samples, there are 16 phases in total. This is to support resolutions of various magnifications such as 2 times and 1.5 times.
또한, 고정된 업샘플링 필터는 각 위상(p) 별로 상이한 필터 계수를 사용할 수 있다. 위상(p)이 0인 경우를 제외하고, 각각의 필터 계수의 크기는 0 내지 63의 범위에 속하도록 정의될 수 있다. 이는 6bits의 정밀도를 가지고 필터링을 수행함을 의미한다. 여기서, 위상(p)이 0이라 함은 1/n 샘플 단위로 인터폴레이션 하는 경우, n배수의 정수 샘플의 위치를 의미한다.In addition, the fixed upsampling filter may use different filter coefficients for each phase p. Except in the case where phase p is zero, the magnitude of each filter coefficient may be defined to fall in the range of 0 to 63. This means that the filtering is performed with a precision of 6 bits. Here, a phase p of 0 means a position of an integer multiple of n times when interpolated in units of 1 / n samples.
표 2
위상 p 보간 필터 계수
f[p, 0] f[p, 1] f[p, 2] f[p, 3]
0 0 64 0 0
1 -2 62 4 0
2 -2 58 10 -2
3 -4 56 14 -2
4 -4 54 16 -2
5 -6 52 20 -2
6 -6 46 28 -4
7 -4 42 30 -4
8 -4 36 36 -4
9 -4 30 42 -4
10 -4 28 46 -6
11 -2 20 52 -6
12 -2 16 54 -4
13 -2 14 56 -4
14 -2 10 58 -2
15 0 4 62 -2
TABLE 2
Phase p Interpolation filter coefficients
f [p, 0] f [p, 1] f [p, 2] f [p, 3]
0 0 64 0 0
One -2 62 4 0
2 -2 58 10 -2
3 -4 56 14 -2
4 -4 54 16 -2
5 -6 52 20 -2
6 -6 46 28 -4
7 -4 42 30 -4
8 -4 36 36 -4
9 -4 30 42 -4
10 -4 28 46 -6
11 -2 20 52 -6
12 -2 16 54 -4
13 -2 14 56 -4
14 -2 10 58 -2
15 0 4 62 -2
표 2는 색차 성분에 대한 고정된 업샘플링 필터의 필터 계수를 정의한 테이블이다.Table 2 is a table that defines the filter coefficients of the fixed upsampling filter for the chrominance components.
표 2에서 보듯이, 색차 성분에 대한 업샘플링의 경우, 휘도 성분과 달리 4-tap 필터가 적용될 수 있다. 즉, 현재 레이어의 현재 샘플에 대응하는 참조 레이어의 참조 샘플 및 상기 참조 샘플에 인접한 이웃 샘플을 이용하여 인터폴레이션을 수행할 수 있다. 여기서, 이웃 샘플은 인터폴레이션을 수행하는 방향에 따라 특정될 수 있다. 예를 들어, 수평 방향으로 인터폴레이션을 수행하는 경우, 상기 이웃 샘플은 참조 샘플을 기준으로 좌측으로 연속적인 1개의 샘플 및 우측으로 연속적인 2개의 샘플을 포함할 수 있다. 또는, 수직 방향으로 인터폴레이션을 수행하는 경우, 상기 이웃 샘플은 상기 참조 샘플을 기준으로 상단으로 연속적인 1개의 샘플 및 하단으로 연속적인 2개의 샘플을 포함할 수 있다.As shown in Table 2, in the case of upsampling for the chrominance component, a 4-tap filter may be applied unlike the luminance component. That is, interpolation may be performed using a reference sample of a reference layer corresponding to the current sample of the current layer and a neighboring sample adjacent to the reference sample. Here, the neighbor sample may be specified according to the direction in which interpolation is performed. For example, when performing interpolation in the horizontal direction, the neighboring sample may include one sample to the left and two samples to the right based on the reference sample. Alternatively, when performing interpolation in the vertical direction, the neighboring sample may include one sample continuous to the top and two samples continuous to the bottom based on the reference sample.
한편, 휘도 성분과 마찬가지로 1/16 샘플 단위의 정확도로 인터폴레이션을 수행하므로 총 16개의 위상이 존재하며, 각 위상(p) 별로 상이한 필터 계수를 사용할 수 있다. 그리고, 위상(p)이 0인 경우를 제외하고 각각의 필터 계수의 크기는 0 내지 62의 범위에 속하도록 정의될 수 있다. 이 역시 6bits의 정밀도를 가지고 필터링을 수행함을 의미한다.Meanwhile, since the interpolation is performed with the accuracy of 1/16 sample unit like the luminance component, a total of 16 phases exist, and different filter coefficients may be used for each phase p. And, except for the case where the phase p is 0, the magnitude of each filter coefficient may be defined to be in the range of 0 to 62. This also means filtering with 6bits precision.
앞서 휘도 성분에 대해서는 8-tap 필터가, 색차 성분에 대해서는 4-tap 필터가 각각 적용되는 경우를 예로 들어 살펴 보았으나, 이에 한정되지 아니하며, tap 필터의 차수는 코딩 효율을 고려하여 가변적으로 결정될 수 있음은 물론이다.Although an example in which an 8-tap filter is applied to the luminance component and a 4-tap filter to the chrominance component has been described as an example, the present invention is not limited thereto, and the order of the tap filter may be variably determined in consideration of coding efficiency. Of course.
2. 적응적 업샘플링 필터2. Adaptive Upsampling Filter
고정된 필터 계수를 사용하지 아니하고, 영상의 특징을 고려하여 인코더에서 최적의 필터 계수를 결정하고, 이를 시그날링하여 디코더로 전송할 수 있다. 이와 같이 인코더에서 적응적으로 결정된 필터 계수를 이용하는 것이 적응적 업샘플링 필터이다. 픽쳐 단위로 영상의 특징이 다르기 때문에, 모든 경우에 고정된 업샘플링 필터를 사용하는 것보다 영상의 특징을 잘 표현할 수 있는 적응적 업샘플링 필터를 사용하면 코딩 효율을 향상시킬 수 있다.Instead of using fixed filter coefficients, an optimal filter coefficient may be determined by an encoder in consideration of characteristics of an image, signaled, and transmitted to a decoder. In this way, the adaptive upsampling filter uses the filter coefficients that are adaptively determined in the encoder. Since the characteristics of the image are different in picture units, coding efficiency can be improved by using an adaptive upsampling filter that can express the characteristics of the image better than using a fixed upsampling filter in all cases.
S810 단계에서 결정된 필터 계수를 참조 레이어의 대응 픽쳐에 적용하여 인터레이어 참조 픽쳐를 생성할 수 있다(S820).The interlayer reference picture may be generated by applying the filter coefficient determined in operation S810 to the corresponding picture of the reference layer (S820).
구체적으로, 결정된 업샘플링 필터의 필터 계수를 대응 픽쳐의 샘플들에 적용하여 인터폴레이션을 수행할 수 있다. 여기서, 인터폴레이션은 1차적으로 수평 방향으로 수행하고, 수평 방향의 인터폴레이션 후 생성된 샘플에 대해서 2차적으로 수직 방향으로 수행될 수 있다.Specifically, interpolation may be performed by applying the determined filter coefficients of the upsampling filter to samples of the corresponding picture. Here, the interpolation may be performed primarily in the horizontal direction, and may be performed in the vertical direction secondary to the sample generated after the horizontal interpolation.
도 9는 본 발명이 적용되는 일실시예로서, 디코딩 픽쳐 버퍼에 저장되는 근거리 참조 픽쳐를 특정하는 방법을 도시한 것이다.FIG. 9 illustrates a method of specifying a near reference picture stored in a decoding picture buffer as an embodiment to which the present invention is applied.
시간적 참조 픽쳐는 디코딩 픽쳐 버퍼(DPB)에 저장될 수 있고, 현재 픽쳐의 인터 예측을 위해 필요한 경우에 참조 픽쳐로 이용될 수 있다. 디코딩 픽쳐 버퍼에 저장된 시간적 참조 픽쳐는 근거리 참조 픽쳐(short-term reference picture)를 포함할 수 있다. 근거리 참조 픽쳐는 현재 픽쳐와 POC 값의 차이가 크지 않은 픽쳐를 의미한다.The temporal reference picture may be stored in a decoded picture buffer (DPB) and used as a reference picture when necessary for inter prediction of the current picture. The temporal reference picture stored in the decoding picture buffer may include a short-term reference picture. The near reference picture refers to a picture in which the difference between the current picture and the POC value is not large.
현재 시점에서 디코딩 픽쳐 버퍼에 저장해야 하는 근거리 참조 픽쳐를 특정하는 정보는 참조 픽쳐의 출력 순서(POC)와 현재 픽쳐에서 직접 참조하는지 여부를 나타내는 플래그(예를 들어, used_by_curr_pic_s0_flag, used_by_curr_pic_s1_flag)로 구성되어 있고, 이를 참조 픽쳐 세트(reference picture set)라 한다. 구체적으로 상기 used_by_curr_pic_s0_flag[i]의 값이 0인 경우, 근거리 참조 픽쳐 세트 중 i번째 근거리 참조 픽쳐가 현재 픽쳐의 출력 순서(POC)보다 작은 값을 가지면, i번째 근거리 참조 픽쳐는 현재 픽쳐의 참조 픽쳐로 사용되지 아니함을 나타낸다. 그리고, 상기 used_by_curr_pic_s1_flag[i]의 값이 0인 경우, 근거리 참조 픽쳐 세트 중 i번째 근거리 참조 픽쳐가 현재 픽쳐의 출력 순서(POC)보다 큰 값을 가지면, i번째 근거리 참조 픽쳐는 현재 픽쳐의 참조 픽쳐로 사용되지 아니함을 나타낸다.The information specifying the near reference picture that should be stored in the decoding picture buffer at the present time is composed of the output order (POC) of the reference picture and a flag indicating whether the current picture is directly referenced (for example, used_by_curr_pic_s0_flag and used_by_curr_pic_s1_flag). This is called a reference picture set. Specifically, when the value of the used_by_curr_pic_s0_flag [i] is 0, when the i-th near-reference picture of the near-reference picture set has a value smaller than the output order (POC) of the current picture, the i-th near-reference picture is the reference picture of the current picture. Not used. When the value of the used_by_curr_pic_s1_flag [i] is 0, when the i th near reference picture of the near reference picture set has a value larger than the output order (POC) of the current picture, the i th near reference picture is the reference picture of the current picture. Not used.
도 9를 참조하면, POC 값이 26인 픽쳐의 경우, 인터 예측 시 근거리 참조 픽쳐로 모두 3개의 픽쳐(즉, POC 값이 25, 24, 20인 픽쳐)가 이용될 수 있다. 다만, POC 값이 25인 픽쳐의 used_by_curr_pic_s0_flag 값은 0이므로, POC 값이 25인 픽쳐는 POC 값이 26인 픽쳐의 인터 예측에 직접적으로 사용되지 않는다.Referring to FIG. 9, in the case of a picture having a POC value of 26, all three pictures (that is, pictures having POC values of 25, 24, and 20) may be used as a near reference picture in inter prediction. However, since the used_by_curr_pic_s0_flag value of a picture having a POC value of 25 is 0, a picture having a POC value of 25 is not directly used for inter prediction of a picture having a POC value of 26.
이와 같이 참조 픽쳐의 출력 순서(POC)와 현재 픽쳐에 의해서 참조 픽쳐로 이용되는지 여부를 나타내는 플래그에 기초하여 근거리 참조 픽쳐를 특정할 수 있다. In this way, the near-field reference picture can be specified based on the output order (POC) of the reference picture and a flag indicating whether the reference picture is used as the reference picture.
한편, 현재 픽쳐에 대한 참조 픽쳐 세트에 나타나 있지 않은 픽쳐에 대해서는 참조 픽쳐로 사용하지 않는다는 표시(예를 들어, unused for reference)를 할 수 있고, 나아가 디코딩 픽쳐 버퍼에서 제거할 수도 있다.On the other hand, for a picture not shown in the reference picture set for the current picture, an indication (eg, unused for reference) that is not used as a reference picture can be made, and further removed from the decoding picture buffer.
도 10은 본 발명이 적용되는 일실시예로서, 장거리 참조 픽쳐(long-term reference picture)를 특정하는 방법을 도시한 것이다.FIG. 10 illustrates a method of specifying a long-term reference picture as an embodiment to which the present invention is applied.
장거리 참조 픽쳐의 경우에는 현재 픽쳐와 POC 값의 차이가 크기 때문에 POC 값의 최하위 비트(least significant bit, LSB)와 최상위 비트(most significant bit, MSB)를 이용하여 표현할 수 있다. In the case of a long-range reference picture, since the difference between the current picture and the POC value is large, it can be expressed using a least significant bit (LSB) and a most significant bit (MSB) of the POC value.
따라서, 장거리 참조 픽쳐의 POC 값은 참조 픽쳐의 POC 값의 LSB 값, 현재 픽쳐의 POC 값 및 현재 픽쳐의 POC 값의 MSB와 참조 픽쳐의 POC 값의 MSB 간의 차이를 이용하여 유도될 수 있다.Accordingly, the POC value of the long range reference picture may be derived using a difference between the LSB value of the POC value of the reference picture, the POC value of the current picture, and the MSB of the POC value of the current picture and the MSB of the POC value of the reference picture.
예를 들어, 현재 픽쳐의 POC 값이 331이고, LSB로 표현 가능한 최대값이 32이며, 장거리 참조 픽쳐로 POC 값이 308인 픽쳐가 이용된다고 가정한다.For example, it is assumed that a POC value of the current picture is 331, a maximum value that can be represented by the LSB is 32, and a picture having a POC value of 308 is used as the long distance reference picture.
이 경우, 현재 픽쳐의 POC 값인 331은 32*10+11로 표현할 수 있으며, 이때 10이 MSB 값이 되고, 11이 LSB 값이 된다. 장거리 참조 픽쳐의 POC 값인 308은 32*9+20으로 표현되며, 이때 9는 MSB 값이 되고, 20은 LSB 값이 된다. 이때 장거리 참조 픽쳐의 POC 값은 도 10에 도시된 수식과 같이 유도될 수 있다.In this case, 331, which is a POC value of the current picture, may be expressed as 32 * 10 + 11, where 10 is an MSB value and 11 is an LSB value. The POC value of the long range reference picture 308 is expressed as 32 * 9 + 20, where 9 is an MSB value and 20 is an LSB value. In this case, the POC value of the long range reference picture may be derived as shown in FIG. 10.
도 11은 본 발명이 적용되는 일실시예로서, 근거리 참조 픽쳐와 장거리 참조 픽쳐를 이용하여 참조 픽쳐 리스트를 구성하는 방법을 도시한 것이다.FIG. 11 illustrates a method of constructing a reference picture list using a near reference picture and a long range reference picture as an embodiment to which the present invention is applied.
도 11을 참조하면, 시간적 참조 픽쳐를 포함한 참조 픽쳐 리스트는 시간적 참조 픽쳐가 근거리 참조 픽쳐인지 여부와 근거리 참조 픽쳐의 POC 값을 고려하여 생성될 수 있다. 여기서, 참조 픽쳐 리스트는 L0 예측을 위한 참조 픽쳐 리스트 0와 L1 예측을 위한 참조 픽쳐 리스트 1 중 적어도 하나를 포함할 수 있다.Referring to FIG. 11, a reference picture list including a temporal reference picture may be generated in consideration of whether the temporal reference picture is a near reference picture and a POC value of the near reference picture. Here, the reference picture list may include at least one of reference picture list 0 for L0 prediction and reference picture list 1 for L1 prediction.
구체적으로, 참조 픽쳐 리스트 0에서는 현재 픽쳐보다 작은 POC 값을 가진 근거리 참조 픽쳐(RefPicSetCurr0), 현재 픽쳐보다 큰 POC 값을 가진 근거리 참조 픽쳐(RefPicSetCurr1), 장거리 참조 픽쳐(RefPicSetLtCurr)의 순서로 배열될 수 있다.Specifically, in reference picture list 0, a near reference picture (RefPicSetCurr0) having a POC value smaller than the current picture, a near reference picture (RefPicSetCurr1) having a POC value larger than the current picture, and a long distance reference picture (RefPicSetLtCurr) may be arranged in this order. have.
한편, 참조 픽쳐 리스트 1에서는 현재 픽쳐보다 큰 POC 값을 가진 근거리 참조 픽쳐(RefPicSetCurr1), 현재 픽쳐보다 작은 POC 값을 가진 근거리 참조 픽쳐(RefPicSetCurr0), 장거리 참조 픽쳐(RefPicSetLtCurr)의 순서로 배열될 수 있다.Meanwhile, in reference picture list 1, a near reference picture (RefPicSetCurr1) having a larger POC value than the current picture, a near reference picture (RefPicSetCurr0) having a POC value smaller than the current picture, and a long distance reference picture (RefPicSetLtCurr) may be arranged in this order. .
또한, 시간적 참조 픽쳐의 참조 인덱스에 대한 부호화 효율을 향상시키기 위해서 참조 픽쳐 리스트에 포함된 복수 개의 시간적 참조 픽쳐들을 재배열할 수 있다. 이는 리스트 재배열 플래그(list_modification_present_flag)에 기초하여 적응적으로 수행될 수 있다. 여기서, 리스트 재배열 플래그는 참조 픽쳐 리스트 내의 참조 픽쳐들이 재배열되는지 여부를 특정하는 정보이다. 상기 리스트 재배열 플래그는 참조 픽쳐 리스트 0와 참조 픽쳐 리스트 1에 대해서 각각 시그날링될 수 있다.In addition, a plurality of temporal reference pictures included in the reference picture list may be rearranged in order to improve encoding efficiency of the reference index of the temporal reference picture. This may be adaptively performed based on the list rearrangement flag list_modification_present_flag. Here, the list rearrangement flag is information specifying whether or not the reference pictures in the reference picture list are rearranged. The list rearrangement flag may be signaled with respect to reference picture list 0 and reference picture list 1, respectively.
예를 들어, 상기 리스트 재배열 플래그(list_modification_present_flag)의 값이 0인 경우, 참조 픽쳐 리스트 내의 참조 픽쳐들은 재배열되지 아니하며, 리스트 재배열 플래그(list_modification_present_flag)의 값이 1인 경우에 한하여 참조 픽쳐 리스트 내의 참조 픽쳐들은 재배열될 수 있다.For example, when the value of the list rearrangement flag list_modification_present_flag is 0, the reference pictures in the reference picture list are not rearranged, and only when the value of the list rearrangement flag list_modification_present_flag is 1. Reference pictures may be rearranged.
만일, 리스트 재배열 플래그(list_modification_present_flag)의 값이 1인 경우에는 리스트 엔트리 정보(list_entry[i])를 이용하여 참조 픽쳐 리스트 내의 참조 픽쳐들을 재배열할 수 있다. 여기서, 리스트 엔트리 정보(list_entry[i])는 참조 픽쳐 리스트에서 현재 포지션(즉, i번째 엔트리)에 위치하게 되는 참조 픽쳐의 참조 인덱스를 특정할 수 있다. If the value of the list rearrangement flag list_modification_present_flag is 1, reference pictures in the reference picture list may be rearranged using list entry information list_entry [i]. Here, the list entry information list_entry [i] may specify a reference index of the reference picture located at the current position (that is, the i-th entry) in the reference picture list.
구체적으로, 기 생성된 참조 픽쳐 리스트에서 상기 리스트 엔트리 정보(list_entry[i])에 대응하는 참조 픽쳐를 특정하고, 특정된 참조 픽쳐를 참조 픽쳐 리스트에서 i번째 엔트리에 재배열할 수 있다.In detail, a reference picture corresponding to the list entry information list_entry [i] may be specified in a previously generated reference picture list, and the specified reference picture may be rearranged to an i-th entry in the reference picture list.
상기 리스트 엔트리 정보는 참조 픽쳐 리스트에 포함된 참조 픽쳐의 개수만큼 또는 참조 픽쳐 리스트의 참조 인덱스 최대값만큼 획득될 수 있다. 또한, 리스트 엔트리 정보는 현재 픽쳐의 슬라이스 타입을 고려하여 획득될 수 있다. 즉, 현재 픽쳐의 슬라이스 타입이 P 슬라이스인 경우에는 참조 픽쳐 리스트 0에 대한 리스트 엔트리 정보(list_entry_l0[i])를 획득하고, 현재 픽쳐의 슬라이스 타입이 B 슬라이스인 경우에는 참조 픽쳐 리스트 1에 대한 리스트 엔트리 정보(list_entry_l1[i])를 추가적으로 획득할 수 있다.The list entry information may be obtained by the number of reference pictures included in the reference picture list or by the maximum reference index of the reference picture list. In addition, the list entry information may be obtained in consideration of the slice type of the current picture. That is, if the slice type of the current picture is a P slice, the list entry information (list_entry_l0 [i]) for the reference picture list 0 is obtained. If the slice type of the current picture is a B slice, the list for the reference picture list 1 is obtained. Entry information list_entry_l1 [i] may be additionally obtained.
도 12는 본 발명이 적용되는 일실시예로서, 공간적 오프셋 정보에 기초하여 현재 블록의 레이어 간 예측을 수행하는 과정을 도시한 것이다.12 illustrates a process of performing inter-layer prediction of a current block based on spatial offset information according to an embodiment to which the present invention is applied.
도 12를 참조하면, 공간적 오프셋 정보를 획득할 수 있다(S1200).Referring to FIG. 12, spatial offset information may be obtained (S1200).
공간적 오프셋 정보는 현재 블록의 콜 블록과 참조 블록 간의 위치 차이를 나타낼 수 있다. 상기 콜 블록은 참조 레이어의 대응 픽쳐에 속하는 블록으로서, 현재 블록과 동일한 위치의 블록을 의미할 수 있다. 상기 참조 블록은 참조 레이어의 대응 픽쳐에 속하는 블록으로서, 현재 블록의 레이어 간 예측에 이용되는 블록을 의미할 수 있다.The spatial offset information may indicate a position difference between the call block and the reference block of the current block. The call block is a block belonging to the corresponding picture of the reference layer and may mean a block having the same position as the current block. The reference block is a block belonging to a corresponding picture of the reference layer and may mean a block used for inter-layer prediction of the current block.
구체적으로, 공간적 오프셋 정보는 세그먼트 오프셋과 블록 오프셋 중 적어도 하나를 포함할 수 있다. 상기 세그먼트 오프셋은 슬라이스 세그먼트, 타일 또는 코딩 트리 유닛 열(CTU row) 단위의 오프셋으로서, 참조 레이어의 픽쳐 내에서 현재 레이어의 픽쳐의 레이어 간 예측에 이용되지 아니하는 공간적 영역을 지시할 수 있다. 또는, 상기 세그먼트 오프셋은 슬라이스 세그먼트, 타일 또는 코딩 트리 유닛 열(CTU row) 단위의 오프셋으로서, 참조 레이어의 픽쳐 내에서 현재 레이어의 픽쳐의 레이어 간 예측에 이용되는 참조 블록을 특정하기 위한 공간적 영역을 지시할 수도 있다. 상기 블록 오프셋은 블록 단위의 오프셋으로서, 상기 세그먼트 오프셋과 함께 참조 레이어의 픽쳐 내에서 현재 레이어의 픽쳐의 레이어 간 예측을 위해 이용되지 아니하는 공간적 영역을 지시할 수 있다. 또는, 상기 블록 오프셋은 블록 단위의 오프셋으로서, 참조 레이어의 픽쳐 내에서 현재 레이어의 픽쳐의 레이어 간 예측에 이용되는 참조 블록을 특정하기 위한 공간적 영역을 지시할 수도 있다. 여기서, 블록 단위는 코딩 트리 유닛을 의미할 수 있고, 코딩 트리 유닛은 비디오 시퀀스의 최대 코딩 유닛을 의미할 수 있다.In more detail, the spatial offset information may include at least one of a segment offset and a block offset. The segment offset is an offset in units of slice segments, tiles, or coding tree unit columns (CTU rows), and may indicate a spatial region that is not used for inter-layer prediction of the picture of the current layer in the picture of the reference layer. Alternatively, the segment offset is an offset in units of slice segments, tiles, or coding tree units (CTU rows), and specifies a spatial region for specifying a reference block used for inter-layer prediction of the picture of the current layer in the picture of the reference layer. You can also indicate. The block offset is an offset in units of blocks, and may indicate a spatial region that is not used for inter-layer prediction of the picture of the current layer in the picture of the reference layer together with the segment offset. Alternatively, the block offset may be an offset in units of blocks and may indicate a spatial region for specifying a reference block used for inter-layer prediction of the picture of the current layer in the picture of the reference layer. Here, the block unit may mean a coding tree unit, and the coding tree unit may mean a maximum coding unit of a video sequence.
상기 공간적 오프셋 정보는 비디오 파라미터 세트에 속하는 비디오 사용성 정보(VUI, Video Usability Information)로부터 획득될 수 있다. 비디오 사용성 정보는 휘도 성분, 색차 성분을 디코딩하는데 사용되지는 않지만, 디코더 정합(decoder conformance)이나 아웃풋 타이밍 정합(ouput timing conformance)에 사용되는 정보를 의미할 수 있다. 공간적 오프셋 정보를 획득하는 구체적인 방법에 대해서는 이하 도 13 내지 도 15를 참조하여 살펴 보기로 한다.The spatial offset information may be obtained from video usability information (VUI) belonging to a video parameter set. The video usability information may not be used to decode the luminance component or the chrominance component, but may refer to information used for decoder conformance or output timing conformance. A detailed method of obtaining spatial offset information will be described below with reference to FIGS. 13 to 15.
도 13 내지 도 15는 본 발명이 적용되는 일실시예로서, 공간적 오프셋 정보의 신택스 테이블을 도시한 것이다.13 to 15 illustrate a syntax table of spatial offset information according to an embodiment to which the present invention is applied.
제1 실시예First embodiment
도 13을 참조하면, 레이어 간 예측 제한 플래그(ilp_restricted_ref_layers_flag)를 획득할 수 있다(S1300).Referring to FIG. 13, an inter-layer prediction restriction flag ilp_restricted_ref_layers_flag may be obtained (S1300).
여기서, 레이어 간 예측 제한 플래그는 현재 블록의 레이어 간 예측에 있어서, 공간적 오프셋 정보에 기초하여 특정된 참조 레이어의 참조 블록이 이용된다는 제약이 적용되는지 여부를 나타낼 수 있다. 예를 들어, 레이어 간 예측 제한 플래그의 값이 1인 경우, 이는 공간적 오프셋 정보에 기초하여 특정된 참조 블록을 이용하여 현재 블록의 레이어 간 예측이 수행된다는 제약이 적용됨을 의미할 수 있다. 반대로, 레이어 간 예측 제한 플래그의 값이 0인 경우, 이는 상기 제약이 적용되지 아니함을 의미하므로, 현재 블록은 공간적 오프셋 정보에 기초하여 특정된 참조 블록을 이용하여 레이어 간 예측을 수행할 수도 있고, 수행하지 아니할 수 있다.Here, the inter-layer prediction limit flag may indicate whether a constraint that a reference block of a reference layer specified based on spatial offset information is applied in inter-layer prediction of the current block is applied. For example, when the value of the inter-layer prediction limit flag is 1, this may mean that a constraint that inter-layer prediction of the current block is performed using a reference block specified based on spatial offset information is applied. On the contrary, when the value of the inter-layer prediction limit flag is 0, this means that the constraint is not applied. Thus, the current block may perform inter-layer prediction using a reference block specified based on spatial offset information. It may not be performed.
상기 레이어 간 예측 제한 플래그의 값이 1인 경우, 세그먼트 오프셋(min_spatial_segment_offset_plus1[i][j])을 획득할 수 있다(S1310).If the value of the inter-layer prediction limit flag is 1, a segment offset min_spatial_segment_offset_plus1 [i] [j] may be obtained (S1310).
여기서, 세그먼트 오프셋(min_spatial_segment_offset_plus1[i][j])은 i번째 현재 레이어와 다이렉트 디펜던시를 갖는 j번째 참조 레이어의 각 픽쳐들에서 i번째 현재 레이어에 속한 픽쳐의 레이어 간 예측에 이용되지 아니하는 공간적 영역을 지시할 수 있다. Here, the segment offset min_spatial_segment_offset_plus1 [i] [j] is not used for inter-layer prediction of a picture belonging to the i th current layer in each picture of the j th reference layer having direct dependency on the i th current layer. It can indicate a spatial domain.
S1310 단계에서 획득된 세그먼트 오프셋에 기초하여 블록 오프셋 플래그(ctu_based_offset_enable_flag[i][j])를 획득할 수 있다(S1320).A block offset flag ctu_based_offset_enable_flag [i] [j] may be obtained based on the segment offset obtained in step S1310 (S1320).
여기서, 블록 오프셋 플래그(ctu_based_offset_enable_flag[i][j])는 j번째 참조 레이어의 픽처에서 i번째 현재 레이어에 속한 픽쳐의 레이어 간 예측에 이용되지 아니하는 공간적 영역을 지시함에 있어서 블록 오프셋을 이용할 지 여부를 특정할 수 있다. 예를 들어, 블록 오프셋 플래그의 값이 1인 경우, 이는 j번째 참조 레이어의 픽쳐에서 i번째 현재 레이어에 속한 픽쳐의 레이어 간 예측에 이용되지 아니하는 공간적 영역이 세그먼트 오프셋과 함께 블록 오프셋을 이용하여 지시됨을 의미할 수 있다. 반대로, 블록 오프셋 플래그의 값이 0인 경우, 이는 j번째 참조 레이어의 픽쳐에서 i번째 현재 레이어에 속한 픽쳐의 레이어 간 예측에 이용되지 아니하는 공간적 영역은 세그먼트 오프셋에 의해서만 지시됨을 의미할 수 있다.Here, the block offset flag (ctu_based_offset_enable_flag [i] [j]) indicates whether to use a block offset in indicating a spatial region that is not used for inter-layer prediction of the picture belonging to the i th current layer from the picture of the j th reference layer. Can be specified. For example, when the value of the block offset flag is 1, this means that the spatial region that is not used for inter-layer prediction of the picture belonging to the i th current layer in the picture of the j th reference layer uses the block offset together with the segment offset. It may mean indicated. In contrast, when the value of the block offset flag is 0, this may mean that a spatial region that is not used for inter-layer prediction of a picture belonging to the i th current layer in the picture of the j th reference layer is indicated only by the segment offset.
한편, 블록 오프셋 플래그는 S1310 단계에서 획득된 세그먼트 오프셋의 값이 0보다 큰 경우에 획득될 수 있다. 세그먼트 오프셋의 값이 0보다 큰 경우, j번째 참조 레이어의 픽쳐 내에 i번째 현재 레이어에 속한 픽쳐의 레이어 간 예측에 이용되지 아니하는 공간적 영역이 존재하기 때문이다.On the other hand, the block offset flag may be obtained when the value of the segment offset obtained in step S1310 is greater than zero. If the value of the segment offset is greater than 0, it is because there is a spatial region in the picture of the j th reference layer that is not used for inter-layer prediction of the picture belonging to the i th current layer.
S1320 단계에서 획득된 블록 오프셋 플래그에 기초하여 블록 오프셋(min_horizontal_ctu_offset_plus1)을 획득할 수 있다(S1330).A block offset min_horizontal_ctu_offset_plus1 may be obtained based on the block offset flag acquired in step S1320 (S1330).
구체적으로, 블록 오프셋 플래그에 따라 j번째 참조 레이어의 픽쳐에서 i번째 현재 레이어에 속한 픽쳐의 레이어 간 예측에 이용되지 아니하는 공간적 영역이 세그먼트 오프셋과 함께 블록 오프셋을 이용하여 지시되는 경우(즉, 블록 오프셋 플래그의 값이 1인 경우)에 블록 오프셋을 획득할 수 있다.Specifically, when a spatial region that is not used for inter-layer prediction of a picture belonging to the i th current layer in the picture of the j th reference layer according to the block offset flag is indicated using the block offset together with the segment offset (that is, the block Block offset may be obtained in the case where the value of the offset flag is 1).
제2 실시예Second embodiment
도 14를 참조하면, 레이어 간 예측 제한 플래그(ilp_restricted_ref_layers_flag)를 획득할 수 있다(S1400).Referring to FIG. 14, an inter-layer prediction restriction flag ilp_restricted_ref_layers_flag may be obtained (S1400).
도 13에서 상술한 바와 같이, 레이어 간 예측 제한 플래그는 현재 블록의 레이어 간 예측에 있어서, 공간적 오프셋 정보에 기초하여 특정된 참조 레이어의 참조 블록이 이용된다는 제약이 적용되는지 여부를 나타낼 수 있으며, 여기서 자세한 설명은 생략하기로 한다.As described above with reference to FIG. 13, the inter-layer prediction limit flag may indicate whether a constraint that a reference block of a reference layer specified based on spatial offset information is applied in inter-layer prediction of the current block is applied. Detailed description will be omitted.
S1400 단계에서 획득된 상기 레이어 간 예측 제한 플래그의 값이 1인 경우, 세그먼트 오프셋(min_spatial_segment_offset_plus1[i][j])을 획득할 수 있다(S1410).When the value of the inter-layer prediction limit flag acquired in step S1400 is 1, a segment offset min_spatial_segment_offset_plus1 [i] [j] may be obtained (S1410).
여기서, 세그먼트 오프셋(min_spatial_segment_offset_plus1[i][j])은 i번째 현재 레이어와 다이렉트 디펜던시를 갖는 j번째 참조 레이어의 각 픽쳐들에서 i번째 현재 레이어에 속한 픽쳐의 레이어 간 예측에 이용되지 아니하는 공간적 영역을 지시할 수 있다.Here, the segment offset min_spatial_segment_offset_plus1 [i] [j] is not used for inter-layer prediction of a picture belonging to the i th current layer in each picture of the j th reference layer having direct dependency on the i th current layer. It can indicate a spatial domain.
S1410 단계에서 획득된 세그먼트 오프셋에 기초하여 블록 오프셋(min_horizontal_ctu_offset[i][j])을 획득할 수 있다(S1420).A block offset min_horizontal_ctu_offset [i] [j] may be obtained based on the segment offset obtained in step S1410 (S1420).
구체적으로, 블록 오프셋은 S1410 단계에서 획득된 세그먼트 오프셋의 값이 0보다 큰 경우에 획득될 수 있다. 세그먼트 오프셋의 값이 0보다 큰 경우, j번째 참조 레이어의 픽쳐 내에 i번째 현재 레이어에 속한 픽쳐의 레이어 간 예측에 이용되지 아니하는 공간적 영역이 존재하기 때문이다.In detail, the block offset may be obtained when the value of the segment offset obtained in step S1410 is greater than zero. If the value of the segment offset is greater than 0, it is because there is a spatial region in the picture of the j th reference layer that is not used for inter-layer prediction of the picture belonging to the i th current layer.
도 13에서 상술한 신택스 min_horizontal_ctu_offset_plus1 대신에 레이어 간 예측에 이용되지 아니하는 공간적 영역의 크기를 결정하는 블록 오프셋(min_horizontal_ctu_offset[i][j])을 시그날링할 수 있다. 블록 오프셋(min_horizontal_ctu_offset[i][j])의 값이 0인 경우에는 j번째 레이어의 픽쳐에 레이어 간 예측에 이용되지 아니하는 공간적 영역이 존재하지 아니함을 의미하므로 도 13에서와 같이 신택스 ctu_based_offset_enable_flag[i][j]를 사용하지 않을 수 있다.Instead of the syntax min_horizontal_ctu_offset_plus1 described above with reference to FIG. 13, a block offset (min_horizontal_ctu_offset [i] [j]) that determines the size of a spatial region that is not used for inter-layer prediction may be signaled. If the value of the block offset (min_horizontal_ctu_offset [i] [j]) is 0, it means that there is no spatial region that is not used for inter-layer prediction in the picture of the j th layer, as in the syntax ctu_based_offset_enable_flag [i ] [j] may not be used.
제3 실시예Third embodiment
도 15를 참조하면, 레이어 간 예측 제한 플래그(ilp_restricted_ref_layers_flag)를 획득할 수 있다(S1500).Referring to FIG. 15, an inter-layer prediction restriction flag ilp_restricted_ref_layers_flag may be obtained (S1500).
여기서, 레이어 간 예측 제한 플래그는 현재 블록의 레이어 간 예측에 있어서, 공간적 오프셋 정보에 기초하여 특정된 참조 레이어의 참조 블록이 이용된다는 제약이 적용되는지 여부를 나타낼 수 있으며, 도 13에서 상술하였는바 여기서 자세한 설명은 생략하기로 한다.Here, the inter-layer prediction limit flag may indicate whether a constraint that a reference block of a reference layer specified based on spatial offset information is applied in inter-layer prediction of the current block is applied, as described above with reference to FIG. 13. Detailed description will be omitted.
상기 레이어 간 예측 제한 플래그의 값이 1인 경우, 세그먼트 오프셋(min_spatial_segment_offset_plus1[i][j])을 획득할 수 있다(S1510).When the value of the inter-layer prediction limit flag is 1, a segment offset min_spatial_segment_offset_plus1 [i] [j] may be obtained (S1510).
여기서, 세그먼트 오프셋(min_spatial_segment_offset_plus1[i][j])은 i번째 현재 레이어와 다이렉트 디펜던시를 갖는 j번째 참조 레이어의 각 픽쳐들에서 i번째 현재 레이어에 속한 픽쳐의 레이어 간 예측에 이용되지 아니하는 공간적 영역을 지시할 수 있다.Here, the segment offset min_spatial_segment_offset_plus1 [i] [j] is not used for inter-layer prediction of a picture belonging to the i th current layer in each picture of the j th reference layer having direct dependency on the i th current layer. It can indicate a spatial domain.
S1510 단계에서 획득된 세그먼트 오프셋에 기초하여 블록 오프셋 플래그(ctu_based_offset_enable_flag[i][j])를 획득할 수 있다(S1520).A block offset flag ctu_based_offset_enable_flag [i] [j] may be obtained based on the segment offset obtained in step S1510 (S1520).
여기서, 블록 오프셋 플래그(ctu_based_offset_enable_flag[i][j])는 j번째 참조 레이어의 픽처에서 i번째 현재 레이어에 속한 픽쳐의 레이어 간 예측에 이용되지 아니하는 공간적 영역을 지시함에 있어서 블록 오프셋을 이용할 지 여부를 특정할 수 있다. 예를 들어, 블록 오프셋 플래그의 값이 1인 경우, 이는 j번째 참조 레이어의 픽쳐에서 i번째 현재 레이어에 속한 픽쳐의 레이어 간 예측에 이용되지 아니하는 공간적 영역이 세그먼트 오프셋과 함께 블록 오프셋을 이용하여 지시됨을 의미할 수 있다. 반대로, 블록 오프셋 플래그의 값이 0인 경우, 이는 j번째 참조 레이어의 픽쳐에서 i번째 현재 레이어에 속한 픽쳐의 레이어 간 예측에 이용되지 아니하는 공간적 영역은 세그먼트 오프셋에 의해서만 지시됨을 의미할 수 있다.Here, the block offset flag (ctu_based_offset_enable_flag [i] [j]) indicates whether to use a block offset in indicating a spatial region that is not used for inter-layer prediction of the picture belonging to the i th current layer from the picture of the j th reference layer. Can be specified. For example, when the value of the block offset flag is 1, this means that the spatial region that is not used for inter-layer prediction of the picture belonging to the i th current layer in the picture of the j th reference layer uses the block offset together with the segment offset. It may mean indicated. In contrast, when the value of the block offset flag is 0, this may mean that a spatial region that is not used for inter-layer prediction of a picture belonging to the i th current layer in the picture of the j th reference layer is indicated only by the segment offset.
한편, 블록 오프셋 플래그는 S1510 단계에서 획득된 세그먼트 오프셋의 값이 0보다 큰 경우에 획득될 수 있다. 세그먼트 오프셋의 값이 0보다 큰 경우, j번째 참조 레이어의 픽쳐 내에 i번째 현재 레이어에 속한 픽쳐의 레이어 간 예측에 이용되지 아니하는 공간적 영역이 존재하기 때문이다.On the other hand, the block offset flag may be obtained when the value of the segment offset obtained in step S1510 is greater than zero. If the value of the segment offset is greater than 0, it is because there is a spatial region in the picture of the j th reference layer that is not used for inter-layer prediction of the picture belonging to the i th current layer.
S1520 단계에서 획득된 블록 오프셋 플래그에 기초하여 블록 오프셋(min_horizontal_ctu_offset_minus1[i][j])을 획득할 수 있다(S1530).A block offset min_horizontal_ctu_offset_minus1 [i] [j] may be obtained based on the block offset flag acquired in step S1520 (S1530).
구체적으로, 블록 오프셋 플래그에 따라 j번째 참조 레이어의 픽쳐에서 i번째 현재 레이어에 속한 픽쳐의 레이어 간 예측에 이용되지 아니하는 공간적 영역이 세그먼트 오프셋과 함께 블록 오프셋을 이용하여 지시되는 경우(즉, 블록 오프셋 플래그의 값이 1인 경우)에 블록 오프셋을 획득할 수 있다.Specifically, when a spatial region that is not used for inter-layer prediction of a picture belonging to the i th current layer in the picture of the j th reference layer according to the block offset flag is indicated using the block offset together with the segment offset (that is, the block Block offset may be obtained in the case where the value of the offset flag is 1).
도 12를 참조하면, 공간적 오프셋 정보에 기초하여 현재 블록의 레이어 간 예측에 이용되는 참조 블록을 특정할 수 있다(S1210).Referring to FIG. 12, a reference block used for inter-layer prediction of a current block may be specified based on spatial offset information (S1210).
구체적으로, 상기 참조 블록은 콜 블록의 위치를 기준으로 공간적 오프셋 정보에 따른 오프셋만큼 이동한 위치의 블록으로 특정될 수 있으며, 이하 도 16을 참조하여 살펴 보기로 한다.Specifically, the reference block may be specified as a block of a position moved by an offset according to spatial offset information based on the position of the call block, which will be described below with reference to FIG. 16.
도 16은 본 발명이 적용되는 일실시예로서, 공간적 오프셋 정보를 이용하여 현재 블록의 레이어 간 예측에 이용되는 참조 블록을 특정하는 방법을 도시한 것이다.FIG. 16 illustrates a method of specifying a reference block used for inter-layer prediction of a current block by using spatial offset information according to an embodiment to which the present invention is applied.
도 16을 참조하면, j번째 참조 레이어의 colCtbAddr[i][j]은 i번째 현재 레이어에 속한 현재 블록과 동일 위치의 블록 즉, 콜 블록의 위치를 의미한다. j번째 참조 레이어는 i번째 현재 레이어와 다이렉트 디펜던시를 갖는 레이어일 수 있다. refCtbAddr[i][j]은 현재 블록의 레이어 간 예측에 이용되는 참조 블록의 위치를 의미한다. refCtbAddr[i][j]은 colCtbAddr[i][j]과 공간적 오프셋 정보(예를 들어, min_spatial_segment_offset_plus1과 min_horizontal_ctu_offset_plus1)에 기초하여 결정될 수 있다. 여기서, 콜 블록 또는 참조 블록의 위치는 래스터 스캔 어드레스(raster scan address)로 표현될 수 있다. refCtbAddr[i][j]을 결정하는 구체적인 방법은 상술한 제1 실시예 내지 제3 실시예를 토대로 각각 살펴 보기로 한다.Referring to FIG. 16, colCtbAddr [i] [j] of the j th reference layer refers to a block having the same position as the current block belonging to the i th current layer, that is, a call block. The j th reference layer may be a layer having direct dependency on the i th current layer. refCtbAddr [i] [j] means the position of the reference block used for inter-layer prediction of the current block. refCtbAddr [i] [j] may be determined based on colCtbAddr [i] [j] and spatial offset information (eg, min_spatial_segment_offset_plus1 and min_horizontal_ctu_offset_plus1). Here, the location of the call block or reference block may be represented by a raster scan address. Specific methods for determining refCtbAddr [i] [j] will be described based on the first to third embodiments described above.
제1 실시예에 따른 refCtbAddr[i][j] 유도 방법RefCtbAddr [i] [j] derivation method according to the first embodiment
구체적으로, refCtbAddr[i][j]은 다음 수학식 1과 같이 유도될 수 있다.Specifically, refCtbAddr [i] [j] may be derived as in Equation 1 below.
수학식 1
Figure PCTKR2014008872-appb-M000001
Equation 1
Figure PCTKR2014008872-appb-M000001
상기 수학식 1에서 xOffset[i][j]와 yOffset[i][j]는 다음 수학식 2와 같이 유도될 수 있다.In Equation 1, xOffset [i] [j] and yOffset [i] [j] may be derived as in Equation 2 below.
수학식 2
Figure PCTKR2014008872-appb-M000002
Equation 2
Figure PCTKR2014008872-appb-M000002
상기 수학식 2에서 xColCtb[i][j]는 j번째 레이어의 픽쳐에 속한 콜 블록의 좌표값 중 x 성분에 대응한다. refPicWidthInCtbY[i][j]는 j번째 레이어의 픽쳐에서 코딩 트리 유닛 열에 포함되는 코딩 트리 유닛의 개수를 나타낸다. In Equation 2, xColCtb [i] [j] corresponds to the x component of the coordinate values of the call block belonging to the picture of the j th layer. refPicWidthInCtbY [i] [j] represents the number of coding tree units included in a coding tree unit column in a picture of a j-th layer.
또한, minHorizontalCtbOffset[i][j]는 블록 오프셋(min_horizontal_ctu_offset_plus1)에 기초하여 유도될 수 있다. 예를 들어, 수학식 3과 같이, 블록 오프셋의 값이 0인 경우, minHorizontalCtbOffset[i][j]은 (refPicWidthInCtbY[i][j]-1)로 유도될 수 있고, 블록 오프셋의 값이 0보다 큰 경우, minHorizontalCtbOffset[i][j]은 (min_horizontal_ctu_offset_plus1-1)로 유도될 수 있다.In addition, minHorizontalCtbOffset [i] [j] may be derived based on the block offset min_horizontal_ctu_offset_plus1. For example, as shown in Equation 3, when the value of the block offset is 0, minHorizontalCtbOffset [i] [j] may be derived as (refPicWidthInCtbY [i] [j] -1), and the value of the block offset is 0. If larger, minHorizontalCtbOffset [i] [j] may be derived as (min_horizontal_ctu_offset_plus1-1).
수학식 3
Figure PCTKR2014008872-appb-M000003
Equation 3
Figure PCTKR2014008872-appb-M000003
또는, minHorizontalCtbOffset[i][j]는 블록 오프셋의 값이 0보다 큰 지 여부를 고려할 뿐만 아니라 블록 오프셋의 값이 1인지 여부를 더 고려해서 다음 수학식 4와 같이 유도될 수도 있다.Alternatively, minHorizontalCtbOffset [i] [j] may be derived as shown in Equation 4 not only considering whether the value of the block offset is greater than 0 but also considering whether the value of the block offset is 1 or more.
수학식 4
Figure PCTKR2014008872-appb-M000004
Equation 4
Figure PCTKR2014008872-appb-M000004
제2 실시예에 따른 refCtbAddr[i][j] 유도 방법RefCtbAddr [i] [j] derivation method according to the second embodiment
구체적으로, refCtbAddr[i][j]은 다음 수학식 5와 같이 유도될 수 있다.Specifically, refCtbAddr [i] [j] may be derived as shown in Equation 5 below.
수학식 5
Figure PCTKR2014008872-appb-M000005
Equation 5
Figure PCTKR2014008872-appb-M000005
상기 수학식 5에서 xOffset[i][j]와 yOffset[i][j]는 다음 수학식 6과 같이 유도될 수 있다.In Equation 5, xOffset [i] [j] and yOffset [i] [j] may be derived as in Equation 6 below.
수학식 6
Figure PCTKR2014008872-appb-M000006
Equation 6
Figure PCTKR2014008872-appb-M000006
상기 수학식 6에서 xColCtb[i][j]와 refPicWidthInCtbY[i][j]는 수학식 2에서 살펴 보았는바, 여기서 자세한 설명은 생략하기로 한다.In Equation 6, xColCtb [i] [j] and refPicWidthInCtbY [i] [j] have been described in Equation 2, and a detailed description thereof will be omitted.
제3 실시예에 따른 refCtbAddr[i][j] 유도 방법RefCtbAddr [i] [j] derivation method according to the third embodiment
구체적으로, refCtbAddr[i][j]은 다음 수학식 7과 같이 유도될 수 있다.Specifically, refCtbAddr [i] [j] may be derived as shown in Equation 7 below.
수학식 7
Figure PCTKR2014008872-appb-M000007
Equation 7
Figure PCTKR2014008872-appb-M000007
상기 수학식 7에서 xOffset[i][j]와 yOffset[i][j]는 다음 수학식 8과 같이 유도될 수 있다.In Equation 7, xOffset [i] [j] and yOffset [i] [j] may be derived as shown in Equation 8 below.
수학식 8
Figure PCTKR2014008872-appb-M000008
Equation 8
Figure PCTKR2014008872-appb-M000008
상기 수학식 8에서 xColCtb[i][j]와 refPicWidthInCtbY[i][j]는 수학식 2에서 살펴 보았는바, 여기서 자세한 설명은 생략하기로 한다.In Equation 8, xColCtb [i] [j] and refPicWidthInCtbY [i] [j] have been described in Equation 2, and a detailed description thereof will be omitted.
도 12를 참조하면, S1210 단계에서 특정된 참조 블록에 기초하여 상기 현재 블록의 레이어 간 예측을 수행할 수 있다(S1220).12, inter-layer prediction of the current block may be performed based on the reference block specified in step S1210 (S1220).
본 발명은 멀티 레이어 비디오 신호를 코딩하는데 이용될 수 있다.The present invention can be used to code a multilayer video signal.

Claims (15)

  1. 현재 레이어 내 현재 픽쳐의 레이어 간 예측에 이용되는 참조 레이어의 대응 픽쳐를 결정하는 단계;Determining a corresponding picture of the reference layer used for inter-layer prediction of the current picture in the current layer;
    상기 결정된 대응 픽쳐를 업샘플링하여 인터레이어 참조 픽쳐를 생성하는 단계;Generating an interlayer reference picture by upsampling the determined corresponding picture;
    공간적 오프셋 정보에 기초하여 현재 블록의 레이어 간 예측에 이용되는 상기 인터레이어 참조 픽쳐 내의 참조 블록을 특정하는 단계; 및Specifying a reference block in the interlayer reference picture used for inter-layer prediction of the current block based on spatial offset information; And
    상기 특정된 참조 블록을 이용하여 상기 현재 블록의 레이어 간 예측을 수행하는 단계를 포함하는 것을 특징으로 하는 멀티 레이어 비디오 신호 디코딩 방법.And performing inter-layer prediction of the current block using the specified reference block.
  2. 제1항에 있어서, 상기 참조 블록을 특정하는 단계는 레이어 간 예측 제한 플래그에 기초하여 수행되되,The method of claim 1, wherein the specifying of the reference block is performed based on an inter-layer prediction limit flag.
    상기 레이어 간 예측 제한 플래그는 상기 현재 블록의 레이어 간 예측에 있어서, 상기 공간적 오프셋 정보에 기초하여 특정되는 참조 블록이 이용된다는 제약이 적용되는지 여부를 나타내는 것을 특징으로 하는 멀티 레이어 비디오 신호 디코딩 방법.The inter-layer prediction limit flag indicates whether or not a constraint that a reference block specified based on the spatial offset information is used is applied in inter-layer prediction of the current block.
  3. 제2항에 있어서, 상기 참조 블록은 상기 인터레이어 참조 픽쳐에 속한 콜 블록을 기준으로 상기 공간적 오프셋 정보에 따른 오프셋만큼 이동한 위치의 블록으로 특정되는 것을 특징으로 하는 멀티 레이어 비디오 신호 디코딩 방법.The method of claim 2, wherein the reference block is specified as a block of a position moved by an offset according to the spatial offset information based on a call block belonging to the interlayer reference picture.
  4. 제3항에 있어서, 상기 공간적 오프셋 정보는 세그먼트 오프셋과 블록 오프셋 중 적어도 하나를 포함하는 것을 특징으로 하는 멀티 레이어 비디오 신호 디코딩 방법.4. The method of claim 3, wherein the spatial offset information comprises at least one of a segment offset and a block offset.
  5. 현재 레이어 내 현재 픽쳐의 레이어 간 예측에 이용되는 참조 레이어의 대응 픽쳐를 결정하고, 상기 결정된 대응 픽쳐를 업샘플링하여 인터레이어 참조 픽쳐를 생성하며, 공간적 오프셋 정보에 기초하여 현재 블록의 레이어 간 예측에 이용되는 상기 인터레이어 참조 픽쳐 내의 참조 블록을 특정하고, 상기 특정된 참조 블록을 이용하여 상기 현재 블록의 레이어 간 예측을 수행하는 예측부;를 포함하는 것을 특징으로 하는 멀티 레이어 비디오 신호 디코딩 장치.Determines the corresponding picture of the reference layer used for inter-layer prediction of the current picture in the current layer, generates an inter-layer reference picture by upsampling the determined corresponding picture, and uses the inter-layer prediction of the current block based on spatial offset information. And a predictor configured to specify a reference block in the interlayer reference picture to be used, and to perform inter-layer prediction of the current block by using the specified reference block.
  6. 제5항에 있어서, 상기 참조 블록의 특정은 레이어 간 예측 제한 플래그에 기초하여 수행되되,The method of claim 5, wherein the specification of the reference block is performed based on an inter-layer prediction limit flag.
    상기 레이어 간 예측 제한 플래그는 상기 현재 블록의 레이어 간 예측에 있어서, 상기 공간적 오프셋 정보에 기초하여 특정되는 참조 블록이 이용된다는 제약이 적용되는지 여부를 나타내는 것을 특징으로 하는 멀티 레이어 비디오 신호 디코딩 장치.The inter-layer prediction limit flag indicates whether or not a constraint that a reference block specified based on the spatial offset information is used is applied in inter-layer prediction of the current block.
  7. 제6항에 있어서, 상기 참조 블록은 상기 인터레이어 참조 픽쳐에 속한 콜 블록을 기준으로 상기 공간적 오프셋 정보에 따른 오프셋만큼 이동한 위치의 블록으로 특정되는 것을 특징으로 하는 멀티 레이어 비디오 신호 디코딩 장치.The apparatus of claim 6, wherein the reference block is specified as a block of a position shifted by an offset according to the spatial offset information based on a call block belonging to the interlayer reference picture.
  8. 제7항에 있어서, 상기 공간적 오프셋 정보는 세그먼트 오프셋과 블록 오프셋 중 적어도 하나를 포함하는 것을 특징으로 하는 멀티 레이어 비디오 신호 디코딩 장치.The apparatus of claim 7, wherein the spatial offset information comprises at least one of a segment offset and a block offset.
  9. 현재 레이어 내 현재 픽쳐의 레이어 간 예측에 이용되는 참조 레이어의 대응 픽쳐를 결정하는 단계;Determining a corresponding picture of the reference layer used for inter-layer prediction of the current picture in the current layer;
    상기 결정된 대응 픽쳐를 업샘플링하여 인터레이어 참조 픽쳐를 생성하는 단계;Generating an interlayer reference picture by upsampling the determined corresponding picture;
    공간적 오프셋 정보에 기초하여 현재 블록의 레이어 간 예측에 이용되는 상기 인터레이어 참조 픽쳐 내의 참조 블록을 특정하는 단계; 및Specifying a reference block in the interlayer reference picture used for inter-layer prediction of the current block based on spatial offset information; And
    상기 특정된 참조 블록을 이용하여 상기 현재 블록의 레이어 간 예측을 수행하는 단계를 포함하는 것을 특징으로 하는 멀티 레이어 비디오 신호 인코딩 방법.And performing inter-layer prediction of the current block by using the specified reference block.
  10. 제9항에 있어서, 상기 참조 블록을 특정하는 단계는 레이어 간 예측 제한 플래그에 기초하여 수행되되,The method of claim 9, wherein the specifying of the reference block is performed based on an inter-layer prediction limit flag.
    상기 레이어 간 예측 제한 플래그는 상기 현재 블록의 레이어 간 예측에 있어서, 상기 공간적 오프셋 정보에 기초하여 특정되는 참조 블록이 이용된다는 제약이 적용되는지 여부를 나타내는 것을 특징으로 하는 멀티 레이어 비디오 신호 인코딩 방법.The inter-layer prediction limit flag indicates whether or not a constraint that a reference block specified based on the spatial offset information is used is applied in inter-layer prediction of the current block.
  11. 제10항에 있어서, 상기 참조 블록은 상기 인터레이어 참조 픽쳐에 속한 콜 블록을 기준으로 상기 공간적 오프셋 정보에 따른 오프셋만큼 이동한 위치의 블록으로 특정되는 것을 특징으로 하는 멀티 레이어 비디오 신호 인코딩 방법.The method of claim 10, wherein the reference block is specified as a block of a position moved by an offset according to the spatial offset information based on a call block belonging to the interlayer reference picture.
  12. 제11항에 있어서, 상기 공간적 오프셋 정보는 세그먼트 오프셋과 블록 오프셋 중 적어도 하나를 포함하는 것을 특징으로 하는 멀티 레이어 비디오 신호 인코딩 방법.12. The method of claim 11, wherein the spatial offset information comprises at least one of a segment offset and a block offset.
  13. 현재 레이어 내 현재 픽쳐의 레이어 간 예측에 이용되는 참조 레이어의 대응 픽쳐를 결정하고, 상기 결정된 대응 픽쳐를 업샘플링하여 인터레이어 참조 픽쳐를 생성하며, 공간적 오프셋 정보에 기초하여 현재 블록의 레이어 간 예측에 이용되는 상기 인터레이어 참조 픽쳐 내의 참조 블록을 특정하고, 상기 특정된 참조 블록을 이용하여 상기 현재 블록의 레이어 간 예측을 수행하는 예측부를 포함하는 것을 특징으로 하는 스케일러블 비디오 신호 인코딩 장치.Determines the corresponding picture of the reference layer used for inter-layer prediction of the current picture in the current layer, generates an inter-layer reference picture by upsampling the determined corresponding picture, and uses the inter-layer prediction of the current block based on spatial offset information. And a predictor configured to specify a reference block in the interlayer reference picture to be used, and to perform inter-layer prediction of the current block by using the specified reference block.
  14. 제13항에 있어서, 상기 참조 블록의 특정은 레이어 간 예측 제한 플래그에 기초하여 수행되되,The method of claim 13, wherein the specification of the reference block is performed based on an inter-layer prediction limit flag.
    상기 레이어 간 예측 제한 플래그는 상기 현재 블록의 레이어 간 예측에 있어서, 상기 공간적 오프셋 정보에 기초하여 특정되는 참조 블록이 이용된다는 제약이 적용되는지 여부를 나타내는 것을 특징으로 하는 멀티 레이어 비디오 신호 인코딩 장치.The inter-layer prediction limit flag indicates whether or not a constraint that a reference block specified based on the spatial offset information is used is applied in inter-layer prediction of the current block.
  15. 제14항에 있어서, 상기 참조 블록은 상기 인터레이어 참조 픽쳐에 속한 콜 블록을 기준으로 상기 공간적 오프셋 정보에 따른 오프셋만큼 이동한 위치의 블록으로 특정되되,The method of claim 14, wherein the reference block is specified as a block of a position moved by an offset according to the spatial offset information based on a call block belonging to the interlayer reference picture,
    상기 공간적 오프셋 정보는 세그먼트 오프셋과 블록 오프셋 중 적어도 하나를 포함하는 것을 특징으로 하는 멀티 레이어 비디오 신호 인코딩 장치.The spatial offset information includes at least one of a segment offset and a block offset.
PCT/KR2014/008872 2013-09-24 2014-09-24 Method and apparatus for encoding/decoding multilayer video signal WO2015046866A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2013-0113176 2013-09-24
KR20130113176 2013-09-24

Publications (1)

Publication Number Publication Date
WO2015046866A1 true WO2015046866A1 (en) 2015-04-02

Family

ID=52743908

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/KR2014/008873 WO2015046867A1 (en) 2013-09-24 2014-09-24 Method and apparatus for encoding/decoding multilayer video signal
PCT/KR2014/008872 WO2015046866A1 (en) 2013-09-24 2014-09-24 Method and apparatus for encoding/decoding multilayer video signal

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/KR2014/008873 WO2015046867A1 (en) 2013-09-24 2014-09-24 Method and apparatus for encoding/decoding multilayer video signal

Country Status (2)

Country Link
KR (3) KR20150033577A (en)
WO (2) WO2015046867A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012173439A2 (en) * 2011-06-15 2012-12-20 한국전자통신연구원 Method for coding and decoding scalable video and apparatus using same
WO2013062470A1 (en) * 2011-10-24 2013-05-02 Telefonaktiebolaget L M Ericsson (Publ) Reference picture marking
US20130155184A1 (en) * 2011-12-20 2013-06-20 Qualcomm Incorporated Reference picture list construction for multi-view and three-dimensional video coding
US20130163670A1 (en) * 2011-12-27 2013-06-27 Ati Technologies Ulc Multiview video coding reference picture selection under a one reference picture constraint

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012173439A2 (en) * 2011-06-15 2012-12-20 한국전자통신연구원 Method for coding and decoding scalable video and apparatus using same
WO2013062470A1 (en) * 2011-10-24 2013-05-02 Telefonaktiebolaget L M Ericsson (Publ) Reference picture marking
US20130155184A1 (en) * 2011-12-20 2013-06-20 Qualcomm Incorporated Reference picture list construction for multi-view and three-dimensional video coding
US20130163670A1 (en) * 2011-12-27 2013-06-27 Ati Technologies Ulc Multiview video coding reference picture selection under a one reference picture constraint

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ROBERT SKUPIN ET AL.: "Inter-layer delay indication in VUI (combining aspects of JCTVC-M0200, JCT3V-D0064 and JCT3V-D0199).", JCT-VC DOCUMENT JCTVC-M0463, 24 May 2013 (2013-05-24), pages 1 - 5, Retrieved from the Internet <URL:http://phenix.int-evry.fr/jct/doc_end_user/current_meeting.php?id_meeting=156&type_order=&sql_type=document_number> *

Also Published As

Publication number Publication date
KR20150133685A (en) 2015-11-30
WO2015046867A1 (en) 2015-04-02
KR20150033577A (en) 2015-04-01
KR20150033576A (en) 2015-04-01

Similar Documents

Publication Publication Date Title
WO2020009357A1 (en) Cclm-based intra-prediction method and device
WO2018155986A2 (en) Video signal processing method and apparatus
WO2019164031A1 (en) Image decoding method and apparatus according to block division structure in image coding system
WO2015034215A1 (en) Scalable video signal encoding/decoding method and apparatus
WO2012043989A2 (en) Method for partitioning block and decoding device
WO2015060614A1 (en) Method and device for encoding/decoding multi-layer video signal
WO2018212579A1 (en) Method and device for video signal processing
WO2018056701A1 (en) Method and apparatus for processing video signal
WO2017034113A1 (en) Inter prediction mode-based image processing method and apparatus therefor
WO2015099398A1 (en) Method and apparatus for encoding/decoding multilayer video signal
WO2015064989A1 (en) Multilayer video signal encoding/decoding method and device
WO2019194514A1 (en) Image processing method based on inter prediction mode, and device therefor
WO2015009021A1 (en) Method and apparatus for encoding/decoding scalable video signal
WO2018062950A1 (en) Picture processing method and apparatus for same
WO2015009009A1 (en) Scalable video signal encoding/decoding method and device
WO2020017785A1 (en) Image decoding method using intra prediction related information in image coding system and apparatus therefor
WO2021141227A1 (en) Image decoding method and device for same
WO2015037920A1 (en) Method and apparatus for encoding/decoding scalable video signal
WO2015147427A1 (en) Multilayer video signal encoding/decoding method and device
WO2015083988A1 (en) Method and device for encoding/decoding multi-layer video signal
WO2014189300A1 (en) Method and apparatus for coding video supporting plurality of layers
WO2014098374A1 (en) Scalable video decoding method using mpm, and apparatus using such method
WO2015060642A1 (en) Method and apparatus for encoding/decoding multilayer video signal
WO2015060616A1 (en) Method and device for encoding/decoding multi-layer video signal
WO2013169049A1 (en) Inter-layer prediction method and apparatus using same

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06/07/2016)

122 Ep: pct application non-entry in european phase

Ref document number: 14848096

Country of ref document: EP

Kind code of ref document: A1