A method of coding at least one image comprising the steps of splitting the image into a plurality of blocks, of grouping said blocks into a predetermined number of subsets of blocks, of coding each of said subsets of blocks in parallel, the blocks of a subset considered being coded according to a predetermined sequential order of traversal. The coding step comprises, for a current block of a subset considered, the sub-step of predictive coding of said current block with respect to at least one previously coded and decoded block, and the sub-step of entropy coding of said current block on the basis of at least one probability of appearance of a symbol.
|
2. An image encoding method comprising:
subtracting a predicted block from a block of an image to obtain a residual block;
transforming the residual block to obtain a transformed block;
quantizing a transformed block to obtain a block of quantized coefficients; and
entropy coding the block of quantized coefficients, wherein entropy coding the block of quantized coefficients comprises:
determining whether the block of quantized coefficients is first in an order of blocks in a given group of blocks;
in response to determining that the block of quantized coefficients is first in the order of blocks in the given group of blocks, retrieving a first set of probability data from a buffer, wherein the first set of probability data comprises a first set of probabilities of occurrence of symbols associated with a second block that is second in the order of blocks belonging to another group of blocks that is different from the given group of blocks in a predetermined plurality of groups of blocks;
entropy coding the block of quantized coefficients based on the first set of probability data; and
in response to determining that the block of quantized coefficients is not first in the order of blocks in the given group of blocks, retrieving a second set of probability data, wherein the second set of probability data comprises a second set of probabilities of occurrence of symbols associated with at least one other already coded block belonging to the given group of blocks in the predetermined plurality of groups of blocks,
wherein the second set of probabilities of occurrence of symbols are not associated with blocks that do not belong to the given group of blocks, and
wherein entropy coding the second block is based on the second set of probability data.
1. An image decoding method comprising:
receiving a stream representative of at least one coded image;
identifying, from the stream, a predetermined plurality of groups of blocks;
processing a first block in a given group of blocks, wherein the processing of the first block comprises:
determining that the first block is first in an order of blocks in the given group of blocks;
in response to determining that the first block is first in the order of blocks in the given group of blocks, retrieving a first set of probability data from a buffer, wherein the first set of probability data comprises a first set of probabilities of occurrence of symbols associated with a block that is second in the order of blocks belonging to another group of blocks that is different from the given group of blocks in the predetermined plurality of groups of blocks;
entropy decoding the first block based on the first set of probability data to obtain a quantized residual block;
dequantizing the quantized residual block to obtain a dequantized block;
inverse transforming the dequantized block to obtain a decoded residual block;
constructing a decoded block by adding a predicted block to the decoded residual block; and
processing a second block in the given group of blocks, wherein the processing of the second block comprises:
determining that the second block is not first in the order of blocks in the given group of blocks;
in response to determining that the second block is not first in the order of blocks in the given group of blocks, retrieving a second set of probability data, wherein the second set of probability data comprises a second set of probabilities of occurrence of symbols associated with at least one other already decoded block belonging to the given group of blocks in the predetermined plurality of groups of blocks,
wherein the second set of probabilities of occurrence of symbols are not associated with blocks that do not belong to the given group of blocks, and
entropy decoding the second block based on the second set of probability data to obtain a quantized residual block;
dequantizing the quantized residual block to obtain a dequantized block; and
inverse transforming the dequantized block to obtain a decoded residual block; and
constructing a decoded block by adding a predicted block to the decoded residual block.
|
This application is a continuation of U.S. application Ser. No. 15/003,148 filed Jan. 21, 2016, which is a continuation of U.S. application Ser. No. 14/492,546, filed Sep. 22, 2014, which is a continuation of U.S. application Ser. No. 14/003,014, filed Sep. 4, 2013, which is the U.S. national phase of International Patent Application No. PCT/FR2012/050380, filed Feb. 23, 2012, which claims the benefit of French Application No. 1151849, filed Mar. 7, 2011, the entire contents of which are incorporated herein by reference
The present invention pertains generally to the field of image processing, and more precisely to the coding and to the decoding of digital images and of sequences of digital images.
The invention can thus, especially, be applied to the video coding implemented in current video coders (MPEG, H.264, etc) or forthcoming video coders (ITU-T/VCEG (H.265) or ISO/MPEG (HVC).
Current video coders (MPEG, H264, etc.) use a block-wise representation of the video sequence. The images are cut up into macro-blocks, each macro-block is itself cut up into blocks and each block, or macro-block, is coded by intra-image or inter-image prediction. Thus, certain images are coded by spatial prediction (intra prediction), while other images are coded by temporal prediction (inter prediction) with respect to one or more coded-decoded reference images, with the aid of a motion compensation known by the person skilled in the art. Moreover, for each block can be coded a residual block corresponding to the original block decreased by a prediction. The coefficients of this block are quantized after optional transformation, and then coded by an entropy coder.
Intra prediction and inter prediction require that certain blocks which have been previously coded and decoded are available, so as to be used, either at the decoder or at the coder, to predict the current block. A schematic example of such a predictive coding is represented in
Of more particular interest here is the entropy coder. The entropy coder encodes the information in its order of arrival. Typically a row-by-row traversal of the blocks is carried out, of “raster-scan” type, as illustrated in
An effective arithmetical coder of reasonable complexity is already known, called “CABAC” (“Context Adaptive Binary Arithmetic Coder”), introduced into the AVC compression standard (also known as ISO-MPEG4 part 10 and ITU-T H.264).
This entropy coder implements various concepts;
Thus, this entropy coder implements, for each context used, a system for learning probabilities on the fly with respect to the previously coded symbols for the context considered. This learning is based on the order of coding of these symbols. Typically, the image is traversed according to an order of “raster-scan” type, described hereinabove.
During the coding of a given symbol b that may equal 0 or 1, the learning of the probability Pi of occurrence of this symbol is updated for a current block MBi in the following manner:
where α is a predetermined value, for example 0.95 and Pi-1 is the probability of symbol occurrence calculated during the last occurrence of this symbol.
A schematic example of such an entropy coding is represented in
The drawback of such a type of entropy coding resides in the fact that during the coding of a symbol situated at the start of a row, the probabilities used correspond mainly to those observed for the symbols situated at the end of the previous row, having regard to the “raster scan” traversal of the blocks. Now, on account of the possible spatial variation of the probabilities of the symbols (for example for a symbol related to an item of motion information, the motion situated in the right part of an image may be different from that observed in the left part and therefore likewise for the local probabilities stemming therefrom), a lack of local appropriateness of the probabilities may be observed, with the risk of causing a loss of effectiveness during coding.
The document “Annex A: CDCM Video Codec Decoder Specification” available at the Internet address http://wftp3.itu.int/av-arch/jctvc-site/2010-04_A_Dresden/JCTVC-A114-AnnexA.doc (on 8 Feb. 2011) describes a coding method which alleviates the drawback mentioned above. The coding method described in the above document comprises, as illustrated in
The advantage of such an entropy coding is that it exploits the probabilities arising from the immediate environment of the current block, thereby making it possible to achieve higher coding performance. Furthermore, the coding technique used makes it possible to code in parallel a predetermined number of pairwise neighboring subsets of blocks. In the example represented in
A drawback of this parallel coding technique is that, to allow access to a probability of symbol occurrence calculated for the block situated immediately above the current block, it is necessary to store a quantity of probabilities associated with a row of blocks. If the second row of blocks SE2 is considered for example in
One of the aims of the invention is to remedy drawbacks of the aforementioned prior art.
For this purpose, a subject of the present invention relates to a method of coding at least one image comprising the steps of:
The method according to the invention is noteworthy in that:
Such an arrangement makes it possible to store in the buffer memory of the coder a much smaller quantity of probabilities of occurrence of symbols, since the entropy coding of a current block other than the first block of a subset of blocks no longer necessarily requires the use of the probabilities of symbol occurrence calculated for a previously coded and decoded block which is situated above a current block in another subset.
Such an arrangement furthermore makes it possible to maintain the existing compression performance, since the entropy coding of a current block uses probabilities of symbol occurrence calculated for another previously coded and decoded block of the subset to which the current block belongs, and that consequently a learning has already been carried out through the updating of the probabilities so that the latter are in accordance with the statistics of the video signal.
The main advantage of using the probabilities of symbol occurrence calculated for the first block of said other subset during the entropy coding of the first current block of a considered subset of blocks is that of economizing on the coders buffer memory by storing in the latter just the update of said probabilities of occurrence of symbols, without taking into account the symbol occurrence probabilities learned by the other consecutive blocks of said other subset.
The main advantage of using the symbol occurrence probabilities calculated for a block of said other subset, other than the first block, for example the second block, during the entropy coding of the first current block of a considered subset of blocks is that of obtaining more precise and therefore better learning of the probabilities of occurrence of symbols, thereby giving rise to better video compression performance.
In a particular embodiment, the coded and decoded block belonging to the same subset as the current block to be coded other than the first block of the subset is that which is the nearest neighbor of the current block to be coded.
Such an arrangement thus makes it possible to store just the symbol occurrence probabilities learned during the entropy coding of a first block of a subset considered, since in this particular case, account is taken only of the symbol occurrence probability calculated for the block situated above the first current block and belonging to another subset. This results in optimization of the reduction in the size of the coder's memory resources.
In another particular embodiment, in the case where the predictive coding of a block of a subset considered is intended to be performed with respect to a predetermined number of previously coded and decoded blocks of a subset other than said subset considered, the parallel coding of the blocks of said subset considered is performed with a shift by said predetermined number of blocks with respect to the subset of blocks immediately preceding in the order in which the parallel coding is performed.
Such an arrangement allows the achieving, for a current subset of blocks to be coded, a synchronization of the progress of processing of the blocks of the subset of blocks preceding the current subset in the order in which the parallel coding is performed, thereby making it possible to guarantee the availability of the block or blocks of the preceding subset which are used for the coding of a current block. In this manner, the step of verifying the availability of this or these blocks of the preceding subset, such as are implemented in parallel coders of the prior art, can advantageously be omitted, thereby allowing an acceleration of the processing time required to process the blocks in the coder according to the invention.
Correlatively, the invention further relates to a device for coding at least one image comprising:
Such a coding device is noteworthy in that:
In a corresponding manner, the invention also relates to a method of decoding a stream representative of at least one coded image, comprising the steps of:
Such a decoding method is noteworthy in that:
in the case where the current block is the first block to be decoded of a subset considered, the probability of symbol occurrence is that which was calculated for a decoded predetermined block of at least one other subset,
in the case where the current block is a block of the subset considered, other than the first block of the latter, the probability of symbol occurrence is that which was calculated for at least one decoded block belonging to the same subset.
In a particular embodiment, the decoded block belonging to the same subset as the current block to be decoded other than the first block of the subset is that which is the nearest neighbor of the current block to be decoded.
In another particular embodiment, in the case where the predictive decoding of a block of a subset considered is intended to be performed with respect to a predetermined number of previously coded and decoded blocks of a subset other than the subset considered, the parallel decoding of the blocks of the subset considered is performed with a shift by the predetermined number of blocks with respect to the subset of blocks immediately preceding in the order in which the parallel decoding is performed.
Correlatively, the invention further relates to a device for decoding a stream representative of at least one coded image, comprising:
identification means for identifying in the image a predetermined number of subsets of blocks to be decoded,
means of parallel decoding of parts of the stream that are associated with each of the subsets of blocks, the blocks of a subset considered being decoded according to a predetermined sequential order of traversal, the decoding means comprising, for a current block of a subset considered:
Such a decoding device is noteworthy in that:
in the case where the current block is the first block to be decoded of a subset considered, the sub-means of entropy decoding take account, for the entropy decoding of the first current block, of the probability of symbol occurrence which was calculated for a decoded predetermined block of at least one other subset,
in the case where the current block is a block of the subset considered, other than the first block of the latter, the sub-means of entropy decoding take account, for the entropy decoding of the current block, of the probability of symbol occurrence which was calculated for at least one decoded block belonging to the same subset.
The invention is also aimed at a computer program comprising instructions for the execution of the steps of the coding or decoding method hereinabove, when the program is executed by a computer.
Such a program can use any programming language, and be in the form of source code, object code, or of code intermediate between source code and object code, such as in a partially compiled form, or in any other desirable form.
Yet another subject of the invention is also aimed at a recording medium readable by a computer, and comprising computer program instructions such as mentioned hereinabove.
The recording medium can be any entity or device capable of storing the program. For example, such a medium can comprise a storage means, such as a ROM, for example a CD ROM or a microelectronic circuit ROM, or else a magnetic recording means, for example a diskette (floppy disk) or a hard disk.
Moreover, such a recording medium can be a transmissible medium such as an electrical or optical signal, which can be conveyed via an electrical or optical cable, by radio or by other means. The program according to the invention can be in particular downloaded on a network of Internet type.
Alternatively, such a recording medium can be an integrated circuit into which the program is incorporated, the circuit being adapted for executing the method in question or to be used in the execution of the latter.
The coding device, the decoding method, the decoding device and the computer programs aforementioned present at least the same advantages as those conferred by the coding method according to the present invention.
Other characteristics and advantages will become apparent on reading two preferred embodiments described with reference to the figures in which:
An embodiment of the invention will now be described, in which the coding method according to the invention is used to code a sequence of images according to a binary stream close to that obtained by a coding according to the H.264/MPEG-4 AVC standard. In this embodiment, the coding method according to the invention is for example implemented in a software or hardware manner by modifications of a coder initially in accordance with the H.264/MPEG-4 AVC standard. The coding method according to the invention is represented in the form of an algorithm comprising steps C1 to C5, represented in
According to the embodiment of the invention, the coding method according to the invention is implemented in a coding device CO represented in
With reference to
Each block or macroblock can moreover itself be divided into sub-blocks which are themselves subdividable.
Such a cutting is performed by a partitioning module PCO represented in
With reference to
Such a grouping is performed by a calculation module GRCO represented in
With reference to
Such a coding in parallel is implemented by a number R of coding units UCk (1≤k≤R) with R=4 as represented in
As represented in greater detail in
a sub-unit for predictive coding of a current block with respect to at least one previously coded and decoded block, denoted SUCPk;
a sub-unit for entropy coding of said current block by using at least one probability of symbol occurrence calculated for said previously coded and decoded block, denoted SUCEk.
The predictive coding sub-unit SUCPk is able to perform a predictive coding of the current block, according to the conventional prediction techniques, such as for example in Intra and/or Inter mode.
The entropy coding sub-unit SUCEk is for its part of CABAC type, but modified according to the present invention, as will be described further on in the description.
As a variant, the entropy coding sub-unit SUCEk could be a Huffman coder known as such.
In the examples represented in
Other types of traversal than that which has just been described hereinabove are of course possible. Thus, it is possible to cut the image IE into several sub-images and to independently apply a cutting of this type to each sub-image. It is also possible for each coding unit to process not nested rows, as explained hereinabove, but nested columns. It is also possible to traverse the rows or columns in either direction.
With reference to
With reference to
Thus, as will be described in detail further on in the description, the decoder according to the invention is able to isolate the sub-streams Fk within the global stream F and to assign them to each component decoding unit of the decoder. It will be noted that such a decomposition of the sub-streams into global stream is independent of the choice of the use of several coding units operating in parallel, and that it is possible with this approach to have just the coder or just the decoder which comprises units operating in parallel.
Such a construction of the global stream F is implemented in a stream construction module CF, such as represented in
The various specific sub-steps of the invention, such as are implemented during the aforementioned parallel coding step C3, in a coding unit UCk, will now be described with reference to
In the course of a step C31, the coding unit UCk selects as current block tie first block to be coded of a current row SEk represented in
In the course of a step C32, the unit UCk tests whether the current block is the first block (situated at the top and on the left) of the image IE which has been cut up into blocks in the aforementioned step C1.
If such is the case, in the course of a step C33, the coding probabilities are initialized to values Pinit previously defined in the coder CO of
If such is not the case, there is undertaken, in the course of a step C40 which will be described later in the subsequent description, the determination of the availability of the necessary previously coded and decoded blocks.
In the course of a step C34, there is undertaken the coding of the first current block MB1 of the first row SE1 represented in
In the course of a first sub-step C341, there is undertaken the predictive coding of the current block MB1 by known techniques of intra and/or inter prediction, in the course of which the block MB1 is predicted with respect to at least one previously coded and decoded block.
It goes without saying that other modes of intra prediction such as proposed in the H.264 standard are possible.
The current block MB1 can also be subjected to a predictive coding in inter mode, in the course of which the current block is predicted with respect to a block arising from a previously coded and decoded image. Other types of prediction are of course conceivable. Among the possible predictions for a current block, the optimal prediction is chosen according to a rate distortion criterion well known to the person skilled in the art.
Said aforementioned predictive coding step makes it possible to construct a predicted block MBp1 which is an approximation of the current block MB1. The information relating to this predictive coding will subsequently be written into the stream F transmitted to the decoder DO. Such information comprises especially the type of prediction (inter or intra), and if appropriate, the mode of intra prediction, the type of partitioning of a block or macroblock if the latter has been subdivided, the reference image index and the displacement vector used in the inter prediction mode. This information is compressed by the coder CO.
In the course of a following sub-step C342, there is undertaken the subtraction of the predicted block MBp1 from the current block MB1 to produce a residual block MBr1.
In the course of a following sub-step C343, there is undertaken the transformation of the residual block MBr1 according to a conventional operation of direct transformation such as for example a discrete cosine transformation of DCT type, to produce a transformed block MBt1.
In the course of a following sub-step C344, there is undertaken the quantization of the transformed block MBt1 according to a conventional quantization operation, such as for example a scalar quantization. A block of quantized coefficients MBq1 is then obtained.
In the course of a following sub-step C345, there is undertaken the entropy coding of the block of quantized coefficients MBq1. In the preferred embodiment, this entails a CABAC entropy coding.
In the course of a following sub-step C346, there is undertaken the dequantization of the block MBq1 according to a conventional dequantization operation, which is the operation inverse to the quantization performed in step C344. A block of dequantized coefficients MBDq1 is then obtained.
In the course of a following sub-step C347, there is undertaken the inverse transformation of the block of dequantized coefficients MBDq1 which is the operation inverse to the direct transformation performed in step C343 hereinabove. A decoded residual block MBDr1 is then obtained.
In the course of a following sub-step C348, there is undertaken the construction of the decoded block MBD1 by adding to predicted block MBp1 the decoded residual block MBDr1. It should be noted that the latter block is the same as the decoded block obtained on completion of the method of decoding the image IE which will be described further on in the description. The decoded block MBD1 is thus rendered available to be used by the coding unit UC1 or any other coding unit forming part of the predetermined number R of coding units.
On completion of the aforementioned coding step C34, the entropy coding sub-unit SUCEk such as represented in
Subsequent to the aforementioned coding step C34, a test is performed, in the course of a step C35, to determine whether the current block is the jth block of this same row, were j is a known predetermined value of the coder CO which is at least equal to 1.
If such is the case, in the course of a step C36, the set of probabilities calculated for the jth block is stored in the buffer memory MT of the coder CO such as represented in
In the course of a step C37, the unit UCk tests whether the current block of the row SEk which has just been coded is the last block of the image IE.
If such is the case, in the course of a step C38, the coding method is ended.
If such is not the case, there is undertaken, in the course of step C39, the selection of the following block MBi to be coded in accordance with the order of traversal represented by the arrow PS in
If in the course of step C35, the current block is not the jth block of the row SEk considered, then step C37 hereinabove is undertaken.
In the course of a step C40, there is undertaken the determination of the availability of previously coded and decoded blocks which are necessary for coding the current block MBi. Having regard to the fact that this entails a parallel coding of the blocks of the image IE by different coding units UCk, it may be that these blocks were not coded and decoded by the coding unit assigned to the coding of these blocks and that they are therefore not yet available. Said determining step consists in verifying whether a predetermined number N′ of blocks situated in the previous row SEk−1, for example the two blocks situated respectively above and above to the right of the current block, are available for the coding of the current block, that is to say if they have already been coded and then decoded by the coding unit UCk−1 assigned to their coding. Said determining step also consists in verifying the availability of at least one block situated to the left of the current block to be coded MBi. However, having regard to the order of traversal PS chosen in the embodiment represented in
This test step being liable to slow the coding method, in an alternative manner in accordance with the invention, a clock CLK represented in
In the course of a step C41, a test is performed to determine whether the current block is the first block of the row SEk considered.
If such is the case, in the course of a step C42, there is undertaken the reading in the buffer memory MT solely of the symbol occurrence probabilities calculated during the coding of the jth block of the previous row SEk−1.
According to a first variant represented in
According to a second variant of the aforementioned step C42 which is illustrated in
Subsequent to step C42, the current block is coded and then decoded by iteration of steps C34 to C38 described above.
If subsequent to the aforementioned step C41, the current block is not the first block of the row SEk considered, there is advantageously not undertaken the reading of the probabilities arising from the previously coded and decoded block which is situated in the same row SEk, that is to say the coded and decoded block situated immediately to the left of the current block, in the example represented. Indeed, having regard to the sequential traversal of reading PS of the blocks situated in the same row, as represented in
Consequently, in the course of a step C43, there is undertaken the learning of the probabilities of symbol occurrence for the entropy coding of said current block, which correspond solely to those which were calculated for said preceding block in the same row, as is represented by the double solid arrows in
Subsequent to step C43, the current block is coded and then decoded by iteration of steps C34 to C38 described above.
Detailed Description of an Embodiment of the Decoding Part
An embodiment of the decoding method according to the invention will now be described, in which the decoding method is implemented in a software or hardware manner by modifications of a decoder initially in accordance with the H.264/MPEG-4 AVC standard.
The decoding method according to the invention is represented in the form of an algorithm comprising steps D1 to D4, represented in
According to the embodiment of the invention, the decoding method according to the invention is implemented in a decoding device DO represented in
With reference to
Each block or macroblock can moreover itself be divided into sub-blocks which are themselves subdividable.
Such an identification is performed by a stream extraction module EXDO such as represented in
In the example represented in
With reference to
Such a decoding in parallel is implemented by a number R of decoding units UDk (1≤k≤R) with R=4 as represented in
As represented in greater detail in
a sub-unit for entropy decoding of said current block by learning of at least one probability of symbol occurrence calculated for at least one previously decoded block, denoted SUDEk,
a sub-unit for predictive decoding of a current block with respect to said previously decoded block, denoted SUDPk.
The predictive decoding sub-unit SUDPk is able to perform a predictive decoding of the current block, according to the conventional prediction techniques, such as for example in Intra and/or Inter mode.
The entropy decoding sub-unit SUDEk is for its part of CABAL type, but modified according to the present invention, as will be described further on in the description.
As a variant, the entropy decoding sub-unit SUDEk could be a Huffman decoder known as such.
In the example represented in
Other types of traversal than that which has just been described hereinabove are of course possible. For example, each decoding unit could process not nested rows, as explained hereinabove, but nested columns. It is also possible to traverse the rows or columns in either direction.
With reference to
In the course of a fourth decoding step D4 represented in
The various specific sub-steps of the invention, such as are implemented during the aforementioned parallel decoding step D2, in a decoding unit UDk, will now be described with reference to
In the course of a step D21, the decoding unit UDk selects as current block the first block to be decoded of the current row SEk represented in
In the course of a step D22, the unit UDk tests whether the current block is the first block of the decoded image, in this instance the first block of the sub-stream F 1.
If such is the case, in the course of a step D23, the decoding probabilities are initialized to values Pinit previously defined in the decoder DO of
If such is not the case, there is undertaken, in the course of a step D30 which will be described later in the subsequent description, the determination of the availability of the necessary previously decoded blocks.
In the course of a step D24, there is undertaken the decoding of the first current block MB1 of the first row SE1 represented in
In the course of a first sub-step D241, there is undertaken the entropy decoding of the syntax elements related to the current block. More precisely, the syntax elements related to the current block are decoded by the CABAC entropy decoding sub-unit SUDE1 such as represented in
In the course of a following sub-step D242, there is undertaken the predictive decoding of the current block MB1 by known techniques of intra and/or inter prediction, in the course of which the block MB1 is predicted with respect to at least one previously decoded block.
It goes without saying that other modes of intra prediction such as proposed in the H.264 standard are possible.
In the course of this step, the predictive decoding is performed with the aid of the syntax elements decoded in the previous step and comprising especially the type of prediction (inter or intra), and if appropriate, the mode of intra prediction, the type of partitioning of a block or macroblock if the latter has been subdivided, the reference image index and the displacement vector used in the inter prediction mode.
Said aforementioned predictive decoding step makes it possible to construct a predicted block MBp1,
In the course of a following sub-step D243, there is undertaken the construction of a quantized residual block MBq1 with the aid of the previously decoded syntax elements,
In the course of a following sub-step D244, there is undertaken the dequantization of the quantized residual block MBq1 according to a conventional dequantization operation which is the operation inverse to the quantization performed in the aforementioned step C344, to produce a decoded dequantized block MBDt1.
In the course of a following sub-step D245, there is undertaken the inverse transformation of the dequantized block MBDt1 which is the operation inverse to the direct transformation performed in step C343 hereinabove. A decoded residual block MBDr1 is then obtained.
In the course of a following sub-step D246, there is undertaken the construction of the decoded block MBD1 by adding to predicted block MBp1 the decoded residual block MBDr1. The decoded block MBD1 is thus rendered available to be used by the decoding unit UD1 or any other decoding unit forming part of the predetermined number N of decoding units.
On completion of the aforementioned decoding step D246, the entropy decoding sub-unit SUDE1 such as represented in
Subsequent to the aforementioned decoding step D24, a test is performed, in the course of a step D25, to determine whether the current block is the jth block of this same row, where j is a known predetermined value of the decoder DO which is at least equal to 1.
If such is the case, in the course of a step D26, the set of probabilities calculated for the jth block is stored in the buffer memory MT of the decoder DO such as represented in
In the course of a step D27, the unit UDk tests whether the current block which has just been decoded is the last block of the last sub-stream.
If such is the case, in the course of a step D28, the decoding method is ended.
If such is not the case, there is undertaken, in the course of step D29, the selection of the following block MBi to be decoded in accordance with the order of traversal represented by the arrow PS in
If in the course of the aforementioned step D25, the current block is not the jth block of the row SEDk considered, step D27 hereinabove is undertaken.
In the course of a step D30 which follows the aforementioned step D29, there is undertaken the determination of the availability of previously decoded blocks which are necessary for decoding the current block MBi. Having regard to the fact that this entails a parallel decoding of the blocks by different decoding units UDk, it may be that these blocks were not decoded by the decoding unit assigned to the decoding of these blocks and that they are therefore not yet available. Said determining step consists in verifying whether a predetermined number N′ of blocks situated in the previous row SEk−1, for example the two blocks situated respectively above and above to the right of the current block, are available for the decoding of the current block, that is to say if they have already been decoded by the decoding unit UDk−1 assigned to their decoding. Said determining step also consists in verifying the availability of at least one block situated to the left of the current block to be decoded MBi. However, having regard to the order of traversal PS chosen in the embodiment represented in
This test step being liable to slow the decoding method, in an alternative manner in accordance with the invention, a clock CLK represented in
In the course of a step D31, a test is performed to determine whether the current block is the first block of the row SEk considered.
If such is the case, in the course of a step D32, there is undertaken the reading in the buffer memory MT solely of the symbol occurrence probabilities calculated during the decoding of the jth block of the previous row SEk−1.
According to a first variant represented in
According to a second variant of the aforementioned step D32 which is illustrated in
Subsequent to step D32, the current block is decoded by iteration of steps D24 to D28 described above.
If subsequent to the aforementioned step D31, the current block is not the first block of the row SEk considered, there is advantageously not undertaken the reading of the probabilities arising from the previously decoded block which is situated in the same row SEk, that is to say the decoded block situated immediately to the left of the current block, in the example represented. Indeed, having regard to the sequential traversal of reading PS of the blocks situated in the same row, as represented in
Consequently, in the course of a step D33, there is undertaken the learning of the probabilities of symbol occurrence for the entropy decoding of said current block, which probabilities correspond solely to those which were calculated for said preceding block in the same row, as represented by the double solid arrows in
Subsequent to step D33, the current block is decoded by iteration of steps D24 to D28 described above.
Henry, Felix, Pateux, Stephane
Patent | Priority | Assignee | Title |
10531109, | Jan 27 2015 | Dolby Laboratories Licensing Corporation; DOLBY INTERNATIONAL AB | Predictive image encoding and decoding with pixel group based quantization |
10602147, | Jul 10 2018 | Samsung Display Co., Ltd.; SAMSUNG DISPLAY CO , LTD | Efficient entropy coding group grouping methodology for transform mode |
10863179, | Sep 05 2018 | Amazon Technologies, Inc.; Amazon Technologies, Inc | Overlapped rate control for high-quality segmented video encoding |
11343535, | Mar 07 2011 | DOLBY INTERNATIONAL AB | Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto |
11736723, | Mar 07 2011 | DOLBY INTERNATIONAL AB | Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto |
Patent | Priority | Assignee | Title |
6480537, | Feb 25 1999 | HANGER SOLUTIONS, LLC | Active techniques for video transmission and playback |
7221483, | Sep 05 2000 | Ricoh Company, LTD | Image encoding method and apparatus, image decoding method and apparatus, image processing apparatus, image formation apparatus, and computer-executable programs |
7463781, | Apr 14 2004 | AVAGO TECHNOLOGIES INTERNATIONAL SALES PTE LIMITED | Low overhead context intializations for arithmetic video codecs |
8319672, | Apr 09 2010 | Korea Electronics Technology Institute | Decoding device for context-based adaptive binary arithmetic coding (CABAC) technique |
8520740, | Sep 02 2010 | SONY INTERACTIVE ENTERTAINMENT INC | Arithmetic decoding acceleration |
8824813, | Apr 09 2010 | Sony Corporation | Image processing device and method |
8953692, | Oct 29 2009 | SUN PATENT TRUST | Image coding method and image decoding method |
9042457, | Jun 10 2008 | Sovereign Peak Ventures, LLC | Image decoding apparatus and image coding apparatus wth parallel decoding |
9271012, | Mar 07 2011 | DOLBY INTERNATIONAL AB | Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto |
9319692, | Jun 24 2011 | DOLBY INTERNATIONAL AB | Method for encoding and decoding images, encoding and decoding device, and corresponding computer programs |
9319693, | Jun 24 2011 | DOLBY INTERNATIONAL AB | Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto |
9319694, | Jun 24 2011 | DOLBY INTERNATIONAL AB | Method for encoding and decoding images, encoding and decoding device, and corresponding computer programs |
9338469, | Oct 15 2009 | Siemens Aktiengesellschaft | Method for encoding symbols from a sequence of digitized images |
9380308, | Jun 24 2011 | DOLBY INTERNATIONAL AB | Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto |
9560380, | Mar 07 2011 | DOLBY INTERNATIONAL AB | Coding and decoding images using probability data |
9628818, | Mar 07 2011 | DOLBY INTERNATIONAL AB | Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto |
9648325, | Jun 30 2007 | Microsoft Technology Licensing, LLC | Video decoding implementations for a graphics processing unit |
9654783, | Jun 24 2011 | DOLBY INTERNATIONAL AB | Method for encoding and decoding images, encoding and decoding device, and corresponding computer programs |
9661335, | Jun 24 2011 | DOLBY INTERNATIONAL AB | Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto |
9848196, | Jun 24 2011 | DOLBY INTERNATIONAL AB | Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto |
20020021234, | |||
20050038837, | |||
20050123207, | |||
20060008079, | |||
20060092271, | |||
20070280345, | |||
20080246637, | |||
20080279182, | |||
20080310504, | |||
20090168868, | |||
20090175331, | |||
20090245349, | |||
20100052956, | |||
20100098155, | |||
20100135416, | |||
20100215030, | |||
20100238998, | |||
20110243226, | |||
20120014433, | |||
20120082215, | |||
20120163448, | |||
20120183074, | |||
20120207213, | |||
20120219066, | |||
20120263232, | |||
20120293343, | |||
20130016771, | |||
20130021350, | |||
20130187798, | |||
20140010312, | |||
20140016700, | |||
20140254665, | |||
20140334557, | |||
20150010088, | |||
20150016524, | |||
20150195537, | |||
20150195538, | |||
CN101198051, | |||
CN101411197, | |||
CN101490968, | |||
CN101491097, | |||
CN101653003, | |||
CN101836454, | |||
CN101981934, | |||
CN1527610, | |||
CN1547854, | |||
CN1717050, | |||
JP2006141037, | |||
JP2006279574, | |||
JP2007142637, | |||
JP2007166192, | |||
JP2007300455, | |||
JP2007520912, | |||
JP200927306, | |||
JP201166677, | |||
JP2014525187, | |||
JP2015516747, | |||
JP723397, | |||
JP8116534, | |||
KR1020140131926, | |||
RU2330325, | |||
RU2371881, | |||
TW200822760, | |||
WO2008036237, | |||
WO2009119888, | |||
WO2010063184, | |||
WO2011042645, | |||
WO2011045339, | |||
WO2011046339, | |||
WO2011052142, | |||
WO2012175870, | |||
WO2013010997, | |||
WO2013153226, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Apr 09 2014 | HENRY, FELIX | Orange SA | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 047659 | /0845 | |
Apr 09 2014 | PATEUX, STEPHANE | Orange SA | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 047659 | /0845 | |
Sep 03 2014 | Orange SA | DOLBY INTERNATIONAL AB | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 047659 | /0937 | |
Jan 30 2017 | DOLBY INTERNATIONAL AB | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Jan 20 2023 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Date | Maintenance Schedule |
Aug 13 2022 | 4 years fee payment window open |
Feb 13 2023 | 6 months grace period start (w surcharge) |
Aug 13 2023 | patent expiry (for year 4) |
Aug 13 2025 | 2 years to revive unintentionally abandoned end. (for year 4) |
Aug 13 2026 | 8 years fee payment window open |
Feb 13 2027 | 6 months grace period start (w surcharge) |
Aug 13 2027 | patent expiry (for year 8) |
Aug 13 2029 | 2 years to revive unintentionally abandoned end. (for year 8) |
Aug 13 2030 | 12 years fee payment window open |
Feb 13 2031 | 6 months grace period start (w surcharge) |
Aug 13 2031 | patent expiry (for year 12) |
Aug 13 2033 | 2 years to revive unintentionally abandoned end. (for year 12) |