Method and apparatus for intra-prediction coding of video data
AssigneesHyundai Motor Company, Kia Corporation, Ewha University-Industry Collaboration Foundation
InventorsJe Won Kang, Sang Hyo Park, Seung Wook Park, Wha Pyeong Lim
Life of this patent
Estimating the term…
Abstract
An apparatus for decoding video data includes a decoder configured to decode, from a bitstream, a syntax element indicating an intra-prediction type of a current block of the video data, and an intra-predictor configured to generate a prediction block for the current block by selectively performing matrix based intra-prediction (MIP) or regular intra-prediction based on the intra-prediction type of the current block indicated by the syntax element.
Claims11
A method of decoding video data, comprising:
- decoding, from a bitstream, a syntax element indicating an intra-prediction type of a current block of the video data, the intra-prediction type being indicated from among matrix based intra-prediction (MIP) and regular intra-prediction;
- and
- generating a prediction block for the current block by selectively performing the MIP or the regular intra-prediction based on the intra-prediction type of the current block indicated by the syntax element,
- wherein generating the prediction block for the current block by performing the MIP comprises:
- decoding, from the bitstream, a syntax element indicating an MW mode for the current block, the syntax element being represented as a truncated binary code specifying one of a plurality of MIP prediction modes allowed for a width and a height of the current block;
- deriving an input boundary vector using neighboring samples adjacent to the current block based on the width and the height of the current block;
- generating predicted samples for the current block based on matrix-vector multiplication between the input boundary vector and a matrix predefined for the MW mode;
- and
- deriving the prediction block for the current block based on the predicted samples,
- wherein deriving the input boundary vector using the neighboring samples adjacent to the current block comprises:
- generating an initial boundary vector filled with the neighboring samples adjacent to the current block or down-sampled values from the neighboring samples according to the width and the height of the current block;
- and
- from the initial boundary vector, generating an input boundary vector to which the matrix-vector multiplication is applied, and
- where a first entry of the input boundary vector is obtained based on a difference between half of a maximum value allowed to be expressed in bit depth and the first entry of the initial boundary vector, and subsequent entries of the input boundary vector are obtained based on subtraction of a value of the first entry from each entry of the initial boundary vector.
A method of encoding video data, comprising:
- encoding a syntax element indicating an intra-prediction type of a current block of the video data, the intra-prediction type being indicated from among matrix based intra-prediction (MW) and regular intra-prediction;
- generating a prediction block for the current block by selectively performing the MIP or the regular intra-prediction based on the intra-prediction type of the current block indicated by the syntax element;
- and
- encoding a residual block that is a difference between the current block and the prediction block,
- wherein generating the prediction block for the current block by performing the MIP comprises:
- encoding a syntax element indicating an MIP mode for the current block, the syntax element being represented as a truncated binary code specifying one of a plurality of MIP prediction modes allowed for a width and a height of the current block;
- deriving an input boundary vector using neighboring samples adjacent to the current block based on the width and the height of the current block;
- generating predicted samples for the current block based on matrix-vector multiplication between the input boundary vector and a matrix predefined for the MW mode;
- and
- deriving the prediction block for the current block based on the predicted samples,
- wherein deriving the input boundary vector using the neighboring samples adjacent to the current block comprises:
- generating an initial boundary vector filled with the neighboring samples adjacent to the current block or down-sampled values from the neighboring samples according to the width and the height of the current block;
- and
- from the initial boundary vector, generating an input boundary vector to which the matrix-vector multiplication is applied, and
- where a first entry of the input boundary vector is obtained based on a difference between half of a maximum value allowed to be expressed in bit depth and the first entry of the initial boundary vector, and subsequent entries of the input boundary vector are obtained based on subtraction of a value of the first entry from each entry of the initial boundary vector.
A non-transitory computer readable medium storing a bitstream containing encoded data for video data, the bitstream generated by processes of:
- encoding a syntax element indicating an intra-prediction type of a current block of the video data, the intra-prediction type being indicated from among matrix based intra-prediction (MW) and regular intra-prediction;
- generating a prediction block for the current block by selectively performing the MIP or the regular intra-prediction based on the intra-prediction type of the current block indicated by the syntax element;
- and
- encoding a residual block that is a difference between the current block and the prediction block,
- wherein generating the prediction block for the current block by performing the MIP comprises:
- encoding a syntax element indicating an MIP mode for the current block, the syntax element being represented as a truncated binary code specifying one of a plurality of MIP prediction modes allowed for a width and a height of the current block;
- deriving an input boundary vector using neighboring samples adjacent to the current block based on the width and the height of the current block;
- generating predicted samples for the current block based on matrix-vector multiplication between the input boundary vector and a matrix predefined for the MW mode;
- and
- deriving the prediction block for the current block based on the predicted samples,
- wherein deriving the input boundary vector using the neighboring samples adjacent to the current block comprises:
- generating an initial boundary vector filled with the neighboring samples adjacent to the current block or down-sampled values from the neighboring samples according to the width and the height of the current block;
- and
- from the initial boundary vector, generating an input boundary vector to which the matrix-vector multiplication is applied, and
- where a first entry of the input boundary vector is obtained based on a difference between half of a maximum value allowed to be expressed in bit depth and the first entry of the initial boundary vector, and subsequent entries of the input boundary vector are obtained based on subtraction of a value of the first entry from each entry of the initial boundary vector.
Dependencies are inferred from the claim text.