CPC H04N 19/107 (2014.11) [H04N 19/159 (2014.11); H04N 19/172 (2014.11); H04N 19/96 (2014.11)] | 18 Claims |
1. A coding algorithm for encoding consecutive frames of a video sequence and thereby realizing distributed Gradual Decoding Refresh (GDR), wherein the consecutive frames include a first frame, a second frame, and a third frame in sequence, each of the first frame, the second frame, and the third frame is composed of N columns of coding tree units (CTUs), and the coding algorithm comprises:
coding X columns of CTUs of the first frame in an intra coding manner and coding (N−X) columns of CTUs of the first frame in one or both of an inter coding manner and the intra coding manner, and thereby generating a first distributed GDR frame including X columns of intra-coded CTUs, wherein the X columns of CTUs of the first frame are inconsecutive columns and the X columns of intra-coded CTUs of the first distributed GDR frame are inconsecutive columns;
coding X columns of CTUs of the second frame in the inter coding manner, coding Y columns of CTUs of the second frame in the intra coding manner, and coding (N−X−Y) columns of CTUs of the second frame in one or both of the inter coding manner and the intra coding manner, and thereby generating a second distributed GDR frame including Y columns of intra-coded CTUs, wherein positions of the X columns of CTUs of the second frame are corresponding to positions of the X columns of CTUs of the first frame and the Y columns of CTUs of the second frame are inconsecutive columns and the Y columns of intra-coded CTUs of the second distributed GDR frame are inconsecutive columns; and
coding X columns of CTUs of the third frame in the inter coding manner, coding Y columns of CTUs of the third frame in the inter coding manner, and coding Z columns of CTUs of the third frame in the intra coding manner, and thereby generating a third distributed GDR frame including Z columns of intra-coded CTUs, wherein positions of the X columns of CTUs of the third frame are corresponding to the positions of the X columns of CTUs of the second frame, positions of the Y columns of CTUs of the third frame are corresponding to positions of the Y columns of CTUs of the second frame, and the Z columns of CTUs of the third frame are inconsecutive columns and the Z columns of intra-coded CTUs of the third distributed GDR frame are inconsecutive columns,
wherein the N is an integer equal to or greater than six, each of the X, the Y, and the Z is an integer equal to or greater than two;
wherein each of the X columns of intra-coded CTUs included in the first distributed GDR frame consists of P CTUs that are all coded in the intra coding manner, in which the P is an integer greater than two; each of the Y columns of intra-coded CTUs included in the second distributed GDR frame consists of Q CTUs that are all coded in the intra coding manner, in which the Q is an integer equal to the P; and each of the Z columns of intra-coded CTUs included in the third distributed GDR frame consists of R CTUs that are all coded in the intra coding manner, in which the R is an integer equal to the P.
|