Video decoding method and apparatus, and video encoding method and apparatus
AssigneeSamsung Electronics Co., Ltd.
InventorsNarae Choi, Minwoo Park
Life of this patent
Estimating the term…
Abstract
Provided are a video decoding method and apparatus including: in a video encoding and decoding process, determining parity information of a current block based on a width and a height of the current block; determining a lookup table of the current block from among a plurality of predefined lookup tables based on the parity information; determining a dequantization scale value of the current block based on the lookup table of the current block; and performing dequantization on the current block by using the dequantization scale value.
Claims9
A video decoding method comprising:
- determining a parity flag of a current block based on a width and a height of the current block, wherein the parity flag indicates one among a plurality of predefined lookup tables including a first predefined lookup table and a second predefined lookup table;
- when the parity flag is a first value, determining a lookup table of the current block as the first predefined lookup table among the plurality of predefined lookup tables by using the parity flag;
- when the parity flag is a second value, determining the lookup table of the current block as the second predefined lookup table among the plurality of predefined lookup tables by using the parity flag;
- determining a dequantization scale value of the current block from among a plurality of dequantization scale values included in the lookup table of the current block;
- and
- performing dequantization on the current block by using the dequantization scale value.
A video encoding method comprising:
- determining a parity flag of a current block, based on a width and a height of the current block, wherein the parity flag indicates one among a plurality of predefined lookup tables including a first predefined lookup table and a second predefined lookup table;
- when the parity flag is a first value, determining a lookup table of the current block as the first predefined lookup table among the plurality of predefined lookup tables by using the parity flag;
- when the parity flag is a second value, determining the lookup table of the current block as the second predefined lookup table among the plurality of predefined lookup tables by using the parity flag;
- determining a quantization scale value for the current block from among a plurality of quantization scale values included in the lookup table of the current block;
- and
- performing quantization on the current block by using the quantization scale value.
A video decoding apparatus comprising:
- a memory;
- and
- at least one processor connected to the memory and configured to
- determine a parity flag of a current block, based on a width and a height of the current block, wherein the parity flag indicates one among a plurality of predefined lookup tables including a first predefined lookup table and a second predefined lookup table;
- when the parity flag is a first value, determine a lookup table of the current block as the first predefined lookup table among the plurality of predefined lookup tables by using the parity flag;
- when the parity flag is a second value, determine the lookup table of the current block as the second predefined lookup table among the plurality of predefined lookup tables by using the parity flag;
- determine a dequantization scale value for the current block from among a plurality of dequantization scale values included in the lookup table of the current block;
- and
- perform dequantization on the current block by using the dequantization scale value.
Dependencies are inferred from the claim text.