WO2017099371A1 - Method and device for encoding and decoding intra-frame skip mode information - Google Patents

Method and device for encoding and decoding intra-frame skip mode information Download PDF

Info

Publication number
WO2017099371A1
WO2017099371A1 PCT/KR2016/012977 KR2016012977W WO2017099371A1 WO 2017099371 A1 WO2017099371 A1 WO 2017099371A1 KR 2016012977 W KR2016012977 W KR 2016012977W WO 2017099371 A1 WO2017099371 A1 WO 2017099371A1
Authority
WO
WIPO (PCT)
Prior art keywords
coding unit
skip mode
current coding
intra frame
unit
Prior art date
Application number
PCT/KR2016/012977
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
Priority claimed from CN201510921083.2A external-priority patent/CN106878751B/en
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to US15/773,101 priority Critical patent/US10623773B2/en
Publication of WO2017099371A1 publication Critical patent/WO2017099371A1/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/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/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • 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/129Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • 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 disclosure relates to encoding and decoding of video, and more particularly, to encoding and decoding of information related to an intra frame skip mode of a current coding unit.
  • an intra frame skip mode is used for depth image coding as a coding technique.
  • This technique adopts the intra frame prediction method. That is, the pixels in the current pixel block are predicted using the reconstructed values of other pixels at spatial locations adjacent to the current pixel block. This method is called intra frame prediction or intra prediction because the current pixel to be predicted and adjacent pixels used for prediction are in the same frame.
  • intra frame prediction is performed, according to the general intra frame prediction encoding mode, the difference between the predicted value of the pixel and the original value of the pixel is calculated, and the difference information and the prediction method information are encoded in the video bit stream and transmitted to the decoder. do.
  • the decoder may perform intra frame prediction to obtain the predicted value of the pixel using the same prediction method, and then add the difference to the predicted value, resulting in a reconstructed value of the pixel.
  • the difference information is not transmitted after intra frame prediction is performed.
  • the predicted value of the pixel is considered to be the finally reconstructed value of the pixel.
  • the reconstructed value may have a certain distortion compared to the original value before encoding, but the coding compression efficiency is still improved because other information is no longer transmitted.
  • there are many flat regions in the depth image Within this flat area, the difference between the predicted value of the pixel obtained by intra prediction and the original value of the pixel is quite small. Therefore, the difference information is not transmitted, but the distortion of the reconstructed value is not large.
  • this technique is adopted in 3D-HEVC for depth image coding.
  • inter prediction mode and other intra prediction modes are still maintained for depth image coding.
  • the flag is fixedly transmitted into the bit stream to indicate whether the intra frame skip mode is used to encode the current pixel block, where the flag is transmitted before other information.
  • the flag indicates that intra frame skip mode is used for the current pixel block, only information about the intra frame prediction method used for prediction is transmitted after that, and other information is not transmitted.
  • other information such as the prediction mode, block partition method, motion information, prediction direction and difference information, etc. It will continue to be sent later.
  • the method of indicating the intra frame skip mode is simple but the efficiency is low. This is because the flag is fixedly transmitted in this method irrespective of the type and additional information of the data unit containing the current pixel block.
  • the supported encoding modes are different.
  • the encoder can select only the intra frame prediction mode, and therefore has a high probability of selecting the intra frame skip mode.
  • the encoder can choose either an intra frame prediction mode or an inter frame prediction mode, thus reducing the probability of selecting an intra frame skip mode. Therefore, the efficiency when fixedly transmitting the 1 bit flag is low. For example, when the probability of occurrence of intra frame skip mode is quite low, in order to indicate whether intra frame skip mode is used, the 1 bit flag should still be transmitted.
  • the present disclosure provides a method and apparatus for encoding / decoding information related to an intra frame skip mode of a current coding unit according to a type of a data unit of a higher layer including the current coding unit.
  • overhead may be saved and video coding compression efficiency may be improved.
  • FIG. 2 is a flowchart of a method of decoding a video, according to an exemplary embodiment.
  • FIG. 3 is a block diagram of a video encoding apparatus, according to an embodiment.
  • FIG. 4 is a block diagram of a video decoding apparatus, according to an embodiment.
  • a method of decoding a video may include: determining a type of a data unit of a higher layer including a current coding unit in a hierarchical structure of the data unit; And obtaining, from the bit stream, information relating to an intra frame skip mode of the current coding unit, according to the determined type of the data unit of the higher layer, for different types of data units of the higher layer, Information related to the intra frame skip mode may be represented by codewords of different lengths in the bit stream.
  • a constraint may exist in the prediction mode of the current coding unit. For example, only an intra prediction mode may be selected as a prediction mode of a current coding unit for a current coding unit included in an intra prediction coding frame, and an intra frame prediction mode or inter as a prediction mode for an inter prediction coding frame.
  • the frame prediction mode may be selected.
  • the data unit of the upper layer may be any one of a sequence, a frame, a slice, a maximum coding unit, a maximum coding block, and a coding unit.
  • the coding unit may be replaced with a maximum coding unit, a maximum coding block, a coding block, a prediction unit, or a prediction block.
  • the frame may be an intra prediction coded frame or an inter prediction coded frame, a uni-prediction coded frame, or a bi-prediction coded frame, depending on the type thereof. Or a dual-hypothesis encoded frame, temporal predictive encoded frame or inter-view predictive encoded frame, base view frame or dependent view frame, texture Frame or depth frame or the like.
  • the slice may be an intra prediction coded slice or an inter prediction coded slice, a uni-prediction coded slice, a bi-prediction coded slice or Dual-hypothesis coded slices, temporal predictive coded slices or inter-view predictive coded slices, base view slices or dependent view slices, texture slices Or a depth slice or the like.
  • information for indicating an intra frame skip mode may also be different for the current coding unit.
  • information represented by codewords of different lengths in the bit stream may be encoded as information related to an intra frame skip mode of the current coding unit.
  • the first syntax element is encoded when the determined type of the data unit of the upper layer is the first type
  • the second syntax element is the case where the determined type of the data unit of the upper layer is the second type.
  • the first syntax element and the second syntax element may be represented by codewords of different lengths in the bit stream. For example, when a data unit of a higher layer including the current coding unit has a high probability of using an intra frame skip mode, the first syntax element may be represented by a short length codeword in a bit stream, such as a 1-bit flag.
  • the second syntax element may be represented by a long length code word in the bit stream.
  • the data unit of the higher layer is a frame
  • the data unit of the higher layer corresponding to the first type is an intra prediction coded frame
  • the data unit of the higher layer corresponding to the second type May be an inter prediction coded frame.
  • the first syntax element is a 1-bit flag indicating whether the intra frame skip mode is used in the current coding unit
  • the second syntax element is the intra frame skipping of the current coding unit. It may have an integer value in the range of 0 to N to indicate the use of mode and additional coding information, and N may be 3 or more.
  • the first syntax element has an integer value in a range of 0 to N1 for indicating use of the intra frame skip mode and additional coding information of the current coding unit
  • the second syntax element may include: It may have an integer value in the range of 0 to N2 to indicate the use of the intra frame skip mode and additional coding information of the current coding unit, and both N1 and N2 may be 3 or more.
  • the first syntax element is a 1-bit flag indicating whether the intra frame skip mode is used in the current coding unit
  • the second syntax element is the intra frame skipping of the current coding unit. It may have an integer value in the range of 0 to N to indicate the use of mode and additional coding information, and N may be 3 or more.
  • the additional coding information is used in the current coding unit in addition to the intra prediction method of the intra frame skip mode and the intra frame skip mode when the intra frame skip mode is used in the current coding unit. It may include at least one of a prediction mode, a partition mode of the current coding unit, and an inter frame prediction direction.
  • a value of the first syntax element indicating that the intra frame skip mode is used in the current coding unit and a value of the second syntax element indicating that the intra frame skip mode is used in the current coding unit are It may be different from each other.
  • a video encoding apparatus corresponding to a method of encoding a video.
  • the video encoding apparatus for determining the type of the data unit of the upper layer including the current coding unit in the hierarchical structure of the data unit and the determined type of the data unit of the higher layer, And an information encoder for encoding information related to an intra frame skip mode of the current coding unit and outputting a bit stream.
  • the information related to the intra frame skip mode may be represented by codewords of different lengths in the bit stream.
  • the information encoder encodes a first syntax element when the determined type of the data unit of the upper layer is the first type, and if the determined type of the data unit of the higher layer is the second type, Two syntax elements can be encoded.
  • the first syntax element and the second syntax element may be represented by codewords of different lengths in the bit stream.
  • the first syntax element may be represented by a short length codeword in a bit stream, such as a 1-bit flag.
  • the second syntax element may be represented by a long length code word in the bit stream.
  • the additional coding information is used in the current coding unit in addition to the intra prediction method of the intra frame skip mode and the intra frame skip mode when the intra frame skip mode is used in the current coding unit. It may include at least one of a prediction mode, a partition mode of the current coding unit, and an inter frame prediction direction.
  • a value of the first syntax element indicating that the intra frame skip mode is used in the current coding unit and a value of the second syntax element indicating that the intra frame skip mode is used in the current coding unit are It may be different from each other.
  • the information obtaining unit obtains a first syntax element when the determined type of the data unit of the upper layer is the first type, and if the determined type of the data unit of the upper layer is the second type, 2 Syntax element can be obtained.
  • the first syntax element and the second syntax element may be represented by codewords of different lengths in the bit stream. For example, when a data unit of a higher layer including the current coding unit has a high probability of using an intra frame skip mode, the first syntax element may be represented by a short length codeword in a bit stream, such as a 1-bit flag. When the data unit of the upper layer including the current coding unit has a low probability of using the intra frame skip mode, the second syntax element may be represented by a long length code word in the bit stream.
  • the first syntax element is a 1-bit flag indicating whether the intra frame skip mode is used in the current coding unit
  • the second syntax element is the intra frame skipping of the current coding unit. It may have an integer value in the range of 0 to N to indicate the use of mode and additional coding information, and N may be 3 or more.
  • the first syntax element has an integer value in a range of 0 to N1 for indicating use of the intra frame skip mode and additional coding information of the current coding unit
  • the second syntax element may include: It may have an integer value in the range of 0 to N2 to indicate the use of the intra frame skip mode and additional coding information of the current coding unit, and both N1 and N2 may be 3 or more.
  • a value of the first syntax element indicating that the intra frame skip mode is used in the current coding unit and a value of the second syntax element indicating that the intra frame skip mode is used in the current coding unit are It may be different from each other.
  • the method of encoding a video may include determining a type of a data unit of a higher layer including a current coding unit in a hierarchical structure of the data unit, and determining the type of the data unit of the higher layer. And encoding information related to an intra frame skip mode of the current coding unit to output a bit stream.
  • step 110 a type of a data unit of a higher layer including a current coding unit in the hierarchical structure of the data unit is determined.
  • step 120 according to the determined type of the data unit of the higher layer, information related to an intra frame skip mode of the current coding unit is encoded and a bit stream is output.
  • a syntax element may be signaled into the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information.
  • the value 0 of the syntax element is generated when the inter frame skip mode is used for the current coding unit
  • the value 1 of the syntax element is generated when the inter frame direct mode is used for the current coding unit
  • the intra frame skip mode The value 2 of the syntax element is generated when is used for the current coding unit
  • the value 3, 4 or 5 of the syntax element is generated according to the partition method of the current coding unit when another inter frame prediction mode is used for the current coding unit.
  • the value 6 of the syntax element may be generated, and the generated value may be recorded in the bit stream.
  • information on the prediction method used for the intra frame skip mode may be further signaled into the bit stream. For example, a value 0 is generated when the first prediction method is used as the prediction method for the intra frame skip mode, and a value 1 is generated when the second prediction method is used as the prediction method for the intra frame skip mode, and an intra frame A value 2 is generated when the third prediction method is used as the prediction method for the skip mode, and a value 3 is generated when the fourth prediction method is used as the prediction method for the intra frame skip mode, and the generated value is assigned to the bit stream. Can be recorded.
  • prediction residual information may not be included in the bit stream.
  • a frame may be replaced with a sequence, a slice, a maximum coding unit, a maximum coding block, and a coding unit.
  • a coding unit may be replaced with a maximum coding unit, a maximum coding block, a coding block, a prediction unit, or a prediction block.
  • step 110 a type of a data unit of a higher layer including a current coding unit in the hierarchical structure of the data unit is determined.
  • step 120 according to the determined type of the data unit of the higher layer, information related to an intra frame skip mode of the current coding unit is encoded and a bit stream is output.
  • information about an intra frame skip mode is encoded and included in the bit stream.
  • a syntax element may be signaled into the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information.
  • the value 0 of the syntax element is generated and when mode x is used for the current coding unit, the value 1 of the syntax element is generated or the syntax element Value of 1,2. Or when k-1 is generated according to different conditions and mode y is used for the current coding unit, value 2 of the syntax element (if value 1 has been generated for mode x) or k (value 1 for mode x) , 2... Or k-1 has been generated), and when a different prediction mode is used for the current coding unit, another value of the syntax element may be generated. The generated value of the syntax element may be written to the bit stream.
  • Modes x, y, and z may be other prediction modes except intra frame skip mode.
  • information on the prediction method used for the intra frame skip mode may be further signaled into the bit stream. For example, a value 0 is generated when the first prediction method is used as the prediction method for the intra frame skip mode, and a value 1 is generated when the second prediction method is used as the prediction method for the intra frame skip mode, and an intra frame A value 2 is generated when the third prediction method is used as the prediction method for the skip mode, and a value 3 is generated when the fourth prediction method is used as the prediction method for the intra frame skip mode, and the generated value of the syntax element is Can be written to the bit stream.
  • prediction residual information may not be included in the bit stream.
  • step 110 a type of a data unit of a higher layer including a current coding unit in a hierarchy of data units is determined.
  • the data unit of the upper layer is a frame, and the type of the frame including the current coding unit is determined in step 110.
  • the frame may be an intra prediction coded frame or an inter prediction coded frame, a uni-prediction coded frame, a bi-prediction coded frame, or a dual-hypothesis coded frame, or temporal.
  • step 120 according to the determined type of the data unit of the higher layer, information related to an intra frame skip mode of the current coding unit is encoded and a bit stream is output.
  • information about the intra frame skip mode is encoded and included in the output bit stream.
  • a syntax element may be signaled into the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information.
  • intra frame skip mode is used for the current coding unit
  • the value x of the syntax element is generated, otherwise, another value of the syntax element is generated according to the additional information, and the generated value of the syntax element is written to the bit stream.
  • a syntax element may be signaled into the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information.
  • prediction residual information may not be included in the bit stream.
  • the data unit of the upper layer is a frame, and the type of the frame including the current coding unit is determined in step 110.
  • the frame may be an intra prediction coded frame or an inter prediction coded frame, a uni-prediction coded frame, a bi-prediction coded frame, or a dual-hypothesis coded frame, or temporal.
  • a syntax element may be signaled into the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information.
  • a value of a syntax element dependent on the prediction method used for the intra frame skip mode may be generated. For example, the value x a of the syntax element is generated when the first prediction method is used, the value x b of the syntax element is generated when the second prediction method is used, and the value x of the syntax element when the third prediction method is used. c may be generated, and the generated value of the syntax element may be recorded in the bit stream. If the intra frame skip mode is not used for the current coding unit, another value of the syntax element may be generated according to additional information.
  • a syntax element may be signaled into the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information. If the intra frame skip mode is used for the current coding unit, a value of a syntax element dependent on the prediction method used for the intra frame skip mode may be generated. For example, the value y a is generated when the first prediction method is used, the value y b is generated when the second prediction method is used, and the value y c is generated when the third prediction method is used, The generated value may be written to the bit stream. If the intra frame skip mode is not used for the current coding unit, another value may be recorded in the bit stream according to additional information.
  • the values x a and y a may be different from each other, the values x b and y b may be different from each other, and the values x c and y c may be different from each other.
  • prediction residual information may not be included in the bit stream.
  • a frame may be replaced with a sequence, a slice, a maximum coding unit, a maximum coding block, and a coding unit.
  • a coding unit may be replaced with a maximum coding unit, a maximum coding block, a coding block, a prediction unit, or a prediction block.
  • the data unit of the upper layer is a frame, and the type of the frame including the current coding unit is determined in step 210.
  • the frame may be an intra prediction coded frame or an inter prediction coded frame, a uni-prediction coded frame, a bi-prediction coded frame, or a dual-hypothesis coded frame, or temporal.
  • a flag indicating whether the intra frame skip mode is used for the current coding unit is parsed from the bit stream. For example, if the value of the parsed flag is 1, it is determined that the intra frame skip mode is used for the current coding unit, and if the value of the parsed flag is 0, the intra frame skip mode is used for the current coding unit. It is decided not to.
  • a syntax element that indicates whether an intra frame skip mode is used for the current coding unit and indicates additional coding information is parsed from the bit stream. For example, if the value of the parsed syntax element is 0, it is determined that the inter frame skip mode is used for the current coding unit. If the value of the parsed syntax element is 1, the inter frame direct mode is used for the current coding unit.
  • the value of the parsed syntax element is 2, it is determined that the intra frame skip mode is used for the current coding unit, and if the value of the parsed syntax element is 3, 4, or 5 another inter frame prediction mode is It is determined to be used for the current coding unit, the partitioning method for the current coding unit according to the parsed value is determined, and if the value of the parsed syntax element is 6, the intra frame prediction mode (except the intra frame skip mode) is What is used for the coding unit is determined.
  • information about a prediction method used for the intra frame skip mode may be further parsed from the bit stream. For example, if the value parsed from the bit stream is 0, the first prediction method is used as the prediction method of the intra frame skip mode for the current coding unit, and if the value parsed from the bit stream is 1, the second prediction method is the current method. If the value used as the prediction method of the intra frame skip mode for the coding unit and the value parsed from the bit stream is 2, the third prediction method is used as the prediction method of the intra frame skip mode for the current coding unit and is parsed from the bit stream. If it is 3, the fourth prediction method is used as the prediction method of the intra frame skip mode with respect to the current coding unit.
  • prediction residual information may not be parsed from the bit stream.
  • Prediction on the current coding unit may be performed according to the prediction method determined to obtain a predicted pixel value, and the predicted pixel value may be regarded as a reconstructed pixel value.
  • the data unit of the upper layer is a slice, and the type of the slice including the current coding unit is determined in step 210.
  • a slice may be an intra prediction coded slice or an inter prediction coded slice, a uni-prediction coded slice, a bi-prediction coded slice, or a dual-hypothesis coded slice, or temporal, depending on its type.
  • step 220 information related to an intra frame skip mode of the current coding unit is obtained from the bit stream according to the determined type of the data unit of the higher layer.
  • information about an intra frame skip mode of the current coding unit is parsed from the bit stream.
  • a flag indicating whether an intra frame skip mode is used for the current coding unit is parsed from the bit stream. For example, if the value of the parsed flag is 1, it is determined that the intra frame skip mode is used for the current coding unit. If the value of the parsed flag is 0, the intra frame skip mode is not used for the current coding unit. Is determined.
  • the slice containing the current coding unit is a category B slice or a category C slice
  • a syntax element indicating whether an intra frame skip mode is used for the current coding unit and indicating additional coding information is parsed from the bit stream.
  • the value of the parsed syntax element is 0, it is determined that the intra frame skip mode is used for the current coding unit. If the value of the parsed syntax element is 1, mode x is determined for the current coding unit. Is used, or the value of the parsed syntax element is 1, 2... Or k-1, it is determined that mode x is used for the current coding unit, at the same time additional coding information is determined, and if the value of the parsed syntax element is 2 (only value 1 of the parsed syntax element represents mode x).
  • mode y is used for the current coding unit, and if the value of the parsed syntax element is any other value, It is determined that another prediction mode is used for the coding unit.
  • Modes x, y, and z may be other prediction modes except intra frame skip mode.
  • prediction residual information may not be parsed from the bit stream.
  • Prediction on the current coding unit may be performed according to the prediction method determined to obtain a predicted pixel value, and the predicted pixel value may be regarded as a reconstructed pixel value.
  • step 210 a type of a data unit of a higher layer including a current coding unit in the hierarchical structure of the data unit is determined.
  • the data unit of the upper layer is a frame, and the type of the frame including the current coding unit is determined in step 210.
  • the frame may be an intra prediction coded frame or an inter prediction coded frame, a uni-prediction coded frame, a bi-prediction coded frame, or a dual-hypothesis coded frame, or temporal.
  • step 220 information related to an intra frame skip mode of the current coding unit is obtained from the bit stream according to the determined type of the data unit of the higher layer.
  • step 210 information about an intra frame skip mode of the current coding unit is obtained from the bit stream.
  • a syntax element is parsed from the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information. If the value of the parsed syntax element is x, it is determined that the intra frame skip mode is used for the current coding unit. Otherwise, it is determined that the intra frame skip mode is not used for the current coding unit, and at the same time additional information is determined according to the value of the syntax element.
  • information about a prediction method used for the intra frame skip mode may be further parsed from the bit stream. For example, if the value parsed from the bit stream is 0, the first prediction method is used as the prediction method of the intra frame skip mode for the current coding unit, and if the value parsed from the bit stream is 1, the second prediction method is the current method. If the value used as the prediction method of the intra frame skip mode for the coding unit and the value parsed from the bit stream is 2, the third prediction method is used as the prediction method of the intra frame skip mode for the current coding unit and is parsed from the bit stream. If it is 3, the fourth prediction method is used as the prediction method of the intra frame skip mode with respect to the current coding unit.
  • a frame may be replaced with a sequence, a slice, a maximum coding unit, a maximum coding block, and a coding unit.
  • a coding unit may be replaced with a maximum coding unit, a maximum coding block, a coding block, a prediction unit, or a prediction block.
  • step 210 a type of a data unit of a higher layer including a current coding unit in the hierarchical structure of the data unit is determined.
  • the data unit of the upper layer is a frame, and the type of the frame including the current coding unit is determined in step 210.
  • the frame may be an intra prediction coded frame or an inter prediction coded frame, a uni-prediction coded frame, a bi-prediction coded frame, or a dual-hypothesis coded frame, or temporal.
  • step 220 information related to an intra frame skip mode of the current coding unit is obtained from the bit stream according to the determined type of the data unit of the higher layer.
  • step 210 information about an intra frame skip mode of the current coding unit is obtained from the bit stream.
  • the first prediction method is used for the intra frame skip mode
  • the second prediction method is for the intra frame skip mode. It is determined that it is used
  • the syntax element value is x c , it is determined that the third prediction method is used for the intra frame skip mode.
  • a syntax element is parsed from the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information. If the value of the parsed syntax element is y a , y b or y c , it is determined that the intra frame skip mode is used for the current coding unit. Otherwise, it is determined that the intra frame skip mode is not used for the current coding unit, and additional information is also determined according to the value of the syntax element. When the intra frame skip mode is used for the current coding unit, the prediction method used for the intra frame skip mode is also determined.
  • the values x a and y a may be different from each other, the values x b and y b may be different from each other, and the values x c and y c may be different from each other.
  • a frame may be replaced with a sequence, a slice, a maximum coding unit, a maximum coding block, and a coding unit.
  • a coding unit may be replaced with a maximum coding unit, a maximum coding block, a coding block, a prediction unit, or a prediction block.
  • the information encoder 320 encodes information related to an intra frame skip mode of the current coding unit according to a type of a data unit of a higher layer including the current coding unit determined by the data unit type determiner 310, thereby bit Output the stream.
  • the information encoder 320 may perform the processes of step 120 of the first to fourth embodiments, but is not limited thereto.
  • prediction residual information may not be included in the bit stream.
  • the data unit type determiner 410 determines the type of the data unit of the upper layer including the current coding unit in the hierarchical structure of the data unit, wherein the data unit of the upper layer is sequence, frame, slice, maximum coding It may be one of a unit, a maximum coding block, and a coding unit.

Landscapes

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

Abstract

Disclosed are a method and a device for encoding and decoding a video. A method for decoding a video, according to an embodiment, comprises the steps of: determining the types of data units in an upper layer comprising a current encoding unit in a hierarchical structure of data units; and obtaining information about an intra-frame skip mode of the current encoding unit from a bitstream on the basis of the determined types of the data units in the upper layer, wherein, with respect to varied types of the data units in the upper layer, the information related to the intra-frame skip mode is shown as codewords having varied lengths in the bitstream.

Description

인트라 프레임 스킵 모드 정보의 부호화 방법 및 장치, 복호화 방법 및 장치Method and apparatus for encoding intra frame skip mode information, method and apparatus for decoding
본 개시는 비디오의 부호화 및 복호화에 관한 것으로, 보다 상세하게는 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보의 부호화 및 복호화에 관한 것이다.The present disclosure relates to encoding and decoding of video, and more particularly, to encoding and decoding of information related to an intra frame skip mode of a current coding unit.
최근의 국제 3차원 비디오 코딩 규격, 즉 3차원 고효율 비디오 코딩 (3D-HEVC)에서, 부호화 기술로서 인트라 프레임 스킵 모드가 깊이 영상(depth image) 부호화에 대하여 사용된다. 이 기술은 인트라 프레임 예측 방법을 채택한다. 즉, 현재 픽셀 블록 안의 픽셀들은 현재 픽셀 블록에 인접한 공간적 위치에 있는 다른 픽셀들의 복원된 값을 이용하여 예측된다. 예측될 현재 픽셀과 예측에 사용되는 인접한 픽셀이 같은 프레임 안에 있기 때문에 이 방식은 인트라 프레임 예측 또는 인트라 예측이라 불린다. 인트라 프레임 예측이 수행된 후, 일반적인 인트라 프레임 예측 부호화 모드에 따라, 픽셀의 예측된 값과 픽셀의 원래 값 사이의 차이가 계산되고, 차이 정보와 예측 방법 정보가 비디오 비트 스트림 내에 부호화되고 복호화기로 전송된다. 그에 따라, 복호화기는 동일한 예측 방법을 사용하여 픽셀의 예측 값을 얻기 위해 인트라 프레임 예측을 수행한 후, 차이를 예측된 값에 더해 결과적으로 픽셀의 복원된 값을 얻을 수 있다. 그러나, 인트라 프레임 스킵 모드에서는, 인트라 프레임 예측이 수행된 후, 차이 정보가 전송되지 않는다. 즉, 픽셀의 예측된 값이 픽셀의 최종적으로 복원된 값으로 간주된다. 차이 보상(different compensation)이 없기 때문에 복원된 값이 부호화하기 전의 원래 값과 비교하여 특정 왜곡을 가질 수 있지만, 다른 정보가 더 이상 전송되지 않아도 되기 때문에 부호화 압축 효율은 여전히 향상된다. 실제로, 깊이 영상 안에는 많은 평탄 영역(flat region)들이 있다. 이 평탄 영역 안에서, 인트라 예측에 의해 얻은 픽셀의 예측 값과 픽셀의 원래 값 사이의 차이는 꽤 작다. 따라서, 차이 정보가 전송되지는 않지만, 복원된 값의 왜곡이 크지는 않다. 따라서, 이 기술은 깊이 영상 부호화에 대하여 3D-HEVC에서 채택된다. In the recent international three-dimensional video coding standard, that is, three-dimensional high efficiency video coding (3D-HEVC), an intra frame skip mode is used for depth image coding as a coding technique. This technique adopts the intra frame prediction method. That is, the pixels in the current pixel block are predicted using the reconstructed values of other pixels at spatial locations adjacent to the current pixel block. This method is called intra frame prediction or intra prediction because the current pixel to be predicted and adjacent pixels used for prediction are in the same frame. After intra frame prediction is performed, according to the general intra frame prediction encoding mode, the difference between the predicted value of the pixel and the original value of the pixel is calculated, and the difference information and the prediction method information are encoded in the video bit stream and transmitted to the decoder. do. Accordingly, the decoder may perform intra frame prediction to obtain the predicted value of the pixel using the same prediction method, and then add the difference to the predicted value, resulting in a reconstructed value of the pixel. However, in the intra frame skip mode, the difference information is not transmitted after intra frame prediction is performed. In other words, the predicted value of the pixel is considered to be the finally reconstructed value of the pixel. Since there is no differential compensation, the reconstructed value may have a certain distortion compared to the original value before encoding, but the coding compression efficiency is still improved because other information is no longer transmitted. Indeed, there are many flat regions in the depth image. Within this flat area, the difference between the predicted value of the pixel obtained by intra prediction and the original value of the pixel is quite small. Therefore, the difference information is not transmitted, but the distortion of the reconstructed value is not large. Thus, this technique is adopted in 3D-HEVC for depth image coding.
3D-HEVC에서, 인터 예측 모드 및 다른 인트라 예측 모드는 깊이 이미지 부호화에 대하여 여전히 유지된다. 따라서, 3D-HEVC에서, 플래그는 고정적으로 비트 스트림 내로 전송되어 인트라 프레임 스킵 모드가 현재 픽셀 블록을 부호화하는데 사용되었는지 나타내고, 이때 플래그는 다른 정보들보다 먼저 전송된다. 따라서, 플래그가 현재 픽셀 블록에 대해 인트라 프레임 스킵 모드가 사용되었음을 나타내면, 오직 예측에 사용된 인트라 프레임 예측 방법에 대한 정보만이 그 뒤에 전송되고, 다른 정보들은 전송되지 않는다. 플래그가 현재 픽셀 블록에 대해 인트라 프레임 스킵 모드가 사용되지 않았음을 나타내면, 다른 정보들, 예를 들면 현재 픽셀 블록에 사용된 예측 모드, 블록 파티션 방법, 모션 정보, 예측 방향 및 차분 정보 등은 그 뒤에 계속해서 전송된다.In 3D-HEVC, inter prediction mode and other intra prediction modes are still maintained for depth image coding. Thus, in 3D-HEVC, the flag is fixedly transmitted into the bit stream to indicate whether the intra frame skip mode is used to encode the current pixel block, where the flag is transmitted before other information. Thus, if the flag indicates that intra frame skip mode is used for the current pixel block, only information about the intra frame prediction method used for prediction is transmitted after that, and other information is not transmitted. If the flag indicates that intra frame skip mode is not used for the current pixel block, other information, such as the prediction mode, block partition method, motion information, prediction direction and difference information, etc. It will continue to be sent later.
3D-HEVC에서 인트라 프레임 스킵 모드를 나타내는 방법은 간단하지만 효율이 낮다. 이는 현재 픽셀 블록을 포함하는 데이터 단위의 유형 및 추가적인 정보와는 관계없이 상기 방법에서 플래그가 고정적으로 전송되기 때문이다. 실제로, 비디오 코딩 규격에서, 상이한 유형의 데이터 단위들에 포함된 픽셀 블록의 부호화에 대하여, 지원되는 부호화 모드가 상이하다. 예를 들어, 인트라 예측 부호화 프레임에 대하여, 부호화기는 인트라 프레임 예측 모드만 고를 수 있고, 따라서, 인트라 프레임 스킵 모드를 고를 확률이 높다. 인터 예측 부호화 프레임에 대하여, 부호화기는 인트라 프레임 예측 모드 또는 인터 프레임 예측 모드를 고를 수 있고, 따라서, 인트라 프레임 스킵 모드를 고를 확률이 이에 따라 감소한다. 따라서, 1 비트 플래그를 고정적으로 전송할 때의 효율은 낮다. 예를 들어, 인트라 프레임 스킵 모드의 발생 확률이 꽤 낮을 때, 인트라 프레임 스킵 모드가 사용되는지 지시하기 위해서, 1 비트 플래그는 여전히 전송되어야 한다.In 3D-HEVC, the method of indicating the intra frame skip mode is simple but the efficiency is low. This is because the flag is fixedly transmitted in this method irrespective of the type and additional information of the data unit containing the current pixel block. Indeed, in the video coding standard, for encoding of a pixel block included in different types of data units, the supported encoding modes are different. For example, for an intra predictive encoded frame, the encoder can select only the intra frame prediction mode, and therefore has a high probability of selecting the intra frame skip mode. For an inter prediction encoded frame, the encoder can choose either an intra frame prediction mode or an inter frame prediction mode, thus reducing the probability of selecting an intra frame skip mode. Therefore, the efficiency when fixedly transmitting the 1 bit flag is low. For example, when the probability of occurrence of intra frame skip mode is quite low, in order to indicate whether intra frame skip mode is used, the 1 bit flag should still be transmitted.
본 개시는, 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형에 따라, 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 부호화/복호화하기 위한 방법 및 장치를 제공한다.The present disclosure provides a method and apparatus for encoding / decoding information related to an intra frame skip mode of a current coding unit according to a type of a data unit of a higher layer including the current coding unit.
일 실시예에 따른 비디오를 부호화/복호화하기 위한 방법 및 장치를 통해, 오버헤드(overhead)를 절약하고, 비디오 코딩 압축 효율이 향상될 수 있다.Through a method and apparatus for encoding / decoding video according to an embodiment, overhead may be saved and video coding compression efficiency may be improved.
도 1은 일 실시예에 따른 비디오를 부호화하는 방법의 플로우 차트를 도시한다.1 is a flowchart of a method of encoding a video, according to an exemplary embodiment.
도 2는 일 실시예에 따른 비디오를 복호화하는 방법의 플로우 차트를 도시한다.2 is a flowchart of a method of decoding a video, according to an exemplary embodiment.
도 3은 일 실시예에 따른 비디오 부호화 장치의 블록도를 도시한다.3 is a block diagram of a video encoding apparatus, according to an embodiment.
도 4는 일 실시예에 따른 비디오 복호화 장치의 블록도를 도시한다.4 is a block diagram of a video decoding apparatus, according to an embodiment.
일 실시예에 따른 비디오를 복호화하는 방법은, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형을 결정하는 단계; 및 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 비트 스트림으로부터 획득하는 단계를 포함할 수 있고, 상기 상위 계층의 데이터 단위의 상이한 유형에 대해, 상기 인트라 프레임 스킵 모드와 관련된 정보는 상기 비트 스트림에서 상이한 길이의 코드워드로 표현될 수 있다. According to an embodiment, a method of decoding a video may include: determining a type of a data unit of a higher layer including a current coding unit in a hierarchical structure of the data unit; And obtaining, from the bit stream, information relating to an intra frame skip mode of the current coding unit, according to the determined type of the data unit of the higher layer, for different types of data units of the higher layer, Information related to the intra frame skip mode may be represented by codewords of different lengths in the bit stream.
일 실시예에 따르면, 상기 상위 계층의 데이터 단위는, 시퀀스, 프레임, 슬라이스, 최대 부호화 단위, 최대 부호화 블록, 부호화 단위 중 어느 하나일 수 있다.According to an embodiment, the data unit of the higher layer may be any one of a sequence, a frame, a slice, a maximum coding unit, a maximum coding block, and a coding unit.
일 실시예에 따르면, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 획득하는 단계는, 상기 상위 계층의 데이터 단위의 결정된 유형이 제1 유형인 경우에 제1 신택스 요소를 획득하고, 상기 상위 계층의 데이터 단위의 결정된 유형이 제2 유형인 경우에 제2 신택스 요소를 획득하는 단계를 포함하고, 상기 제1 신택스 요소는, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용되는지 여부를 나타내는 1 비트 플래그일 수 있고, 상기 제2 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N 범위의 정수 값을 가질 수 있고, N은 3 이상일 수 있다.According to an embodiment, the obtaining of the information related to the intra frame skip mode of the current coding unit may include obtaining a first syntax element when the determined type of the data unit of the higher layer is the first type, and the higher layer. Obtaining a second syntax element when the determined type of the data unit of the layer is the second type, wherein the first syntax element is 1 indicating whether the intra frame skip mode is used in the current coding unit; May be a bit flag, and the second syntax element may have an integer value ranging from 0 to N to indicate use of the intra frame skip mode and additional coding information of the current coding unit, and N may be 3 or more. have.
일 실시예에 따르면, 상기 추가적인 코딩 정보는, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용되는 경우에 상기 인트라 프레임 스킵 모드의 인트라 예측 방법, 상기 인트라 프레임 스킵 모드 이외에 상기 현재 부호화 단위에서 사용되는 예측 모드, 상기 현재 부호화 단위의 파티션 모드, 및 인터 프레임 예측 방향 중 적어도 하나를 포함할 수 있다.According to an embodiment, the additional coding information is used in the current coding unit in addition to the intra prediction method of the intra frame skip mode and the intra frame skip mode when the intra frame skip mode is used in the current coding unit. It may include at least one of a prediction mode, a partition mode of the current coding unit, and an inter frame prediction direction.
일 실시예에 따르면, 상기 상위 계층의 데이터 단위는 프레임일 수 있고, 상기 제1 유형에 해당하는 상기 상위 계층의 데이터 단위는, 인트라 예측 부호화 프레임일 수 있고, 상기 제2 유형에 해당하는 상기 상위 계층의 데이터 단위는, 인터 예측 부호화 프레임일 수 있다.According to an embodiment, the data unit of the higher layer may be a frame, and the data unit of the higher layer corresponding to the first type may be an intra prediction coded frame and the higher layer corresponding to the second type. The data unit of the layer may be an inter prediction coded frame.
일 실시예에 따르면, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 획득하는 단계는, 상기 상위 계층의 데이터 단위의 결정된 유형이 제1 유형인 경우에 제1 신택스 요소를 획득하고, 상기 상위 계층의 데이터 단위의 결정된 유형이 제2 유형인 경우에 제2 신택스 요소를 획득하는 단계를 포함할 수 있고, 상기 제1 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N1 범위의 정수 값을 가질 수 있고, 상기 제2 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N2 범위의 정수 값을 가질 수 있고, 상기 N1 및 N2는 모두 3 이상일 수 있다.According to an embodiment, the obtaining of the information related to the intra frame skip mode of the current coding unit may include obtaining a first syntax element when the determined type of the data unit of the higher layer is the first type, and the higher layer. Acquiring a second syntax element when the determined type of the data unit of the layer is the second type, wherein the first syntax element further comprises: using the intra frame skip mode and additional coding of the current coding unit. May have an integer value in the range of 0 to N1 for indicating information, and the second syntax element is an integer in the range of 0 to N2 for indicating use of the intra frame skip mode of the current coding unit and additional coding information. It may have a value, and both N1 and N2 may be three or more.
일 실시예에 따르면, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용됨을 나타내는 상기 제1 신택스 요소의 값과 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용됨을 나타내는 상기 제2 신택스 요소의 값은 서로 상이할 수 있다.According to an embodiment, a value of the first syntax element indicating that the intra frame skip mode is used in the current coding unit and a value of the second syntax element indicating that the intra frame skip mode is used in the current coding unit are May differ from one another.
일 실시예에 따른 비디오 복호화 장치는, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형을 결정하는 데이터 단위 유형 결정부; 및 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 비트 스트림으로부터 획득하는 인트라 프레임 스킵 모드 정보 획득부를 포함할 수 있고, 상기 상위 계층의 데이터 단위의 상이한 유형에 대해, 상기 인트라 프레임 스킵 모드와 관련된 정보는 상기 비트 스트림에서 상이한 길이의 코드워드로 표현될 수 있다.According to an embodiment, a video decoding apparatus includes: a data unit type determiner configured to determine a type of a data unit of a higher layer including a current coding unit in a hierarchical structure of a data unit; And an intra frame skip mode information obtaining unit configured to obtain information related to an intra frame skip mode of the current coding unit from a bit stream according to the determined type of the data unit of the higher layer. For different types, the information related to the intra frame skip mode may be represented by codewords of different lengths in the bit stream.
일 실시예에 따른 비디오를 부호화하는 방법은, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형을 결정하는 단계; 및 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 부호화하여 비트 스트림을 출력하는 단계를 포함할 수 있고, 상기 상위 계층의 데이터 단위의 상이한 유형에 대해, 상기 인트라 프레임 스킵 모드와 관련된 정보는 상기 비트 스트림에서 상이한 길이의 코드워드로 표현될 수 있다.According to an embodiment, a method of encoding a video may include determining a type of a data unit of a higher layer including a current coding unit in a hierarchical structure of the data unit; And encoding the information related to the intra frame skip mode of the current coding unit and outputting a bit stream according to the determined type of the data unit of the higher layer, and outputting a bit stream to different types of data units of the higher layer. For the information related to the intra frame skip mode may be represented by codewords of different lengths in the bit stream.
이하 본 명세서에 기재된 다양한 실시예들에서, '영상'은 정지 영상뿐만 아니라 비디오와 같은 동영상을 포함하여 포괄적으로 지칭할 수 있다. 또한, '영상'은, 단일 시점 영상 또는 다시점 영상일 수 있고, 텍스쳐 영상과 깊이 영상을 포함하는 3차원 영상일 수 있으며, 그 밖에 멀티 레이어 영상 및 스케일러블 영상 등일 수 있다.In various embodiments described herein, the term 'image' may refer to a generic image including a still image as well as a video such as a video. In addition, the image may be a single view image or a multiview image, a 3D image including a texture image and a depth image, and may be a multi-layer image and a scalable image.
영상과 관련된 데이터에 대해 각종 동작이 수행될 때, 영상과 관련된 데이터는 데이터 그룹들로 분할되고, 동일 데이터 그룹에 포함되는 데이터에 대해 동일한 동작이 수행될 수 있다. 이하 본 명세서에, 소정 기준에 따라 형성되는 데이터 그룹을 '데이터 단위'라 지칭한다. 이하 본 명세서에, '데이터 단위'마다 이루어지는 동작은, 데이터 단위에 포함된 데이터들을 이용하여 해당 동작이 수행됨을 의미할 수 있다.When various operations are performed on data related to an image, the data related to the image may be divided into data groups, and the same operation may be performed on data included in the same data group. Hereinafter, in the present specification, a data group formed according to a predetermined criterion is referred to as a 'data unit'. Hereinafter, the operation performed for each 'data unit' may mean that a corresponding operation is performed using data included in the data unit.
비디오 데이터 단위의 계층 구조는, 상위 계층으로부터 하위 계층으로, 시퀀스, 프레임, 슬라이스, 최대 부호화 단위(largest coding unit; LCU), 최대 부호화 블록, 부호화 단위, 부호화 블록, 예측 단위 및 예측 블록을 포함할 수 있다. 상위 계층의 데이터 단위는 하나 이상의 하위 계층의 데이터 단위를 포함할 수 있다. 예를 들어, 시퀀스는 하나 이상의 프레임을 포함할 수 있고, 프레임은 하나 이상의 슬라이스를 포함할 수 있고, 슬라이스는 래스터 스캔 순서로 배열된 하나 이상의 최대 부호화 단위를 포함할 수 있다. 다만, 상기 계층 구조는 상술한 예시에 한정되지 않고, 상이한 형태를 가질 수 있다.The hierarchical structure of the video data unit may include a sequence, a frame, a slice, a largest coding unit (LCU), a maximum coding block, a coding unit, a coding block, a prediction unit, and a prediction block from an upper layer to a lower layer. Can be. The data unit of the upper layer may include one or more data units of the lower layer. For example, the sequence may include one or more frames, the frame may include one or more slices, and the slice may include one or more maximum coding units arranged in a raster scan order. However, the hierarchical structure is not limited to the above example and may have a different form.
현재 부호화 단위가 속해 있는 상위 계층의 데이터 단위의 유형에 따라, 현재 부호화 단위의 예측 모드에 제약이 존재할 수 있다. 예를 들어, 인트라 예측 부호화 프레임에 포함되는 현재 부호화 단위에 대하여, 현재 부호화 단위의 예측 모드로서 인트라 예측 모드만이 선택될 수 있고, 인터 예측 부호화 프레임에 대하여, 예측 모드로서 인트라 프레임 예측 모드 또는 인터 프레임 예측 모드가 선택될 수 있다.According to the type of the data unit of the higher layer to which the current coding unit belongs, a constraint may exist in the prediction mode of the current coding unit. For example, only an intra prediction mode may be selected as a prediction mode of a current coding unit for a current coding unit included in an intra prediction coding frame, and an intra frame prediction mode or inter as a prediction mode for an inter prediction coding frame. The frame prediction mode may be selected.
현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되는 경우, 인트라 예측이 수행되지만, 현재 부호화 단위에 대하여 잔차(residual) 정보는 부호화되지 않고, 그에 따라 잔차 정보는 출력 비트 스트림에 포함되지 않는다. 대신, 인트라 프레임 스킵 모드가 사용되었는지 여부를 나타내는 정보와 인트라 프레임 스킵 모드에서 어떤 인트라 예측 방법이 사용되었는지를 나타내는 정보가 부호화될 수 있고, 단일의 신택스 요소는, 인트라 프레임 스킵 모드가 사용되었는지 여부 및 인트라 프레임 스킵 모드에서 어떤 인트라 예측 방법이 사용되었는지를 나타낼 수 있다.When the intra frame skip mode is used for the current coding unit, intra prediction is performed, but residual information is not encoded for the current coding unit, and thus the residual information is not included in the output bit stream. Instead, information indicating whether intra frame skip mode was used and information indicating which intra prediction method was used in intra frame skip mode may be encoded, and a single syntax element may be used to determine whether intra frame skip mode is used and It may indicate which intra prediction method was used in the intra frame skip mode.
본 개시에서, 비디오를 부호화하는 방법이 제공된다.In this disclosure, a method of encoding video is provided.
일 실시예에 따르면, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형이 결정되고, 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보가 부호화되어 비트 스트림이 출력된다. 상위 계층의 데이터 단위의 상이한 유형에 대해, 상기 인트라 프레임 스킵 모드와 관련된 정보는 상기 비트 스트림에서 상이한 길이의 코드워드로 표현될 수 있다.According to an embodiment, a type of a data unit of a higher layer including a current coding unit in a hierarchical structure of data units is determined, and an intra frame skip mode of the current coding unit is determined according to the determined type of the data unit of the higher layer. The information associated with is encoded and a bit stream is output. For different types of data units of higher layers, the information related to the intra frame skip mode may be represented by codewords of different lengths in the bit stream.
일 실시예에 따르면, 상위 계층의 데이터 단위는 시퀀스, 프레임, 슬라이스, 최대 부호화 단위, 최대 부호화 블록, 부호화 단위 중 어느 하나일 수 있다. 현재 부호화 단위에 있어서, 부호화 단위는 최대 부호화 단위, 최대 부호화 블록, 부호화 블록, 예측 단위 또는 예측 블록으로 대체될 수 있다.According to an embodiment, the data unit of the upper layer may be any one of a sequence, a frame, a slice, a maximum coding unit, a maximum coding block, and a coding unit. In the current coding unit, the coding unit may be replaced with a maximum coding unit, a maximum coding block, a coding block, a prediction unit, or a prediction block.
상위 계층의 데이터 단위가 프레임인 경우, 예를 들어, 프레임은 그 유형에 따라서, 인트라 예측 부호화 프레임 또는 인터 예측 부호화 프레임, 단방향 예측(uni-prediction) 부호화 프레임, 쌍방향 예측(bi-prediction) 부호화 프레임 또는 듀얼 가설(dual-hypothesis) 부호화 프레임, 시간적(temporal) 예측 부호화 프레임 또는 시점간(inter-view) 예측 부호화 프레임, 기본 시점(base view) 프레임 또는 의존 시점(dependent view) 프레임, 텍스처(texture) 프레임 또는 깊이(depth) 프레임 등일 수 있다. If the data unit of the higher layer is a frame, for example, the frame may be an intra prediction coded frame or an inter prediction coded frame, a uni-prediction coded frame, or a bi-prediction coded frame, depending on the type thereof. Or a dual-hypothesis encoded frame, temporal predictive encoded frame or inter-view predictive encoded frame, base view frame or dependent view frame, texture Frame or depth frame or the like.
상위 계층의 데이터가 슬라이스인 경우, 예를 들어, 슬라이스는 그 유형에 따라서, 인트라 예측 부호화 슬라이스 또는 인터 예측 부호화 슬라이스, 단방향 예측(uni-prediction) 부호화 슬라이스, 쌍방향 예측(bi-prediction) 부호화 슬라이스 또는 듀얼 가설(dual-hypothesis) 부호화 슬라이스, 시간적(temporal) 예측 부호화 슬라이스 또는 시점간(inter-view) 예측 부호화 슬라이스, 기본 시점(base view) 슬라이스 또는 의존 시점(dependent view) 슬라이스, 텍스처(texture) 슬라이스 또는 깊이(depth) 슬라이스 등일 수 있다. If the data of the higher layer is a slice, for example, the slice may be an intra prediction coded slice or an inter prediction coded slice, a uni-prediction coded slice, a bi-prediction coded slice or Dual-hypothesis coded slices, temporal predictive coded slices or inter-view predictive coded slices, base view slices or dependent view slices, texture slices Or a depth slice or the like.
일 실시예에 따르면, 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 결정된 유형이 상이한 경우, 현재 부호화 단위에 대해 인트라 프레임 스킵 모드를 나타내기 위한 정보 또한 상이할 수 있다. 상위 계층의 데이터 단위의 유형에 따라, 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보로서 비트 스트림에서 상이한 길이의 코드워드로 표현되는 정보가 부호화될 수 있다.According to an embodiment, when a determined type of a data unit of a higher layer including a current coding unit is different, information for indicating an intra frame skip mode may also be different for the current coding unit. According to the type of the data unit of the higher layer, information represented by codewords of different lengths in the bit stream may be encoded as information related to an intra frame skip mode of the current coding unit.
일 실시예에 따르면, 상위 계층의 데이터 단위의 결정된 유형이 제1 유형인 경우에 제1 신택스 요소가 부호화되고, 상기 상위 계층의 데이터 단위의 결정된 유형이 제2 유형인 경우에 제2 신택스 요소가 부호화될 수 있다. 제1 신택스 요소와 제2 신택스 요소는, 비트 스트림에서 서로 상이한 길이의 코드워드로 표현될 수 있다. 예를 들어, 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위가 인트라 프레임 스킵 모드를 사용할 확률이 높은 경우, 제1 신택스 요소는 1 비트 플래그와 같이 비트 스트림에서 짧은 길이의 코드워드로 표현될 수 있고, 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위가 인트라 프레임 스킵 모드를 사용할 확률이 낮은 경우, 제2 신택스 요소는 비트 스트림에서 긴 길이의 코드 워드로 표현될 수 있다. According to an embodiment, the first syntax element is encoded when the determined type of the data unit of the upper layer is the first type, and the second syntax element is the case where the determined type of the data unit of the upper layer is the second type. Can be encoded. The first syntax element and the second syntax element may be represented by codewords of different lengths in the bit stream. For example, when a data unit of a higher layer including the current coding unit has a high probability of using an intra frame skip mode, the first syntax element may be represented by a short length codeword in a bit stream, such as a 1-bit flag. When the data unit of the upper layer including the current coding unit has a low probability of using the intra frame skip mode, the second syntax element may be represented by a long length code word in the bit stream.
일 실시예에 따르면, 상기 상위 계층의 데이터 단위는 프레임이고, 상기 제1 유형에 해당하는 상기 상위 계층의 데이터 단위는, 인트라 예측 부호화 프레임이고, 상기 제2 유형에 해당하는 상기 상위 계층의 데이터 단위는, 인터 예측 부호화 프레임일 수 있다.According to an embodiment, the data unit of the higher layer is a frame, and the data unit of the higher layer corresponding to the first type is an intra prediction coded frame, and the data unit of the higher layer corresponding to the second type. May be an inter prediction coded frame.
일 실시예에 따르면, 상기 제1 신택스 요소는, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용되는지 여부를 나타내는 1 비트 플래그이고, 상기 제2 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N 범위의 정수 값을 갖고, N은 3 이상인 것일 수 있다. According to an embodiment, the first syntax element is a 1-bit flag indicating whether the intra frame skip mode is used in the current coding unit, and the second syntax element is the intra frame skipping of the current coding unit. It may have an integer value in the range of 0 to N to indicate the use of mode and additional coding information, and N may be 3 or more.
다른 실시예에 따르면, 상기 제1 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N1 범위의 정수 값을 갖고, 상기 제2 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N2 범위의 정수 값을 갖고, 상기 N1 및 N2는 모두 3 이상인 것일 수 있다.According to another embodiment, the first syntax element has an integer value in a range of 0 to N1 for indicating use of the intra frame skip mode and additional coding information of the current coding unit, and the second syntax element may include: It may have an integer value in the range of 0 to N2 to indicate the use of the intra frame skip mode and additional coding information of the current coding unit, and both N1 and N2 may be 3 or more.
일 실시예에 따르면, 상기 추가적인 코딩 정보는, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용되는 경우에 상기 인트라 프레임 스킵 모드의 인트라 예측 방법, 상기 인트라 프레임 스킵 모드 이외에 상기 현재 부호화 단위에서 사용되는 예측 모드, 상기 현재 부호화 단위의 파티션 모드, 및 인터 프레임 예측 방향 중 적어도 하나를 포함할 수 있다.According to an embodiment, the additional coding information is used in the current coding unit in addition to the intra prediction method of the intra frame skip mode and the intra frame skip mode when the intra frame skip mode is used in the current coding unit. It may include at least one of a prediction mode, a partition mode of the current coding unit, and an inter frame prediction direction.
일 실시예에 따르면, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용됨을 나타내는 상기 제1 신택스 요소의 값과 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용됨을 나타내는 상기 제2 신택스 요소의 값은 서로 상이한 것일 수 있다.According to an embodiment, a value of the first syntax element indicating that the intra frame skip mode is used in the current coding unit and a value of the second syntax element indicating that the intra frame skip mode is used in the current coding unit are It may be different from each other.
일 실시예에 따르면, 현재 부호화 단위에 대해 인트라 프레임 스킵 모드가 사용되었는지 여부에 따라, 다른 정보들이 더 부호화될 수 있다. 인트라 프레임 스킵 모드가 현재 부호화 단위에 대해 사용되었을 때, 인트라 프레임 스킵 모드에 대하여 사용된 인트라 예측 방법을 나타내는 정보가 부호화되어 비트 스트림이 출력될 수 있다. 다만, 예측 레지듀얼 정보는 부호화되지 않을 수 있다. According to an embodiment, other information may be further encoded according to whether an intra frame skip mode is used for the current coding unit. When the intra frame skip mode is used for the current coding unit, information indicating the intra prediction method used for the intra frame skip mode may be encoded to output a bit stream. However, prediction residual information may not be encoded.
본 개시에서, 비디오를 복호화하는 방법이 제공된다.In the present disclosure, a method of decoding a video is provided.
일 실시예에 따르면, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형이 결정되고, 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보가 비트 스트림으로부터 획득된다. 상위 계층의 데이터 단위의 상이한 유형에 대해, 상기 인트라 프레임 스킵 모드와 관련된 정보는 상기 비트 스트림에서 상이한 길이의 코드워드로 표현될 수 있다.According to an embodiment, a type of a data unit of a higher layer including a current coding unit in a hierarchical structure of data units is determined, and an intra frame skip mode of the current coding unit is determined according to the determined type of the data unit of the higher layer. Information associated with is obtained from the bit stream. For different types of data units of higher layers, the information related to the intra frame skip mode may be represented by codewords of different lengths in the bit stream.
일 실시예에 따르면, 상위 계층의 데이터 단위는 시퀀스, 프레임, 슬라이스, 최대 부호화 단위, 최대 부호화 블록, 부호화 단위 중 어느 하나일 수 있다. 현재 부호화 단위에 있어서, 부호화 단위는 최대 부호화 단위, 최대 부호화 블록, 부호화 블록, 예측 단위 또는 예측 블록으로 대체될 수 있다.According to an embodiment, the data unit of the upper layer may be any one of a sequence, a frame, a slice, a maximum coding unit, a maximum coding block, and a coding unit. In the current coding unit, the coding unit may be replaced with a maximum coding unit, a maximum coding block, a coding block, a prediction unit, or a prediction block.
상위 계층의 데이터 단위가 프레임인 경우, 예를 들어, 프레임은 그 유형에 따라서, 인트라 예측 부호화 프레임 또는 인터 예측 부호화 프레임, 단방향 예측(uni-prediction) 부호화 프레임, 쌍방향 예측(bi-prediction) 부호화 프레임 또는 듀얼 가설(dual-hypothesis) 부호화 프레임, 시간적(temporal) 예측 부호화 프레임 또는 시점간(inter-view) 예측 부호화 프레임, 기본 시점(base view) 프레임 또는 의존 시점(dependent view) 프레임, 텍스처(texture) 프레임 또는 깊이(depth) 프레임 등일 수 있다. If the data unit of the higher layer is a frame, for example, the frame may be an intra prediction coded frame or an inter prediction coded frame, a uni-prediction coded frame, or a bi-prediction coded frame, depending on the type thereof. Or a dual-hypothesis encoded frame, temporal predictive encoded frame or inter-view predictive encoded frame, base view frame or dependent view frame, texture Frame or depth frame or the like.
상위 계층의 데이터가 슬라이스인 경우, 예를 들어, 슬라이스는 그 유형에 따라서, 인트라 예측 부호화 슬라이스 또는 인터 예측 부호화 슬라이스, 단방향 예측(uni-prediction) 부호화 슬라이스, 쌍방향 예측(bi-prediction) 부호화 슬라이스 또는 듀얼 가설(dual-hypothesis) 부호화 슬라이스, 시간적(temporal) 예측 부호화 슬라이스 또는 시점간(inter-view) 예측 부호화 슬라이스, 기본 시점(base view) 슬라이스 또는 의존 시점(dependent view) 슬라이스, 텍스처(texture) 슬라이스 또는 깊이(depth) 슬라이스 등일 수 있다. If the data of the higher layer is a slice, for example, the slice may be an intra prediction coded slice or an inter prediction coded slice, a uni-prediction coded slice, a bi-prediction coded slice or Dual-hypothesis coded slices, temporal predictive coded slices or inter-view predictive coded slices, base view slices or dependent view slices, texture slices Or a depth slice or the like.
일 실시예에 따르면, 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 결정된 유형이 상이한 경우, 현재 부호화 단위에 대해 인트라 프레임 스킵 모드를 나타내기 위한 정보 또한 상이할 수 있다. 상위 계층의 데이터 단위의 유형에 따라, 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보로서 비트 스트림에서 상이한 길이의 코드워드로 표현되는 정보가 획득될 수 있다.According to an embodiment, when a determined type of a data unit of a higher layer including a current coding unit is different, information for indicating an intra frame skip mode may also be different for the current coding unit. According to the type of the data unit of the higher layer, information represented by codewords of different lengths in the bit stream may be obtained as information related to an intra frame skip mode of the current coding unit.
일 실시예에 따르면, 상위 계층의 데이터 단위의 결정된 유형이 제1 유형인 경우에 비트 스트림으로부터 제1 신택스 요소가 획득되고, 상기 상위 계층의 데이터 단위의 결정된 유형이 제2 유형인 경우에 비트 스트림으로부터 제2 신택스 요소가 획득될 수 있다. 제1 신택스 요소와 제2 신택스 요소는, 비트 스트림에서 서로 상이한 길이의 코드워드로 표현될 수 있다. 예를 들어, 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위가 인트라 프레임 스킵 모드를 사용할 확률이 높은 경우, 제1 신택스 요소는 1 비트 플래그와 같이 비트 스트림에서 짧은 길이의 코드워드로 표현될 수 있고, 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위가 인트라 프레임 스킵 모드를 사용할 확률이 낮은 경우, 제2 신택스 요소는 비트 스트림에서 긴 길이의 코드 워드로 표현될 수 있다. According to an embodiment, a first syntax element is obtained from the bit stream when the determined type of the data unit of the upper layer is the first type, and the bit stream when the determined type of the data unit of the upper layer is the second type. A second syntax element can be obtained from. The first syntax element and the second syntax element may be represented by codewords of different lengths in the bit stream. For example, when a data unit of a higher layer including the current coding unit has a high probability of using an intra frame skip mode, the first syntax element may be represented by a short length codeword in a bit stream, such as a 1-bit flag. When the data unit of the upper layer including the current coding unit has a low probability of using the intra frame skip mode, the second syntax element may be represented by a long length code word in the bit stream.
일 실시예에 따르면, 상기 상위 계층의 데이터 단위는 프레임이고, 상기 제1 유형에 해당하는 상기 상위 계층의 데이터 단위는, 인트라 예측 부호화 프레임이고, 상기 제2 유형에 해당하는 상기 상위 계층의 데이터 단위는, 인터 예측 부호화 프레임일 수 있다.According to an embodiment, the data unit of the higher layer is a frame, and the data unit of the higher layer corresponding to the first type is an intra prediction coded frame, and the data unit of the higher layer corresponding to the second type. May be an inter prediction coded frame.
일 실시예에 따르면, 상기 제1 신택스 요소는, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용되는지 여부를 나타내는 1 비트 플래그이고, 상기 제2 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N 범위의 정수 값을 갖고, N은 3 이상인 것일 수 있다. According to an embodiment, the first syntax element is a 1-bit flag indicating whether the intra frame skip mode is used in the current coding unit, and the second syntax element is the intra frame skipping of the current coding unit. It may have an integer value in the range of 0 to N to indicate the use of mode and additional coding information, and N may be 3 or more.
다른 실시예에 따르면, 상기 제1 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N1 범위의 정수 값을 갖고, 상기 제2 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N2 범위의 정수 값을 갖고, 상기 N1 및 N2는 모두 3 이상인 것일 수 있다.According to another embodiment, the first syntax element has an integer value in a range of 0 to N1 for indicating use of the intra frame skip mode and additional coding information of the current coding unit, and the second syntax element may include: It may have an integer value in the range of 0 to N2 to indicate the use of the intra frame skip mode and additional coding information of the current coding unit, and both N1 and N2 may be 3 or more.
일 실시예에 따르면, 상기 추가적인 코딩 정보는, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용되는 경우에 상기 인트라 프레임 스킵 모드의 인트라 예측 방법, 상기 인트라 프레임 스킵 모드 이외에 상기 현재 부호화 단위에서 사용되는 예측 모드, 상기 현재 부호화 단위의 파티션 모드, 및 인터 프레임 예측 방향 중 적어도 하나를 포함할 수 있다.According to an embodiment, the additional coding information is used in the current coding unit in addition to the intra prediction method of the intra frame skip mode and the intra frame skip mode when the intra frame skip mode is used in the current coding unit. It may include at least one of a prediction mode, a partition mode of the current coding unit, and an inter frame prediction direction.
일 실시예에 따르면, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용됨을 나타내는 상기 제1 신택스 요소의 값과 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용됨을 나타내는 상기 제2 신택스 요소의 값은 서로 상이한 것일 수 있다.According to an embodiment, a value of the first syntax element indicating that the intra frame skip mode is used in the current coding unit and a value of the second syntax element indicating that the intra frame skip mode is used in the current coding unit are It may be different from each other.
일 실시예에 따르면, 현재 부호화 단위에 대해 인트라 프레임 스킵 모드가 사용되는지 여부에 따라, 비트 스트림으로부터 다른 정보들이 더 획득될 수 있다. 인트라 프레임 스킵 모드가 현재 부호화 단위에 대해 사용될 때, 인트라 프레임 스킵 모드에 대하여 사용된 인트라 예측 방법을 나타내는 정보가 비트 스트림으로부터 획득될 수 있다. 다만, 예측 레지듀얼 정보는 획득되지 않을 수 있다. 결정된 예측 방법에 따라 현재 부호화 단위에 대하여 예측을 수행하여 예측된 픽셀 값이 획득될 수 있고, 예측된 픽셀 값은 복원된 픽셀 값으로 간주될 수 있다. According to an embodiment, other information may be further obtained from the bit stream according to whether the intra frame skip mode is used for the current coding unit. When the intra frame skip mode is used for the current coding unit, information indicating the intra prediction method used for the intra frame skip mode may be obtained from the bit stream. However, prediction residual information may not be obtained. A predicted pixel value may be obtained by performing prediction on the current coding unit according to the determined prediction method, and the predicted pixel value may be regarded as a reconstructed pixel value.
본 개시에서, 비디오를 부호화하는 방법에 대응하여, 비디오 부호화 장치가 제공된다.In the present disclosure, a video encoding apparatus is provided corresponding to a method of encoding a video.
일 실시예에 따르면, 비디오 부호화 장치는 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형을 결정하는 데이터 단위 유형 결정부 및 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 부호화하여 비트 스트림을 출력하는 정보 부호화부를 포함한다. 상위 계층의 데이터 단위의 상이한 유형에 대해, 상기 인트라 프레임 스킵 모드와 관련된 정보는 상기 비트 스트림에서 상이한 길이의 코드워드로 표현될 수 있다.According to an embodiment, the video encoding apparatus according to the data unit type determiner for determining the type of the data unit of the upper layer including the current coding unit in the hierarchical structure of the data unit and the determined type of the data unit of the higher layer, And an information encoder for encoding information related to an intra frame skip mode of the current coding unit and outputting a bit stream. For different types of data units of higher layers, the information related to the intra frame skip mode may be represented by codewords of different lengths in the bit stream.
일 실시예에 따르면, 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 결정된 유형이 상이한 경우, 현재 부호화 단위에 대해 인트라 프레임 스킵 모드를 나타내기 위한 정보 또한 상이할 수 있다. 상위 계층의 데이터 단위의 유형에 따라, 정보 부호화부는, 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보로서 비트 스트림에서 상이한 길이의 코드워드로 표현되는 정보를 부호화할 수 있다.According to an embodiment, when a determined type of a data unit of a higher layer including a current coding unit is different, information for indicating an intra frame skip mode may also be different for the current coding unit. According to the type of the data unit of the higher layer, the information encoder may encode information represented by codewords having different lengths in the bit stream as information related to an intra frame skip mode of the current coding unit.
일 실시예에 따르면, 정보 부호화부는, 상위 계층의 데이터 단위의 결정된 유형이 제1 유형인 경우에 제1 신택스 요소를 부호화하고, 상기 상위 계층의 데이터 단위의 결정된 유형이 제2 유형인 경우에 제2 신택스 요소를 부호화할 수 있다. 제1 신택스 요소와 제2 신택스 요소는, 비트 스트림에서 서로 상이한 길이의 코드워드로 표현될 수 있다. 예를 들어, 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위가 인트라 프레임 스킵 모드를 사용할 확률이 높은 경우, 제1 신택스 요소는 1 비트 플래그와 같이 비트 스트림에서 짧은 길이의 코드워드로 표현될 수 있고, 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위가 인트라 프레임 스킵 모드를 사용할 확률이 낮은 경우, 제2 신택스 요소는 비트 스트림에서 긴 길이의 코드 워드로 표현될 수 있다.According to an embodiment, the information encoder encodes a first syntax element when the determined type of the data unit of the upper layer is the first type, and if the determined type of the data unit of the higher layer is the second type, Two syntax elements can be encoded. The first syntax element and the second syntax element may be represented by codewords of different lengths in the bit stream. For example, when a data unit of a higher layer including the current coding unit has a high probability of using an intra frame skip mode, the first syntax element may be represented by a short length codeword in a bit stream, such as a 1-bit flag. When the data unit of the upper layer including the current coding unit has a low probability of using the intra frame skip mode, the second syntax element may be represented by a long length code word in the bit stream.
일 실시예에 따르면, 상기 제1 신택스 요소는, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용되는지 여부를 나타내는 1 비트 플래그이고, 상기 제2 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N 범위의 정수 값을 갖고, N은 3 이상인 것일 수 있다. According to an embodiment, the first syntax element is a 1-bit flag indicating whether the intra frame skip mode is used in the current coding unit, and the second syntax element is the intra frame skipping of the current coding unit. It may have an integer value in the range of 0 to N to indicate the use of mode and additional coding information, and N may be 3 or more.
다른 실시예에 따르면, 상기 제1 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N1 범위의 정수 값을 갖고, 상기 제2 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N2 범위의 정수 값을 갖고, 상기 N1 및 N2는 모두 3 이상인 것일 수 있다.According to another embodiment, the first syntax element has an integer value in a range of 0 to N1 for indicating use of the intra frame skip mode and additional coding information of the current coding unit, and the second syntax element may include: It may have an integer value in the range of 0 to N2 to indicate the use of the intra frame skip mode and additional coding information of the current coding unit, and both N1 and N2 may be 3 or more.
일 실시예에 따르면, 상기 추가적인 코딩 정보는, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용되는 경우에 상기 인트라 프레임 스킵 모드의 인트라 예측 방법, 상기 인트라 프레임 스킵 모드 이외에 상기 현재 부호화 단위에서 사용되는 예측 모드, 상기 현재 부호화 단위의 파티션 모드, 및 인터 프레임 예측 방향 중 적어도 하나를 포함할 수 있다.According to an embodiment, the additional coding information is used in the current coding unit in addition to the intra prediction method of the intra frame skip mode and the intra frame skip mode when the intra frame skip mode is used in the current coding unit. It may include at least one of a prediction mode, a partition mode of the current coding unit, and an inter frame prediction direction.
일 실시예에 따르면, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용됨을 나타내는 상기 제1 신택스 요소의 값과 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용됨을 나타내는 상기 제2 신택스 요소의 값은 서로 상이한 것일 수 있다.According to an embodiment, a value of the first syntax element indicating that the intra frame skip mode is used in the current coding unit and a value of the second syntax element indicating that the intra frame skip mode is used in the current coding unit are It may be different from each other.
일 실시예에 따르면, 현재 부호화 단위에 대해 인트라 프레임 스킵 모드가 사용되었는지 여부에 따라, 정보 부호화부는 다른 정보들을 더 부호화할 수 있다. 인트라 프레임 스킵 모드가 현재 부호화 단위에 대해 사용되었을 때, 정보 부호화부는 인트라 프레임 스킵 모드에 대하여 사용된 인트라 예측 방법을 나타내는 정보를 부호화하고 비트 스트림을 출력할 수 있다. 다만, 예측 레지듀얼 정보는 부호화되지 않을 수 있다.According to an embodiment, the information encoder may further encode other information according to whether an intra frame skip mode is used for the current coding unit. When the intra frame skip mode is used for the current coding unit, the information encoder may encode information indicating the intra prediction method used for the intra frame skip mode and output a bit stream. However, prediction residual information may not be encoded.
본 개시에서, 비디오를 복호화하는 방법에 대응하여, 비디오 복호화 장치가 제공된다.In the present disclosure, corresponding to a method of decoding a video, a video decoding apparatus is provided.
일 실시예에 따르면, 비디오 복호화 장치는, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형을 결정하는 데이터 단위 유형 결정부 및 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 비트 스트림으로부터 획득하는 정보 획득부를 포함한다. 상위 계층의 데이터 단위의 상이한 유형에 대해, 상기 인트라 프레임 스킵 모드와 관련된 정보는 상기 비트 스트림에서 상이한 길이의 코드워드로 표현될 수 있다.According to an embodiment, the video decoding apparatus may further include a data unit type determiner that determines a type of a data unit of a higher layer including a current coding unit in a hierarchical structure of the data unit, and the determined type of the data unit of the higher layer. And an information obtaining unit obtaining information related to an intra frame skipping mode of the current coding unit from a bit stream. For different types of data units of higher layers, the information related to the intra frame skip mode may be represented by codewords of different lengths in the bit stream.
일 실시예에 따르면, 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 결정된 유형이 상이한 경우, 현재 부호화 단위에 대해 인트라 프레임 스킵 모드를 나타내기 위한 정보 또한 상이할 수 있다. 상위 계층의 데이터 단위의 유형에 따라, 정보 획득부는, 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보로서 비트 스트림에서 상이한 길이의 코드워드로 표현되는 정보를 획득할 수 있다.According to an embodiment, when a determined type of a data unit of a higher layer including a current coding unit is different, information for indicating an intra frame skip mode may also be different for the current coding unit. According to the type of the data unit of the higher layer, the information acquirer may acquire information represented by codewords of different lengths in the bit stream as information related to the intra frame skip mode of the current coding unit.
일 실시예에 따르면, 정보 획득부는, 상위 계층의 데이터 단위의 결정된 유형이 제1 유형인 경우에 제1 신택스 요소를 획득하고, 상기 상위 계층의 데이터 단위의 결정된 유형이 제2 유형인 경우에 제2 신택스 요소를 획득할 수 있다. 제1 신택스 요소와 제2 신택스 요소는, 비트 스트림에서 서로 상이한 길이의 코드워드로 표현될 수 있다. 예를 들어, 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위가 인트라 프레임 스킵 모드를 사용할 확률이 높은 경우, 제1 신택스 요소는 1 비트 플래그와 같이 비트 스트림에서 짧은 길이의 코드워드로 표현될 수 있고, 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위가 인트라 프레임 스킵 모드를 사용할 확률이 낮은 경우, 제2 신택스 요소는 비트 스트림에서 긴 길이의 코드 워드로 표현될 수 있다.According to an embodiment, the information obtaining unit obtains a first syntax element when the determined type of the data unit of the upper layer is the first type, and if the determined type of the data unit of the upper layer is the second type, 2 Syntax element can be obtained. The first syntax element and the second syntax element may be represented by codewords of different lengths in the bit stream. For example, when a data unit of a higher layer including the current coding unit has a high probability of using an intra frame skip mode, the first syntax element may be represented by a short length codeword in a bit stream, such as a 1-bit flag. When the data unit of the upper layer including the current coding unit has a low probability of using the intra frame skip mode, the second syntax element may be represented by a long length code word in the bit stream.
일 실시예에 따르면, 상기 제1 신택스 요소는, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용되는지 여부를 나타내는 1 비트 플래그이고, 상기 제2 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N 범위의 정수 값을 갖고, N은 3 이상인 것일 수 있다. According to an embodiment, the first syntax element is a 1-bit flag indicating whether the intra frame skip mode is used in the current coding unit, and the second syntax element is the intra frame skipping of the current coding unit. It may have an integer value in the range of 0 to N to indicate the use of mode and additional coding information, and N may be 3 or more.
다른 실시예에 따르면, 상기 제1 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N1 범위의 정수 값을 갖고, 상기 제2 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N2 범위의 정수 값을 갖고, 상기 N1 및 N2는 모두 3 이상인 것일 수 있다.According to another embodiment, the first syntax element has an integer value in a range of 0 to N1 for indicating use of the intra frame skip mode and additional coding information of the current coding unit, and the second syntax element may include: It may have an integer value in the range of 0 to N2 to indicate the use of the intra frame skip mode and additional coding information of the current coding unit, and both N1 and N2 may be 3 or more.
일 실시예에 따르면, 상기 추가적인 코딩 정보는, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용되는 경우에 상기 인트라 프레임 스킵 모드의 인트라 예측 방법, 상기 인트라 프레임 스킵 모드 이외에 상기 현재 부호화 단위에서 사용되는 예측 모드, 상기 현재 부호화 단위의 파티션 모드, 및 인터 프레임 예측 방향 중 적어도 하나를 포함할 수 있다.According to an embodiment, the additional coding information is used in the current coding unit in addition to the intra prediction method of the intra frame skip mode and the intra frame skip mode when the intra frame skip mode is used in the current coding unit. It may include at least one of a prediction mode, a partition mode of the current coding unit, and an inter frame prediction direction.
일 실시예에 따르면, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용됨을 나타내는 상기 제1 신택스 요소의 값과 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용됨을 나타내는 상기 제2 신택스 요소의 값은 서로 상이한 것일 수 있다.According to an embodiment, a value of the first syntax element indicating that the intra frame skip mode is used in the current coding unit and a value of the second syntax element indicating that the intra frame skip mode is used in the current coding unit are It may be different from each other.
일 실시예에 따르면, 현재 부호화 단위에 대해 인트라 프레임 스킵 모드가 사용되었는지 여부에 따라, 정보 획득부는 다른 정보들을 더 부호화할 수 있다. 인트라 프레임 스킵 모드가 현재 부호화 단위에 대해 사용되었을 때, 정보 획득부는 인트라 프레임 스킵 모드에 대하여 사용된 인트라 예측 방법을 나타내는 정보를 획득할 수 있다. 다만, 예측 레지듀얼 정보는 획득되지 않을 수 있다.According to an embodiment, the information acquisition unit may further encode other information according to whether the intra frame skip mode is used for the current coding unit. When the intra frame skip mode is used for the current coding unit, the information acquirer may obtain information indicating the intra prediction method used for the intra frame skip mode. However, prediction residual information may not be obtained.
이하, 첨부된 도면을 참조하여 다양한 실시예에 대해 구체적으로 설명한다.Hereinafter, various embodiments will be described in detail with reference to the accompanying drawings.
도 1은 일 실시예에 따른 비디오를 부호화하는 방법의 플로우 차트를 도시한다.1 is a flowchart of a method of encoding a video, according to an exemplary embodiment.
도 1을 참조하면, 비디오를 부호화하는 방법은, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형을 결정하는 단계 110 및 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 부호화하여 비트 스트림을 출력하는 단계 120를 포함한다.Referring to FIG. 1, the method of encoding a video may include determining a type of a data unit of a higher layer including a current coding unit in a hierarchical structure of the data unit, and determining the type of the data unit of the higher layer. And encoding information related to an intra frame skip mode of the current coding unit to output a bit stream.
이하, 도 1을 참조하여 실시예 1 내지 4의 부호화 방법이 설명된다. Hereinafter, the encoding method of the first to fourth embodiments will be described with reference to FIG. 1.
실시예 1에 따르면, 단계 110에서, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형이 결정된다.According to the first embodiment, in step 110, a type of a data unit of a higher layer including a current coding unit in the hierarchical structure of the data unit is determined.
본 실시예에서, 상위 계층의 데이터 단위는 프레임이고, 단계 110에서 현재 부호화 단위를 포함하는 프레임의 유형이 결정된다. 프레임은 그 유형에 따라서, 인트라 예측 부호화 프레임 또는 인터 예측 부호화 프레임, 단방향 예측(uni-prediction) 부호화 프레임, 쌍방향 예측(bi-prediction) 부호화 프레임 또는 듀얼 가설(dual-hypothesis) 부호화 프레임, 시간적(temporal) 예측 부호화 프레임 또는 시점간(inter-view) 예측 부호화 프레임, 기본 시점(base view) 프레임 또는 의존 시점(dependent view) 프레임, 텍스처(texture) 프레임 또는 깊이(depth) 프레임 등일 수 있다.In the present embodiment, the data unit of the upper layer is a frame, and the type of the frame including the current coding unit is determined in step 110. The frame may be an intra prediction coded frame or an inter prediction coded frame, a uni-prediction coded frame, a bi-prediction coded frame, or a dual-hypothesis coded frame, or temporal. ) May be a predictive encoded frame or an inter-view predictive encoded frame, a base view frame or a dependent view frame, a texture frame, or a depth frame.
단계 120에서, 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보가 부호화되고 비트 스트림이 출력된다.In step 120, according to the determined type of the data unit of the higher layer, information related to an intra frame skip mode of the current coding unit is encoded and a bit stream is output.
단계 110에서 결정된 현재 부호화 단위를 포함하는 프레임의 유형에 따라, 인트라 프레임 스킵 모드에 대한 정보가 부호화되어 출력 비트 스트림에 포함된다.According to the type of the frame including the current coding unit determined in step 110, information about the intra frame skip mode is encoded and included in the output bit stream.
현재 부호화 단위를 포함하는 프레임이 인트라 예측 부호화 프레임이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되는지를 나타내기 위해 플래그가 비트 스트림 안으로 시그널링될 수 있다. 예를 들어, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용될 때 플래그 값 1이 생성되고, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되지 않을 때 플래그 값 0이 생성되고, 상기 생성된 값이 비트 스트림에 기록될 수 있다.If the frame including the current coding unit is an intra prediction coded frame, a flag may be signaled into the bit stream to indicate whether an intra frame skip mode is used for the current coding unit. For example, a flag value 1 is generated when the intra frame skip mode is used for the current coding unit, a flag value 0 is generated when the intra frame skip mode is not used for the current coding unit, and the generated value is a bit. Can be written to the stream.
현재 부호화 단위를 포함하는 프레임이 인터 예측 부호화 프레임이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되는지를 나타내고 추가적인 코딩 정보를 나타내기 위하여 신택스 요소가 비트 스트림 안으로 시그널링될 수 있다. 예를 들어, 인터 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용될 때 신택스 요소의 값 0이 생성되고, 인터 프레임 다이렉트 모드가 현재 부호화 단위에 대하여 사용될 때 신택스 요소의 값 1이 생성되고, 인트라 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용될 때 신택스 요소의 값 2가 생성되고, 다른 인터 프레임 예측 모드가 현재 부호화 단위에 대하여 사용될 때 현재 부호화 단위의 파티션 방법에 따라 신택스 요소의 값 3, 4 또는 5가 생성되고, 인트라 프레임 예측 모드(인트라 프레임 스킵 모드는 제외)가 현재 부호화 단위에 대하여 사용될 때 신택스 요소의 값 6이 생성되고, 상기 생성된 값이 비트 스트림에 기록될 수 있다.If the frame including the current coding unit is an inter prediction coding frame, a syntax element may be signaled into the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information. For example, the value 0 of the syntax element is generated when the inter frame skip mode is used for the current coding unit, the value 1 of the syntax element is generated when the inter frame direct mode is used for the current coding unit, and the intra frame skip mode The value 2 of the syntax element is generated when is used for the current coding unit, and the value 3, 4 or 5 of the syntax element is generated according to the partition method of the current coding unit when another inter frame prediction mode is used for the current coding unit. When the intra frame prediction mode (except the intra frame skip mode) is used for the current coding unit, the value 6 of the syntax element may be generated, and the generated value may be recorded in the bit stream.
현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용될 때, 인트라 프레임 스킵 모드에 대하여 사용되는 예측 방법에 대한 정보가 비트 스트림 안으로 더 시그널링될 수 있다. 예를 들어, 인트라 프레임 스킵 모드에 대하여 제1 예측 방법이 예측 방법으로 사용될 때 값 0이 생성되고, 인트라 프레임 스킵 모드에 대하여 제2 예측 방법이 예측 방법으로 사용될 때 값 1이 생성되고, 인트라 프레임 스킵 모드에 대하여 제3 예측 방법이 예측 방법으로 사용될 때 값 2가 생성되고, 인트라 프레임 스킵 모드에 대하여 제4 예측 방법이 예측 방법으로 사용될 때 값 3이 생성되고, 상기 생성된 값이 비트 스트림에 기록될 수 있다.When the intra frame skip mode is used for the current coding unit, information on the prediction method used for the intra frame skip mode may be further signaled into the bit stream. For example, a value 0 is generated when the first prediction method is used as the prediction method for the intra frame skip mode, and a value 1 is generated when the second prediction method is used as the prediction method for the intra frame skip mode, and an intra frame A value 2 is generated when the third prediction method is used as the prediction method for the skip mode, and a value 3 is generated when the fourth prediction method is used as the prediction method for the intra frame skip mode, and the generated value is assigned to the bit stream. Can be recorded.
현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용될 때, 예측 레지듀얼 정보는 비트 스트림에 포함되지 않을 수 있다.When the intra frame skip mode is used for the current coding unit, prediction residual information may not be included in the bit stream.
본 실시예에서, 프레임은 시퀀스, 슬라이스, 최대 부호화 단위, 최대 부호화 블록, 부호화 단위로 대체될 수 있다. 또한, 현재 부호화 단위에 있어서, 부호화 단위는 최대 부호화 단위, 최대 부호화 블록, 부호화 블록, 예측 단위 또는 예측 블록으로 대체될 수 있다.In the present embodiment, a frame may be replaced with a sequence, a slice, a maximum coding unit, a maximum coding block, and a coding unit. In addition, in the current coding unit, a coding unit may be replaced with a maximum coding unit, a maximum coding block, a coding block, a prediction unit, or a prediction block.
실시예 2에 따르면, 단계 110에서, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형이 결정된다.According to the second embodiment, in step 110, a type of a data unit of a higher layer including a current coding unit in the hierarchical structure of the data unit is determined.
본 실시예에서, 상위 계층의 데이터 단위는 슬라이스이고, 단계 110에서 현재 부호화 단위를 포함하는 슬라이스의 유형이 결정된다. 슬라이스는 그 유형에 따라서, 인트라 예측 부호화 슬라이스 또는 인터 예측 부호화 슬라이스, 단방향 예측(uni-prediction) 부호화 슬라이스, 쌍방향 예측(bi-prediction) 부호화 슬라이스 또는 듀얼 가설(dual-hypothesis) 부호화 슬라이스, 시간적(temporal) 예측 부호화 슬라이스 또는 시점간(inter-view) 예측 부호화 슬라이스, 기본 시점(base view) 슬라이스 또는 의존 시점(dependent view) 슬라이스, 텍스처(texture) 슬라이스 또는 깊이(depth) 슬라이스 등일 수 있다.In the present embodiment, the data unit of the upper layer is a slice, and the type of slice including the current coding unit is determined in step 110. A slice may be an intra prediction coded slice or an inter prediction coded slice, a uni-prediction coded slice, a bi-prediction coded slice, or a dual-hypothesis coded slice, or temporal, depending on its type. ) May be a predictive encoded slice or an inter-view predictive encoded slice, a base view slice or a dependent view slice, a texture slice, or a depth slice.
단계 120에서, 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보가 부호화되고 비트 스트림이 출력된다.In step 120, according to the determined type of the data unit of the higher layer, information related to an intra frame skip mode of the current coding unit is encoded and a bit stream is output.
단계 110에서 결정된 현재 부호화 단위를 포함하는 슬라이스의 유형에 따라, 인트라 프레임 스킵 모드에 대한 정보가 부호화되어 비트 스트림에 포함된다.According to the type of the slice including the current coding unit determined in operation 110, information about an intra frame skip mode is encoded and included in the bit stream.
현재 부호화 단위를 포함하는 슬라이스가 카테고리 A 슬라이스이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되었는지를 나타내기 위해 플래그가 비트 스트림 안으로 시그널링될 수 있다. 예를 들어, 인트라 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용될 때 플래그 값 1이 생성되고, 인트라 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용되지 않을 때 플래그 값 0이 생성되고, 상기 생성된 값이 비트 스트림에 기록될 수 있다.If the slice containing the current coding unit is a category A slice, a flag may be signaled into the bit stream to indicate whether an intra frame skip mode is used for the current coding unit. For example, flag value 1 is generated when intra frame skip mode is used for the current coding unit, flag value 0 is generated when intra frame skip mode is not used for the current coding unit, and the generated value is a bit. Can be written to the stream.
현재 부호화 단위를 포함하는 슬라이스가 카테고리 B 슬라이스 또는 카테고리 C 슬라이스이면, 인트라 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용되었는지를 나타내고 추가적인 코딩 정보를 나타내기 위해 신택스 요소가 비트 스트림 안으로 시그널링될 수 있다.If the slice including the current coding unit is a category B slice or a category C slice, a syntax element may be signaled into the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information.
예를 들어, 카테고리 B 슬라이스에 대하여, 현재 부호화 단위에 대하여 모드 x가 사용될 때, 신택스 요소의 값 0이 생성되고, 인트라 프레임 스킵 모드가 현재 부호화 단위에 대해 사용될 때, 신택스 요소의 값 1이 생성되고, 모드 y가 현재 부호화 단위에 대해 사용될 때, 신택스 요소의 값 2가 생성되고, 모드 z가 현재 부호화 단위에 대하여 사용될 때, 신택스 요소의 값 3이 생성되거나, 또는 다른 조건에 따라 신택스 요소의 값 3,4 또는 5가 생성되고, 다른 예측 모드가 현재 부호화 단위에 대하여 사용될 때, 신택스 요소의 다른 값이 생성되고, 신택스 요소의 상기 생성된 값이 비트 스트림에 기록될 수 있다. For example, for category B slices, when mode x is used for the current coding unit, the value 0 of the syntax element is generated, and when intra frame skip mode is used for the current coding unit, the value 1 of the syntax element is generated. When the mode y is used for the current coding unit, the value 2 of the syntax element is generated, and when the mode z is used for the current coding unit, the value 3 of the syntax element is generated, or depending on other conditions When a value 3, 4 or 5 is generated and another prediction mode is used for the current coding unit, another value of the syntax element may be generated, and the generated value of the syntax element may be recorded in the bit stream.
카테고리 C 슬라이스에 대하여, 인트라 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용될 때, 신택스 요소의 값 0이 생성되고, 현재 부호화 단위에 대하여 모드 x가 사용될 때, 신택스 요소의 값 1이 생성되거나 또는 신택스 요소의 값 1,2 … 또는 k-1이 다른 조건에 따라 생성되고, 현재 부호화 단위에 대하여 모드 y가 사용될 때, 신택스 요소의 값 2 (모드 x의 경우에 값 1이 생성되었으면) 또는 k (모드 x의 경우에 값 1, 2… 또는 k-1이 생성되었으면)가 생성되고, 다른 예측 모드가 현재 부호화 단위에 대해 사용될 때, 신택스 요소의 다른 값이 생성될 수 있다. 신택스 요소의 상기 생성된 값이 비트 스트림에 기록될 수 있다.For category C slices, when intra frame skip mode is used for the current coding unit, the value 0 of the syntax element is generated and when mode x is used for the current coding unit, the value 1 of the syntax element is generated or the syntax element Value of 1,2. Or when k-1 is generated according to different conditions and mode y is used for the current coding unit, value 2 of the syntax element (if value 1 has been generated for mode x) or k (value 1 for mode x) , 2... Or k-1 has been generated), and when a different prediction mode is used for the current coding unit, another value of the syntax element may be generated. The generated value of the syntax element may be written to the bit stream.
모드 x, y 및 z는 인트라 프레임 스킵 모드를 제외한 다른 예측 모드일 수 있다.Modes x, y, and z may be other prediction modes except intra frame skip mode.
현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용될 때, 인트라 프레임 스킵 모드에 대하여 사용되는 예측 방법에 대한 정보가 비트 스트림 안으로 더 시그널링될 수 있다. 예를 들어, 인트라 프레임 스킵 모드에 대하여 제1 예측 방법이 예측 방법으로 사용될 때 값 0이 생성되고, 인트라 프레임 스킵 모드에 대하여 제2 예측 방법이 예측 방법으로 사용될 때 값 1이 생성되고, 인트라 프레임 스킵 모드에 대하여 제3 예측 방법이 예측 방법으로 사용될 때 값 2가 생성되고, 인트라 프레임 스킵 모드에 대하여 제4 예측 방법이 예측 방법으로 사용될 때 값 3이 생성되고, 신택스 요소의 상기 생성된 값이 비트 스트림에 기록될 수 있다.When the intra frame skip mode is used for the current coding unit, information on the prediction method used for the intra frame skip mode may be further signaled into the bit stream. For example, a value 0 is generated when the first prediction method is used as the prediction method for the intra frame skip mode, and a value 1 is generated when the second prediction method is used as the prediction method for the intra frame skip mode, and an intra frame A value 2 is generated when the third prediction method is used as the prediction method for the skip mode, and a value 3 is generated when the fourth prediction method is used as the prediction method for the intra frame skip mode, and the generated value of the syntax element is Can be written to the bit stream.
현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용될 때, 예측 레지듀얼 정보는 비트 스트림에 포함되지 않을 수 있다.When the intra frame skip mode is used for the current coding unit, prediction residual information may not be included in the bit stream.
본 실시예에서, 슬라이스는 시퀀스, 프레임, 최대 부호화 단위, 최대 부호화 블록, 부호화 단위로 대체될 수 있다. 또한, 현재 부호화 단위에 있어서, 부호화 단위는 최대 부호화 단위, 최대 부호화 블록, 부호화 블록, 예측 단위 또는 예측 블록으로 대체될 수 있다.In the present embodiment, a slice may be replaced with a sequence, a frame, a maximum coding unit, a maximum coding block, and a coding unit. In addition, in the current coding unit, a coding unit may be replaced with a maximum coding unit, a maximum coding block, a coding block, a prediction unit, or a prediction block.
실시예 3에 따르면, 단계 110에서, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형이 결정된다.According to the third embodiment, in step 110, a type of a data unit of a higher layer including a current coding unit in a hierarchy of data units is determined.
본 실시예에서, 상위 계층의 데이터 단위는 프레임이고, 단계 110에서 현재 부호화 단위를 포함하는 프레임의 유형이 결정된다. 프레임은 그 유형에 따라서, 인트라 예측 부호화 프레임 또는 인터 예측 부호화 프레임, 단방향 예측(uni-prediction) 부호화 프레임, 쌍방향 예측(bi-prediction) 부호화 프레임 또는 듀얼 가설(dual-hypothesis) 부호화 프레임, 시간적(temporal) 예측 부호화 프레임 또는 시점간(inter-view) 예측 부호화 프레임, 기본 시점(base view) 프레임 또는 의존 시점(dependent view) 프레임, 텍스처(texture) 프레임 또는 깊이(depth) 프레임 등일 수 있다.In the present embodiment, the data unit of the upper layer is a frame, and the type of the frame including the current coding unit is determined in step 110. The frame may be an intra prediction coded frame or an inter prediction coded frame, a uni-prediction coded frame, a bi-prediction coded frame, or a dual-hypothesis coded frame, or temporal. ) May be a predictive encoded frame or an inter-view predictive encoded frame, a base view frame or a dependent view frame, a texture frame, or a depth frame.
단계 120에서, 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보가 부호화되고 비트 스트림이 출력된다.In step 120, according to the determined type of the data unit of the higher layer, information related to an intra frame skip mode of the current coding unit is encoded and a bit stream is output.
단계 110에서 결정된 현재 부호화 단위를 포함하는 프레임의 유형에 따라, 인트라 프레임 스킵 모드에 대한 정보가 부호화되어 출력 비트 스트림에 포함된다.According to the type of the frame including the current coding unit determined in step 110, information about the intra frame skip mode is encoded and included in the output bit stream.
현재 부호화 단위를 포함하는 프레임이 카테고리 A 프레임이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되는지를 나타내고 추가적인 코딩 정보를 나타내기 위하여 신택스 요소가 비트 스트림 내로 시그널링될 수 있다. 인트라 프레임 스킵 모드가 현재 부호화 단위에 대해 사용될 때, 신택스 요소의 값 x가 생성되고, 그렇지 않으면, 신택스 요소의 다른 값이 추가적인 정보에 따라서 생성되고, 신택스 요소의 상기 생성된 값이 비트 스트림에 기록될 수 있다. 현재 부호화 단위를 포함하는 프레임이 카테고리 B 프레임이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되는지를 나타내고 추가적인 코딩 정보를 나타내기 위하여 신택스 요소가 비트 스트림 내로 시그널링될 수 있다. 인트라 프레임 스킵 모드가 현재 부호화 단위에 대해 사용될 때, 신택스 요소의 값 y가 생성되고, 그렇지 않으면, 신택스 요소의 다른 값이 추가적인 정보에 따라서 생성되고, 신택스 요소의 상기 생성된 값이 비트 스트림에 기록될 수 있다. 이 때, 값 x 및 y는 서로 다를 수 있다.If the frame including the current coding unit is a Category A frame, a syntax element may be signaled into the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information. When intra frame skip mode is used for the current coding unit, the value x of the syntax element is generated, otherwise, another value of the syntax element is generated according to the additional information, and the generated value of the syntax element is written to the bit stream. Can be. If the frame including the current coding unit is a category B frame, a syntax element may be signaled into the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information. When intra frame skip mode is used for the current coding unit, the value y of the syntax element is generated, otherwise, another value of the syntax element is generated according to the additional information, and the generated value of the syntax element is written to the bit stream. Can be. At this time, the values x and y may be different from each other.
현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용될 때, 인트라 프레임 스킵 모드에 대하여 사용되는 예측 방법에 대한 정보가 비트 스트림 안으로 더 시그널링될 수 있다. 예를 들어, 인트라 프레임 스킵 모드에 대하여 제1 예측 방법이 예측 방법으로 사용될 때 값 0이 생성되고, 인트라 프레임 스킵 모드에 대하여 제2 예측 방법이 예측 방법으로 사용될 때 값 1이 생성되고, 인트라 프레임 스킵 모드에 대하여 제3 예측 방법이 예측 방법으로 사용될 때 값 2가 생성되고, 인트라 프레임 스킵 모드에 대하여 제4 예측 방법이 예측 방법으로 사용될 때 값 3이 생성되고, 신택스 요소의 상기 생성된 값이 비트 스트림에 기록될 수 있다.When the intra frame skip mode is used for the current coding unit, information on the prediction method used for the intra frame skip mode may be further signaled into the bit stream. For example, a value 0 is generated when the first prediction method is used as the prediction method for the intra frame skip mode, and a value 1 is generated when the second prediction method is used as the prediction method for the intra frame skip mode, and an intra frame A value 2 is generated when the third prediction method is used as the prediction method for the skip mode, and a value 3 is generated when the fourth prediction method is used as the prediction method for the intra frame skip mode, and the generated value of the syntax element is Can be written to the bit stream.
현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용될 때, 예측 레지듀얼 정보는 비트 스트림에 포함되지 않을 수 있다.When the intra frame skip mode is used for the current coding unit, prediction residual information may not be included in the bit stream.
본 실시예에서, 프레임은 시퀀스, 슬라이스, 최대 부호화 단위, 최대 부호화 블록, 부호화 단위로 대체될 수 있다. 또한, 현재 부호화 단위에 있어서, 부호화 단위는 최대 부호화 단위, 최대 부호화 블록, 부호화 블록, 예측 단위 또는 예측 블록으로 대체될 수 있다.In the present embodiment, a frame may be replaced with a sequence, a slice, a maximum coding unit, a maximum coding block, and a coding unit. In addition, in the current coding unit, a coding unit may be replaced with a maximum coding unit, a maximum coding block, a coding block, a prediction unit, or a prediction block.
실시예 4에 따르면, 단계 110에서, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형이 결정된다.According to the fourth embodiment, in step 110, a type of a data unit of a higher layer including a current coding unit in the hierarchical structure of the data unit is determined.
본 실시예에서, 상위 계층의 데이터 단위는 프레임이고, 단계 110에서 현재 부호화 단위를 포함하는 프레임의 유형이 결정된다. 프레임은 그 유형에 따라서, 인트라 예측 부호화 프레임 또는 인터 예측 부호화 프레임, 단방향 예측(uni-prediction) 부호화 프레임, 쌍방향 예측(bi-prediction) 부호화 프레임 또는 듀얼 가설(dual-hypothesis) 부호화 프레임, 시간적(temporal) 예측 부호화 프레임 또는 시점간(inter-view) 예측 부호화 프레임, 기본 시점(base view) 프레임 또는 의존 시점(dependent view) 프레임, 텍스처(texture) 프레임 또는 깊이(depth) 프레임 등일 수 있다.In the present embodiment, the data unit of the upper layer is a frame, and the type of the frame including the current coding unit is determined in step 110. The frame may be an intra prediction coded frame or an inter prediction coded frame, a uni-prediction coded frame, a bi-prediction coded frame, or a dual-hypothesis coded frame, or temporal. ) May be a predictive encoded frame or an inter-view predictive encoded frame, a base view frame or a dependent view frame, a texture frame, or a depth frame.
단계 120에서, 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보가 부호화되고 비트 스트림이 출력된다.In step 120, according to the determined type of the data unit of the higher layer, information related to an intra frame skip mode of the current coding unit is encoded and a bit stream is output.
단계 110에서 결정된 현재 부호화 단위를 포함하는 프레임의 유형에 따라, 인트라 프레임 스킵 모드에 대한 정보가 부호화되어 출력 비트 스트림에 포함된다.According to the type of the frame including the current coding unit determined in step 110, information about the intra frame skip mode is encoded and included in the output bit stream.
현재 부호화 단위를 포함하는 프레임이 카테고리 A 프레임이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되는지를 나타내고 추가적인 코딩 정보를 나타내기 위하여 신택스 요소가 비트 스트림 내로 시그널링될 수 있다. 인트라 프레임 스킵 모드가 현재 부호화 단위에 대해 사용될 때, 인트라 프레임 스킵 모드에 대하여 사용된 예측 방법에 종속된 신택스 요소의 값이 생성될 수 있다. 예를 들어, 제1 예측 방법이 사용될 때 신택스 요소의 값 xa가 생성되고, 제2 예측 방법이 사용될 때 신택스 요소의 값 xb가 생성되고, 제3 예측 방법이 사용될 때 신택스 요소의 값 xc가 생성되고, 신택스 요소의 상기 생성된 값이 비트 스트림에 기록될 수 있다. 인트라 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용되지 않으면, 추가적인 정보에 따라 신택스 요소의 다른 값이 생성될 수 있다.If the frame including the current coding unit is a Category A frame, a syntax element may be signaled into the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information. When the intra frame skip mode is used for the current coding unit, a value of a syntax element dependent on the prediction method used for the intra frame skip mode may be generated. For example, the value x a of the syntax element is generated when the first prediction method is used, the value x b of the syntax element is generated when the second prediction method is used, and the value x of the syntax element when the third prediction method is used. c may be generated, and the generated value of the syntax element may be recorded in the bit stream. If the intra frame skip mode is not used for the current coding unit, another value of the syntax element may be generated according to additional information.
현재 부호화 단위를 포함하는 프레임이 카테고리 B 프레임이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되는지를 나타내고 추가적인 코딩 정보를 나타내기 위하여 신택스 요소가 비트 스트림 내로 시그널링될 수 있다. 인트라 프레임 스킵 모드가 현재 부호화 단위에 대해 사용되면, 인트라 프레임 스킵 모드에 대하여 사용된 예측 방법에 종속된 신택스 요소의 값이 생성될 수 있다. 예를 들어, 첫 번재 예측 방법이 사용될 때 값 ya가 생성되고, 제2 예측 방법이 사용될 때 값 yb가 생성되고, 제3 예측 방법이 사용될 때 값 yc가 생성되고, 신택스 요소의 상기 생성된 값이 비트 스트림에 기록될 수 있다. 인트라 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용되지 않으면, 추가적인 정보에 따라 다른 값이 비트 스트림에 기록될 수 있다.If the frame including the current coding unit is a category B frame, a syntax element may be signaled into the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information. If the intra frame skip mode is used for the current coding unit, a value of a syntax element dependent on the prediction method used for the intra frame skip mode may be generated. For example, the value y a is generated when the first prediction method is used, the value y b is generated when the second prediction method is used, and the value y c is generated when the third prediction method is used, The generated value may be written to the bit stream. If the intra frame skip mode is not used for the current coding unit, another value may be recorded in the bit stream according to additional information.
이 때, 값 xa와 ya는 서로 다를 수 있고, 값 xb와 yb는 서로 다를 수 있고, 값 xc와 yc는 서로 다를 수 있다.In this case, the values x a and y a may be different from each other, the values x b and y b may be different from each other, and the values x c and y c may be different from each other.
현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용될 때, 예측 레지듀얼 정보는 비트 스트림에 포함되지 않을 수 있다.When the intra frame skip mode is used for the current coding unit, prediction residual information may not be included in the bit stream.
본 실시예에서, 프레임은 시퀀스, 슬라이스, 최대 부호화 단위, 최대 부호화 블록, 부호화 단위로 대체될 수 있다. 또한, 현재 부호화 단위에 있어서, 부호화 단위는 최대 부호화 단위, 최대 부호화 블록, 부호화 블록, 예측 단위 또는 예측 블록으로 대체될 수 있다.In the present embodiment, a frame may be replaced with a sequence, a slice, a maximum coding unit, a maximum coding block, and a coding unit. In addition, in the current coding unit, a coding unit may be replaced with a maximum coding unit, a maximum coding block, a coding block, a prediction unit, or a prediction block.
도 2는 일 실시예에 따른 비디오를 복호화하는 방법의 플로우 차트를 도시한다. 2 is a flowchart of a method of decoding a video, according to an exemplary embodiment.
도 2에 따르면, 비디오를 복호화하는 방법은, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형을 결정하는 단계 210 및 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 비트 스트림으로부터 획득하는 단계 220를 포함한다.According to FIG. 2, the method of decoding a video may include determining a type of a data unit of a higher layer including a current coding unit in a hierarchical structure of the data unit and according to the determined type of the data unit of the higher layer. In step 220, information related to an intra frame skip mode of a current coding unit is obtained.
이하, 도 2를 참조하여 실시예 5 내지 8의 복호화 방법이 설명된다. Hereinafter, the decoding method of Embodiments 5 to 8 will be described with reference to FIG.
실시예 5에 따르면, 단계 210에서, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형이 결정된다.According to the fifth embodiment, in step 210, a type of a data unit of a higher layer including a current coding unit in a hierarchical structure of data units is determined.
본 실시예에서, 상위 계층의 데이터 단위는 프레임이고, 단계 210에서 현재 부호화 단위를 포함하는 프레임의 유형이 결정된다. 프레임은 그 유형에 따라서, 인트라 예측 부호화 프레임 또는 인터 예측 부호화 프레임, 단방향 예측(uni-prediction) 부호화 프레임, 쌍방향 예측(bi-prediction) 부호화 프레임 또는 듀얼 가설(dual-hypothesis) 부호화 프레임, 시간적(temporal) 예측 부호화 프레임 또는 시점간(inter-view) 예측 부호화 프레임, 기본 시점(base view) 프레임 또는 의존 시점(dependent view) 프레임, 텍스처(texture) 프레임 또는 깊이(depth) 프레임 등일 수 있다.In the present embodiment, the data unit of the upper layer is a frame, and the type of the frame including the current coding unit is determined in step 210. The frame may be an intra prediction coded frame or an inter prediction coded frame, a uni-prediction coded frame, a bi-prediction coded frame, or a dual-hypothesis coded frame, or temporal. ) May be a predictive encoded frame or an inter-view predictive encoded frame, a base view frame or a dependent view frame, a texture frame, or a depth frame.
단계 220에서, 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보가 비트 스트림으로부터 획득된다.In step 220, information related to an intra frame skip mode of the current coding unit is obtained from the bit stream according to the determined type of the data unit of the higher layer.
단계 210에서 결정된 프레임의 유형에 따라, 현재 부호화 단위의 인트라 프레임 스킵 모드에 대한 정보가 비트 스트림으로부터 획득된다.According to the type of the frame determined in step 210, information about an intra frame skip mode of the current coding unit is obtained from the bit stream.
현재 부호화 단위를 포함하는 프레임이 인트라 예측 부호화 프레임이면, 인트라 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용되는지를 나타내는 플래그가 비트 스트림으로부터 파싱된다. 예를 들어, 파싱된 플래그의 값이 1이면, 인트라 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용되는 것으로 결정되고, 그리고 파싱된 플래그의 값이 0이면, 인트라 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용되지 않는 것으로 결정된다.If the frame containing the current coding unit is an intra prediction coding frame, a flag indicating whether the intra frame skip mode is used for the current coding unit is parsed from the bit stream. For example, if the value of the parsed flag is 1, it is determined that the intra frame skip mode is used for the current coding unit, and if the value of the parsed flag is 0, the intra frame skip mode is used for the current coding unit. It is decided not to.
현재 부호화 단위를 포함하는 프레임이 인터 예측 부호화 프레임이면, 인트라 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용되는지를 나타내고 추가적인 코딩 정보를 나타내는 신택스 요소가 비트 스트림으로부터 파싱된다. 예를 들어, 파싱된 신택스 요소의 값이 0이면, 인터 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용되는 것이 결정되고, 파싱된 신택스 요소의 값이 1이면 인터 프레임 다이렉트 모드가 현재 부호화 단위에 대하여 사용되는 것이 결정되고, 파싱된 신택스 요소의 값이 2이면, 인트라 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용되는 것이 결정되고, 파싱된 신택스 요소의 값이 3, 4 또는 5이면 다른 인터 프레임 예측 모드가 현재 부호화 단위에 대하여 사용되는 것이 결정되고 파싱된 값에 따른 현재 부호화 단위에 대한 파티션 방법이 결정되고, 그리고 파싱된 신택스 요소의 값이 6이면 인트라 프레임 예측 모드(인트라 프레임 스킵 모드는 제외)가 현재 부호화 단위에 대하여 사용되는 것이 결정된다.If the frame that includes the current coding unit is an inter prediction coded frame, a syntax element that indicates whether an intra frame skip mode is used for the current coding unit and indicates additional coding information is parsed from the bit stream. For example, if the value of the parsed syntax element is 0, it is determined that the inter frame skip mode is used for the current coding unit. If the value of the parsed syntax element is 1, the inter frame direct mode is used for the current coding unit. If the value of the parsed syntax element is 2, it is determined that the intra frame skip mode is used for the current coding unit, and if the value of the parsed syntax element is 3, 4, or 5 another inter frame prediction mode is It is determined to be used for the current coding unit, the partitioning method for the current coding unit according to the parsed value is determined, and if the value of the parsed syntax element is 6, the intra frame prediction mode (except the intra frame skip mode) is What is used for the coding unit is determined.
인트라 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용되는 것이 결정되면, 인트라 프레임 스킵 모드에 대하여 사용되는 예측 방법에 대한 정보가 비트 스트림으로부터 더 파싱될 수 있다. 예를 들어, 비트 스트림으로부터 파싱된 값이 0이면, 제1 예측 방법이 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드의 예측 방법으로서 사용되고, 비트 스트림으로부터 파싱된 값이 1이면, 제2 예측 방법이 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드의 예측 방법으로서 사용되고, 비트 스트림으로부터 파싱된 값이 2이면, 제3 예측 방법이 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드의 예측 방법으로서 사용되고, 비트 스트림으로부터 파싱된 값이 3이면, 제4 예측 방법이 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드의 예측 방법으로서 사용된다.If it is determined that the intra frame skip mode is used for the current coding unit, information about a prediction method used for the intra frame skip mode may be further parsed from the bit stream. For example, if the value parsed from the bit stream is 0, the first prediction method is used as the prediction method of the intra frame skip mode for the current coding unit, and if the value parsed from the bit stream is 1, the second prediction method is the current method. If the value used as the prediction method of the intra frame skip mode for the coding unit and the value parsed from the bit stream is 2, the third prediction method is used as the prediction method of the intra frame skip mode for the current coding unit and is parsed from the bit stream. If it is 3, the fourth prediction method is used as the prediction method of the intra frame skip mode with respect to the current coding unit.
현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용될 때, 예측 레지듀얼 정보는 비트 스트림으로부터 파싱되지 않을 수 있다. 예측된 픽셀 값을 얻기 위해서 결정된 예측 방법에 따라 현재 부호화 단위에 대한 예측이 수행될 수 있고, 예측된 픽셀 값이 바로 복원된 픽셀 값으로 간주될 수 있다.When the intra frame skip mode is used for the current coding unit, prediction residual information may not be parsed from the bit stream. Prediction on the current coding unit may be performed according to the prediction method determined to obtain a predicted pixel value, and the predicted pixel value may be regarded as a reconstructed pixel value.
본 실시예에서, 프레임은 시퀀스, 슬라이스, 최대 부호화 단위, 최대 부호화 블록, 부호화 단위로 대체될 수 있다. 또한, 현재 부호화 단위에 있어서, 부호화 단위는 최대 부호화 단위, 최대 부호화 블록, 부호화 블록, 예측 단위 또는 예측 블록으로 대체될 수 있다.In the present embodiment, a frame may be replaced with a sequence, a slice, a maximum coding unit, a maximum coding block, and a coding unit. In addition, in the current coding unit, a coding unit may be replaced with a maximum coding unit, a maximum coding block, a coding block, a prediction unit, or a prediction block.
실시예 6에 따르면, 단계 210에서, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형이 결정된다.According to the sixth embodiment, in step 210, a type of a data unit of a higher layer including a current coding unit in the hierarchical structure of the data unit is determined.
본 실시예에서, 상위 계층의 데이터 단위는 슬라이스이고, 단계 210에서 현재 부호화 단위를 포함하는 슬라이스의 유형이 결정된다. 슬라이스는 그 유형에 따라서, 인트라 예측 부호화 슬라이스 또는 인터 예측 부호화 슬라이스, 단방향 예측(uni-prediction) 부호화 슬라이스, 쌍방향 예측(bi-prediction) 부호화 슬라이스 또는 듀얼 가설(dual-hypothesis) 부호화 슬라이스, 시간적(temporal) 예측 부호화 슬라이스 또는 시점간(inter-view) 예측 부호화 슬라이스, 기본 시점(base view) 슬라이스 또는 의존 시점(dependent view) 슬라이스, 텍스처(texture) 슬라이스 또는 깊이(depth) 슬라이스 등일 수 있다.In the present embodiment, the data unit of the upper layer is a slice, and the type of the slice including the current coding unit is determined in step 210. A slice may be an intra prediction coded slice or an inter prediction coded slice, a uni-prediction coded slice, a bi-prediction coded slice, or a dual-hypothesis coded slice, or temporal, depending on its type. ) May be a predictive encoded slice or an inter-view predictive encoded slice, a base view slice or a dependent view slice, a texture slice, or a depth slice.
단계 220에서, 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보가 비트 스트림으로부터 획득된다.In step 220, information related to an intra frame skip mode of the current coding unit is obtained from the bit stream according to the determined type of the data unit of the higher layer.
단계 210에서 결정된 슬라이스의 종류에 따라, 현재 부호화 단위의 인트라 프레임 스킵 모드에 대한 정보가 비트 스트림으로부터 파싱된다.According to the type of slice determined in operation 210, information about an intra frame skip mode of the current coding unit is parsed from the bit stream.
현재 부호화 단위를 포함하는 슬라이스가 카테고리 A 슬라이스이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되었는지를 나타내는 플래그가 비트 스트림으로부터 파싱된다. 예를 들어, 파싱된 플래그의 값이 1이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용된다는 것이 결정되고, 파싱된 플래그의 값이 0이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되지 않는다는 것이 결정된다.If the slice containing the current coding unit is a category A slice, a flag indicating whether an intra frame skip mode is used for the current coding unit is parsed from the bit stream. For example, if the value of the parsed flag is 1, it is determined that the intra frame skip mode is used for the current coding unit. If the value of the parsed flag is 0, the intra frame skip mode is not used for the current coding unit. Is determined.
현재 부호화 단위를 포함하는 슬라이스가 카테고리 B 슬라이스 또는 카테고리 C 슬라이스이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되었는지를 나타내고 추가적인 코딩 정보를 나타내는 신택스 요소가 비트 스트림으로부터 파싱된다. If the slice containing the current coding unit is a category B slice or a category C slice, a syntax element indicating whether an intra frame skip mode is used for the current coding unit and indicating additional coding information is parsed from the bit stream.
예를 들어, 카테고리 B 슬라이스에 대하여, 파싱된 신택스 요소의 값이 0이면, 현재 부호화 단위에 대하여 모드 x가 사용된다는 것이 결정되고, 파싱된 신택스 요소의 값이 1이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용된다는 것이 결정되고, 파싱된 신택스 요소의 값이 2이면, 현재 부호화 단위에 대하여 모드 y가 사용된다는 것이 결정되고, 파싱된 신택스 요소의 값이 3이면, 현재 부호화 단위에 대하여 모드 z가 사용된다는 것이 결정되고, 또는 파싱된 신택스 요소의 값이 3, 4 또는 5이면, 현재 부호화 단위에 대하여 모드 z가 사용된다는 것이 결정되고, 신택스 요소의 값에 따른 추가적인 코딩 정보가 또한 결정된다.For example, for a category B slice, if the value of the parsed syntax element is 0, it is determined that mode x is used for the current coding unit, and if the value of the parsed syntax element is 1, it is intra for the current coding unit. If it is determined that the frame skip mode is used, and if the value of the parsed syntax element is 2, it is determined that mode y is used for the current coding unit, and if the value of the parsed syntax element is 3, the mode for the current coding unit It is determined that z is used, or if the value of the parsed syntax element is 3, 4 or 5, it is determined that mode z is used for the current coding unit, and additional coding information according to the value of the syntax element is also determined. .
카테고리 C 슬라이스에 대하여, 파싱된 신택스 요소의 값이 0이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용된다는 것이 결정되고, 파싱된 신택스 요소의 값이 1이면, 현재 부호화 단위에 대하여 모드 x가 사용된다는 것이 결정되고, 또는 파싱된 신택스 요소의 값이 1, 2 … 또는 k-1이면, 현재 부호화 단위에 대하여 모드 x가 사용된다는 것이 결정되고, 동시에 추가적인 코딩 정보가 결정되고, 파싱된 신택스 요소의 값이 2 (오직 파싱된 신택스 요소의 값 1 만이 모드 x를 나타내면) 또는 k (파싱된 신택스 요소의 값 1, 2 … 또는 k가 모드 x를 나타내면)이면, 현재 부호화 단위에 대하여 모드 y가 사용된다는 것이 결정되고, 파싱된 신택스 요소의 값이 다른 값이면, 현재 부호화 단위에 대하여 다른 예측 모드가 사용된다는 것이 결정된다.For a category C slice, if the value of the parsed syntax element is 0, it is determined that the intra frame skip mode is used for the current coding unit. If the value of the parsed syntax element is 1, mode x is determined for the current coding unit. Is used, or the value of the parsed syntax element is 1, 2... Or k-1, it is determined that mode x is used for the current coding unit, at the same time additional coding information is determined, and if the value of the parsed syntax element is 2 (only value 1 of the parsed syntax element represents mode x). ) Or k (if the value 1, 2… or k of the parsed syntax element represents mode x), it is determined that mode y is used for the current coding unit, and if the value of the parsed syntax element is any other value, It is determined that another prediction mode is used for the coding unit.
모드 x, y 및 z는 인트라 프레임 스킵 모드를 제외한 다른 예측 모드일 수 있다.Modes x, y, and z may be other prediction modes except intra frame skip mode.
인트라 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용되는 것이 결정되면, 인트라 프레임 스킵 모드에 대하여 사용되는 예측 방법에 대한 정보가 비트 스트림으로부터 더 파싱될 수 있다. 예를 들어, 비트 스트림으로부터 파싱된 값이 0이면, 제1 예측 방법이 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드의 예측 방법으로서 사용되고, 비트 스트림으로부터 파싱된 값이 1이면, 제2 예측 방법이 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드의 예측 방법으로서 사용되고, 비트 스트림으로부터 파싱된 값이 2이면, 제3 예측 방법이 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드의 예측 방법으로서 사용되고, 비트 스트림으로부터 파싱된 값이 3이면, 제4 예측 방법이 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드의 예측 방법으로서 사용된다.If it is determined that the intra frame skip mode is used for the current coding unit, information about a prediction method used for the intra frame skip mode may be further parsed from the bit stream. For example, if the value parsed from the bit stream is 0, the first prediction method is used as the prediction method of the intra frame skip mode for the current coding unit, and if the value parsed from the bit stream is 1, the second prediction method is the current method. If the value used as the prediction method of the intra frame skip mode for the coding unit and the value parsed from the bit stream is 2, the third prediction method is used as the prediction method of the intra frame skip mode for the current coding unit and is parsed from the bit stream. If it is 3, the fourth prediction method is used as the prediction method of the intra frame skip mode with respect to the current coding unit.
현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용될 때, 예측 레지듀얼 정보는 비트 스트림으로부터 파싱되지 않을 수 있다. 예측된 픽셀 값을 얻기 위해서 결정된 예측 방법에 따라 현재 부호화 단위에 대한 예측이 수행될 수 있고, 예측된 픽셀 값이 바로 복원된 픽셀 값으로 간주될 수 있다.When the intra frame skip mode is used for the current coding unit, prediction residual information may not be parsed from the bit stream. Prediction on the current coding unit may be performed according to the prediction method determined to obtain a predicted pixel value, and the predicted pixel value may be regarded as a reconstructed pixel value.
본 실시예에서, 슬라이스는 시퀀스, 프레임, 최대 부호화 단위, 최대 부호화 블록, 부호화 단위로 대체될 수 있다. 또한, 현재 부호화 단위에 있어서, 부호화 단위는 최대 부호화 단위, 최대 부호화 블록, 부호화 블록, 예측 단위 또는 예측 블록으로 대체될 수 있다.In the present embodiment, a slice may be replaced with a sequence, a frame, a maximum coding unit, a maximum coding block, and a coding unit. In addition, in the current coding unit, a coding unit may be replaced with a maximum coding unit, a maximum coding block, a coding block, a prediction unit, or a prediction block.
실시예 7에 따르면, 단계 210에서, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형이 결정된다.According to the seventh embodiment, in step 210, a type of a data unit of a higher layer including a current coding unit in the hierarchical structure of the data unit is determined.
본 실시예에서, 상위 계층의 데이터 단위는 프레임이고, 단계 210에서 현재 부호화 단위를 포함하는 프레임의 유형이 결정된다. 프레임은 그 유형에 따라서, 인트라 예측 부호화 프레임 또는 인터 예측 부호화 프레임, 단방향 예측(uni-prediction) 부호화 프레임, 쌍방향 예측(bi-prediction) 부호화 프레임 또는 듀얼 가설(dual-hypothesis) 부호화 프레임, 시간적(temporal) 예측 부호화 프레임 또는 시점간(inter-view) 예측 부호화 프레임, 기본 시점(base view) 프레임 또는 의존 시점(dependent view) 프레임, 텍스처(texture) 프레임 또는 깊이(depth) 프레임 등일 수 있다.In the present embodiment, the data unit of the upper layer is a frame, and the type of the frame including the current coding unit is determined in step 210. The frame may be an intra prediction coded frame or an inter prediction coded frame, a uni-prediction coded frame, a bi-prediction coded frame, or a dual-hypothesis coded frame, or temporal. ) May be a predictive encoded frame or an inter-view predictive encoded frame, a base view frame or a dependent view frame, a texture frame, or a depth frame.
단계 220에서, 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보가 비트 스트림으로부터 획득된다.In step 220, information related to an intra frame skip mode of the current coding unit is obtained from the bit stream according to the determined type of the data unit of the higher layer.
단계 210에서 결정된 프레임의 유형에 따라, 현재 부호화 단위의 인트라 프레임 스킵 모드에 대한 정보가 비트 스트림으로부터 획득된다.According to the type of the frame determined in step 210, information about an intra frame skip mode of the current coding unit is obtained from the bit stream.
현재 부호화 단위를 포함하는 프레임이 카테고리 A 프레임이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되는지를 나타내고 추가적인 코딩 정보를 나타내기 위해 신택스 요소가 비트 스트림으로부터 파싱된다. 파싱된 신택스 요소의 값이 x이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용된다는 것이 결정된다. 그렇지 않으면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되지 않는다는 것이 결정되고, 동시에 신택스 요소의 값에 따라 추가적인 정보가 결정된다.If the frame containing the current coding unit is a Category A frame, a syntax element is parsed from the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information. If the value of the parsed syntax element is x, it is determined that the intra frame skip mode is used for the current coding unit. Otherwise, it is determined that the intra frame skip mode is not used for the current coding unit, and at the same time additional information is determined according to the value of the syntax element.
현재 부호화 단위를 포함하는 프레임이 카테고리 B 프레임이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되는지를 나타내고 추가적인 코딩 정보를 나타내기 위해 신택스 요소가 비트 스트림으로부터 파싱된다. 파싱된 신택스 요소의 값이 y이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용된다는 것이 결정된다. 그렇지 않으면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되지 않는다는 것이 결정되고, 동시에 신택스 요소의 값에 따라 추가적인 정보가 결정된다. 이 때, 값 x와 y는 서로 다를 수 있다.If the frame including the current coding unit is a category B frame, a syntax element is parsed from the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information. If the value of the parsed syntax element is y, it is determined that the intra frame skip mode is used for the current coding unit. Otherwise, it is determined that the intra frame skip mode is not used for the current coding unit, and at the same time additional information is determined according to the value of the syntax element. In this case, the values x and y may be different from each other.
인트라 프레임 스킵 모드가 현재 부호화 단위에 대하여 사용되는 것이 결정되면, 인트라 프레임 스킵 모드에 대하여 사용되는 예측 방법에 대한 정보가 비트 스트림으로부터 더 파싱될 수 있다. 예를 들어, 비트 스트림으로부터 파싱된 값이 0이면, 제1 예측 방법이 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드의 예측 방법으로서 사용되고, 비트 스트림으로부터 파싱된 값이 1이면, 제2 예측 방법이 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드의 예측 방법으로서 사용되고, 비트 스트림으로부터 파싱된 값이 2이면, 제3 예측 방법이 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드의 예측 방법으로서 사용되고, 비트 스트림으로부터 파싱된 값이 3이면, 제4 예측 방법이 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드의 예측 방법으로서 사용된다.If it is determined that the intra frame skip mode is used for the current coding unit, information about a prediction method used for the intra frame skip mode may be further parsed from the bit stream. For example, if the value parsed from the bit stream is 0, the first prediction method is used as the prediction method of the intra frame skip mode for the current coding unit, and if the value parsed from the bit stream is 1, the second prediction method is the current method. If the value used as the prediction method of the intra frame skip mode for the coding unit and the value parsed from the bit stream is 2, the third prediction method is used as the prediction method of the intra frame skip mode for the current coding unit and is parsed from the bit stream. If it is 3, the fourth prediction method is used as the prediction method of the intra frame skip mode with respect to the current coding unit.
현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용될 때, 예측 레지듀얼 정보는 비트 스트림으로부터 파싱되지 않을 수 있다. 예측된 픽셀 값을 얻기 위해서 결정된 예측 방법에 따라 현재 부호화 단위에 대한 예측이 수행될 수 있고, 예측된 픽셀 값이 바로 복원된 픽셀 값으로 간주될 수 있다.When the intra frame skip mode is used for the current coding unit, prediction residual information may not be parsed from the bit stream. Prediction on the current coding unit may be performed according to the prediction method determined to obtain a predicted pixel value, and the predicted pixel value may be regarded as a reconstructed pixel value.
본 실시예에서, 프레임은 시퀀스, 슬라이스, 최대 부호화 단위, 최대 부호화 블록, 부호화 단위로 대체될 수 있다. 또한, 현재 부호화 단위에 있어서, 부호화 단위는 최대 부호화 단위, 최대 부호화 블록, 부호화 블록, 예측 단위 또는 예측 블록으로 대체될 수 있다.In the present embodiment, a frame may be replaced with a sequence, a slice, a maximum coding unit, a maximum coding block, and a coding unit. In addition, in the current coding unit, a coding unit may be replaced with a maximum coding unit, a maximum coding block, a coding block, a prediction unit, or a prediction block.
실시예 8에 따르면, 단계 210에서, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형이 결정된다.According to the eighth embodiment, in step 210, a type of a data unit of a higher layer including a current coding unit in the hierarchical structure of the data unit is determined.
본 실시예에서, 상위 계층의 데이터 단위는 프레임이고, 단계 210에서 현재 부호화 단위를 포함하는 프레임의 유형이 결정된다. 프레임은 그 유형에 따라서, 인트라 예측 부호화 프레임 또는 인터 예측 부호화 프레임, 단방향 예측(uni-prediction) 부호화 프레임, 쌍방향 예측(bi-prediction) 부호화 프레임 또는 듀얼 가설(dual-hypothesis) 부호화 프레임, 시간적(temporal) 예측 부호화 프레임 또는 시점간(inter-view) 예측 부호화 프레임, 기본 시점(base view) 프레임 또는 의존 시점(dependent view) 프레임, 텍스처(texture) 프레임 또는 깊이(depth) 프레임 등일 수 있다.In the present embodiment, the data unit of the upper layer is a frame, and the type of the frame including the current coding unit is determined in step 210. The frame may be an intra prediction coded frame or an inter prediction coded frame, a uni-prediction coded frame, a bi-prediction coded frame, or a dual-hypothesis coded frame, or temporal. ) May be a predictive encoded frame or an inter-view predictive encoded frame, a base view frame or a dependent view frame, a texture frame, or a depth frame.
단계 220에서, 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보가 비트 스트림으로부터 획득된다.In step 220, information related to an intra frame skip mode of the current coding unit is obtained from the bit stream according to the determined type of the data unit of the higher layer.
단계 210에서 결정된 프레임의 유형에 따라, 현재 부호화 단위의 인트라 프레임 스킵 모드에 대한 정보가 비트 스트림으로부터 획득된다.According to the type of the frame determined in step 210, information about an intra frame skip mode of the current coding unit is obtained from the bit stream.
현재 부호화 단위를 포함하는 프레임이 카테고리 A 프레임이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되는지를 나타내고 추가적인 코딩 정보를 나타내는 신택스 요소가 비트 스트림으로부터 파싱된다. 파싱된 신택스 요소의 값이 xa, xb 또는 xc이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용된다는 것이 결정된다. 그렇지 않으면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되지 않는다는 것이 결정되고, 신택스 요소의 값에 따라 추가적인 정보가 또한 결정된다. 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용될 때, 인트라 프레임 스킵 모드에 대하여 사용되는 예측 방법이 또한 결정된다. 예를 들어, 신택스 요소의 값이 xa이면, 인트라 프레임 스킵 모드에 대하여 제1 예측 방법이 사용된다는 것이 결정되고, 신택스 요소의 값이 xb이면, 인트라 프레임 스킵 모드에 대하여 제2 예측 방법이 사용된다는 것이 결정되고, 그리고 신택스 요소 값이 xc이면, 인트라 프레임 스킵 모드에 대하여 제3 예측 방법이 사용된다는 것이 결정된다.If the frame containing the current coding unit is a Category A frame, a syntax element indicating whether an intra frame skip mode is used for the current coding unit and indicating additional coding information is parsed from the bit stream. If the value of the parsed syntax element is x a , x b or x c , it is determined that the intra frame skip mode is used for the current coding unit. Otherwise, it is determined that intra frame skip mode is not used for the current coding unit, and additional information is also determined according to the value of the syntax element. When the intra frame skip mode is used for the current coding unit, the prediction method used for the intra frame skip mode is also determined. For example, if the value of the syntax element is x a , it is determined that the first prediction method is used for the intra frame skip mode, and if the value of the syntax element is x b, then the second prediction method is for the intra frame skip mode. It is determined that it is used, and if the syntax element value is x c , it is determined that the third prediction method is used for the intra frame skip mode.
현재 부호화 단위를 포함하는 프레임이 카테고리 B 프레임이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되는지를 나타내고 추가적인 코딩 정보를 나타내기 위해 신택스 요소가 비트 스트림으로부터 파싱된다. 파싱된 신택스 요소의 값이 ya, yb 또는 yc이면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용된다는 것이 결정된다. 그렇지 않으면, 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용되지 않는다는 것이 결정되고, 추가적인 정보 또한 신택스 요소의 값에 따라 결정된다. 현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용될 때, 인트라 프레임 스킵 모드에 대하여 사용되는 예측 방법이 또한 결정된다. 특히, 신택스 요소의 값이 ya이면, 인트라 프레임 스킵 모드에 대하여 제1 예측 방법이 사용된다고 결정되고, 신택스 요소의 값이 yb이면, 인트라 프레임 스킵 모드에 대하여 제2 예측 방법이 사용된다고 결정되고, 신택스 요소의 값이 yc이면, 인트라 프레임 스킵 모드에 대하여 제3 예측 방법이 사용된다고 결정된다. 이 때, 값 xa와 ya는 서로 다를 수 있고, 값 xb와 yb는 서로 다를 수 있고, 값 xc와 yc는 서로 다를 수 있다.If the frame including the current coding unit is a category B frame, a syntax element is parsed from the bit stream to indicate whether an intra frame skip mode is used for the current coding unit and to indicate additional coding information. If the value of the parsed syntax element is y a , y b or y c , it is determined that the intra frame skip mode is used for the current coding unit. Otherwise, it is determined that the intra frame skip mode is not used for the current coding unit, and additional information is also determined according to the value of the syntax element. When the intra frame skip mode is used for the current coding unit, the prediction method used for the intra frame skip mode is also determined. In particular, if the value of the syntax element is y a, it is determined that the first prediction method is used for the intra frame skip mode, and if the value of the syntax element is y b, it is determined that the second prediction method is used for the intra frame skip mode. If the value of the syntax element is y c, it is determined that the third prediction method is used for the intra frame skip mode. In this case, the values x a and y a may be different from each other, the values x b and y b may be different from each other, and the values x c and y c may be different from each other.
현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용될 때, 예측 레지듀얼 정보는 비트 스트림으로부터 파싱되지 않을 수 있다. 예측된 픽셀 값을 얻기 위해서 결정된 예측 방법에 따라 현재 부호화 단위에 대한 예측이 수행될 수 있고, 예측된 픽셀 값이 바로 복원된 픽셀 값으로 간주될 수 있다.When the intra frame skip mode is used for the current coding unit, prediction residual information may not be parsed from the bit stream. Prediction on the current coding unit may be performed according to the prediction method determined to obtain a predicted pixel value, and the predicted pixel value may be regarded as a reconstructed pixel value.
본 실시예에서, 프레임은 시퀀스, 슬라이스, 최대 부호화 단위, 최대 부호화 블록, 부호화 단위로 대체될 수 있다. 또한, 현재 부호화 단위에 있어서, 부호화 단위는 최대 부호화 단위, 최대 부호화 블록, 부호화 블록, 예측 단위 또는 예측 블록으로 대체될 수 있다.In the present embodiment, a frame may be replaced with a sequence, a slice, a maximum coding unit, a maximum coding block, and a coding unit. In addition, in the current coding unit, a coding unit may be replaced with a maximum coding unit, a maximum coding block, a coding block, a prediction unit, or a prediction block.
도 3은 일 실시예에 따른 비디오 부호화 장치의 블록도를 도시한다.3 is a block diagram of a video encoding apparatus, according to an embodiment.
도 3에 도시된 바와 같이, 비디오 부호화 장치(300)는, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형을 결정하는 데이터 단위 유형 결정부(310) 및 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 부호화하여 비트 스트림을 출력하는 정보 부호화부(320)를 포함한다. As illustrated in FIG. 3, the video encoding apparatus 300 includes a data unit type determiner 310 and the higher layer that determine a type of a data unit of a higher layer including a current coding unit in a hierarchical structure of the data unit. And an information encoder 320 for encoding the information related to the intra frame skipping mode of the current coding unit and outputting a bit stream according to the determined type of the data unit of.
이하, 도 3을 참조하여 실시예 9의 비디오 부호화 장치가 설명된다. Hereinafter, the video encoding apparatus of Embodiment 9 will be described with reference to FIG. 3.
실시예 9에서, 비디오 부호화 장치(300)는 데이터 단위 유형 결정부(310) 및 정보 부호화부(320)를 포함한다.In a ninth embodiment, the video encoding apparatus 300 includes a data unit type determiner 310 and an information encoder 320.
데이터 단위 유형 결정부(310)는, 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형을 결정하고, 이 때, 상위 계층의 데이터 단위는, 시퀀스, 프레임, 슬라이스, 최대 부호화 단위, 최대 부호화 블록, 부호화 단위 중 어느 하나일 수 있다.The data unit type determiner 310 determines a type of a data unit of a higher layer including a current coding unit in the hierarchical structure of the data unit, wherein the data unit of the higher layer is a sequence, a frame, a slice, a maximum. It may be one of a coding unit, a maximum coding block, and a coding unit.
정보 부호화부(320)는, 데이터 단위 유형 결정부(310)에서 결정된 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 부호화하여 비트 스트림을 출력한다. 특히, 정보 부호화부(320)는 실시예 1 내지 4의 단계 120의 과정들을 수행할 수 있고, 다만 이에 한정되어 있지는 않다.The information encoder 320 encodes information related to an intra frame skip mode of the current coding unit according to a type of a data unit of a higher layer including the current coding unit determined by the data unit type determiner 310, thereby bit Output the stream. In particular, the information encoder 320 may perform the processes of step 120 of the first to fourth embodiments, but is not limited thereto.
현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용될 때, 예측 레지듀얼 정보는 비트 스트림에 포함되지 않을 수 있다.When the intra frame skip mode is used for the current coding unit, prediction residual information may not be included in the bit stream.
도 4는 일 실시예에 따른 비디오 복호화 장치의 블록도를 도시한다.4 is a block diagram of a video decoding apparatus, according to an embodiment.
도 4에 도시된 바와 같이, 비디오 복호화 장치(400)는 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형을 결정하는 데이터 단위 유형 결정부(410) 및 상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 비트 스트림으로부터 획득하는 정보 획득부(420)를 포함한다.As shown in FIG. 4, the video decoding apparatus 400 may include a data unit type determiner 410 and a type of a data unit type determiner 410 for determining a type of a data unit of a higher layer including a current coding unit in a hierarchical structure of the data unit. According to the determined type of the data unit, the information obtaining unit 420 for obtaining information associated with the intra frame skipping mode of the current coding unit from the bit stream.
이하, 도 4을 참조하여 실시예 10의 비디오 복호화 장치가 설명된다. Hereinafter, the video decoding apparatus of the tenth embodiment will be described with reference to FIG. 4.
실시예 10에서, 비디오 복호화 장치(400)는 데이터 단위 유형 결정부(410) 및 정보 획득부(420)를 포함한다.In the tenth embodiment, the video decoding apparatus 400 includes a data unit type determiner 410 and an information acquirer 420.
데이터 단위 유형 결정부(410)는 데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형을 결정하고, 이 때, 상위 계층의 데이터 단위는, 시퀀스, 프레임, 슬라이스, 최대 부호화 단위, 최대 부호화 블록, 부호화 단위 중 어느 하나일 수 있다.The data unit type determiner 410 determines the type of the data unit of the upper layer including the current coding unit in the hierarchical structure of the data unit, wherein the data unit of the upper layer is sequence, frame, slice, maximum coding It may be one of a unit, a maximum coding block, and a coding unit.
정보 획득부(420)는, 데이터 단위 유형 결정부(410)에 의해 제공된 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 비트 스트림으로부터 파싱한다. 특히, 정보 획득부(420)는, 실시예 5 내지 8의 단계 220의 과정들을 수행할 수 있고, 다만 이에 한정되어 있지는 않다.The information acquisition unit 420 may bit stream the information related to the intra frame skip mode of the current coding unit according to the type of the data unit of the higher layer including the current coding unit provided by the data unit type determination unit 410. Parse from In particular, the information acquisition unit 420 may perform the processes of step 220 of the fifth embodiment, but is not limited thereto.
현재 부호화 단위에 대하여 인트라 프레임 스킵 모드가 사용될 때, 예측 레지듀얼 정보는 비트 스트림으로부터 파싱되지 않을 수 있다. 예측된 픽셀 값을 얻기 위해서 결정된 예측 방법에 따라 현재 부호화 단위에 대한 예측이 수행될 수 있고, 예측된 픽셀 값이 바로 복원된 픽셀 값으로 간주될 수 있다.When the intra frame skip mode is used for the current coding unit, prediction residual information may not be parsed from the bit stream. Prediction on the current coding unit may be performed according to the prediction method determined to obtain a predicted pixel value, and the predicted pixel value may be regarded as a reconstructed pixel value.
상술한 내용은 단지 바림직한 실시예일 뿐이고, 본 발명의 보호 범위를 제한하지는 않는다. 본 발명의 사상과 원리에서 벗어나지 않는 모든 변경, 동등한 대체 또는 개선은 본 발명의 보호 범위 내에 포함될 것이다.The foregoing is merely a preferred embodiment and does not limit the protection scope of the present invention. All changes, equivalent substitutions or improvements without departing from the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (15)

  1. 비디오를 복호화하는 방법에 있어서,In the method for decoding a video,
    데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형을 결정하는 단계; 및Determining a type of a data unit of a higher layer including a current coding unit in the hierarchical structure of the data unit; And
    상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 비트 스트림으로부터 획득하는 단계;Acquiring information related to an intra frame skip mode of the current coding unit from a bit stream according to the determined type of the data unit of the higher layer;
    를 포함하고, 상기 상위 계층의 데이터 단위의 상이한 유형에 대해, 상기 인트라 프레임 스킵 모드와 관련된 정보는 상기 비트 스트림에서 상이한 길이의 코드워드로 표현되는 것인, 비디오를 복호화하는 방법.Wherein, for different types of data units of the higher layer, information associated with the intra frame skip mode is represented by codewords of different lengths in the bit stream.
  2. 제1 항에 있어서,The method of claim 1,
    상기 상위 계층의 데이터 단위는, 시퀀스, 프레임, 슬라이스, 최대 부호화 단위, 최대 부호화 블록, 부호화 단위 중 어느 하나인, 비디오를 복호화하는 방법.The data unit of the higher layer is any one of a sequence, a frame, a slice, a maximum coding unit, a maximum coding block, and a coding unit.
  3. 제1 항에 있어서,The method of claim 1,
    상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 획득하는 단계는,Acquiring information related to an intra frame skip mode of the current coding unit may include:
    상기 상위 계층의 데이터 단위의 결정된 유형이 제1 유형인 경우에 제1 신택스 요소를 획득하고, 상기 상위 계층의 데이터 단위의 결정된 유형이 제2 유형인 경우에 제2 신택스 요소를 획득하는 단계를 포함하고,Acquiring a first syntax element when the determined type of the data unit of the upper layer is the first type, and obtaining a second syntax element when the determined type of the data unit of the upper layer is the second type. and,
    상기 제1 신택스 요소는, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용되는지 여부를 나타내는 1 비트 플래그이고, 상기 제2 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N 범위의 정수 값을 갖고, N은 3 이상인 것인, 비디오를 복호화하는 방법.The first syntax element is a 1-bit flag indicating whether the intra frame skip mode is used in the current coding unit, and the second syntax element is an additional coding and use of the intra frame skip mode of the current coding unit. And an integer value ranging from 0 to N for representing information, wherein N is 3 or more.
  4. 제3 항에 있어서,The method of claim 3, wherein
    상기 추가적인 코딩 정보는, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용되는 경우에 상기 인트라 프레임 스킵 모드의 인트라 예측 방법, 상기 인트라 프레임 스킵 모드 이외에 상기 현재 부호화 단위에서 사용되는 예측 모드, 상기 현재 부호화 단위의 파티션 모드, 및 인터 프레임 예측 방향 중 적어도 하나를 포함하는 것인, 비디오를 복호화하는 방법.The additional coding information may include an intra prediction method of the intra frame skip mode when the intra frame skip mode is used in the current coding unit, a prediction mode used in the current coding unit in addition to the intra frame skip mode, and the current coding. And at least one of a partition mode of a unit, and an inter frame prediction direction.
  5. 제3 항에 있어서,The method of claim 3, wherein
    상기 상위 계층의 데이터 단위는 프레임이고,The data unit of the upper layer is a frame,
    상기 제1 유형에 해당하는 상기 상위 계층의 데이터 단위는, 인트라 예측 부호화 프레임이고,The data unit of the higher layer corresponding to the first type is an intra prediction coded frame,
    상기 제2 유형에 해당하는 상기 상위 계층의 데이터 단위는, 인터 예측 부호화 프레임인, 비디오를 복호화하는 방법.The data unit of the higher layer corresponding to the second type is an inter prediction coded frame.
  6. 제1 항에 있어서,The method of claim 1,
    상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 획득하는 단계는,Acquiring information related to an intra frame skip mode of the current coding unit may include:
    상기 상위 계층의 데이터 단위의 결정된 유형이 제1 유형인 경우에 제1 신택스 요소를 획득하고, 상기 상위 계층의 데이터 단위의 결정된 유형이 제2 유형인 경우에 제2 신택스 요소를 획득하는 단계를 포함하고,Acquiring a first syntax element when the determined type of the data unit of the upper layer is the first type, and obtaining a second syntax element when the determined type of the data unit of the upper layer is the second type. and,
    상기 제1 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N1 범위의 정수 값을 갖고, 상기 제2 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N2 범위의 정수 값을 갖고, 상기 N1 및 N2는 모두 3 이상인 것인, 비디오를 복호화하는 방법.The first syntax element has an integer value in a range of 0 to N1 for indicating use of the intra frame skip mode of the current coding unit and additional coding information, and the second syntax element is configured to determine the value of the current coding unit. And an integer value in the range of 0 to N2 to indicate the use of intra frame skip mode and additional coding information, wherein N1 and N2 are both 3 or greater.
  7. 제6 항에 있어서,The method of claim 6,
    상기 추가적인 코딩 정보는, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용되는 경우에 상기 인트라 프레임 스킵 모드의 인트라 예측 방법, 상기 인트라 프레임 스킵 모드 이외에 상기 현재 부호화 단위에서 사용되는 예측 모드, 상기 현재 부호화 단위의 파티션 모드, 및 인터 프레임 예측 방향 중 적어도 하나를 포함하는 것인, 비디오를 복호화하는 방법.The additional coding information may include an intra prediction method of the intra frame skip mode when the intra frame skip mode is used in the current coding unit, a prediction mode used in the current coding unit in addition to the intra frame skip mode, and the current coding. And at least one of a partition mode of a unit, and an inter frame prediction direction.
  8. 제6 항에 있어서,The method of claim 6,
    상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용됨을 나타내는 상기 제1 신택스 요소의 값과 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용됨을 나타내는 상기 제2 신택스 요소의 값은 서로 상이한 것인, 비디오를 복호화하는 방법.Wherein the value of the first syntax element indicating that the intra frame skip mode is used in the current coding unit and the value of the second syntax element indicating the intra frame skip mode are used in the current coding unit are different from each other. How to decrypt.
  9. 제6 항에 있어서,The method of claim 6,
    상기 상위 계층의 데이터 단위는 프레임이고,The data unit of the upper layer is a frame,
    상기 제1 유형에 해당하는 상기 상위 계층의 데이터 단위는, 인트라 예측 부호화 프레임이고,The data unit of the higher layer corresponding to the first type is an intra prediction coded frame,
    상기 제2 유형에 해당하는 상기 상위 계층의 데이터 단위는, 인터 예측 부호화 프레임인, 비디오를 복호화하는 방법.The data unit of the higher layer corresponding to the second type is an inter prediction coded frame.
  10. 비디오 복호화 장치에 있어서,In the video decoding apparatus,
    데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형을 결정하는 데이터 단위 유형 결정부; 및A data unit type determination unit that determines a type of a data unit of a higher layer including a current coding unit in a hierarchical structure of the data unit; And
    상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 비트 스트림으로부터 획득하는 인트라 프레임 스킵 모드 정보 획득부;An intra frame skip mode information obtaining unit obtaining information related to an intra frame skip mode of the current coding unit from a bit stream according to the determined type of a data unit of the higher layer;
    를 포함하고, 상기 상위 계층의 데이터 단위의 상이한 유형에 대해, 상기 인트라 프레임 스킵 모드와 관련된 정보는 상기 비트 스트림에서 상이한 길이의 코드워드로 표현되는 것인, 비디오 복호화 장치.Wherein, for different types of data units of the upper layer, the information related to the intra frame skip mode is represented by codewords of different lengths in the bit stream.
  11. 제10 항에 있어서,The method of claim 10,
    상기 상위 계층의 데이터 단위는, 시퀀스, 프레임, 슬라이스, 최대 부호화 단위, 최대 부호화 블록, 부호화 단위 중 어느 하나인, 비디오 복호화 장치.The data unit of the higher layer is any one of a sequence, a frame, a slice, a maximum coding unit, a maximum coding block, and a coding unit.
  12. 제10 항에 있어서,The method of claim 10,
    상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 획득하는 것은,Acquiring information related to an intra frame skip mode of the current coding unit,
    상기 상위 계층의 데이터 단위의 결정된 유형이 제1 유형인 경우에 제1 신택스 요소를 획득하고, 상기 상위 계층의 데이터 단위의 결정된 유형이 제2 유형인 경우에 제2 신택스 요소를 획득하는 것을 포함하고,Acquiring a first syntax element when the determined type of the data unit of the higher layer is the first type, and obtaining a second syntax element when the determined type of the data unit of the upper layer is the second type; ,
    상기 제1 신택스 요소는, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용되는지 여부를 나타내는 1 비트 플래그이고, 상기 제2 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N 범위의 정수 값을 갖고, N은 3 이상인 것인, 비디오 복호화 장치.The first syntax element is a 1-bit flag indicating whether the intra frame skip mode is used in the current coding unit, and the second syntax element is an additional coding and use of the intra frame skip mode of the current coding unit. And an integer value ranging from 0 to N for indicating information, wherein N is 3 or more.
  13. 제12 항에 있어서,The method of claim 12,
    상기 추가적인 코딩 정보는, 상기 현재 부호화 단위에서 상기 인트라 프레임 스킵 모드가 사용되는 경우에 상기 인트라 프레임 스킵 모드의 인트라 예측 방법, 상기 인트라 프레임 스킵 모드 이외에 상기 현재 부호화 단위에서 사용되는 예측 모드, 상기 현재 부호화 단위의 파티션 모드, 및 인터 프레임 예측 방향 중 적어도 하나를 포함하는 것인, 비디오 복호화 장치.The additional coding information may include an intra prediction method of the intra frame skip mode when the intra frame skip mode is used in the current coding unit, a prediction mode used in the current coding unit in addition to the intra frame skip mode, and the current coding. And at least one of a partition mode of a unit and an inter frame prediction direction.
  14. 제10 항에 있어서,The method of claim 10,
    상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 획득하는 것은,Acquiring information related to an intra frame skip mode of the current coding unit,
    상기 상위 계층의 데이터 단위의 결정된 유형이 제1 유형인 경우에 제1 신택스 요소를 획득하고, 상기 상위 계층의 데이터 단위의 결정된 유형이 제2 유형인 경우에 제2 신택스 요소를 획득하는 것을 포함하고,Acquiring a first syntax element when the determined type of the data unit of the higher layer is the first type, and obtaining a second syntax element when the determined type of the data unit of the upper layer is the second type; ,
    상기 제1 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N1 범위의 정수 값을 갖고, 상기 제2 신택스 요소는, 상기 현재 부호화 단위의 상기 인트라 프레임 스킵 모드의 사용 및 추가적인 코딩 정보를 나타내기 위한 0 내지 N2 범위의 정수 값을 갖고, 상기 N1 및 N2는 모두 3 이상인 것인, 비디오 복호화 장치.The first syntax element has an integer value in a range of 0 to N1 for indicating use of the intra frame skip mode of the current coding unit and additional coding information, and the second syntax element is configured to determine the value of the current coding unit. And an integer value in the range of 0 to N2 for indicating the use of intra frame skip mode and additional coding information, wherein N1 and N2 are both 3 or more.
  15. 비디오를 부호화하는 방법에 있어서,In the method of encoding video,
    데이터 단위의 계층 구조에서 현재 부호화 단위를 포함하는 상위 계층의 데이터 단위의 유형을 결정하는 단계; 및Determining a type of a data unit of a higher layer including a current coding unit in the hierarchical structure of the data unit; And
    상기 상위 계층의 데이터 단위의 결정된 유형에 따라, 상기 현재 부호화 단위의 인트라 프레임 스킵 모드와 관련된 정보를 부호화하여 비트 스트림을 출력하는 단계;Encoding information related to an intra frame skip mode of the current coding unit according to the determined type of the data unit of the higher layer, and outputting a bit stream;
    를 포함하고, 상기 상위 계층의 데이터 단위의 상이한 유형에 대해, 상기 인트라 프레임 스킵 모드와 관련된 정보는 상기 비트 스트림에서 상이한 길이의 코드워드로 표현되는 것인, 비디오를 부호화하는 방법.Wherein, for different types of data units of the higher layer, the information related to the intra frame skip mode is represented by codewords of different lengths in the bit stream.
PCT/KR2016/012977 2015-12-11 2016-11-11 Method and device for encoding and decoding intra-frame skip mode information WO2017099371A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/773,101 US10623773B2 (en) 2015-12-11 2016-11-11 Method and device for encoding and decoding intra-frame skip mode information

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201510921083.2A CN106878751B (en) 2015-12-11 2015-12-11 Identification method, processing method and device of video intra-frame coding mode
CN201510921083.2 2015-12-11
KR1020160139293A KR20170069912A (en) 2015-12-11 2016-10-25 Method and apparatus for encoding and decoding an intra-frame skip mode information
KR10-2016-0139293 2016-10-25

Publications (1)

Publication Number Publication Date
WO2017099371A1 true WO2017099371A1 (en) 2017-06-15

Family

ID=59014369

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2016/012977 WO2017099371A1 (en) 2015-12-11 2016-11-11 Method and device for encoding and decoding intra-frame skip mode information

Country Status (1)

Country Link
WO (1) WO2017099371A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11368722B2 (en) 2018-01-05 2022-06-21 Sk Telecom Co., Ltd. Method and device for encoding or decoding video
US11812061B2 (en) 2018-01-05 2023-11-07 Sk Telecom Co., Ltd. Method and device for encoding or decoding video

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130030240A (en) * 2011-09-16 2013-03-26 한국항공대학교산학협력단 Method for image encoding/decoding and apparatus thereof
WO2013157822A1 (en) * 2012-04-16 2013-10-24 삼성전자주식회사 Apparatus and method for coding depth image, and apparatus and method for decoding
US20140294061A1 (en) * 2013-03-27 2014-10-02 Qualcomm Incorporated Depth coding modes signaling of depth data for 3d-hevc
JP2015092762A (en) * 2010-01-14 2015-05-14 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for encoding video and method and apparatus for decoding video by considering skip and split order
KR20150126713A (en) * 2012-10-04 2015-11-12 인텔 코포레이션 Prediction parameter inheritance for 3d video coding

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015092762A (en) * 2010-01-14 2015-05-14 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for encoding video and method and apparatus for decoding video by considering skip and split order
KR20130030240A (en) * 2011-09-16 2013-03-26 한국항공대학교산학협력단 Method for image encoding/decoding and apparatus thereof
WO2013157822A1 (en) * 2012-04-16 2013-10-24 삼성전자주식회사 Apparatus and method for coding depth image, and apparatus and method for decoding
KR20150126713A (en) * 2012-10-04 2015-11-12 인텔 코포레이션 Prediction parameter inheritance for 3d video coding
US20140294061A1 (en) * 2013-03-27 2014-10-02 Qualcomm Incorporated Depth coding modes signaling of depth data for 3d-hevc

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11368722B2 (en) 2018-01-05 2022-06-21 Sk Telecom Co., Ltd. Method and device for encoding or decoding video
US11812061B2 (en) 2018-01-05 2023-11-07 Sk Telecom Co., Ltd. Method and device for encoding or decoding video
US11924473B2 (en) 2018-01-05 2024-03-05 Sk Telecom Co., Ltd. Method and device for encoding or decoding video

Similar Documents

Publication Publication Date Title
WO2011019247A2 (en) Method and apparatus for encoding/decoding motion vector
WO2011034372A2 (en) Methods and apparatuses for encoding and decoding mode information
WO2016204360A1 (en) Method and device for predicting block on basis of illumination compensation in image coding system
WO2013032074A1 (en) Apparatus for decoding merge mode motion information
WO2017069419A1 (en) Intra-prediction method and apparatus in video coding system
WO2014163240A1 (en) Method and apparatus for processing video
WO2013109093A1 (en) Method and apparatus for image coding/decoding
WO2012023763A2 (en) Inter prediction encoding method
WO2020017840A1 (en) Method and device for inter predicting on basis of dmvr
WO2017069590A1 (en) Modeling-based image decoding method and device in image coding system
WO2013069975A1 (en) Method and apparatus for coefficient scan based on partition mode of prediction unit
WO2011090313A2 (en) Method and apparatus for encoding/decoding images using a motion vector of a previous block as a motion vector for the current block
WO2012081879A1 (en) Method for decoding inter predictive encoded motion pictures
WO2016200043A1 (en) Method and apparatus for inter prediction on basis of virtual reference picture in video coding system
WO2011010900A2 (en) Method and apparatus for encoding images and method and apparatus for decoding images
WO2010039000A2 (en) Image encoder and decoder using unidirectional prediction
WO2018199468A1 (en) Method and apparatus for estimating optical flow for motion compensation
WO2018056709A1 (en) Inter-prediction method and device in image coding system
WO2017048008A1 (en) Inter-prediction method and apparatus in video coding system
WO2019194507A1 (en) Image coding method based on affine motion prediction, and device for same
WO2015142057A1 (en) Method and apparatus for processing multiview video signals
WO2014007550A1 (en) Method and apparatus for coding video having temporal scalability, and method and apparatus for decoding video having temporal scalability
WO2018128222A1 (en) Method and apparatus for image decoding in image coding system
WO2016056754A1 (en) Method and device for encoding/decoding 3d video
WO2019059736A1 (en) Image encoding device, image decoding device, image encoding method, and image decoding method

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15773101

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16873237

Country of ref document: EP

Kind code of ref document: A1