Method and technical equipment for video encoding and decoding
AssigneeNokia Technologies Oy
InventorsJani LAINEMA, Done BUGDAYCI, Kemal UGUR
Life of this patent
Estimating the term…
Abstract
There are disclosed various methods, apparatuses and computer program products for video encoding/decoding. In some embodiments the method comprises decoding a coding unit being coded with palette coding, wherein an indication of a scan order of the palette mode is decoded for said coding unit. Mode information for at least one pixel within the coding unit is decoded. Depending on the mode information, a decoded pixel value is set based on indicated scan order; or an indication to determine the number of the pixels sharing the value and indication for a reconstruction value of number of pixels are decoded; or an indication for a reconstruction value of a pixel is decoded.
Claims17
A method comprising:
- decoding a coding unit being coded with palette coding, comprising
- decoding an indication of a scan order of the palette mode;
- decoding mode information for at least one pixel within the coding unit, and
- if said mode information indicates a copy mode,
- setting a decoded pixel value based on indicated scan order;
- or
- if said mode information indicates that more than one pixel shares a certain value,
- decoding an indication to determine the number of the pixels sharing the value and indication for a reconstruction value of number of pixels;
- and
- determining corresponding group of pixels by using the scan order of the palette mode and the determined number of pixels, and
- setting the values of the pixels in the corresponding group of pixels to the reconstructed value;
- or
- if said mode information indicates that a palette index is used for one pixel,
- decoding an indication for a reconstruction value of a pixel, and
- determining corresponding pixel by using the scan order of the palette mode, and
- setting the value of the corresponding pixel to the reconstructed value.
An apparatus comprising at least one processor;
- and at least one memory including computer program code the at least one memory and the computer program code configured to, with the at least one processor, cause the apparatus to perform at least the following:
- decode a coding unit being coded with palette coding, comprising
- decode an indication of a scan order of the palette mode;
- decode mode information for at least one pixel within the coding unit, and
- if said mode information indicates a copy mode,
- set a decoded pixel value based on indicated scan order;
- or
- if said mode information indicates that more than one pixel shares a certain value,
- decode an indication to determine the number of the pixels sharing the value and indication for a reconstruction value of number of pixels;
- and
- determine a corresponding group of pixels by using the scan order of the palette mode and the determined number of pixels, and
- set the values of the pixels in the corresponding group of pixels to the reconstructed value;
- or
- if said mode information indicates that a palette index is used for one pixel,
- decode an indication for a reconstruction value of a pixel, and
- determine corresponding pixel by using the scan order of the palette mode, and
- set the value of the corresponding pixel to the reconstructed value.
A non-transitory computer-readable medium encoded with instructions that, when executed by a computer, perform
- decoding a coding unit being coded with palette coding, comprising
- decoding an indication of a scan order of the palette mode;
- decoding mode information for at least one pixel within the coding unit, and
- if said mode information indicates a copy mode,
- setting a decoded pixel value based on indicated scan order;
- or
- if said mode information indicates that more than one pixel shares a certain value,
- decoding an indication to determine the number of the pixels sharing the value and indication for a reconstruction value of number of pixels;
- and
- determining a corresponding group of pixels by using the scan order of the palette mode and the determined number of pixels, and
- setting the values of the pixels in the corresponding group of pixels to the reconstructed value;
- or
- if said mode information indicates that a palette index is used for one pixel,
- decoding an indication for a reconstruction value of a pixel and
- determining a corresponding pixel by using the scan order of the palette mode, and
- setting the value of the corresponding pixel to the reconstructed value.
Dependencies are inferred from the claim text.