(19)
(11)EP 2 343 826 A1

(12)EUROPEAN PATENT APPLICATION

(43)Date of publication:
13.07.2011 Bulletin 2011/28

(21)Application number: 11155492.9

(22)Date of filing:  11.07.2003
(51)International Patent Classification (IPC): 
H04B 1/66(2006.01)
H04N 7/26(2006.01)
(84)Designated Contracting States:
AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LI LU MC NL PT RO SE SI SK TR

(30)Priority: 08.11.2002 US 291320
15.07.2002 US 396363 P

(62)Application number of the earlier application in accordance with Art. 76 EPC:
10177289.5 / 2276181
03764499.4 / 1532746

(71)Applicant: Apple Inc.
Cupertino, CA 95014 (US)

(72)Inventor:
  • The designation of the inventor has not yet been filed
     ()

(74)Representative: Howell, Matthew Dafydd et al
Withers & Rogers LLP Goldings House 2 Hays Lane
London SE1 2HW
London SE1 2HW (GB)

 
Remarks:
This application was filed on 22-02-2011 as a divisional application to the application mentioned under INID code 62.
 


(54)Method and apparatus for variable accuracy inter-picture timing specification for digital video encoding


(57) A method and apparatus for variable accuracy inter-picture timing specification for digital video encoding is disclosed. Specifically the present invention discloses a system that allows the relative timing of nearby video pictures to be encoded in a very efficient manner. In one embodiment, the display time difference between a current video picture (105) and a nearby video picture is determined. The display time difference is then encoded (180) into a digital representation of the video picture. In a preferred embodiment, the nearby video picture is the most recently transmitted stored picture. For coding efficiency, the display time difference may be encoded using a variable length coding system or arithmetic coding. In an alternate embodiment, the display time difference is encoded as a power of two to reduce the number of bits transmitted.




Description

FIELD OF THE INVENTION



[0001] The present invention relates to the field of multimedia compression systems. In particular the present invention discloses methods and systems for specifying variable accuracy inter-picture timing.

BACKGROUND OF THE INVENTION



[0002] Digital based electronic media formats are finally on the cusp of largely replacing analog electronic media formats. Digital compact discs (CDs) replaced analog vinyl records long ago. Analog magnetic cassette tapes are becoming increasingly rare. Second and third generation digital audio systems such as Mini-discs and MP3 (MPEG Audio - layer 3) are now taking market share from the first generation digital audio format of compact discs.

[0003] The video media has been slower to move to digital storage and transmission formats than audio. This has been largely due to the massive amounts of digital information required to accurately represent video in digital form. The massive amounts of digital information needed to accurately represent video require very high-capacity digital storage systems and high-bandwidth transmission systems.

[0004] However, video is now rapidly moving to digital storage and transmission formats. Faster computer processors, high-density storage systems, and new efficient compression and encoding algorithms have finally made digital video practical at consumer price points. The DVD (Digital Versatile Disc), a digital video system, has been one of the fastest selling consumer electronic products in years. DVDs have been rapidly supplanting Video-Cassette Recorders (VCRs) as the pre-recorded video playback system of choice due to their high video quality, very high audio quality, convenience, and extra features. The antiquated analog NTSC (National Television Standards Committee) video transmission system is currently in the process of being replaced with the digital ATSC (Advanced'Television Standards Committee) video transmission system.

[0005] Computer systems have been using various different digital video encoding formats for a number of years. Among the best digital video compression and encoding systems used by computer systems have been the digital video systems backed by the Motion Pictures Expert Group commonly known by the acronym MPEG. The three most well known and highly used digital video formats from MPEG are known simply as MPEG-1, MPEG-2, and MPEG-4. VideoCDs (VCDs) and early consumer-grade digital video editing systems use the early MPEG-1 digital video encoding format. Digital Versatile Discs (DVDs) and the Dish Network brand Direct Broadcast Satellite (DBS) television broadcast system use the higher quality MPEG-2 digital video compression and encoding system. The MPEG-4 encoding system is rapidly being adapted by the latest computer based digital video encoders and associated digital video players.

[0006] The MPEG-2 and MPEG-4 standards compress a series of video frames or video fields and then encode the compressed frames or fields into a digital bitstream. When encoding a video frame or field with the MPEG-2 and MPEG-4 systems, the video frame or field is divided into a rectangular grid of macroblocks. Each macroblock is independently compressed and encoded.

[0007] When compressing a video frame or field, the MPEG-4 standard may compress the frame or field into one of three types of compressed frames or fields: Intra-frames (I-frames), Unidirectional Predicted frames (P-frames), or Bi-Directional Predicted frames (B-frames). Intra-frames completely independently encode an independent video frame with no reference to other video frames. P-frames define a video frame with reference to a single previously displayed video frame. B-frames define a video frame with reference to both a video frame displayed before the current frame and a video frame to be displayed after the current frame. Due to their efficient usage of redundant video information, P-frames and B-frames generally provide the best compression.

SUMMARY OF THE INVENTION



[0008] A method and apparatus for variable accuracy inter-picture timing specification for digital video encoding is disclosed. Specifically, the present invention discloses a system that allows the relative timing of nearby video pictures to be encoded in a very efficient manner. In one embodiment, the display time difference between a current video picture and a nearby video picture is determined. The display time difference is then encoded into a digital representation of the video picture. In a preferred embodiment, the nearby video picture is the most recently transmitted stored picture.

[0009] For coding efficiency, the display time difference may be encoded using a variable length coding system or arithmetic coding. In an alternate embodiment, the display time difference is encoded as a power of two to reduce the number of bits transmitted.

[0010] Other objects, features, and advantages of present invention will be apparent from the company drawings and from the following detailed description.

BRIEF DESCRIPTION OF THE DRAWINGS



[0011] The objects, features, and advantages of the present invention will be apparent to one skilled in the art, in view of the following detailed description in which:

Figure 1 illustrates a high-level block diagram of one possible a digital video encoder system.

Figure 2 illustrates a serious of video pictures in the order that the pictures should be displayed wherein the arrows connecting different pictures indicate inter-picture dependency created using motion compensation.

Figure 3 illustrates the video pictures from Figure 2 listed in a preferred transmission order of pictures wherein the arrows connecting different pictures indicate inter-picture dependency created using motion compensation.

Figure 4 graphically illustrates a series of video pictures wherein the distances between video pictures that reference each other are chosen to be powers of two.


DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT



[0012] A method and system for specifying Variable Accuracy Inter-Picture Timing in a multimedia compression and encoding system is disclosed. In the following description, for purposes of explanation, specific nomenclature is set forth to provide a thorough understanding of the present invention. However, it will be apparent to one skilled in the art that these specific details are not required in order to practice the present invention. For example, the present invention has been described with reference to the MPEG-4 multimedia compression and encoding system. However, the same techniques can easily be applied to other types of compression and encoding systems.

Multimedia Compression and Encoding Overview



[0013] Figure 1 illustrates a high-level block diagram of a typical digital video encoder 100 as is well known in the art. The digital video encoder 100 receives an incoming video stream of video frames 105 at the left of the block diagram. Each video frame is processed by a Discrete Cosine Transformation (DCT) unit 110. The frame may be processed independently (an intra-frame) or with reference to information from other frames received from the motion compensation unit (an inter-frame). Next, a Quantizer (Q) unit 120 quantizes the information from the Discrete Cosine Transformation unit 110. Finally, the quantized video frame is then encoded with an entropy encoder (H) unit 180 to produce an encoded bitstream. The entropy encoder (H) unit 180 may use a variable length coding (VLC) system.

[0014] Since an inter-frame encoded video frame is defined with reference to other nearby video frames, the digital video encoder 100 needs to create a copy of how decoded each frame will appear within a digital video decoder such that inter-frames may be encoded. Thus, the lower portion of the digital video encoder 100 is actually a digital video decoder system. Specifically, an inverse quantizer (Q-1) unit 130 reverses the,quantization of the video frame information and an inverse Discrete Cosine Transformation (DCT-1) unit 140 reverses the Discrete Cosine Transformation of the video frame information. After all the DCT coefficients are reconstructed from iDCT, the motion compensation unit will use the information, along with the motion vectors, to reconstruct the encoded frame which is then used as the reference frame for the motion estimation of the next frame.

[0015] The decoded video frame may then be used to encode inter-frames (P-frames or B-frames) that are defined relative to information in the decoded video frame. Specifically, a motion compensation (MC) unit 150 and a motion estimation (ME) unit 160 are used to determine motion vectors and generate differential values used to encode inter-frames.

[0016] A rate controller 190 receives information from many different components in a digital video encoder 100 and uses the information to allocate a bit budget for each video frame. The rate controller 190 should allocate the bit budget in a manner that will generate the highest quality digital video bit stream that that complies with a specified set of restrictions. Specifically, the rate controller 190 attempts to generate the highest quality compressed video stream without overflowing buffers (exceeding the amount of available memory in a decoder by sending more information than can be stored) or underflowing buffers (not sending video frames fast enough such that a decoder runs out of video frames to display).

Multimedia Compression and Encoding Overview



[0017] In some video signals the time between successive video pictures (frames or fields) may not be constant. (Note: This document will use the term video pictures to generically refer to video frames or video fields.) For example, some video pictures may be dropped because of transmission bandwidth constraints. Furthermore, the video timing may also vary due to camera irregularity or special effects such as slow motion or fast motion. In some video streams, the original video source may simply have non-uniform inter-picture times by design. For example, synthesized video such as computer graphic animations may have non-uniform timing since no arbitrary video timing is created by a uniform video capture system such as a video camera system. A flexible digital video encoding system should be able to handle non-uniform timing.

[0018] Many digital video encoding systems divide video pictures into a rectangular grid of macroblocks. Each individual macroblock from the video picture is independently compressed and encoded. In some embodiments, sub-blocks of macroblocks known as 'pixelblocks' are used. Such pixel blocks may have their own motion vectors that may be interpolated. This document will refer to macroblocks although the teachings of the present invention may be applied equally to both macroblocks and pixelblocks.

[0019] Some video coding standards, e.g., ISO MPEG standards or the ITU H.264 standard, use different types of predicted macroblocks to encode video pictures. In one scenario, a macroblock may be one of three types:
  1. 1. 1-macroblock - An Intra (I) macroblock uses no information from any other video pictures in its coding (it is completely self-defined); .
  2. 2. P-macroblock - A unidirectionally predicted (P) macroblock refers to picture information from one preceding video picture; or
  3. 3. B-macroblock - A bi-directional predicted (B) macroblock uses information from one preceding picture and one future video picture.


[0020] If all the macroblocks in a video picture are Intra-macroblocks, then the video picture is an Intra-frame. If a video picture only includes unidirectional predicted macro blocks or intra-macroblocks, then the video picture is known as a P-frame. If the video picture contains any bi-directional predicted macroblocks, then the video picture is known as a B-frame. For the simplicity, this document will consider the case where all macroblocks within a given picture are of the same type.

[0021] An example sequence of video pictures to be encoded might be represented as


where the letter (I, P, or B) represents if the video picture is an I-frame, P-frame, or B-frame and the number represents the camera order of the video picture in the sequence of video pictures. The camera order is the order in which a camera recorded the video pictures and thus is also the order in which the video pictures should be displayed (the display order).

[0022] The previous example series of video pictures is graphically illustrated in Figure 2. Referring to Figure 2, the arrows indicate that macroblocks from a stored picture (I-frame or P-frame in this case) are used in the motion compensated prediction of other pictures.

[0023] In the scenario of Figure 2, no information from other pictures is used in the encoding of the intra-frame video picture I1. Video picture P5 is a P-frame that uses video information from previous video picture I1 in its coding such that an arrow is drawn from video picture I1 to video picture P5. Video picture B2, video picture B3, video picture B4 all use information from both video picture I1 and video picture P5 in their coding such that arrows are drawn from video picture I1 and video picture P5 to video picture B2, video picture B3, and video picture B4. As stated above the inter-picture times are, in general, not the same.

[0024] Since B-pictures use information from future pictures (pictures that will be displayed later), the transmission order is usually different than the display order. Specifically, video pictures that are needed to construct other video pictures should be transmitted first. For the above sequence, the transmission order might be



[0025] Figure 3 graphically illustrates the above transmission order of the video pictures from Figure 2. Again, the arrows in the figure indicate that macroblocks from a stored video picture (I or P in this case) are used in the motion compensated prediction of other video pictures.

[0026] Referring to Figure 3, the system first transmits I-frame It which does not depend on any other frame. Next, the system transmits P-frame video picture P5 that depends upon video picture I1. Next, the system transmits B-frame video picture B2 after video picture P5 even though video picture B2 will be displayed before video picture P5. The reason for this is that when it comes time to decode B2, the decoder will have already received and stored the information in video pictures I1 and P5 necessary to decode video picture B2. Similarly, video pictures I1 and P5 are ready to be used to decode subsequent video picture B3 and video picture B4. The receiver/decoder reorders the video picture sequence for proper display. In this operation I and P pictures are often referred to as stored pictures.

[0027] The coding of the P-frame pictures typically utilizes Motion Compensation, wherein a Motion Vector is computed for each macroblock in the picture. Using the computed motion vector, a prediction macroblock (P-macroblock) can be formed by translation of pixels in the aforementioned previous picture. The difference between the actual macroblock in the P-frame picture and the prediction macroblock is then coded for transmission.

[0028] Each motion vector may also be transmitted via predictive coding. For example, a motion vector prediction may be formed using nearby motion vectors. In such a case, then the difference between the actual motion vector and the motion vector prediction is coded for transmission.

[0029] Each B-macroblock uses two motion vectors: a first motion vectors referencing the aforementioned previous video picture and a second motion vector referencing the future video picture. From these two motion vectors, two prediction macroblocks are computed. The two predicted macroblocks are then combined together, using some function, to form a final predicted macroblock. As above, the difference between the actual macroblock in the B-frame picture and the final predicted macroblock is then encoded for transmission.

[0030] As with P-macroblocks, each motion vector (MV) of a B-macroblock may be transmitted via predictive coding. Specifically, a predicted motion vector is formed using nearby motion vectors. Then, the difference between the actual motion vector and the predicted is coded for transmission.

[0031] However, with B-macroblocks the opportunity exists for interpolating motion vectors from motion vectors in the nearest stored picture macroblock. Such interpolation is carried out both in the digital video encoder and the digital video decoder.

[0032] This motion vector interpolation works particularly well on video pictures from a video sequence where a camera is slowly panning across a stationary background. In fact, such motion vector interpolation may be good enough to be used alone. Specifically, this means that no differential information needs be calculated or transmitted for these B-macroblock motion vectors encoded using interpolation.

[0033] To illustrate further, in the above scenario let us represent the inter-picture display time between pictures i and j as Dij, i.e., if the display times of the pictures are T1 and Tj, respectively, then


from which it follows that




Note that Dij may be negative in some cases.

[0034] Thus, if MV5,1 is a motion vector for a P5 macroblock as referenced to I1, then for the corresponding macroblocks in B2, B3 and B4 the motion vectors as referenced to I1 and P5, respectively, would be interpolated by












Note that since ratios of display times are used for motion vector prediction, absolute display times are not needed. Thus, relative display times may be used for Dij display time values.

[0035] This scenario may be generalized, as for example in the H.264 standard. In the generalization, a P or B picture may use any previously transmitted picture for its motion vector prediction. Thus, in the above case picture B3 may use picture I1 and picture B2 in its prediction. Moreover, motion vectors may be extrapolated, not just interpolated. Thus, in this case we would have:


Such motion vector extrapolation (or interpolation) may also be used in the prediction, process for predictive coding of motion vectors.

[0036] In any event, the problem in the case of non-uniform inter-picture times is to transmit the relative display time values of Dij to the receiver, and that is the subject of the present invention. In one embodiment of the present invention, for each picture after the first picture we transmit the display time difference between the current picture and the most recently transmitted stored picture. For error resilience, the transmission could be repeated several times within the picture, e.g., in the so-called slice headers of the MPEG or H.264 standards. If all slice headers are lost, then presumably other pictures that rely on the lost picture for decoding information cannot be decoded either.

[0037] Thus, in the above scenario we would transmit the following:


For the purpose of motion vector estimation, the accuracy requirements for Dij may vary from picture to picture. For example, if there is only a single B-frame picture B6 halfway between two P-frame pictures P5 and P7, then it suffices to send only:


Where the D¡j display time values are relative time values. If, instead, video picture B6 is only one quarter the distance between video picture P5 and video picture P7 then the appropriate Di,j display time values to send would be:


Note that in both of the two preceding examples, the display time between the video picture B6 and video picture video picture P7 is being used as the display time "unit" and the display time difference between video picture P5 and picture video picture P7 is four display time "units".

[0038] In general, motion vector estimation is less complex if divisors are powers of two. This is easily achieved in our embodiment if Dij (the inter-picture time) between two stored pictures is chosen to be a power of two as graphically illustrated in Figure 4. Alternatively, the estimation procedure could be defined to truncate or round all divisors to a power of two.

[0039] In the case where an inter-picture time is to be a power of two, the number of data bits can be reduced if only the integer power (of two) is transmitted instead of the full value of the inter-picture time. Figure 4 graphically illustrates a case wherein the distances between pictures are chosen to be powers of two. In such a case, the D3,1 display time value of 2 between video picture P1 and picture video picture P3 is transmitted as 1 (since 21 = 2) and the D7,3 display time value of 4 between video picture P7 and picture video picture P3 can be transmitted as 2 (since 22 = 4).

[0040] In some cases, motion vector interpolation may not be used. However, it is still necessary to transmit the display order of the video pictures to the receiver/player system such that the receiver/player system will display the video pictures in the proper order. In this case, simple signed integer values for Dij suffice irrespective of the actual display times. In some applications only the sign may be needed.

[0041] The inter-picture times Dij may simply be transmitted as simple signed integer values. However, many methods may be used for encoding the Dij values to achieve additional compression. For example, a sign bit followed by a variable length coded magnitude is relatively easy to implement and provides coding efficiency.

[0042] One such variable length coding system that may be used is known as UVLC (Universal Variable Length Code). The UVLC variable length coding system is given by the code words:
1 =       1      
2 =     0 1 0    
3 =     0 1 1    
4 =   0 0 1 0 0  
5 =   0 0 1 0 1  
6 =   0 0 1 1 0  
7 =   0 0 1 1 1  
8 = 0 0 0 1 0 0 0...


[0043] Another method of encoding the inter-picture times may be to use arithmetic coding. Typically, arithmetic coding utilizes conditional probabilities to effect a very high compression of the data bits.

[0044] Thus, the present invention introduces a simple but powerful method of encoding and transmitting inter-picture display times. The encoding of inter-picture display times can be made very efficient by using variable length coding or arithmetic coding. Furthermore, a desired accuracy can be chosen to meet the needs of the video decoder, but no more.

[0045] The foregoing has described a system for specifying variable accuracy inter-picture timing in a multimedia compression and encoding systems. It is contemplated that changes and modifications may be made by one of ordinary skill in the art, to the materials and arrangements of elements of the present invention without departing from the scope of the invention.
Before going on to set out the claims, we shall first provide a set of clauses describing embodiments of the invention:
  1. 1. A method of specifying digital video information, said method comprising:

    determining a first display time difference between a first video picture and a nearby video picture; and

    encoding said first video picture and said first display time difference into a first digital video picture.

  2. 2. The method of specifying digital video information as recited in clause 1, said method further comprising:

    transmitting said first video picture and said first display time difference.

  3. 3. The method of specifying digital video information as recited in clause 1 wherein said nearby video picture comprises a most recently transmitted stored picture.
  4. 4. The method of specifying digital video information as recited in clause 1 wherein said first display time difference is encoded into a slice header.
  5. 5. The method of specifying digital video information as recited in clause 1 wherein said first display time difference is encoded more than once in said first digital video picture.
  6. 6. The method of specifying digital video information as recited in clause 1 wherein said first display time difference comprises a relative time value.
  7. 7. The method of specifying digital video information as recited in clause 1 wherein said first display time difference is encoded as a power of two.
  8. 8. The method of specifying digital video information as recited in clause 1 wherein said first display time difference is encoded with a variable length coding.
  9. 9. The method of specifying digital video information as recited in clause 1 wherein said first display time difference is encoded with arithmetic coding.
  10. 10. The method of specifying digital video information as recited in clause 1 wherein said first display time difference comprises a signed integer.
  11. 11. An encoding system for encoding digital video information, said encoding system comprising:

    a first digital video picture containing an encoding of a first video picture; and

    a first display time difference, said first display time difference specifying a difference between a display time of said first video picture and a display time of a nearby video picture.

  12. 12. The encoding system for encoding digital video information as recited in clause 11 wherein said first display time difference is encoded within said first digital video picture.
  13. 13. The encoding system for encoding digital video information as recited in clause 11 wherein said nearby video picture comprises a most recently transmitted stored picture.
  14. 14. The encoding system for encoding digital video information as recited in clause 11 wherein said first display time difference is encoded into a slice header of said first digital video picture.
  15. 15. The encoding system for encoding digital video information as recited in clause 11 wherein said first display time difference is encoded more than once in said first digital video picture.
  16. 16. The encoding system for encoding digital video information as recited in clause 11 Wherein said first display time difference comprises a relative time value.
  17. 17. The encoding system for encoding digital video information as recited in clause 11 wherein said first display time difference is encoded as a power of two.
  18. 18. The encoding system for encoding digital video information as recited in clause 11 wherein said first display time difference is encoded with a variable length coding.
  19. 19. The encoding system for encoding digital video information as recited in clause 11 wherein said first display time difference is encoded with arithmetic coding.
  20. 20. The encoding system for encoding digital video information as recited in clause 1 wherein said first display time difference comprises a signed integer.
  21. 21. A storage medium storing a bitstream, the bitstream comprising:

    an encoded first video picture that comprises at least one bidirectional predicted macroblock; and

    an encoded second video picture that comprises no bidirectional predicted macroblocks and at least one unidirectional predicted macroblock that is encoded by referencing a macroblock in the encoded first video picture.

  22. 22. The storage medium recited in clause 21, wherein the second video picture is associated with a motion vector that references the first video picture.
  23. 23. The storage medium recited in clause 22, wherein the motion vector is encoded in the bitstream.
  24. 24. The storage medium recited in clause 21, wherein the first video picture is a B video picture and the second video picture is a P video picture.
  25. 25. A method for decoding a plurality of video pictures of a video sequence, the method comprising:

    at a decoder, receiving a bitstream comprising an encoded first video picture and an encoded second video picture, wherein the encoded first video picture comprises at least one bidirectional predicted macroblock and the encoded second video picture comprises no bidirectional predicted macroblocks and at least one unidirectional predicted macroblock that references a macroblock in the encoded first video picture; and

    decoding the second video picture by using the first video picture as a reference.

  26. 26. The method recited in clause 25, wherein decoding the second video picture comprises using a motion vector associated with the second video picture that references the first video picture.
  27. 27. The method recited in clause 26, wherein the motion vector is received from the bitstream.
  28. 28. The method recited in clause 26, wherein the motion vector is computed by the decoder.
  29. 29. The method recited in clause 25, wherein the first video picture is a B video picture and the second video picture is a P video picture.
  30. 30. A method for encoding a plurality of video pictures of a video sequence, the method comprising:

    encoding a first video picture, wherein the encoded first video picture comprises at least one bidirectional predicted macroblock;

    encoding a second video picture by using the first video picture as a reference, wherein the encoded second video picture comprises no bidirectional predicted macroblocks and at least one unidirectional predicted macroblock that references a macroblock in the encoded first video picture; and

    storing the encoded first video picture and encoded second video picture in a bitstream.

  31. 31. The method recited in clause 30, wherein encoding the second video picture comprises computing a motion vector associated with the second video picture that references the first video picture.
  32. 32. The method recited in clause 31 further comprising encoding the motion vector in the bitstream.
  33. 33. The method recited in clause 30, wherein the first video picture is a B video picture, and the second video picture is a P video picture.
  34. 34. An apparatus for decoding a plurality of video pictures of a video sequence, the apparatus comprising:

    means for receiving a bitstream comprising an encoded first video picture and an encoded second video picture, wherein the encoded first video picture comprises at least one bidirectional predicted macroblock and the encoded second video picture comprises no bidirectional predicted macroblocks and at least one unidirectional predicted macroblock that references a macroblock in the encoded first video picture; and

    means for decoding the second video picture by using the first video picture as a reference.

  35. 35. The apparatus recited in clause 34, wherein the means for decoding the second video picture comprises means for using a motion vector associated with the second video picture that references the first video picture.
  36. 36. The apparatus recited in clause 35, wherein the motion vector is received from the bitstream.
  37. 37. The apparatus recited in clause 35, wherein the motion vector is computed by the decoder.
  38. 38. The apparatus recited in clause 34, wherein the first video picture is a B video picture and the second video picture is a P video picture.
  39. 39. A computer readable medium storing a computer program that is executable by at least one processor, the computer program comprising sets of instructions for implementing the method recited in any one of clauses 25-29.
  40. 40. A computer readable medium storing a computer program that is executable by at least one processor, the computer program comprising sets of instructions for implementing the method recited in any one of clauses 30-33.
  41. 41. A computer system comprising means for implementing steps recited in any one of clauses 30-33.



Claims

1. For a bitstream comprising an encoded first video picture, an encoded second video picture, and an encoded third video picture, a method of decoding comprising:

computing a particular value that is based on (i) a first inter-picture time difference value between the third video picture and the first video picture and (ii) a second inter-picture time difference value between the second video picture and the first video picture;

computing a motion vector for the second video picture based on the particular value and a motion vector for the third video picture; and

decoding the second video picture by using the computed motion vector.


 
2. The method of claim 1, wherein the first and second inter-picture time differences are based on positions of the first, second, and third video pictures in a sequence of video pictures.
 
3. The method of claim 1, wherein the particular value is proportional to the second inter-picture time difference value.
 
4. The method of claim 1, wherein the particular value is inversely proportional to the first inter-picture time difference value.
 
5. The method of claim 1, wherein the second inter-picture time difference value is derived from a value stored in a slice header that is associated with the second video picture.
 
6. The method of claim 1, wherein computing the motion vector for the second video picture comprises multiplying a motion vector for the third video picture with the particular value.
 
7. The method of claim 1, wherein computing the motion vector comprises performing an interpolation operation based on the motion vector of the third video picture.
 
8. The method of claim 1, wherein computing the motion vector comprises performing an extrapolation operation based on the motion vector of the third video picture.
 
9. The method of claim 1, wherein the first video picture is an I-video picture that comprises no macroblocks that reference other video pictures.
 
10. The method of claim 1, wherein the second video picture is a B-video picture that comprises at least one bidirectional predicted macroblock.
 
11. A decoder for decoding a bitstream comprising an encoded first video picture, an encoded second video picture, and an encoded third video picture, the decoder comprising:

means for computing a particular value that is based on (i) a first inter-picture time difference value between the third video picture and the first video picture and (ii) a second inter-picture time difference value between the second video picture and the first video picture;

means for computing a motion vector for the second video picture based on the particular value and a motion vector for the third video picture; and

means for decoding the second video picture by using the computed motion vector.


 
12. The decoder of claim 11, wherein the first and second inter-picture time differences are based on positions of the first, second, and third video pictures in a sequence of video pictures.
 
13. The decoder of claim 11, wherein the second inter-picture time difference value is derived from a value stored in a slice header that is associated with the second video picture.
 
14. The decoder of claim 11, wherein the means for computing the motion vector for the second video picture comprises means for multiplying a motion vector for the third video picture with the particular value.
 
15. The decoder of claim 11, wherein the means for computing the motion vector comprises means for performing an interpolation operation based on the motion vector of the third video picture.
 




Drawing
















Search report