CA2856906C

Image coding method and device for buffer management of decoder, and image decoding method and device

Abstract

The present invention relates to an image coding method and device for buffer management of a decoder, and an image decoding method and device. The image coding method according to the present invention: determines the maximum size of a buffer required for decoding each image frame in a decoder and the number of image frames requiring realignment, and latency information on an image frame which has the greatest difference between a decoding order and a display order among image frames forming an image sequence, based on the decoding order of each image frame of a coded image sequence, a decoding order of a reference frame that each image frame refers to, the display order of each image frame and a display order of the reference frame; and adds a first syntax representing the maximum size of a buffer, a second syntax representing the number of image frames requiring realignment, and a third syntax representing latency information to a set of essential sequence parameters that is a set of information related to the coding of an image sequence.

CA2856906C, drawing sheet 1
Sheet 1 of 22

Term

6.2 yearsleft in the term

Expires 23 November 2032.

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

4 claims: 1 independent, 3 dependent

  1. 1
    CA 2856906 2017-03-30 Claims:1. A method of decoding an image, the method comprising: obtaining a first syntax indicating a maximum size of a buffer required to decode each of image frames that form an image sequence, a second syntax indicating a maximum number of image frames displayed after a post-decoded image frame decoded later and required to be reordered, and a third syntax indicating a difference value between a value of the second syntax and latency information of an image frame , the latency information having a largest difference between a decoding order and a display order from among the image frames that form the image sequence, from a bitstream;setting a maximum size of a buffer required to decode the image sequence by a decoder, by using the first syntax;obtaining encoded data, including encoded image frames from the bitstream, and obtaining decoded image frames by decoding the obtained encoded data;storing the decoded image frames in the buffer of the decoder;and determining whether to output the decoded image frame stored in the buffer of the decoder, by using the second syntax and the third syntax, wherein the first syntax, the second syntax, and the third syntax are included in a mandatory sequence parameter set that is a set of information related to the encoded data, wherein the determining whether to output the decoded image frame stored in the buffer further comprising: increasing a latency parameter count of the decoded image frame stored in the buffer by one whenever an image frame included in the image sequence is decoded;and outputting the decoded image frame from the buffer when the latency parameter count of the decoded image frame is equal to a value of the latency information obtained by adding a value of the second syntax and a value of the third syntax. CA 2856906 2017-03-30