EP1559274B1

Picture buffering for prediction references and display

Abstract

The invention relates to an encoder for forming an encoded picture stream. The pictures are defined as reference pictures or non-reference pictures, and information relating to decoding order and output order of a picture is defined for pictures of the picture stream. The encoder is arranged to form to the bitstream an indication of such a number of pictures arranged to be buffered in decoding order that is sufficient to recover the output order of pictures. The invention also relates to a signal, hypothetical encoder, decoder, hypothetical decoder, electronic device, system, software program and a storage medium.

EP1559274B1, drawing sheet 1
Sheet 1 of 6

Term

Term ended

Expired 6 November 2023, 2.9 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

34 claims: 15 independent, 19 dependent

  1. 1
    A hypothetical decoder (5) for hypothetically decoding an encoded picture stream, and the hypothetical decoder (5) comprises a picture buffer (5.2) for buffering reference pictures and pictures to be reordered, characterized in that the hypothetical decoder (5) is configured to receive from an encoder (1) an attribute defining a number of pictures arranged to be buffered that is sufficient to recover the output order of pictures in the picture buffer (5.2) when pictures are input to buffering in decoding order, and that the hypothetical decoder (5) comprises the following:a processing block for performing the following before inserting a newly decoded picture to the buffer (5.2), - examining if the newly decoded picture can be inserted in the buffer (5.2) without removing another picture from the buffer (5.2), - on the basis of said examination, if the newly decoded picture cannot be inserted in the buffer (5.2) without removing another picture from the buffer (5.2), selecting a picture to be removed from the buffer (5.2), - removing the selected picture from the buffer (5.2).
  2. 3
    A signal containing an encoded picture stream, and the signal contains at least a first reference picture and a second reference picture, the signal contains at least one signal element to enable the first reference picture precedes the second reference picture in decoding order and the second reference picture precedes the first reference picture in output order, characterized in that the signal contains an indication of such a number of pictures arranged to be buffered that is sufficient to recover the output order of pictures when pictures are input to buffering in decoding order.
  3. 5
    An encoder (1) for forming an encoded picture stream, and the encoder (1) is arranged to include to the picture stream at least a first reference picture and a second reference picture, and at least one signal element to enable the first reference picture to precede the second reference picture in decoding order and the second reference picture to precede the first reference picture in output order, characterized in that the encoder is arranged to form to the picture stream an indication of such a number of pictures arranged to be buffered in a decoder that is sufficient to recover the output order of pictures when pictures are input to buffering in decoding order.
  4. 12
    An encoder (1) comprising a hypothetical decoder (5) for hypothetically decoding an encoded picture stream, and the encoder (1) comprises a picture buffer (5.2) for buffering reference pictures and pictures to be reordered, characterized in that the hypothetical decoder (5) is configured to receive from an encoder (1) an attribute defining a number of pictures arranged to be buffered that is sufficient to recover the output order of pictures in the picture buffer (5.2) when pictures are input to the picture buffer (5.2) in decoding order, and that the hypothetical decoder (5) comprises the following:a processing block for performing the following before inserting a newly decoded picture to the buffer (5.2), - examining if the newly decoded picture can be inserted in the buffer (5.2) without removing another picture from the buffer (5.2). - on the basis of said examination, if the newly decoded picture cannot be inserted in the buffer (5.2) without removing another picture from the buffer (5.2), selecting a picture to be removed from the buffer (5.2), - removing the selected picture from the buffer (5.2).
  5. 14
    A method for forming an encoded picture stream comprising including the signal with at least a first reference picture and a second reference picture, and at least one signal element to enable the first reference picture to precede the second reference picture in decoding order and the second reference picture to precede the first reference picture in output order, characterized in that the method comprises the step of:- defining an indication of a number of pictures arranged to be buffered in a decoder that is sufficient to recover the output order of pictures to the picture stream when pictures are input to buffering in decoding order.
  6. 16
    A method for buffering decoded pictures, the size of the buffer (5.2) is defined, the maximum number of reference pictures in the buffer (5.2) is defined, and a picture buffer (5.2) is used for buffering both prediction references and decoded pictures for arranging them in output order, characterized in that a number of pictures to be buffered in decoding order that is sufficient to recover the output order of pictures is received from an encoder and the size of the picture buffer is defined on the basis of the received number.
  7. 18
    A decoder (2) including means (2.3) for buffering decoded pictures, the pictures being defined as reference pictures or non-reference pictures, the size of the buffer is defined, and the number of reference pictures in the buffer is defined, an input for inputting a signal which contains at least a first reference picture and a second reference picture, and at least one signal element to enable the first reference picture to precede the second reference picture in decoding order and the second reference picture to precede the first reference picture in output order, and the signal further contains at least an indication of such a number of pictures arranged to be buffered that is sufficient to recover the output order of pictures when pictures are input to buffering in decoding order, and that the means (2.3) for buffering includes a picture buffer (2.1) for buffering both prediction references and decoded pictures for arranging them in output order, characterized in that the decoder (2) comprises a definer for defining the size of the picture buffer on the basis of said indication.
  8. 27
    A software program comprising machine executable steps for forming an encoded picture stream, and machine executable steps for inserting in said picture stream of at least a first reference picture and a second reference picture and at least one signal element to enable the first reference picture to precede the second reference picture in decoding order and the second reference picture to precede the first reference picture in output order, characterized in that the software program comprises machine executable steps for inserting in said picture stream an indication of a number of pictures arranged to be buffered that is sufficient to recover the output order of the decoded pictures when said decoded pictures are input to buffering in decoding order.
  9. 28
    A software program comprising machine executable steps for hypothetically decoding an encoded picture stream, and the software program comprises machine executable steps for buffering reference pictures and pictures to be reordered in a picture buffer (5.2; 2.1), characterized in that the software program further comprises the following:machine executable steps for performing the following before inserting a newly decoded picture to the buffer (5.2;2.1), - receiving from an encoder (1) an attribute defining a number of pictures arranged to be buffered that is sufficient to recover the output order of pictures in the picture buffer (5.2) when pictures are input to the picture buffer (5.2) in decoding order, - examining if the newly decoded picture can be inserted in the buffer (5.2;2.1) without removing another picture from the buffer (5.2;2.1), based on the received attribute, - on the basis of said examination, if the newly decoded picture cannot be inserted in the buffer (5.2;2.1) without removing another picture from the buffer (5.2;2.1), selecting a picture to be removed from the buffer (5.2;2.1), - removing the selected picture from the buffer (5.2;2.1).
  10. 29
    A software program comprising machine executable steps for buffering decoded pictures, the size of the buffer is defined, and the maximum number of reference pictures in the buffer is defined, and machine executable steps for processing a signal which contains at least a first reference picture and a second reference picture, and at least one signal element to enable the first reference picture to precede the second reference picture in decoding order and the second reference picture to precede the first reference picture in output order, characterized in that the signal further contains at least an indication of such a number of pictures arranged to be buffered that is sufficient to recover the output order of decoded pictures when said decoded pictures are input to buffering in decoding order, wherein the software program comprises machine executable steps for buffering both prediction references and decoded pictures for arranging them in displaying order in a picture buffer (5.2;2.1), and machine executable steps for defining the size of the buffer (5.2;2.1) on the basis of said indication.
  11. 30
    A storage medium for storing a software program comprising machine executable steps for forming an encoded picture stream, and including the signal with at least a first reference picture and a second reference picture and at least one signal element to enable the first reference picture to precede the second reference picture in decoding order and the second reference picture to precede the first reference picture in output order, characterized in that the software program comprises machine executable steps for forming to the bitstream an indication of such a number of pictures arranged to be buffered in a decoder that is sufficient to recover the output order of pictures when pictures are input to buffering in decoding order.
  12. 31
    An electronic device comprising an encoder (1) for forming an encoded picture stream, the encoder (1) is arranged to insert in said picture stream at least a first reference picture and a second reference picture, and at least one signal element to enable the first reference picture to precede the second reference picture in decoding order and the second reference picture to precede the first reference picture in output order, characterized in that the encoder is arranged to picture stream an indication of such a number of pictures arranged to be buffered in a decoder that is sufficient to recover the output order of pictures when pictures are input to buffering in decoding order.
  13. 32
    An electronic device (8) comprising a decoder (2) including means (2.3) for buffering decoded pictures, the maximum number of reference pictures in the buffer is defined, and the electronic device (8) comprises an input for inputting a signal which contains at least a first reference picture and a second reference picture, and at least one signal element to enable the first reference picture to precede the second reference picture in decoding order and the second reference picture to precede the first reference picture in output order, characterized in that the signal further contains at least an indication of such a number of pictures arranged to be buffered that is sufficient to recover the output order of pictures when pictures are input to buffering in decoding order, and that the means (2.3) for buffering includes a picture buffer (2.1) for buffering both prediction references and decoded pictures for arranging them in output order, wherein the decoder (2) comprises a definer (2.2;2.4) for defining the size of the picture buffer (2.1) on the basis of said indication.
  14. 33
    A system comprising an encoder (1) for forming a signal containing an encoded picture stream, a transmission channel (4) for transmitting the signal to a decoder (2), the decoder (2) including means (2.3) for buffering decoded pictures, and the system is arranged to include to the picture stream at least a first reference picture and a second reference picture, and at least one signal element to enable the first reference picture to precede the second reference picture in decoding order and the second reference picture to precede the first reference picture in output order, characterized in that the encoder is arranged to form to the picture stream an indication of such a number of pictures arranged to be buffered in said decoder that is sufficient to recover the output order of pictures when pictures are input to buffering in decoding order.
  15. 34
    A device (1) comprising an input for inputting information of at least a first reference picture and a second reference picture and at least one signal element to enable the first reference picture to precede the second reference picture in decoding order and the second reference picture to precede the first reference picture in output order, characterized in that the device is arranged to form an indication of a number of pictures arranged to be buffered in decoding order that is sufficient to recover the output order of pictures when pictures are input to buffering in decoding order.