Patent ID: 9390512
Filing Date: 2016-07-12
CPC Classification: G06T,G09G,H04N

Claim Text:
1. A picture decoding method comprising: a decoding step of decoding a sequence of coded pictures to obtain a motion vector, quantized values and a buffer size information indicating that a buffer has a predetermined size; an inverse-quantizing step of inverse-quantizing the quantized values to obtain frequency coefficients; an inverse-frequency-transforming step of inverse-frequency-transforming the frequency coefficients to obtain pixel differential values; a generating step of generating a predictive image based on the motion vector and a reference picture stored in the buffer; an adding step of adding the pixel differential values and the predictive image to obtain a decoded picture; a first judging step of judging if the decoded picture is a reference picture which is to be referred to decode a following coded picture or a non-reference picture which is not to be referred to decode any following coded picture; and the following steps are performed when the decoded picture is judged to be a reference picture in the first judging step: a storing step of storing the decoded picture into the buffer; a third judging step of judging based on a display timing if the decoded reference picture in the buffer is a picture to be outputted; an output step of outputting the decoded reference picture, based on the result of the third judging step; a fourth judging step of judging if the decoded reference picture stored in the buffer is a picture which is no longer referred to; and a buffer re-usable step of making the area of the buffer re-usable after the decoded picture stored in the buffer has been output, based on the result of the fourth judging step, and the following steps are performed when the decoded picture is judged to be a non-reference picture in the first judging step: a second judging step of judging if the decoded non-reference picture is a picture which is necessary to be stored in the buffer until a display timing; a storing step of storing the decoded non-reference picture into the buffer, when the decoded non-reference picture is judged to be a picture which is necessary to be stored in the buffer until a display timing; a third judging step of judging based on a display timing if the decoded non-reference picture stored in the buffer is a picture to be outputted; and a buffer re-usable step of making the area of the buffer re-usable after the decoded non-reference picture stored in the buffer has been output, based on the result of the third judging step, wherein a buffer size of the buffer having a predetermined size is determined by the buffer size information, and said storing of the decoded reference picture and said storing of the decoded non-reference picture that is necessary to be stored in the buffer are performed in a same area of the buffer having a predetermined size.