Method for Producing Video Coding and Programme-Product
AssigneeSiemens Aktiengesellschaft
InventorsGero Bäse, Norbert Oertel
Life of this patent
Estimating the term…
Abstract
According to the invention, there are provided sets of contexts specifically adapted to encode special coefficients of a prediction error matrix, on the basis of previously encoded values of level k. Furthermore, the number of values of levels other than 0 is explicitly encoded and numbers of appropriate contexts are selected on the basis of the number of spectral coefficients other than 0.
Claims9
1-10. (canceled)
Method for video coding for a current image represented by macroblocks and a data stream, the method comprising:
- receiving motion vectors for a macroblock of the current image based on a previously received reference image, wherein one or more previously received reference images are stored in an image memory;
- calculating a prediction image based on the received motion vectors, the prediction image representing predicted movement of macroblocks of the reference image based on the received motion vectors;
- generating a prediction error matrix indicating a prediction error after transformation by a transformer and quantization by a quantizer, the prediction error representing a subtraction result generated by subtracting the prediction image from the current image by a substractor;
- converting the prediction error matrix using coefficient sampling into a series of symbols;
- and
- performing context-adaptive arithmetic encoding of the symbols using symbol frequencies selected based on an already encoded symbol;
- wherein context-adaptive arithmetic encoding of the symbols includes, for a symbol being encoded, selecting from different predetermined distributions of symbol frequencies a particular predetermined distribution of symbol frequencies based on the symbol encoded immediately beforehand;
- and
- a predetermined distribution of symbol frequencies indicates the likelihood of different types of symbols occurring immediately following the type of the symbol encoded immediately beforehand based on known statistical interdependencies between different types of symbols occurring in succession;
- and
- forming a bit stream using context-adaptive arithmetic encoding of the symbols.
Method in accordance with claim 1, further comprising coverting the prediction error matrix using coefficient sampling into a series of levels and lengths of zero sequences.
Method in accordance with claim 2, wherein the levels and lengths are represented as unary values.
Method in accordance with claim 2, further comprising arithmetically encoding the levels context-adaptively in each case, wherein the distribution of the underlying level value frequencies is selected depending on a level value encoded beforehand in each case.
Method in accordance with claim 2, further comprising arithmetically encoding the lengths context-adaptively in each case, wherein a distribution of the underlying length value frequencies depends at least in part on the length value encoded beforehand in each case.
Method in accordance with claim 2, furhter comprising sorting the level values before the context-adaptive arithmetic encoding in accordance with level values.
Method in accordance with claim 1, further comprising encoding and transmitting the number of symbols read out for coefficient sampling.
Method in accordance with claim 7, wherein the selection of the distribution of symbol frequencies is undertaken depending on a number of symbols read out.
Dependencies are inferred from the claim text.