Source: http://www.google.com/patents/US20030067637?dq=5,072,412
Timestamp: 2016-06-27 00:36:06
Document Index: 565220769

Matched Legal Cases: ['art 2', 'art 100', 'art 200', 'art 100', 'art 100', 'art 200']

Patent US20030067637 - Video coding - Google PatentsSearch Images Maps Play YouTube News Gmail Drive More »Sign inPatentsA method of encoding a video signal representing a sequence of pictures, which comprises receiving a current picture for encoding, forming a temporal prediction of the current picture or a part thereof from a first reference picture or a part thereof associated with the current picture, and further comprising...http://www.google.com/patents/US20030067637?utm_source=gb-gplus-sharePatent US20030067637 - Video codingAdvanced Patent SearchPublication numberUS20030067637 A1Publication typeApplicationApplication numberUS 10/138,178Publication dateApr 10, 2003Filing dateMay 2, 2002Priority dateMay 15, 2000Also published asUS7751473, WO2003094496A2, WO2003094496A3Publication number10138178, 138178, US 2003/0067637 A1, US 2003/067637 A1, US 20030067637 A1, US 20030067637A1, US 2003067637 A1, US 2003067637A1, US-A1-20030067637, US-A1-2003067637, US2003/0067637A1, US2003/067637A1, US20030067637 A1, US20030067637A1, US2003067637 A1, US2003067637A1InventorsMiska HannukselaOriginal AssigneeNokia CorporationExport CitationBiBTeX, EndNote, RefManPatent Citations (7), Referenced by (28), Classifications (32), Legal Events (3) External Links: USPTO, USPTO Assignment, EspacenetVideo coding
US 20030067637 A1Abstract
A method of encoding a video signal representing a sequence of pictures, which comprises receiving a current picture for encoding, forming a temporal prediction of the current picture or a part thereof from a first reference picture or a part thereof associated with the current picture, and further comprising associating a second reference picture or a part thereof with the current picture for forming a temporal prediction of the current picture or a part thereof based on a similarity measure. The similarity measure is selected from a group which includes a measure indicative of the similarity between the first reference picture or a part thereof and the second reference picture or a part thereof and a measure indicative of a similarity between the current picture or a part thereof and the second reference picture or a part thereof. A corresponding video decoding method, video encoder and video decoder are presented. Images(8) Claims(13)
What is claimed is: 1. A method of encoding a video signal representing a sequence of pictures, the method comprising receiving a current picture for encoding, forming a temporal prediction of the current picture or a part thereof from a first reference picture or a part thereof associated with the current picture, wherein the method further comprises associating a second reference picture or a part thereof with the current picture for forming a temporal prediction of the current picture or a part thereof, based on a similarity measure, said similarity measure being selected from a group including: a similarity measure indicative of the similarity between the first reference picture or a part thereof and said second reference picture or a part thereof and a similarity measure indicative of a similarity between the current picture or a part thereof and said second reference picture or a part thereof. 2. A method according to claim 1, further comprising outputting an indicator identifying said second reference picture or a part thereof. 3. A method according to claim 1, further comprising associating a plurality of reference pictures or parts thereof with said current picture or parts thereof. 4. A method according to claim 3, further comprising ranking said plurality reference pictures or parts thereof according to said similarity measure 5. A method according to claim 1, wherein the video signal is encoded according to the H.26L video compression standard and the indicator is included in the Supplemental Enhancement Information. 6. A method of encoding a video signal representing a sequence of pictures, the method comprising receiving a current picture for encoding, forming a temporal prediction of the current picture or a part thereof from a first reference picture or a part thereof associated with the current picture and a second reference picture or a part thereof associated with the current picture, said first reference picture occurring temporally before the current picture and said second reference picture occurring temporally after the current picture, wherein the method further comprises associating a third reference picture or a part thereof with the current picture for forming a temporal prediction of the current picture or a part thereof, based on a similarity measure, said similarity measure being selected from a group including: a similarity measure indicative of the similarity between the first reference picture or a part thereof and said third reference picture or a part thereof; a similarity measure indicative of the similarity between the second reference picture or a part thereof and said third reference picture or a part thereof; and a similarity measure indicative of a similarity between the current picture or a part thereof and said third reference picture or a part thereof. 7. A method of decoding an encoded video signal representing a sequence of pictures, the encoded signal including pictures that have been encoded by forming a temporal prediction of a current picture or a part thereof from a first reference picture or part thereof associated with the current picture, the method comprising receiving an encoded video signal representing a current picture wherein, when the decoder is unable to decode the first reference picture associated with the current picture, examining an indicator identifying a second reference picture or a part thereof and decoding the current picture or a part thereof with reference to said second reference picture or part thereof if such an indicator is associated with the current picture. 8. A video encoder comprising an input for receiving a video signal representing a sequence of pictures, an input for receiving a current picture for encoding, a predictive coder for forming a temporal prediction of the current picture or a part thereof from a first reference picture or a part thereof associated with the current picture and means for associating a second reference picture or a part thereof with the current picture for forming a temporal prediction of the current picture or a part thereof, based on a similarity measure, said similarity measure being selected from a group including: a similarity measure indicative of the similarity between the first reference picture or a part thereof and said second reference picture or a part thereof and a similarity measure indicative of a similarity between the current picture or a part thereof and said second reference picture or a part thereof. 9. A video decoder comprising an input for receiving an encoded video signal representing a sequence of pictures, the encoded signal including pictures that have been encoded by forming a temporal prediction of a current picture or a part thereof from a first reference picture or a part thereof associated with the current picture, the decoder comprising an input for receiving an encoded video signal representing a current picture and a processor for decoding the current picture wherein, when the decoder is unable to decode the first reference picture associated with the current picture, the decoder is arranged to examine an indicator identifying a second reference picture or a part thereof and to decode the current picture or a part thereof with reference to said second reference picture or part thereof if such an indicator is associated with the current picture. 10. A radio telecommunications device including an encoder, according to claim 8 11. A radio telecommunications device including an encoder, according to claim 9. 12. A method of encoding a video signal representing a sequence of pictures including a first picture and a plurality of further pictures, said further pictures including at least a second picture and a third picture, the method comprising the steps of: forming a temporal prediction of at least a portion of the first picture using a corresponding portion of the second picture so as to allow a decoder to reconstruct the first picture based on the temporal prediction and the second picture; and obtaining a similarity measure indicative of a similarity between at least a portion of the third picture and a corresponding portion of the second picture, wherein when the similarity measure meets a predetermined criterion, said method further comprising the step of: providing an indicator identifying the third picture so as to allow the decoder to reconstruct the first picture using the third picture as an alternative, said method characterized in that the indicator additionally identifies the portion of the third picture from which the similarity measure is obtained. 13. The method of claim 12, wherein the method further comprises the step of obtaining a further similarity measure indicative of a similarity between at least a portion of the third picture and a corresponding portion of the first picture, and the indicator identifying the third picture is provided when the similarity measure or the further similarity measure meets the predetermined measure. Description
CROSS-REFERENCE TO RELATED APPLICATIONS [0001] This is a continuation-in-part application of a co-pending U.S. patent application, Ser. No. 09/854,461, entitled “Video Coding”, filed May 15, 2001, from which priority is claimed under 35 U.S.C. 120, which is hereby incorporated by reference in its entirety. U.S. patent application Ser. No. 09/854,461 was published Nov. 15, 2001 (Publication No. US2001/0040700 A1), claiming foreign application priority under 35 U.S.C. 119, from GB 011606.1, filed May 15, 2000.
FIELD OF THE INVENTION [0002] This invention relates to video coding. More specifically, the invention relates to a primary or default reference picture or picture region for the frame cannot be decoded. BACKGROUND OF THE INVENTION [0003] A video sequence consists of a series of still pictures or frames. Video compression methods are based on reducing the redundant and perceptually irrelevant parts of video sequences. The redundancy in video sequences can be categorised into spectral, spatial and temporal redundancy. Spectral redundancy refers to the similarity between the different colour components of the same picture. Spatial redundancy results from the similarity between neighbouring pixels in a picture. Temporal redundancy exists because objects appearing in a previous image are also likely to appear in the current image. Compression can be achieved by taking advantage of this temporal redundancy and predicting the current picture from another picture, termed an anchor or reference picture. In practice this is achieved by generating motion compensation data that describes the motion between the current picture and the previous picture. [0004] However, sufficient compression cannot usually be achieved by only reducing the inherent redundancy of the sequence. Thus, video encoders also try to reduce the quality of those parts of the video sequence which are subjectively less important. In addition, the redundancy of the encoded bit-stream is reduced by means of efficient lossless coding of compression parameters and coefficients. The main technique is to use variable length codes. [0005] Video compression methods typically differentiate between pictures that utilise temporal redundancy reduction and those that do not. Compressed pictures that do not utilise temporal redundancy reduction methods are usually called INTRA or I-frames or I-pictures. Temporally predicted images are usually forwardly predicted from a picture occurring before the current picture and are called INTER or P-frames. In the case of INTER frames, the predicted motion-compensated picture is rarely precise enough and therefore a spatially compressed prediction error frame is associated with each INTER frame. INTER pictures may contain INTRA-coded areas. [0006] Many video compression schemes also use temporally bi-directionally predicted frames, which are commonly referred to as B-pictures or B-frames. B-pictures are inserted between anchor picture pairs of I- and/or P-frames and are predicted from either one or both of these anchor pictures. B-pictures normally yield increased compression compared with forward-predicted pictures. B-pictures are not used as anchor pictures, i.e., other pictures are not predicted from them. Therefore they can be discarded (intentionally or unintentionally) without impacting the picture quality of future pictures. Whilst B-pictures may improve compression performance compared with P-pictures, their generation requires greater computational complexity and memory usage, and they introduce additional delays. This may not be a problem for non-real time applications such as video streaming but may cause problems in real-time applications such as video-conferencing. [0007] A compressed video clip typically consists of a sequence of pictures, which can be roughly categorised into temporally independent INTRA pictures and temporally differentially coded INTER pictures. Since the compression efficiency in INTRA pictures is normally lower than in INTER pictures, INTRA pictures are used sparingly, especially in low bit-rate applications. [0008] A video sequence may consist of a number of scenes or shots. The picture contents may be remarkably different from one scene to another, and therefore the first picture of a scene is typically INTRA-coded. There are frequent scene changes in television and film material, whereas scene cuts are relatively rare in video conferencing. In addition, INTRA pictures are typically inserted to stop temporal propagation of transmission errors in a reconstructed video signal and to provide random access points to a video bit-stream. [0009] Compressed video is easily corrupted by transmission errors, mainly for two reasons. Firstly, due to utilisation of temporal predictive differential coding (INTER frames), an error is propagated both spatially and temporally. In practice this means that, once an error occurs, it is easily visible to the human eye for a relatively long time. Especially susceptible are transmissions at low bit-rates where there are only a few INTRA-coded frames, so temporal error propagation is not stopped for some time. Secondly, the use of variable length codes increases the susceptibility to errors. When a bit error alters the codeword, the decoder will lose codeword synchronisation and also decode subsequent error-free codewords (comprising several bits) incorrectly until the next synchronisation (or start) code. A synchronisation code is a bit pattern which cannot be generated from any legal combination of other codewords and such codes are added to the bit stream at intervals to enable re-synchronisation. In addition, errors occur when data is lost during transmission. For example, in video applications using the unreliable UDP transport protocol in IP networks, network elements may discard parts of the encoded video bit-stream. [0010] There are many ways for the receiver to address the corruption introduced in the transmission path. In general, on receipt of a signal, transmission errors are first detected and then corrected or concealed by the receiver. Error correction refers to the process of recovering the erroneous data perfectly as if no errors had been introduced in the first place. Error concealment refers to the process of concealing the effects of transmission errors so that they are hardly visible in the reconstructed video sequence. Typically some amount of redundancy is added by the source or transport coding in order to help error detection, correction and concealment. [0011] There are numerous known concealment algorithms, a review of which is given by Y. Wang and Q. -F. Zhu in “Error Control and Concealment for Video Communication: A Review”, Proceedings of the IEEE, Vol. 86, No. 5, May 1998, pp. 974-997. and an article by P. Salama, N. B. Shroff, and E. J. Delp, entitled “Error Concealment in MPEG Video Streams over ATM Networks”, IEEE Journal on Selected Areas in Communications, Vol. 18, No. 6, June 2000. [0012] Current video coding standards define a syntax for a self-sufficient video bit-stream. The most popular standards at the time of writing are International Telecommunications Union ITU-T Recommendation H.263, “Video coding for low bit rate communication”, February 1998; International Standards Organisation/International Electro-technical Commission ISO/IEC 14496-2, “Generic Coding of Audio-Visual Objects. Part 2: Visual”, 1999 (known as MPEG-4); and ITU-T Recommendation H.262 (ISO/IEC 13818-2) (known as MPEG-2). These standards define a hierarchy for bit-streams and correspondingly for image sequences and images. Development of further video coding standards is still ongoing. In particular, standardisation efforts in the development of a long-term successor for H.263, known as H.26L and further developments of MPEG video coding are now being conducted jointly under the auspices of a standardisation body known as the Joint Video Team (JVT) of ISO/IEC MPEG (Motion Pictures Expert Group) and ITU-T VCEG (Video Coding Experts Group). [0013] By default, these standards use the temporally previous anchor (I, EI, P, or EP) picture as a reference for temporal prediction. Generally, this information is not transmitted, i.e. the bit-stream does not contain information relating to the identity of the reference picture. Consequently, a decoder that receives an encoded video bit-stream has no means of detecting whether a reference picture has been lost. Many transport coders packetise video data in such a way that they associate a sequence number with the each of the data packets they produce. However, this kind of sequence number is not related to the video bit-stream. For example, a section of a video bit-stream may contain the data for P-picture P1, B-picture B2, P-picture P3, and P-picture P4 captured (and to be displayed) in this order. However, this section of the video bitstream would be compressed, transmitted, and decoded in the following order: P1, P3, B2, P4, since B2 requires both P1 and P3 before it can be encoded or decoded. If the transport coder packetises each picture into a single packet having a sequence number and the packet carrying B2 is lost, the receiver can detect loss of the data packet from the packet sequence numbers. However, the receiver has no means to detect if it has lost a motion compensation reference picture for P4 or if it has lost a B-picture, in which case it could continue decoding normally. [0014] The decoder therefore usually sends an INTRA request to the transmitter and freezes the picture on the display. However the transmitter may not be able to respond to this request. For instance in a non-real-time video streaming application, the transmitter cannot respond to an INTRA request from a decoder. Therefore the decoder freezes the picture until the next INTRA frame is received. In a real-time application such as video-conferencing, the transmitter may not be able to respond at all. For instance, in a multi-party conference, the encoder may not be able to respond to individual requests. Again the decoder freezes the picture until an INTRA frame is output by the transmitter. SUMMARY OF THE INVENTION [0015] According to a first aspect of the invention there is provided a method of encoding a video signal representing a sequence of pictures, the method comprising receiving a current picture for encoding, forming a temporal prediction of the current picture or a part thereof from a first reference picture or a part thereof associated with the current picture, the method further comprising associating a second reference picture or a part thereof with the current picture for forming a temporal prediction of the current picture or a part thereof based on a similarity measure, said similarity measure being selected from a group including: a similarity measure indicative of the similarity between the first reference picture or a part thereof and said second reference picture or a part thereof and a similarity measure indicative of a similarity between the current picture or a part thereof and said second reference picture or a part thereof. [0016] The measure of similarity may be defined for portions of a picture, e.g. for blocks or other non-rectangular areas of the pictures. [0017] Preferably, the method includes outputting an indicator identifying the second reference picture or part thereof. A video encoder can use this indicator to inform a corresponding decoder about one or more pictures or parts of pictures that resemble the current motion compensation reference picture so well that one of them can be used as a spare reference picture or region if the actual reference picture is lost during transmission. If a decoder can access such a spare reference picture, preferably the decoder should not send a request for an INTRA picture update. The indicator may be termed a spare reference picture number since the indicator indicates to a decoder which reference picture(s) or part(s) thereof resemble the first reference picture. This “spare” reference picture may be used by a decoder to decode the current frame if the first reference picture is lost for some reason. [0018] As previously mentioned, the spare reference picture number may be in respect of the whole picture or part of a picture. [0019] In a preferred implementation of the invention, the video signal is encoded according to the H.26L video coding recommendation currently under development by the Joint Video Team (JVT) of ISO/IEC MPEG (Motion Pictures Expert Group) and ITU-T VCEG (Video Coding Experts Group). In this case, the indicator is included in the Supplemental Enhancement Information. [0020] Preferably a plurality of reference pictures or parts thereof are associated with the current picture according to their respective similarity measures. Advantageously the plurality of reference pictures or parts thereof are ranked in order of similarity the reference picture or part thereof having the closest similarity with the first reference picture or, alternatively the closest similarity with current frame, being placed first in the ranking order. [0021] According to a second aspect of the invention there is provided a method of encoding a video signal representing a sequence of pictures, the method comprising receiving a current picture for encoding, forming a temporal prediction of the current picture or a part thereof from a first reference picture or a part thereof associated with the current picture and a second reference picture or a part thereof associated with the current picture, said first reference picture occurring temporally before the current picture and said second reference picture occurring temporally after the current picture, the method further comprising associating a third reference picture or a part thereof with the current picture for forming a temporal prediction of the current picture or a part thereof based on a similarity measure, said similarity measure being selected from a group including: a similarity measure indicative of the similarity between the first reference picture or a part thereof and said third reference picture or a part thereof; a similarity measure indicative of the similarity between the second reference picture or a part thereof and said third reference picture or a part thereof; and a similarity measure indicative of a similarity between the current picture or a part thereof and said third reference picture or a part thereof. [0022] According to a third aspect of the invention there is provided a method of decoding an encoded video signal representing a sequence of pictures, the encoded signal including pictures that have been encoded by forming a temporal prediction of a current picture or a part thereof from a first reference picture or a part thereof associated with the current picture, the method comprising receiving an encoded video signal representing a current picture wherein, when the decoder is unable to decode the first reference picture associated with the current picture, examining an indicator identifying a second reference picture or a part thereof and decoding the current picture or a part thereof with reference to said second reference picture or part thereof if such an indicator is associated with the current picture. [0023] According to a fourth aspect of the invention there is provided a video encoder comprising an input for receiving a video signal representing a sequence of pictures, an input for receiving a current picture for encoding, a predictive coder for forming a temporal prediction of the current picture or a part thereof from a first reference picture or a part thereof associated with the current picture and means for associating a second reference picture or a part thereof with the current picture for forming a temporal prediction of the current picture or a part thereof based on a similarity measure, said similarity measure being selected from a group including: a similarity measure indicative of the similarity between the first reference picture or a part thereof and said second reference picture or a part thereof and a similarity measure indicative of a similarity between the current picture or a part thereof and said second reference picture or a part thereof. [0024] According to a fifth aspect of the invention there is provided a video decoder comprising an input for receiving an encoded video signal representing a sequence of pictures, the encoded signal including pictures that have been encoded by forming a temporal prediction of a current picture or a part thereof from a first reference picture or a part thereof associated with the current picture, the decoder comprising an input for receiving an encoded video signal representing a current picture and a processor for decoding the current picture wherein, when the decoder is unable to decode the first reference picture associated with the current picture, the decoder is arranged to examine an indicator identifying a second reference picture or a part thereof and to decode the current picture or a part thereof with reference to said second reference picture or part thereof if such an indicator is associated with the current picture. [0025] According to a sixth aspect of the present invention, there is provided a method of encoding a video signal representing a sequence of pictures including a first picture and a plurality of further pictures, said further pictures including at least a second picture and a third picture, the method comprising the steps of: [0026] forming a temporal prediction of at least a portion of the first picture using a corresponding portion of the second picture so as to allow a decoder to reconstruct the first picture based on the temporal prediction and the second picture; and [0027] obtaining a similarity measure indicative of a similarity between at least a portion of the third picture and a corresponding portion of the second picture, wherein when the similarity measure meets a predetermined criterion, said method further comprising the step of: [0028] providing an indicator identifying the third picture so as to allow the decoder to reconstruct the first picture using the third picture as an alternative, said method characterized in that [0029] the indicator additionally identifies the portion of the third picture from which the similarity measure is obtained. [0030] Alternatively, the similarity measure is indicative of the similarity between at least a portion of the third picture and a corresponding portion of the first picture, instead of the similarity between the portion of the third picture and the corresponding part of the second picture. [0031] The invention also relates to a radio telecommunications device including an encoder and/or a decoder as described.
BRIEF DESCRIPTION OF THE DRAWINGS [0032] The invention will now be described, by way of example only, with reference to the accompanying drawings, in which: [0033] [0033]FIG. 1 shows a multimedia mobile communications system; [0034] [0034]FIG. 2 shows an example of the multimedia components of a multimedia terminal; [0035] [0035]FIG. 3 shows an example of a video codec; [0036] [0036]FIG. 3a shows a more detailed view of a video encoder according to the invention; [0037] [0037]FIG. 4 illustrates the operation of a first embodiment of a video encoder according to the invention; [0038] [0038]FIG. 5 illustrates the operation of a second implementation of a video encoder according to the invention; [0039] [0039]FIG. 6 shows the syntax of a bit stream as known according to H.263; [0040] [0040]FIG. 7 shows a first example of a bit stream output by an encoder according to the invention; [0041] [0041]FIG. 8 shows a second example of a bit stream output by an encoder according to the invention; [0042] [0042]FIG. 9 shows a third example of a bit stream output by an encoder according to the invention; [0043] [0043]FIG. 10 illustrates enhancement layers used in video coding for SNR scalability; and [0044] [0044]FIG. 11 illustrates enhancement layers used in video coding for spatial scalability. DETAILED DESCRIPTION OF THE INVENTION [0045] [0045]FIG. 1 shows a typical multimedia mobile communications system. A first multimedia mobile terminal 1 communicates with a second multimedia mobile terminal 2 via a radio link 3 to a mobile communications network 4. Control data is sent between the two terminals 1, 2 as well as the multimedia data. [0046] [0046]FIG. 2 shows the typical multimedia components of a terminal 1. The terminal comprises a video codec 10, an audio codec 20, a data protocol manager 30, a control manager 40, a multiplexer/demultiplexer 50 and a modem 60 (if the required). The video codec 10 receives signals for coding from a video capture device of the terminal (not shown) (e.g. a camera) and receives signals for decoding from a remote terminal 2 for display by the terminal 1 on a display 70. The audio codec 20 receives signals for coding from the microphone (not shown) of the terminal 1 and receives signals for decoding from a remote terminal 2 for reproduction by a loudspeaker (not shown) of the terminal 1. The terminal may be a portable radio communications device, such as a radio telephone. [0047] The control manager 40 controls the operation of the video codec 10, the audio codec 20 and the data protocols manager 30. However, since the invention is concerned with the operation of the video codec 10, no further discussion of the audio codec 20 and data protocols manager 30 will be provided. [0048] [0048]FIG. 3 shows an example of a video codec 10 according to the invention. [0049] The video codec comprises an encoder part 100 and a decoder part 200. The encoder part 100 comprises an input 101 for receiving a video signal from a camera or video source (not shown) of the terminal 1. A switch 102 switches the encoder between an INTRA-mode of coding and an INTER-mode. The encoder part 100 of the video codec 10 comprises a DCT transformer 103, a quantiser 104, an inverse quantiser 108, an inverse DCT transformer 109, an adder 110, a plurality of picture stores 107 (see FIG. 3a for more detail), a subtractor 106 for forming a prediction error, a switch 113 and an encoding control manager 105. [0050] The decoder part 200 of the video codec 10 comprises an inverse quantiser 120, an inverse DCT transformer 121, a motion compensator 122, a plurality of picture stores 123 and a controller 124. The controller 124 receives video codec control signals demultiplexed from the encoded multimedia stream by the demultiplexer 50. In practice the controller 105 of the encoder and the controller 124 of the decoder may be the same processor. [0051] The operation of an encoder according to the invention, will now be described. [0052] Referring to FIG. 3, the video codec 10 receives a video signal to be encoded. The encoder 100 of the video codec encodes the video signal by performing DCT transformation, quantisation and motion compensation. The encoded video data is then output to the multiplexer 50. The multiplexer 50 multiplexes the video data from the video codec 10 and control data from the control manager 40 (as well as other signals as appropriate) into a multimedia signal. The terminal 1 outputs this multimedia signal to the receiving terminal 2 via the modem 60 (if required). [0053] In INTRA-mode, the video signal from the input 101 is transformed to DCT co-efficients by a DCT transformer 103. The DCT coefficients are then passed to the quantiser 104, which quantises the coefficients. Both the switch 102 and the quantiser 104 are controlled by the encoding control manager 105 of the video codec, which may also receive feedback control from the receiving terminal 2 by means of the control manager 40. A locally decoded picture is then formed by passing the data output by the quantiser 104 through the inverse quantiser 108 and applying an inverse DCT transform 109 to the inverse-quantised data. The resulting data is then input to the adder 110. In INTRA mode, switch 113 is operated so that the input to the adder 110 from the switch is set to zero. The two inputs to the adder 110 are added together and the resulting data input to the picture store 107. [0054] In INTER mode, the switch 102 is operated to accept the difference between the signal from the input 101 and a reference picture which is stored in a picture store 107 from subtractor 106. The difference data output from the subtractor 106 represents the prediction error between the current picture and the reference picture stored in the picture store 107. A motion estimator 111 may generate motion compensation data with reference to the data in the picture store 107 in a conventional manner. [0055] The encoding control manager 105 decides whether to apply INTRA or INTER coding or whether to code the frame at all on the basis of either the output of the subtractor 106 or in response to feedback control data from a receiving decoder. The encoding control manager may decide not to code a received frame at all when the similarity between the current frame and the reference frame is high or there is not time to code the frame. The encoding control manager operates the switch 102 accordingly. [0056] When not responding to feedback control data, the encoder typically encodes a frame as an INTRA-frame either only at the start of coding (all other frames being P- or B-frames), or at regular periods e.g. every 5s, or when the output of the subtractor exceeds a threshold i.e. when the current picture and that stored in the picture store 107 are judged to be too dissimilar for efficient coding in INTER format. The encoder may also be programmed to encode frames in a particular regular sequence e.g. I B B P B B P B B P B B P B P B B I B B P etc. [0057] The video encoder outputs the quantised DCT coefficients 112 a, the quantising index 112 b (i.e. the details of the quantising used), an INTRA/INTER flag 112 c to indicate the mode of coding performed (I or P/B), a transmit flag 112 d to indicate the number of the frame being coded and (in INTER mode) motion vectors 112 e for the picture being coded. These are multiplexed together with other multimedia signals by the multiplexer 50. [0058] The encoder 100 will be described further with reference to FIG. 3a, which shows a simplified view of the encoder 100 of the video codec. The encoder 100 comprises a plurality of picture stores 107 a-107 g. Although in this example seven picture stores are shown, the number of picture stores may be two or more. [0059] Consider an encoder that is arranged to encode an input signal with the format I B B P B B P B B P B B P B B P B B P B B I etc. For simplicity it will be assumed that the encoder encodes every frame of the input signal i.e. no frames are skipped. The encoding process is illustrated in FIG. 4. [0060] As mentioned earlier, the frames of the video sequence to be coded are received from a video capture device in the order 0, 1, 2, 3, 4, 5, 6 etc. and are displayed in this order i.e. the decoded frames are displayed in the order I0, B1, B2, P3, B4, B5, P6 etc. However the video bit stream is compressed, transmitted and decoded in the following order I0, P3, B1, B2, P6, B4, B5 etc. This is because each B-frame requires preceding and succeeding reference frames before it can be encoded or decoded i.e. frame B1 requires frame I0 and P3 to be encoded or decoded before it can be encoded or decoded. [0061] When the first frame is received, all of the picture stores 107 are empty and switch 102 is placed into INTRA coding mode under control of the encoding controller 105 so that the input signal is encoded in INTRA format. The input signal is DCT transformed and quantised. This is done on a macroblock by macroblock basis. The resulting signal is then locally decoded by inverse quantiser 108 and inverse DCT 109. Since the frame is INTRA coded, switch 113 is open. The output of adder 110 is input to the first picture store 107 a. For this purpose switch 114 a is closed whereas switches 114 b-g are open. Thus frame store 107 a holds a decoded version of reference picture I0. [0062] The next picture to be encoded is frame 3, which is to be forwardly predicted from I0. Therefore, when frame 3 is input at 101, switch 102 is changed to INTER coding mode, the output switch 115 of the most recent reference picture store (i.e. switch 115 a) is closed and the motion compensated contents of picture store 107 a are subtracted from the input signal, motion compensation data having been calculated in a conventional manner. The prediction error data thus formed is then encoded by DCT transformer 103 and quantiser 104 and further locally decoded by inverse quantiser 108 and IDCT 109. Switch 113 is then closed, switch 115 a closed and switch 114 b closed (the other switches 114 and 115 being open). Thus, adder 110 adds the locally decoded prediction error data to the motion compensated prediction reference picture stored in picture store 107 a and the result is stored in picture store 107 b. [0063] The next frame to be encoded is frame 2, which is to be coded as a B-frame. In order for this to occur, the contents of both of the frame stores 107 a and 107 b are made available to the subtractor 106 in a conventional manner. Since B-frames do not form a reference picture for any other frame, the encoded B-frame is not decoded and stored in a reference picture store. [0064] Thus, in the case described above, after 19 frames, the frame stores 107 a to 107 g contain decoded versions of frames I0, P3, P6, P9, P12, P15 and P18 respectively. [0065] According to the invention, when the encoder encodes a frame in a predictive manner, the encoding control manager 105 may associate with the frame a Spare Reference Picture Number (SRPN). For example, a SRPN may be associated with the P and B frames of a video signal but not with the I-frames. [0066] Encoders can use this message to instruct decoders which reference picture or pictures resemble the current reference picture, so that one of them can be used as a spare reference picture if the actual reference picture is lost during transmission. [0067] For example, in the encoding procedure described above, when frame 3 is encoded with reference to frame 0, no other reference frames are stored in the reference picture stores 107 a-g. Therefore no SRPN is associated with frame 3. Similarly when frames 1 and 2 are bi-directionally encoded with reference to frames 0 and 3, there are no frames other than I0 and P3 held in the reference picture stores 107 a-g. Therefore no SRPN can be associated with either of these frames. [0068] However, when frame 6 is forwardly predicted from frame 3 (the decoded version of which is stored in picture store 107 b) there is also a decoded copy of frame I0 in picture store 107 a. The encoder calculates the similarity between the default reference picture of the current frame (i.e. frame 3 for frame 6) and the contents of the other populated picture stores i.e. picture store 107 a. If two reference pictures are sufficiently similar (e.g. the correlation between the contents of frame store 107 a and 107 b is above a threshold), the encoder associates a SRPN with the data for frame 6. The SRPN identifies frame 0 as a spare reference picture. However, if the similarity is not sufficient, no SRPN is associated with frame 6. [0069] The way in which the measure of similarity is generated is not material to the invention and any suitable measure of similarity may be used. For instance, a Sum of Absolute Differences (SAD) may be used as a measure of similarity. Preferably, an SAD value is calculated by taking the difference in value between spatially corresponding pixels in the default reference picture for the current frame and another “potential” reference frame i.e. a frame stored in one of the picture stores 107. The absolute value of each difference is obtained and the absolute difference values are accumulated to form the SAD. In this way, the SAD is representative of the similarity between the default reference frame and the other potential reference frame. Clearly two pictures can be deemed sufficiently similar when the SAD between them is below a threshold. Alternatively, the similarity of the default reference frame and another potential reference frame for the current picture can be assessed using picture histograms. A picture histogram is a measure of the number of occurrences of pixel values within a given image and two pictures can be deemed similar if their histograms correspond to a significant degree. [0070] In an alternative embodiment of the invention, instead of determining the similarity between the default reference frame for the current frame and another potential reference frame, the encoder examines the similarity between another potential reference frame available in one of the picture stores 107 and the current frame itself. In this alternative embodiment of the invention a threshold is set defining the maximum difference allowable between the current frame and the potential reference frame. Thus any stored frame that exhibits a sufficiently high similarity (small difference) with the current frame can be used as a spare reference picture for the current picture. Again a Sum of Absolute Differences (SAD), image histogram, or any other appropriate method can be used to assess the degree of similarity or difference between the current frame and the other potential reference frame(s). [0071] As will be appreciated, when frame 15 is to be encoded (as a P-frame), decoded versions of frames 0, 3, 6, 9 and 12 are held in picture stores 114 a-e respectively. By default, frame 15 is encoded with reference to frame 12 as stored in picture store 107 e. The encoder also carries out a calculation of the similarity between the data in picture store 107 e (frame 12) and the data stored in the other populated picture stores 107 a-d. The encoder identifies the picture store (and hence the reference picture) that has the closest similarity with the contents of picture store 107 e i.e. with the default reference picture for the current frame being coded. The encoder then adds a SRPN to the encoded data that indicates the identified reference picture. This SRPN can be equal to the Temporal Reference of the reference picture as will be described below. [0072] More than one SRPN may be associated with a frame. In this case, the SRPNs are ordered according to their similarity with the default reference picture, the most similar reference picture (other than the default) being mentioned first. [0073] The encoding control manager 105 outputs the SRPN codeword on output 112 f which indicates the Spare Reference Picture Number associated with the encoded frame. This is multiplexed into the video bit-stream. [0074] [0074]FIG. 4 illustrates the operation of a first embodiment of the encoder. The first line of FIG. 4 represents the frames of data received from a capture input device and input to the video coder on input 101. The second line of FIG. 4 represents those frames of the input signal that the encoder decides to encode and the coding mode used to encode each frame. As mentioned above, in this example the encoder is arranged to encode every frame and to use the IBBP coding format. [0075] Frame 0 is coded in INTRA-mode; frame 1 is encoded as a B-frame with reference to frame 0 and/or 3; frame 2 is encoded as a B-frame with reference to frame 0 and/or 3; frame 3 is encoded as a P-frame with reference to frame 0; frame 4 is encoded as a B-frame with reference to frame 3 and/or 6; frame 5 is encoded as a B-frame with reference to frame 3 and/or 6; frame 6 is encoded as a P-frame with reference to frame 3; etc. [0076] The third line of FIG. 4 shows a SRPN field associated with frames of the encoded signal. In this embodiment, a SRPN is associated with the P-frames and B-frames, as shown in the third line of FIG. 4. The P-frames and B-frames of the encoded frames are temporally predictively encoded and the I-frames are not. [0077] The fourth line of FIG. 4 shows the Temporal Reference (TR) of the encoded frame. This is a data field included in H.263 and the value of TR for a given frame is formed by incrementing the TR value of the temporally previous reference picture by one plus the number of skipped or non-reference pictures since the previously transmitted reference picture. Thus, in the example shown in FIG. 4 the TR shown for each frame is the same as the original temporal order of the frames in the original signal input to 101. [0078] Examples of possible SRPN values are shown. These values indicate the TR of the spare reference frame, identified by the encoder as described above. Although this example shows only one SRPN for each predictively encoded picture, more than one SRPN may be associated with each predictively encoded picture, as described earlier. [0079] [0079]FIG. 5 illustrates the operation of a second embodiment of an encoder according to the invention. In this embodiment, the encoder is arranged to code the frames according to the regular sequence I B B P B B P B B P B BI B B P B B P. However, in this embodiment, an SRPN is associated with forwardly predicted frames (i.e. P-frames) only. [0080] The first line of FIG. 5 shows the input frames and the second line shows the coded frames and their coding mode, I, P or B. [0081] The third line of FIG. 5 shows the SRPN values associated with P-frames. These may be generated as discussed above with reference to FIG. 3a. [0082] The fourth line of FIG. 5 shows the Temporal Reference (TR) of the encoded frame. As in the example shown in FIG. 4, the TR shown for each frame is the same as the original temporal order of the frames in the original signal input to 101. [0083] Considering the terminal 1 as receiving coded video data from terminal 2, the operation of the video codec 10 will now be described with reference to its decoding role. The terminal 1 receives a multimedia signal from the transmitting terminal 2. The demultiplexer 50 demultiplexes the multimedia signal and passes the video data to the video codec 10 and the control data to the control manager 40. The decoder 200 of the video codec decodes the encoded video data by inverse quantising, inverse DCT transforming and motion compensating the data. The controller 124 of the decoder checks the integrity of the received data and, if an error is detected, attempts to conceal the error in a manner to be described below. The decoded, corrected and concealed video data is then stored in one of the picture stores 123 and output for reproduction on a display 70 of the receiving terminal 1. [0084] Considering first the signal as shown in FIG. 4, when a decoder according to the invention receives this signal, each frame of the signal is decoded in a conventional manner and then displayed on a display means. A decoded frame may be error corrected and error concealed in a conventional manner. Each time a frame is decoded, the decoder examines the TR value associated with the frame in order to determine when the frame is to be displayed. [0085] In the case shown in FIG. 4, the decoder receives frame 0 and determines that the frame is INTRA-coded. The decoder decodes frame 0 without reference to any other picture and stores it in picture store 123 a. The decoder then receives frame 3 and determines that the frame is INTER-coded as a P-frame. The decoder therefore decodes frame 3 with reference to the preceding reference frame 0 and stores it in the next picture store 123 b. The decoder then decodes frames 1 and 2 with reference to frames 0 and 3 and so on. These frames are not stored in the picture stores 123 since, as B-pictures, they are not used as a reference frame for any other frame. [0086] Let us now assume that the decoder is unable to decode (and thus reconstruct) frame 9, because the data for frame 9 is greatly corrupted or lost altogether and the next frame correctly received by the decoder is frame 7, with TR=7, and SRPN=0. As frame 9 (the default reference pictures for backward prediction of frame 7) was not decoded by the decoder, the decoder determines if there is an SRPN associated with frame 7, indicating an alternative frame that could be used for backward prediction. However, frame 7 does not include an SRPN in the backward direction. Therefore the decoder is unable to decode frame 7. This is also the case for frame 8. [0087] The next frame to be received is frame 12, which was encoded with reference to picture 9 and has SRPN=6. Since frame 9 was not decoded, the decoder uses the reference picture indicated by the SRPN (i.e. frame 6 stored in picture store 123 c) to decode frame 12. The decoder then receives frame 10, which was encoded with reference to frames 9 and 12. Frame 9 was not decoded by the decoder. However frame 10 has SRPN=6. Therefore the decoder uses the decoded reference frame 6, stored in picture store 123 c, to decode frame 10 in the forward direction, rather than frame 9. This is also true for frame 11. [0088] The decoder may detect the loss of a reference frame in a number of ways. For instance, information relating to the temporal order of each encoded frame may be examined. Alternatively, the reference frames of an encoded signal may be allocated a number in a sequential order as described in a British patent application filed by the Applicant on even date. [0089] If the decoder has the facility to send control feedback data to the transmitting video encoder the decoder can send a request to the transmitting video encoder to encode a frame as an INTRA-frame and so stop the temporal error propagation that would result from frames 10 and 11 being decoded with reference to frame 6. The decoder continues to decode the signal in a conventional manner. [0090] When the decoder receives frame 21, which is an INTRA frame, the decoder decodes frame 21 without reference to any other frame and stores the decoded frame in picture store 123. The decoder then decodes frames 19 and 20 with reference to frames 18 and 21. Even though some error may have been introduced to frame 18 by decoding frame 12 with reference to frame 6 rather than frame 9, the resulting image should be acceptable and the displayed picture is not held frozen until an INTRA picture is received. This may be more acceptable to a viewer. [0091] Considering now the signal as shown in FIG. 5, when a decoder according to the invention receives this signal, each frame of the signal is decoded in a conventional manner and then displayed on a display means. The decoded frame may be error corrected and error concealed in a conventional manner. Each time a frame is decoded, the decoder examines the TR associated with the frame in order to determine when the frame is to be displayed. [0092] The decoder receives frame 0, which is an INTRA frame, decodes it accordingly and stores it in picture store 123 a. Let us now assume that the decoder is unable to reconstruct frame 3 because the data for the frame is greatly corrupted or lost altogether and the next frame correctly received and decoded by the decoder is frame 1. Frame 1 is a bi-directional frame encoded with reference to frame 0 and 3. Since frame 3 is lost, the decoder is unable to reconstruct frame 1 and similarly frame 2. The fact that B-frames 1 and 2 have been lost is of no consequence to the decoder as B-frames are not used as reference pictures for any other frames and thus their loss does not introduce any temporal error propagation. The decoder continues to decode the signal in a conventional manner. [0093] The next frame received and decoded by the decoder is frame 6. The decoder knows that the preceding reference picture P3 has been lost (because it could not decode frame 1 or 2). The decoder therefore examines whether an SRPN is associated with frame 6. The decoder determines that frame 6 has a SRPN=0 and so uses frame 0 in the picture store 123 a to decode frame 6. [0094] If the decoder has the facility to send control feedback data to the transmitting video encoder, it can send a request to the transmitting video encoder to encode a frame as an INTRA-frame and so stop the temporal error propagation that would result from subsequent frames being decoded with reference to frame 6 which was decoded with reference to frame 0 rather than the default frame 3. However the decoder can continue decoding and does not freeze the picture on the display whilst it waits for an INTRA-coded frame. [0095] How the spare reference picture number may be included in the encoded signal will now be addressed with reference to the H.263 video coding standard. [0096] In H.263, the video bit-stream hierarchy has four layers: picture, picture segment, macroblock, and block layer. The picture layer data contain parameters affecting the whole picture area and the decoding of the picture data and in the H.263 video coding standard most of this data is arranged in a so-called picture header. [0097] According to H.263, the picture segment layer can either be a group of blocks layer or a slice layer. By default, each picture is divided into groups of blocks. A group of blocks (GOB) typically comprises 16 successive pixel lines. Data for each GOB consists of an optional GOB header followed by data for macroblocks. If the optional slice structured mode is used, each picture is divided into slices instead of GOBs. A slice contains a number of successive macroblocks in scan-order. Data for each slice consists of a slice header followed by data for the macroblocks. [0098] Each GOB or slice is divided into macroblocks. A macroblock relates to 16�16 pixels (or 2�2 blocks) of luminance data and the spatially corresponding 8�8 pixel blocks for each of the two chrominance components. A block comprises 8�8 pixels of luminance or chrominance data (pixel values or prediction error data). [0099] Block layer data consist of uniformly quantised discrete cosine transform coefficients, which are scanned in zigzag order, processed with a run-length encoder and coded with variable length codes. [0100] [0100]FIG. 6 shows the syntax of a bit stream as known according to H.263. The following implementations describe the GOB format but it will be clear to a skilled person that the invention may also be implemented in the slice format. [0101] As mentioned already, the H.263 bit stream has four layers: the picture layer, picture segment layer, macroblock layer and block layer. The picture layer comprises a picture header followed by data for the Group of Blocks, eventually followed by any optional end-of-sequence code and stuffing bits. [0102] The prior art H.263 bit stream is formatted as shown in FIG. 6. A descriptor for each part is given below: PSC The picture start code (PSC) indicates the start of the picture. TR The Temporal Reference (TR) is formed by incrementing its value in the temporally previous reference picture header by one plus the number of skipped or non-referenced pictures since the previously transmitted one. PTYPE Amongst other things, PTYPE includes details of the picture coding type i.e. INTRA or INTER. PQUANT A codeword that indicates the quantiser to be used for the picture until updated by any subsequent quantiser information. CPM A codeword that signals the use of optional continuous presence multipoint and video multiplex (CPM) mode. PSBI Picture Sub-Bit stream Indicator—only present if CPM is set. TRB Present if the frame is a bi-directionally predicted frame (known as a PB- frame). DBQUANT Present if a bi-directional frame. PEI This relates to extra insertion information and is set to “1” to indicate the presence of the following optional data fields PSUPP and PEI. PSUPP and PEI are together known as Supplemental Enhancement Information, which is further defined in Annex L of H263. GOBS Is the data for the group of blocks for the current picture. ESTF A stuffing codeword provided to attain byte alignment before EOS. EOS A codeword indicating the end of the data sequence for the picture. PSTUF A stuffing codeword to allow for byte alignment of the next picture start code PSC. [0103] The structure as shown in FIG. 6 does not include the optional PLUSTYPE data field. PSBI is only present if indicated by CPM. TRB and DBQUANT are only present if PTYPE indicates use of a so-called PB frame mode (unless the PLUSTYPE filed is present and the used of DBQUANT is indicated therein). These issues are addressed in more detail in the H.263 specification. [0104] The following paragraphs outline possible implementations of the bit-stream output by an encoder according to the first aspect of the invention and implemented in such a manner as to be compatible with H.263. [0105] The spare reference picture number may be incorporated into an H.263 bit stream by modifying the H.263 picture header to include include an additional codeword, SRPN, as shown in FIG. 7. The SRPN codeword indicates the Spare Reference Picture Number associated with the picture in question. [0106] Alternatively, the SRPN may be included in the Supplemental Enhancement Information PSUPP (see Annex L of H.263 and FIG. 4). The supplemental information may be present in the H.263 bit stream even though the decoder may not be capable of providing the enhanced capability to use it, or even to properly interpret it. Simply discarding the supplemental information is allowable by decoders unless a requirement to provide the requested capability has been negotiated by external means. [0107] If PEI is set to “1”, then 9 bits follow consisting of 8 bits of data (PSUPP) and then another PEI bit to indicate if a further 9 bits follow and so on. [0108] The PSUPP data consists of a 4-bit function type indication FTYPE, followed by a 4-bit parameter data size specification DSIZE followed by DSIZE octets of function parameter data, optionally followed by another FTYPE and so on. It is known to use this PSUPP codeword to signal various situations such as: to indicate a full-picture or partial-picture freeze or freeze-release request with or without resizing; to tag particular pictures or sequences of pictures within the video stream for external use; or to convey chroma key information for video compositing. [0109] To implement the invention using the Supplemental Enhancement Information field of H.263, a further FTYPE is defined as Spare Reference Picture Number. [0110] [0110]FIG. 8 illustrates the example where a parameter SRPN is included in the SEI of the picture header. The FTYPE is defined as SRPN. The DSIZE specifies the size of the parameter and the following octet is the parameter data i.e. the value of SRPN. From this value a receiving decoder can determine whether a spare reference picture is defined, which may be used if the main reference picture has been lost or corrupted. [0111] Alternatively, the information may be contained in the additional Supplemental Enhancement Information as specified in a “Draft of new Annex W: Additional Supplementary Enhancement Information Specification” P. Ning and S. Wenger, ITU-T Study Group 16 Question 15 Document Q15-I-58, November 1999. [0112] In this draft proposal for Annex W, FTYPE 14 is defined as “Picture Message”. When this FTYPE is set, the picture message function indicates the presence of one or more octets representing message data. The first octet of the message data is a message header with the structure shown in FIG. 9 i.e. CONT, EBIT and MTYPE. DSIZE is equal to the number of octets in the message data corresponding to a picture message function, including the first octet message header. [0113] The continuation field CONT, if equal to 1, indicates that the message data associated with the picture message is part of the same logical message as the message data associated with the next picture message function. The End Bit Position field EBIT specifies the number of least significant bits that shall be ignored in the last message octet. Further details of these fields can be found in H.263 Annex W. [0114] The field MTYPE indicates the type of message. Various types of message are suggested in the draft of H.263 Annex W. According to the invention one type e.g. MTYPE 13 is defined as Spare Reference Pictures. The value of MTYPE 13 is defined in the octet following the message header. The message data bytes contain the Picture Numbers of the spare reference pictures in preference order (the most preferred appearing first). Picture Numbers refer to the values that are transmitted according to Annex U or Annex W section W.6.3.12. The message format according to Annex W can be used for P, B, PB, Improved PB, and EP picture types. However, if Annex N or Annex U is in use and if the picture is associated with multiple reference pictures, the message format according to Annex W preferably shall not be used. For EP pictures, the message preferably shall be used only for forward prediction, whereas upward prediction may always be done from the temporally corresponding reference layer picture. For B, PB, and Improved PB picture types, the message specifies a picture for use as a forward motion prediction reference. This message shall not be used if the picture is an I or EI picture. [0115] In a specific example where one spare reference picture is indicated and the SRPN is represented with 10 bits, this message contains one data byte, i.e., DSIZE is 3, CONT is 0, and EBIT is 6. It should be appreciated that the values of DSIZE, CONT and EBIT will vary according to the number of spare reference pictures indicated and the precision (number of bits) with which the spare reference picture numbers are represented. If more than one spare reference picture number is indicated, then preferably the message data bytes contain the Spare Reference Picture Number(s) of the spare reference pictures in preference order (the most preferred appearing first). [0116] The above description has made reference to encoded video streams in which bi-directionally predicted pictures (B-pictures) are encoded. As mentioned earlier, B-pictures are never used as reference pictures. Since they can be discarded without impacting the picture quality of future pictures, they provide temporal scalability. Scalability allows for the decoding of a compressed video sequence at more than one quality level. In other words, a scalable multimedia clip can be compressed so that it can be streamed over channels with different data rates and still be decoded and played back in real-time. [0117] Thus the video stream may be decoded in different ways by differing decoders. For instance, a decoder can decide only to decode the I- and P-pictures of a signal, if this is the maximum rate of decoding that the decoder can attain. However if a decoder has the capacity, it can also decode the B-pictures and hence increase the picture display rate. Thus the perceived picture quality of the displayed picture will be enhanced over a decoder that only decodes the I- and P-pictures. [0118] Scalable multimedia is typically ordered so that there are hierarchical layers of data. A base layer contains a basic representation of the multimedia clip whereas enhancement layers contain refinement data on top of underlying layers. Consequently, the enhancement layers improve the quality of the clip. [0119] Scalability is a desirable property for heterogeneous and error prone environments. This property is desirable in order to counter limitations such as constraints on bit rate, display resolution, network throughput, and decoder complexity. [0120] Scalability can be used to improve error resilience in a transport system where layered coding is combined with transport prioritisation. The term transport prioritisation here refers to various mechanisms to provide different qualities of service in transport, including unequal error protection, to provide different channels having different error/loss rates. Depending on their nature, data are assigned differently. For example, the base layer may be delivered through a channel with a high degree of error protection, and the enhancement layers may be transmitted through more error-prone channels. [0121] Generally, scalable multimedia coding suffers from a worse compression efficiency than non-scalable coding. In other words, a multimedia clip encoded as a scalable multimedia clip with enhancement layers requires greater bandwidth than if it had been coded as a non-scalable single-layer clip with equal quality. However, exceptions to this general rule exist, for example the temporally scalable B-frames in video compression. [0122] The invention may be applied to scalable video compression systems. For instance, in H.263 Annex O, two forms of scalability are defined: signal-to-noise (SNR) scalability and spatial scalability. [0123] Spatial scalability and SNR scalability are closely related, the only difference being the increased spatial resolution provided by spatial scalability. An example of SNR scalable pictures is shown in FIG. 10. SNR scalability implies the creation of multi-rate bit streams. It allows for the recovery of coding errors, or differences between an original picture and its reconstruction. This is achieved by using a finer quantiser to encode the difference picture in an enhancement layer. This additional information increases the SNR of the overall reproduced picture. [0124] Spatial scalability allows for the creation of multi-resolution bit streams to meet varying display requirements and/or constraints. A spatially scalable structure is illustrated in FIG. 11. It is essentially the same as in SNR scalability except that a spatial enhancement layer attempts to recover the coding loss between an up-sampled version of the reconstructed reference layer picture and a higher resolution version of the original picture. For example, if the reference layer has a quarter common intermediate format (QCIF) resolution, and the enhancement layer has a common intermediate format (CIF) resolution, the reference layer picture must be scaled accordingly such that the enhancement layer picture can be predicted from it. The QCIF standard allows the resolution to be increased by a factor of two in the vertical direction only, horizontal direction only, or both the vertical and horizontal directions for a single enhancement layer. There can be multiple enhancement layers, each increasing the picture resolution over that of the previous layer. The interpolation filters used to up-sample the reference layer picture are explicitly defined in the H.263 standard. Aside from the up-sampling process from the reference to the enhancement layer, the processing and syntax of a spatially scaled picture are identical to those of an SNR scaled picture. [0125] In either SNR or spatial scalability, the enhancement layer pictures are referred to as EI- or EP-pictures. If the enhancement layer picture is upwardly predicted from a picture in the reference layer, then the enhancement layer picture is referred to as an Enhancement-I (EI) picture. In this type of scalability, the reference layer means the layer “below” the current enhancement layer. In some cases, when reference layer pictures are poorly predicted, over-coding of static parts of the picture can occur in the enhancement layer, causing an unnecessarily excessive bit rate. To avoid this problem, forward prediction is permitted in the enhancement layer. A picture that can be predicted in the forward direction from a previous enhancement layer picture or, alternatively, upwardly predicted from the reference layer picture is referred to as an Enhancement-P (EP) picture. Note that computing the average of the upwardly and forwardly predicted pictures can provide bi-directional prediction for EP-pictures. For both E1- and EP-pictures, upward prediction from the reference layer picture implies that no motion vectors are required. In the case of forward prediction for EP-pictures, motion vectors are required. [0126] The SRPN field can be associated with P, PB, Improved PB, and Enhancement Layer (EP) pictures. The characteristics of PB and Improved PB frames are described in H.263 Annex G and Annex M respectively. [0127] However, if Annex N or Annex U of H.263 is in use and if the picture is associated with multiple reference pictures, an SRPN is not provided. For PB and Improved PB pictures, an SRPN is typically associated with only the P-part. For EP pictures, the SRPN is provided for use in forward prediction, whereas upward prediction is performed using the temporally corresponding reference layer picture. An SRPN is preferably not provided if the picture is an I, EI or B picture. [0128] If the encoder is capable of multi-layer coding (for example, as discussed in Annex O of H.263) each layer has consecutive Spare Reference Picture Numbers. These may be associated with the enhancement layer number (ELNUM) of the current picture. The Spare Reference Picture Number is incremented by one from the corresponding number of the previous coded reference picture in the same enhancement layer. However, if adjacent pictures in the same enhancement layer have the same temporal reference, and if Annex N or Annex U of H.263 is in use, the decoder preferably regards this as an indication that redundant copies have been sent of approximately the same pictured scene content, and all of these pictures then share the same Picture Number. [0129] It should also be noted that according to an embodiment of the invention, it is possible to indicate an SRPN for a specified rectangular area of the current picture. There may be multiple messages for one picture each specifying SRPNs for non-overlapping rectangular areas of the current picture. If the messages do not specify an SRPN for some areas of the picture, a decoder can use error concealment to conceal errors in those areas if the corresponding reference frame (or area thereof) from which they are predicted cannot be decoded. In this situation, the decoder preferably uses a concealment method that corresponds to the picture type i.e. for an INTRA picture an INTRA error concealment method is used and for an INTER picture an INTER error concealment method is used. [0130] A specific example of the above situation, in which SRPN values are provided for different areas of a current picture, will now be given. Each SRPN message, comprises an SRPN and four PSUPP octets containing the horizontal and vertical location of the upper left corner of the specified rectangular area of the picture, and the width and height of the rectangular area, respectively, using eight bits each and expressed in units of 16 pixels (of luminance picture). For example, using this convention, an entire QCIF picture is specified by the four parameters (0, 0, 11, 9). [0131] For picture formats having a width and height that is not divisible by 16, the specified area may extend to the next larger size that would be divisible by 16. For example, an entire image having size of 160�120 pixels is specified by the four parameters (0, 0, 10, 8). Preferably, the specified area does not cross picture boundaries nor overlap with other specified error concealment areas of the same picture. [0132] The invention may be implemented in other video coding protocols. For example MPEG-4 defines so-called user data, which can contain any binary data and is not necessarily associated with a picture. The additional field may be added to these fields. [0133] An alternative embodiment of the invention, specifically designed for compatibility with the H.26L video coding recommendation currently under development by the Joint Video Team of ISO/IEC and ITU-T VCEG will now be described. The provisions of H.26L differ from those of H.263 in certain respects that impact on the implementation of the current invention. In particular, H.26L uses a bit-stream hierarchy that is different in key respects from that used in H.263. Thus, the way in which spare reference pictures according to the invention are identified in an H.26L compatible implementation is different from that used in the H.263 bit-stream described above. [0134] According to H.26L each reference picture in a video sequence is identified by a picture number, but individual picture headers are not used. Furthermore, and unlike the situation in H.263, H.26L allows any given frame to be associated with more than one reference picture. This means, in effect, that there is no default reference frame for a picture to be coded and any frame may potentially be used as the reference for any other. Therefore, it is important to identify spare reference pictures in a reliable manner. [0135] The picture number defined according to H.26L is used as an identifier for pictures stored on a short-term basis in the encoder or decoder buffer. The picture number is incremented by 1 for each picture stored. When a certain maximum picture number, defined in the parameter set, is reached, the picture number wraps over to zero. Thus, in H.26L, picture numbers are used only as short-term identifiers. Nevertheless, a decoder can identify the loss of a picture by examining the difference in picture number between two consecutively received pictures. More specifically, if the difference between the picture numbers of two consecutively received and stored pictures is not 1, the decoder can infer a picture loss or corruption of data. [0136] As in H.263, according to H.26L, the pictures of a video sequence are arranged into groups of pictures (GOPs). However, the GOP concept used in H.26L is rather more sophisticated than that specified in H.263. More specifically, JVT document JVT-B042 introduced an enhanced GOP concept that organises pictures in so-called “scalability layers” and “sub-sequences”. A sub-sequence represents a number of inter-dependent pictures that can be discarded without affecting the decoding of any sub-sequence in a less enhanced scalability layer. The layer and sub-sequence to which a given picture belongs is signalled in the slice headers of the picture in question. Consequently, pictures having the same picture number, but residing in different layers or sub-sequences can be distinguished from each other. [0137] Thus, according to a first embodiment of the invention tailored for compatibility with the H.26L video coding recommendation, picture numbers are used to identify the spare reference picture or pictures for a frame being coded. In an alternative embodiment, layer numbers or sub-sequence identifiers are used. This alternative allows spare reference pictures having identical picture numbers but residing in different layers or sub-sequences to be identified reliably. As in the previously described embodiments relating to H.263, information identifying the spare reference picture(s) for a given frame is provided using the Supplemental Enhancement Information (SEI) mechanism. [0138] Commonly, part of a scene being filmed, for example the background in a video sequence filmed with a static camera, changes little (if at all) from one frame to the next. Thus, the background in any one of a number of consecutive frames could be used for prediction of a subsequent frame in the sequence. Therefore, according to a further embodiment of the invention compatible with the H.26L video coding recommendation, the provision of spare reference pictures is extended to regions of pictures. As described in greater detail below, according to this embodiment of the invention, the indication of a spare reference picture provided in the SEI message may specify whether a complete picture or part of a picture is to be used as a spare reference for the prediction of image content in a frame to be coded. An example of the proposed SEI message syntax according to this embodiment of the invention is presented in Table 1 below. Further details of the notation used in Table 1 can be found from JVT Working Draft 2, Document JVT-B 118r7. TABLE 1 H.26L SEI Message Syntax for Indication of Spare Reference Picture Number spare_reference_message () { Mnemonic parameter_set_id(picture_parameter_set) ref_area_indicator ecselbf if (ref_area_indicator > 0) { ref_area_topleft uimsbf(X) ref_area_bottomright uimsbf(X) } number_of_spare_reference_pictures_minus_2 ecselbf for (loop_count = 0; loop_count < number_of_spare_reference_pictures— minus_2 + 2; loop_count++) { if (loop_count > 0) ref_pic_identification_mode ecselbf else ref_pic_identification_mode = 2 if (ref_pic_identification_mode < 2) delta_PN_magnitude ecselbf if (ref_pic_identification_mode == 2) ref_absolute_PN uimsbf if (NOL > 0) { ref_layer_number_plus_1 ecselbf if (ref_layer_number_plus_1 > 0) ref_sub_sequence_identifier ecselbf } } } [0139] The picture parameter set identifier indicates the picture and independent GOP parameter sets that are valid for the SEI message, in particular the picture size and maximum picture number parameters. [0140] In the example SEI syntax presented above in Table 1, the parameter ref_area_indicator can take one of the following values: 0: The message concerns the entire picture area. 1: The message concerns the entire picture area excluding the rectangle specified by the following parameters. 2: The message concerns the rectangle specified by the following parameters. [0141] The parameters ref_area_topleft and ref_area_bottomright specify the corners of the rectangle referred to in the semantics of ref_area_indicator. The unit in which the ref_area_topleft and ref_area_bottomright parameters are specified is a macroblock. The macroblocks are numbered in raster scan-order starting from the top-left macroblock of the picture having number 0. [0142] The parameter number of spare_reference_pictures_minus—2 specifies the number of pictures that are associated with each other as spare reference pictures or regions and the parameter ref_pic_identification mode can take one of the following values: 0: A negative difference with respect to the previous picture number (PN) is signalled in the SEI message. 1: A positive difference with respect to the previous picture number (PN) is signalled in the SEI message. 2: An absolute PN is signalled in the SEI message. [0143] For the first picture of the SEI message, an absolute picture number is signalled. For later pictures in the SEI message, the picture number can be coded differentially (ref_pic_identification<2) as follows: [0144] if (ref_pic_identification=0) [0145] ref_absolute_PN=ref_absolute_PN−delta_PN_magnitude else [0146] ref_absolute_PN=ref_absolute_PN+delta_PN_magnitude [0147] The invention is not intended to be limited to the video coding protocols discussed above: these are intended to be merely exemplary. The invention is applicable to any video coding protocol using temporal prediction. The addition of the information as discussed above allows a receiving decoder to determine the best course of action if a picture is lost. Patent CitationsCited PatentFiling datePublication dateApplicantTitleUS6188728 *Sep 2, 1999Feb 13, 2001Sarnoff CorporationBlock motion video coding and decodingUS6188729 *Apr 1, 1993Feb 13, 2001Scientific-Atlanta, Inc.Method and apparatus for effecting seamless data rate changes in a video compression systemUS6438165 *Mar 9, 1998Aug 20, 2002Lg ElectronicsMethod and apparatus for advanced encoder systemUS6683988 *Oct 5, 1999Jan 27, 2004Oki Electric Industry Co., Ltd.Picture transmission system using minimal reference-frame modification to recover from transmission errorsUS6700933 *Feb 15, 2000Mar 2, 2004Microsoft CorporationSystem and method with advance predicted bit-plane coding for progressive fine-granularity scalable (PFGS) video codingUS20010040926 *May 15, 2001Nov 15, 2001Miska HannukselaVideo codingUS20020009141 *Feb 15, 2001Jan 24, 2002Noboru YamaguchiVideo encoding and decoding apparatus* Cited by examinerReferenced byCiting PatentFiling datePublication dateApplicantTitleUS7417632 *Dec 2, 2004Aug 26, 2008Sap AgAutomatic testing of graphics programsUS7630451 *Dec 8, 2009Qualcomm IncorporatedMethods and apparatus for transmitting layered and non-layered data via layered modulationUS7639882 *Feb 12, 2003Dec 29, 2009Sony CorporationMoving picture distribution system, moving picture distribution device and method, recording medium, and programUS7994946Jun 7, 2004Aug 9, 2011Agency For Science, Technology And ResearchSystems and methods for scalably encoding and decoding dataUS8194796Oct 28, 2009Jun 5, 2012Qualcomm IncorporatedMethods and apparatus for transmitting layered and non-layered data via layered modulationUS8369397 *Jul 3, 2006Feb 5, 2013Thomson LicensingMethod and device for coding a video content comprising a sequence of pictures and a logoUS8494049Apr 18, 2007Jul 23, 2013Cisco Technology, Inc.Long term reference frame management with error video feedback for compressed video communicationUS8520733 *Jun 30, 2006Aug 27, 2013Core Wireless Licensing S.A.R.LVideo codingUS8699583 *Apr 17, 2007Apr 15, 2014Nokia CorporationScalable video coding and decodingUS9031127Jul 25, 2013May 12, 2015Core Wireless Licensing S.A.R.LVideo codingUS9036700 *Jul 13, 2010May 19, 2015Google Technology Holdings LLCSimulcast of stereoviews for 3D TVUS20030202590 *Apr 30, 2002Oct 30, 2003Qunshan GuVideo encoding using direct mode predicted framesUS20050244070 *Feb 12, 2003Nov 3, 2005Eisaburo ItakuraMoving picture distribution system, moving picture distribution device and method, recording medium, and programUS20060183287 *Jan 11, 2006Aug 17, 2006Bruce CollinsMethods and apparatus for transmitting layered and non-layered data via layered modulationUS20070195880 *Feb 5, 2007Aug 23, 2007Canon Kabushiki KaishaMethod and device for generating data representing a degree of importance of data blocks and method and device for transmitting a coded video sequenceUS20080013620 *Apr 17, 2007Jan 17, 2008Nokia CorporationScalable video coding and decodingUS20080247463 *Apr 18, 2007Oct 9, 2008Buttimer Maurice JLong term reference frame management with error feedback for compressed video communicationUS20080253467 *Apr 10, 2008Oct 16, 2008Nokia CorporationSystem and method for using redundant pictures for inter-layer prediction in scalable video codingUS20090180702 *Jul 3, 2006Jul 16, 2009Philippe BordesMethod and Device for Coding a Video Content Comprising a Sequence Of Pictures and a LogoUS20100046675 *Oct 28, 2009Feb 25, 2010Qualcomm IncorporatedMethods and apparatus for transmitting layered and non-layered data via layered modulationUS20110012992 *Jul 13, 2010Jan 20, 2011General Instrument CorporationSimulcast of stereoviews for 3d tvUS20130287109 *Apr 24, 2013Oct 31, 2013Qualcomm IncorporatedInter-layer prediction through texture segmentation for video codingCN102474635A *Jul 15, 2010May 23, 2012通用仪表公司Simulcast of stereoviews for 3D TVEP1756950A1 *Jun 7, 2004Feb 28, 2007Agency for Science, Technology and ResearchSystems and methods for scalably encoding and decoding dataEP2077620A1 *Jun 7, 2004Jul 8, 2009Agency For Science, Technology And ResearchSystem for scalably encoding and decoding dataWO2008126046A2 *Apr 11, 2008Oct 23, 2008Nokia CorporationSystem and method for using redundant pictures for inter-layer prediction in scalable video codingWO2008126046A3 *Apr 11, 2008Feb 19, 2009Nokia CorpSystem and method for using redundant pictures for inter-layer prediction in scalable video codingWO2013151814A1 *Mar 25, 2013Oct 10, 2013Vidyo, Inc.Level signaling for layered video coding* Cited by examinerClassifications U.S. Classification358/504, 375/E07.262, 375/E07.182, 375/E07.281, 375/E07.25, 375/E07.027, 375/E07.279, 375/E07.09, 375/E07.199International ClassificationH04N19/89, H04N19/895, G06T9/00Cooperative ClassificationH04N19/70, H04N19/577, H04N19/17, H04N19/573, H04N19/36, H04N19/65, H04N19/37, H04N19/895, H04N19/44, H04N19/89European ClassificationH04N19/00R, H04N19/00C4, H04N7/26Y, H04N7/26D, H04N7/36C8, H04N7/64, H04N7/46E, H04N7/26E2, H04N7/26A8R, H04N7/68Legal EventsDateCodeEventDescriptionJul 25, 2002ASAssignmentOwner name: NOKIA CORPORATION, FINLANDFree format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:HANNUKSELA, MISKA;REEL/FRAME:013130/0177Effective date: 20020523Dec 11, 2013FPAYFee paymentYear of fee payment: 4Mar 24, 2015ASAssignmentOwner name: NOKIA TECHNOLOGIES OY, FINLANDFree format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:NOKIA CORPORATION;REEL/FRAME:035235/0685Effective date: 20150116RotateOriginal ImageGoogle Home - Sitemap - USPTO Bulk Downloads - Privacy Policy - Terms of Service - About Google Patents - Send FeedbackData provided by IFI CLAIMS Patent Services