DECODER BUFFER FOR STREAMING VIDEO RECEIVER

Abstract: There is disclosed a decoder buffer capable of receiving streaming video data packets and storing the data packets in a plurality of access units. Each of the access units holds at least one data packet associated with a selected frame in the streaming video. The decoder buffer comprises: 1) a first buffer region comprising at least one access unit for storing data packets that are less immediately needed by the video decoder; and 2) a re-transmission region comprising at least one access unit for storing data packets that are most immediately needed by the video decoder. The decoder buffer, in response to a detection of a missing data packet in the re-transmission region, requests that the streaming video transmitter retransmit the missing packet.

Description: DECODER BUFFER FOR STREAMING VIDEO RECEIVER The present invention is related to that disclosed in United States Provisional Patent Application No. 60/108,939, filed on November 18, 1998, entitled "SCALABLE VIDEO STREAMING USING MPEG-4", which is commonly assigned to the assignee of the present invention. The disclosure of this related provisional patent application is incorporated herein by reference for all purposes as if fully set forth herein. TECHNICAL FIELD OF THE INVENTION The present invention is directed, in general, to video processing systems and, more specifically, to a decoder buffer for use in a streaming video receiver. BACKGROUND OF THE INVENTION Real-time streaming of multimedia content over Internet protocol (IP) networks has become an increasingly common application in recent years. A wide range of interactive and non-interactive multimedia Internet applications, such as news con-demand, live TV viewing, video conferencing, and many others rely on end-to-end streaming solutions. Unlike a "downloaded" video file, which may be retrieved first in "non-real" time and viewed or played back later, streaming video applications require a video source to encode and to transmit a video signal over a network to a video receiver, which must decode and display the video signal in real time. The receiver relies on a decoder buffer to receive encoded video data packets from the network and to transfer the packets to a video decoder. Two problems arise when a streaming video signal is transmitted across a non- guaranteed Quality-of-Service (QoS) network, such as the Internet. First, end-to-end variations in the network (e.g., delay jitter) between the streaming video transmitter and the streaming video receiver mean that the end-to-end delay is not constant. Second, there is usually a significant packet loss rate across non-QoS networks, often requiring re-transmission. The lost data packet must be recovered prior to the time the corresponding frame must be decoded. If not, an underflow event occurs. Furthermore, if prediction-based compression is used, an underflow due to lost data packets may not only impact the current frame being processed, but may affect many subsequent frames. It is well-known that re-transmission of lost packets is a viable means of recovery for continuous media communication over packet networks. Many applications use a negative automatic repeat request (NACK) in conjunction with re-transmission of the lost packet. These approaches take into consideration both the round-trip delay and the delay jitter between the sender and the receiver(s). For example, an end-to-end model with re-transmission for packet voice transmission has been developed. This model takes advantage of the fact that voice data consists of periods of silence separated by brief talk-spurt segments. The model also assumes that each talk-spurt consists of a fixed number of fixed-size packets. However, this model is not general enough to capture the characteristics of compressed video (which can have variable number of bytes or packets per video frame). There is therefore a need in the art for improved streaming video receivers that compensate for variations inherent in a non-QoS network. In particular, there is a need for an improved receiver decoder buffer that takes into consideration both transport delay parameters (e.g., end-to-end delay and delay jitter) and video encoder buffer constraints. More particularly, there is a need for an improved decoder buffer that eliminates the separation between the network transport buffer, which is typically used to remove delay jitter and to recover lost data, and the video decoder buffer. SUMMARY OF THE INVENTION The present invention is embodied in an Integrated Transport Decoder (ITD) buffer model. One key advantage of the ITD model is that it eliminates the separation of a network-transport buffer, which is typically used for removing delay jitter and recovering lost data, from the video decoder buffer. This can significantly reduce the end-to-end delay, and optimize the usage of receiver resources (such as memory). It is a primary object of the present invention to provide, for use with a video decoder capable of decoding streaming video, a decoder buffer capable of receiving from a streaming video transmitter data packets comprising the streaming video and storing the data packets in a plurality of access units. Each of the access units is capable of holding at least one data packet associated with a selected frame in the streaming video. The decoder buffer comprises: 1) a first buffer region comprising at least one access unit capable of storing data packets that are less immediately needed by the video decoder; and 2) a re-transmission region comprising at least one access unit capable of storing data packets that are most immediately needed by the video decoder, wherein the decoder buffer, in response to a detection of a missing data packet in the re-transmission region requests that the streaming video transmitter retransmit the missing packet. In one embodiment of the present invention, at least one of the data packets are stored in the first buffer region for a period of time equal to a start-up delay time of the decoder buffer. In another embodiment of the present invention, the data packets are first stored in the first buffer region and are shifted into the re-transmission region. In still another embodiment of the present invention, the first buffer region is separate from the re-transmission region. In yet another embodiment of the present invention, the first buffer region overlaps at least a portion of the re-transmission region. In a further embodiment of the present invention, the first buffer region overlaps all of the re-transmission region. In a further embodiment of the present invention, the first buffer region is separated from the re-transmission region by a second buffer region in which a late data packet is late with respect to an expected time of arrival of the late data packet, but is not sufficiently late to require a re-transmission of the late data packet. The foregoing has outlined rather broadly the features and technical advantages of the present invention so that those skilled in the art may better understand the detailed description of the invention that follows. Additional features and advantages of the invention will be described hereinafter that form the subject of the claims of the invention. Those skilled in the art should appreciate that they may readily use the conception and the specific embodiment disclosed as a basis for modifying or designing other structures for carrying out the same purposes of the present invention. Those skilled in the art should also realize that such equivalent constructions do not depart from the spirit and scope of the invention in its broadest form. Before undertaking the DETAILED DESCRIPTION, it may be advantageous to set forth definitions of certain words and phrases used throughout this patent document: the terms "include" and "comprise," as well as derivatives thereof, mean inclusion without limitation; the term "or," is inclusive, meaning and/or; the phrases "associated with" and "associated therewith," as well as derivatives thereof, may mean to include, be included within, interconnect with, contain, be contained within, connect to or with, couple to or with, be communicable with, cooperate with, interleave, juxtapose, be proximate to, be bound to or with, have, have a property of, or the like; and the term "controller" means any device, system or part thereof that controls at least one operation, such a device may be implemented in hardware, firmware or software, or some combination of at least two of the same. It should be noted that the functionality associated with any particular controller may be centralized or distributed, whether locally or remotely. Definitions for certain words and phrases are provided throughout this patent document, those of ordinary skill in the art should understand that in many, if not most instances, such definitions apply to prior, as well as future uses of such dι .fined words and phrases. BRIEF DESCRIPTION OF THE DRAWINGS For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, wherein like numbers designate like objects, and in which: FIGURE 1 illustrates an end — to-end transmission of streaming video from a streaming video transmitter through a data network to an exemplary streaming video receiver according to one embodiment of the present invention; FIGURE 2 illustrates an ideal encoder-decoder model of a video coding system; FIGURE 3 illustrates end-to-end transmission of streaming video from a compressed video source through a channel to an exemplary integrated transport decoder buffer and video decoder, without support for re-transmission, according to one embodiment of the present invention. FIGURE 4 illustrates a sequence diagram showing the flow of data packets through different and distinct regions of exemplary ideal integrated transport decoder buffer. FIGURE 5 illustrates a sequence diagram showing the flow of data packets through different over-lapping regions of exemplary integrated transport decoder buffer configured for the maximum outer boundary range. DETAILED DESCRIPTION FIGURES 1 through 5, discussed below, and the various embodiments used to describe the principles of the present invention in this patent document are by way of illustration only and should not be construed in any way to limit the scope of the invention. Those skilled in the art will understand that the principles of the present invention may be implemented in any suitably arranged streaming video receiver. Additionally, those skilled in the art will readily understand that while the embodiment of the present invention described below is principally oriented towards streaming video, this is by way of illustration only. In fact, the improved integrated transport decoder buffer described below may be readily adapted for use in connection with streaming audio data or other streaming data that must be supplied to a decoder at a required rate. FIGURE 1 illustrates an end — to-end transmission of streaming video from streaming video transmitter 110 through data network 120 to streaming video receiver 130, according to one embodiment of the present invention. Depending on the application, streaming video transmitter 110 may be any one of a wide variety of sources of video frames, including a data network server, a television station, a cable network, a desktop personal computer (PC), or the like. Streaming video transmitter 110 comprises video frame source 112, video encoder 114 and encoder buffer 116. Video frame source 112 may be any device capable of generating a sequence of uncompressed video frames, including a television antenna and receiver unit, a video cassette player, a video camera, a disk storage device capable of storing a "raw" video clip, and the like. The uncompressed video frames enter video encoder 114 at a given picture rate (or "streaming rate") and are compressed according to any known compression algorithm or device, such as an MPEG-4 encoder. Video encoder 114 then transmits the compressed video frames to encoder buffer 116 for buffering in preparation for transmission across data network 120. Data network 120 may be any suitable IP network and may include portions of both public data networks, such as the Internet, and private data networks, such as an enterprise-owned local area network (LAN) or wide area network (WAN). Streaming video receiver 130 comprises decoder buffer 131, video decoder 134 and video display 136. Decoder buffer 131 receives and stores streaming compressed video frames from data network 120. Decoder buffer 131 then transmits the compressed video frames to video decoder 134 as required. Video decoder 134 decompresses the video frames at the same rate (ideally) at which the video frames were compressed by video encoder 114. Decoder buffer 131 further comprises integrated transport decoder (ITD) buffer 132, ITD buffer monitor 138 and re-transmission controller 139. In accordance with the principles of the present invention, ITD buffer 132 integrates both temporal and data-unit occupancy considerations in order to provide video decoder 134 with compressed video frames at a rate that is sufficient to avoid underflow conditions, during which video decoder 134 is starved for compressed video frames. ITD buffer 132 accomplishes this in cooperation with ITD buffer monitor 138 and re-transmission controller 139. ITD buffer monitor 138 monitors the level of data- occupancy in ITD buffer 132 and detects missing data packets and potential underflow conditions. In response to notification from ITD buffer monitor 138, re-transmission controller 139 requests re-transmission of data missing from ITD buffer 132 in order to avoid underflow conditions. In an advantageous embodiment of the present invention, ITD buffer 132, ITD buffer monitor 138, and re-transmission controller 139 are implemented in a personal computer (PC) that receives streaming video and/or audio from, for example, the Internet over a high-speed data line. In such an embodiment. ITD buffer 132 may be implemented in main random access memory (RAM) of the PC or in RAM on a video card, and ITD buffer monitor 138 and re-transmission controller 139 may be implemented in the CPU of the PC. To implement ITD buffer 132 in a PC environment, ITD buffer 132 may be embodied as computer executable instructions stored as a program on storage media 140, such as a CD-ROM, computer diskette, or similar device, that may be loaded into removable disk port 141 in streaming video receiver 130. Continuous decoding of compressed video frames is a key requirement of a real-time multimedia application, such as streaming video. To meet this requirement, a decoder-encoder buffer model is normally used to ensure that underflow and overflow events do not occur. These constraints limit the size (bit-wise) of video pictures that enter the encoder buffer. The constraints are usually expressed in terms of encoder-buffer bounds, which when adhered to by the encoder, guarantee continuous decoding and presentation of the compressed video stream at the receiver. FIGURE 2 shows an ideal encoder-decoder model of a video coding system. Under this ideal model, uncompressed video frames 201-203 enter the compression engine of encoder 214 at a given picture-rate, X frames/second, as indicated by the Time(l) line. The compressed frames exit encoder 214 and enter encoder buffer 216 at the same X frames/second, as indicated by the Time(2) line. Similarly, the compressed frames exit decoder buffer 216 and enter channel 220 at X frames/second. Channel 220 is a generic representation of any transmission medium, such as the Internet, that transfers compressed video frames from a transmitting source to a receiver. In the ideal case, the delay of channel 220 (δc) is a constant value. Next, the compressed frames exit channel 220 and enter decoder buffer 232 at the same X frames/second as at the input and the output of encoder 214, as indicated by the Time(3) line. Decoder buffer 232 transmits the compressed frames to decoder 234, which decompresses the frames and outputs decompressed frames 251-253 at the original X frames/second at which frames entered encoder 214. Ideally, the end-to-end buffering delay (i.e., the total delay encountered in both encoder buffer 216 and decoder buffer 232) is constant. However, the same piece of compressed video data (e.g., a particular byte of the video stream) encounters different delays in encoder buffer 216 and decoder buffer 232. In the ideal model, encoding in encoder 214 and decoding in decoder 234 are instantaneous and require zero execution time and data packets are not lost. The encoder buffer bounds can be expressed using discrete -time summation. In discrete-time domain analysis, Δ is the end-to-end delay (i.e., including both encoder buffer 216 and decoder buffer 232 and channel delay δ c ) in units of time. For a given video coding system, Δ is a constant number applicable to all frames entering the encoder-decoder buffer model. To simplify the discrete-time analysis, it is assumed that the end-to-end buffering delay (ΔT=Δ-δ c ) is an integer-multiple of the frame duration (T). Therefore, NΔ=N(Δ-δ c )/T represents the delay of the encoder and decoder buffers in terms of the number of video frames (N). For the purposes of clarity and brevity in describing the principles of the present invention, the remainder of this disclosure will use time units specified in frame- duration intervals. For example, using the encoder time reference shown in FIGURE 2, the n th frame enters encoder buffer 216 at time index "n". The decoder time-reference of decoder buffer 232 is shifted by the channel delay (δ c)ι with respect to encoder buffer 216. The data rate (r) at the output of encoder (e) 214 during frame-interval "i" may be represented as r e (i). Here, "data rate" is used generically. It could signify bit rate, byte rate, or even packet rate. Similarly, the data rate at the input of decoder buffer 232 may be represented as r d (i). Based on the ideal model, r e (iT) = r d (iT+δ c ). In addition, based on the convention established above, r e (i) = r d (i). Thus, the bounds of encoder buffer 216 can be expressed as: "U> β max ; Equation 1 where s^ χ and B^ X are the maximum decoder and encoder buffer sizes respectively. In the ideal case, it is also assumed that encoder 214 starts transmitting data immediately after the first frame enters encoder 214. Therefore, the start-up delay dd f (i.e., the delay time the first piece of data from the first picture spends in decoder buffer 232 prior to decoding) equals the end-to-end, encoder-decoder buffer delay: dd f = ΔT=T-ΔN. In one embodiment of the present invention, ITD buffer 132 minimizes underflow events by taking into consideration the above-described problems of the ideal buffer model and the ideal encoder-decoder buffer constraints. ITD buffer 132 is based on lost packet recovery using re-transmission. FIGURE 3 is a simplified block diagram of exemplary end-to-end transmission of streaming video, without support for re-transmission. For the purposes of simplicity and clarity, streaming video transmitter 110 has been replaced by compressed video source 305 and data network 120 has been replaced by channel 320. Compressed video source 305 transmits data packets at rate r e (n) and channel 320 transmits data packets at rate r td (n). Since video re-transmission is not supported for this embodiment, ITD buffer monitor 138 and retransmission controller 139 are omitted from the diagram. Streaming video receiver 130 has been simplified and is represented by ITD buffer 132 and video decoder 134. As noted above, ITD buffer 132 integrates temporal and data-unit occupancy models. ITD buffer 132 is divided into temporal segments of 'T' seconds each. By way of example, the parameter T may be the frame period in a video sequence. The data packets (bits, bytes, or packets) associated with a given duration T are buffered in the corresponding temporal segment. All of the data packets associated with a temporal unit are referred to as an "access" unit. By way of example, data packets 351, 352, and 353 comprise access unit A n+ ι, data packet 354 comprises access unit A n+2 , and data packets 355 and 356 comprise access unit An+3. During time interval n, the n th access unit, A n , is being decoded by decoder 134 and access unit A n+] is stored at the temporal segment nearest to the output of ITD buffer 132. An access unit may be an audio frame, a video frame, or even a portion of a video frame, such as Group of Blocks (GOB). Therefore, the duration required to decode or display an access unit is the same as the duration of the temporal segment T. During the time-interval n, the rate at which data enters ITD buffer 132 is r td (n). The number of data packets in each access unit are not required to be the same. Compression algorithms used in video encoder 114 may compress the data packets in successive access units by different amounts, even though each access unit represents temporal units of the same duration. For example, the three data packets 351-353 in access unit A n+ ι may comprise a complete video frame, Frame 1. The single data packet 354 in A n+2 may represent only those portions of Frame 2 that are different than Frame 1. Nonetheless, data packet 354 is sufficient to create Frame 2 if the Frame 1 data is already known Since Frame 1 and Frame 2 have the same duration, the temporal segment, T, is the same for A n+ ι and A n+2 . Each temporal segment holds a maximum number of packets, K maX , with each packet having a maximum size, b max (in bits or bytes). Therefore, the maximum size of an access unit, S^ x may be represented by Sm a x≥KmaxO- ). Video encoder 114 is assumed to begin each access-unit with a new packet that is present only in that access unit. The amount of data ITD buffer 132 at time index n, B td (n), may be descπbed by terms of B a (n) and B b (n). B a (n) represents the number of consecutive-and-complete access units in ITD buffer 132 at the beginning of interval n, and B b (n) represents the total consecutive amount of data in ITD buffer 132 at the end of interval n. For B a (n), temporal segments containing partial data are not counted, and all segments following a partial segment are also not counted even if they contain a complete, access-unit worth of data. Hence, T B a (n) represents how much video m temporal units (e.g. seconds) that the ITD buffer 132 holds at time index n (without running into an underflow if no more data arrives). Therefore, if S n denotes the size of access unit n, the relationship between B a and B b can be expressed as Equation 2 below: n + B*(n) B b (n) = , s . + U B"(n>+1 J=N + 1 Equation 2 where S } is the maximum size of the access unit for temporal segment j and U B a ( n ) + ι is the partial (incomplete) data of access unit A n+B a ( n ) + ι which is stored in temporal segment B a (n)+1 at the beginning of time index n When re-transmission is supported as an embodiment, ITD buffer 132 requires capability for a) outputting one temporal segment (T) worth of data at the beginning of every temporal time-interval n; b) detecting lost packet(s) and transmitting associated negative acknowledge (NACK) messages to the transmitter 110 or 305; c) continuously stoπng newly arrived pπmary (i.e., not re-transmitted) packets, and d) stoπng re-transmitted packets. The ideal ITD buffer 132 maintains the data rate of the video stream, without delays caused by retransmission of any lost data. In other words, if r e (n) is the transmission data rate used by an idealized video encoder 114 under lossless circumstances, ideal ITD buffer 132 will maintain this date rate without degradation caused by the re-transmission process. Depending upon the number of re-transmission requests, encoder buffer 116 may adjust its output data rate r e (n), with a corresponding adjustment by ITD buffer 132. In one embodiment, decoder buffer 131 adds buffering for the incoming video stream in order to compensate for the time required for detection and recovery of lost data and for the delay associated with a "real" world implementation. By delaying all incoming video streams by this compensation time, decoder buffer 131 outputs video stream data at a continuous rate as required for decoding. Re-transmission controller 139 and ITD buffer 132 incorporate processes for minimizing the time for detecting the absence of packets and transferring NACKs for re-transmission by streaming video transmitter 110. The minimum duration of time needed for detecting a predetermined number of lost packets is represented by T L . In general, T L is a function of the delay jitter caused by data arriving later than expected by ITD buffer 132. The minimum amount of time needed for streaming video receiver 130 to recover a packet after being declared lost is represented by T R . Time T R includes the time required for streaming video receiver 130 to send a NACK to streaming video transmitter 110 and the time needed for the re-transmitted data to reach streaming video receiver 130 (assuming that the NACK and re-transmitted data are not lost). Exemplary decoder buffer 131 transfers a re -transmitted packet with a minimum delay (T +T R ) for the lost packet interval. If the minimum delay experienced by any video data for an ideal decoder buffer 131 is represented by dd m - n . the amount of delay Δ R that may be added to the minimum ideal delay in order to account for the total delay for re- transmission is: Δ fi > u ( T L + τ R - dd mιn ) Equation 3 where u(x)=x for x>0, and u(x)=0 for x < 0. Decoder buffer 131 adds delay Δ R buffering for all output data to video decoder 134 in order to provide time for decoding and transferring of the data, resulting in continuous video streams. Therefore, the total encoder buffer 116 to decoder buffer 132 output delay (Δτoτ)may be represented by: Δχoτ = Δ ldea ι + Δ R > Δ ldea ι + u^ +T -ddmm) Equation 4 ITD buffer 132 provides buffering (storage) for a minimum number of temporal segments (B ιn ) as compensation for re-transmission time requirements and as prevention for an underflow event. The ITD buffer 132 sizing may be based, for example, on minimum and maximum boundaries for storing temporal segments. The process for determining these boundaries is described in the following paragraphs. In the absence of lost packets and delay jitter, at any time index n, the ITD buffer 132 provides the following occupancy capability: TB « (n) ≥ TB m * ιn = T L + R Equation 5 An ideal ITD buffer 132 has a maximum decoding delay (dd π ^), where ddmax ≥ Δuieai- Consequently, in the absence of lost packets and delay jitter, ideal ITD buffer 132 satisfies the following requirement: B <"' ≤ dd max + U < T L + T R - dc ≤ Δ ideal + "<*. Equation 6 Further, in the absence of lost data and delay jitter, the ideal ITD buffer 132 provides storage requirements for TB a (n) data, bounded as follows: T L + T R ≤ T ■ B a (n) ≤ dd^ x + u(T L + T R - dd^ Equation 7 ITD buffer 132 storage capability with consideration for delay jitter may be expressed as: T R ≤ T ■ B a (n) ≤ dd^ χ + u(T L + T R - dd mιn ) + T. Equation 8 where T E is the delay jitter associated with packets arriving earlier than expected to ITD buffer 132. Therefore, if B^ X IS the maximum number of temporal segments that ITD buffer 132 holds, then: T ■ B^ χ ≥ dd^ χ + u(T L + T R - dd mιn ) + T E or Equation 9 ITD buffer 132 storage capability is based on the above equations, minimum ideal storage requirements, and delays associated with data transfers. ITD buffer 132 has a minimum size determined by ideal encoder buffer 116 which is represented by B^ X . ITD buffer 132 provides added storage to adjust for delays introduced by ITD buffer 132 and for data arriving earlier than expected. ITD buffer 132 storage requirements (in temporal units) for accommodation of these exemplary delays is represented by T extπ -. as shown below. u{T, + T R d(L,J + T P Equation 10 Using this relationship, ITD buffer 132 storage requirement for satisfying the B max upper limit (in temporal units), is shown by the following upper boundary relationship: ≥ si + ^ x ■ τ extra = Bl x + R ^x [u(T L + τ R - dd m + τ E ] Equation 11 An ideal ITD buffer 132 has a minimum decoding delay (dd mm ) which is equal to zero and a maximum decoding delay (dd^ x ) which is equal to the ideal end-to-end buffering delay (Δ ldea ι). The ideal ITD buffer 132 is sized to provide extra minimum delay that is equal to T L + T R , where T L and T R are assumed to be integer-multiples of the duration T. The minimum time delay requirement is found by substituting the ideal buffer region dd πun =0 and d rr =Δ lliea ι into previously described equation for Δ TO τ- This extra buffer requirement stores N L + N R temporal segments, where N R =T R /T and N=Tι/T. Thus, ideal ITD buffer 132 is found to provide storage for the following number of temporal segments: B- x ≥ N L + N P + Equation 12 Since the maximum decoding delay, dd max =Δ,dea ΔT, corresponds to ΔN temporal segments, B b ma is further described as follows: I x > N R + N L + AN = N E Equatlon 13 where N E =[T B T]. FIGURE 4 is a sequence diagram showing the flow of data packets through different regions of exemplary ITD buffer 132 under the assumption that ddπu n = 0 (the lower boundary level) and d maX = Δ, dea i ITD buffer 132 data enters from the πght side of the diagram and exits to the video decoder 134 at the left side. The most recently received data is in a buffer area which is labeled "too-early for re-transmission request region" (too-early). Depending on the location in the too-early region of the buffer, ITD buffer 132 introduces buffer delays labeled N E , ΔN, or N L The area of this too-early buffer region which compπses the ideal delay ΔN, is labeled as the ideal-buffer region. ITD buffer 132 manages the ideal- buffer region as an ideal video buffer, i.e., data packets flow through this region and are only delayed by the inherent characteπstics of the buffer element(s). Ideal ITD buffer 132 provides the remaining too-early buffer areas to compensate for delays associated with the transfer of video streams from streaming video transmitter 110 to decoder 131 (N E ), as well as delays caused by delayed or lost video packets (NL). ITD buffer 132 provides delay N R in the re-transmission region order to compensate for expected time requirements for the initiation and reception of re-transmission requests Exemplary decoder buffer 131 initiates re-transmission requests duπng the time peπods associated with the re-transmission region It is important to note that the ideal-buffer and re-transmission regions may overlap, depending on the values of the different delay parameters (dd m , n , T R , T L ) However, for the exemplary ideal ITD buffer 132 with ddπun=0, the re-transmission and ideal-buffer regions do not overlap For ITD buffer 132, N E represents the initial decoding delay (dd f ) which corresponds to the amount of delay encountered by the very first piece of data that enters the buffer pπor to the decoding of the first picture (or access unit) This dd f is based on, among other things, the streaming video transmitter 110 and data network 120 data transmission rates duπng elapsed time dd f In the ideal case, ITD buffer 132 uses this same data rate for enteπng received data into its buffer (storage) regions. Ideal decoder buffer 131 recognizes the amount of data in its ITD buffer 132 regions just pπor to the time that the first access unit is decoded d , . , B d data, also referred to as "start-up-delay" data, is determined from the following relationship Equation 14 When dd m i n =0, ideal decoder buffer 131 re-transmission processing is comprised of the following procedures: The ideal-buffer region is filled until all data associated with the start-up delay are in the buffer. Since lost events may also occur during this time interval, these data may be treated in a special way, such as by using reliable transmission (e.g. using TCP) for them. The ideal condition for lossless data is satisfied when: N B +N L + AN . B k = B" k = Nκ +N, +l Equation 15 where B k is the amount of data stored in ideal ITD buffer 132 temporal segment k at any instant of time. 2. After Equation 15 is satisfied, ITD buffer 132 advances the content of all temporal storage segments by one segment toward the buffer output. Subsequently, ideal ITD buffer 132 repeats this process every T units of time. After N L +N R periods of T (i.e. after TL+T R ), decoder 134 starts decoding the first access unit. The time-period that starts when decoding of the first access unit begins is labeled Tj. Hence, the beginning of any time period n (T n ) represents the time when access unit A n+ is moved to temporal segment k. Ideal ITD buffer 132 considers data missing in temporal segment N R of the re-transmission buffer region as lost. This condition occurs when: B , n ) < S π+Ng Equation 16 where B R In) is the amount of data in temporal segment N R at time period n and S } is the size of access unit j. When ideal ITD buffer 132 determines that data is missing, it sends a retransmission request to streaming video transmitter 110. 4. Ideal ITD buffer 132 places arriving re-transmitted data into their corresponding temporal segments of the re-transmission region. Assuming the re-transmitted data are received, ideal ITD buffer 132 transfers the re-transmitted data to the video decoder 134 prior to the decoding times of their corresponding access units. FIGURE 5 is a sequence diagram showing the flow of data packets through different regions of exemplary ITD buffer 132 with over-lap between the ideal buffer, N L , and re-transmission regions. For this case, ITD buffer 132 is configured for the maximum outer boundary where dd, > T L +T R , causing its ideal-buffer region to totally over-lap its retransmission region. Thus, decoder buffer 131 transfers the received video stream to video decoder 134 after all of the data associated with the start-up delay arrives. Then, video decoder 134 decodes the first access unit without further delays. Decoder buffer 131 performs the retransmission function as previously described. In a similar manner, decoder buffer 131 provides data transfer between streaming video transmitter 110 and video decoder 134 for the general case when dd m i n has a value between the minimum and maximum boundary areas (i.e., when 0<dd m i n <T L +T R ), with an additional delay of (T L +T R -ddmin). Although the present invention has been described in detail, those skilled in the art should understand that they can make various changes, substitutions and alterations herein without departing from the spirit and scope of the invention in its broadest form.

Claims: CLAIMS: 1. For use with a video decoder (134) capable of decoding streaming video, a decoder buffer (132) capable of receiving from a streaming video transmitter data packets (351) comprising said streaming video and storing said data packets (351) in a plurality of access units, each of said access units capable of holding at least one data packet associated with a selected frame in said streaming video, wherein said decoder buffer (132) comprises: a first buffer region comprising at least one access unit capable of storing data packets (351) that are less immediately needed by said video decoder (134); and a re-transmission region comprising at least one access unit capable of storing data packets (351) that are most immediately needed by said video decoder (134), wherein said decoder buffer (132), in response to a detection of a missing data packet in said retransmission region requests that said streaming video transmitter retransmit said missing packet. 2. The decoder buffer (132) set forth in Claim 1 wherein at least one of said data packets (351) are stored in said first buffer region for a period of time equal to a start-up delay time of said decoder buffer (132). 3. The decoder buffer (132) set forth in Claim 1 wherein said data packets (351) are first stored in said first buffer region and are shifted into said re-transmission region. 4. The decoder buffer (132) set forth in Claim 1 wherein said first buffer region is separate from said re-transmission region. 5. The decoder buffer (132) set forth in Claim 1 wherein said first buffer region overlaps at least a portion of said re-transmission region. 6. The decoder buffer (132) set forth in Claim 5 wherein said first buffer region overlaps all of said re-transmission region. 7. The decoder buffer (132) set forth in Claim 1 wherein said first buffer region is separated from said re-transmission region by a second buffer region in which a late data packet is late with respect to an expected time of arrival of said late data packet, but is not sufficiently late to require a re-transmission of said late data packet. 8. A receiver capable of receiving encoded streaming data comprising: a device (136) capable of at least one of: 1) displaying streaming video data associated with said encoded streaming data and 2) audibly playing streaming audio data associated with said encoded streaming data; a decoder (134) capable of decoding said encoded streaming data; and a decoder buffer (132) capable of receiving from a streaming data transmitter data packets (351) comprising said encoded streaming data and storing said data packets (351) in a plurality of access units, each of said access units capable of holding at least one data packet associated with a selected portion of said encoded streaming data, wherein said decoder buffer (132) comprises: a first buffer region comprising at least one access unit capable of storing data packets (351) that are less immediately needed by said decoder (134); and a re-transmission region comprising at least one access unit capable of storing data packets (351) that are most immediately needed by said decoder (134), wherein said decoder buffer (132), in response to a detection of a missing data packet in said retransmission region requests that said streaming video transmitter retransmit said missing packet. 9. The receiver set forth in Claim 8 wherein at least one of said data packets (351) are stored in said first buffer region for a period of time equal to a start-up delay time of said decoder buffer (132). 10. The receiver set forth in Claim 8 wherein said data packets (351) are first stored in said first buffer region and are shifted into said re-transmission region. 11. The receiver set forth in Claim 8 wherein said first buffer region is separate from said re-transmission region. 12. The receiver set forth in Claim 8 wherein said first buffer region overlaps at least a portion of said re-transmission region. 13. The receiver set forth in Claim 12 wherein said first buffer region overlaps all of said re-transmission region. 14. The receiver set forth in Claim 8 wherein said first buffer region is separated from said re-transmission region by a second buffer region in which a late data packet is late with respect to an expected time of arrival of said late data packet, but is not sufficiently late to require a re-transmission of said late data packet. 15. For use with a video decoder (134) capable of decoding streaming video, a method of buffering the streaming video comprising the steps of: receiving from a streaming video transmitter data packets (351) comprising the streaming video and storing the data packets (351) in a plurality of access units in a decoder buffer (132), each of the access units capable of holding at least one data packet associated with a selected frame in the streaming video; storing data packets (351) that are less immediately needed by the video decoder (134) in a first buffer region of the decoder buffer (132) comprising at least one access unit capable of storing data packets (351); and storing data packets (351) that are most immediately needed by the video decoder (134) in a re-transmission region of the decoder buffer (132) comprising at least one access unit, wherein the decoder buffer (132), in response to a detection of a missing data packet in the re-transmission region, requests that the streaming video transmitter retransmit the missing packet. 16. The decoder buffer (132) set forth in Claim 15 wherein at least one of the data packets (351) are stored in the first buffer region for a period of time equal to a start-up delay time of the decoder buffer (132). 17. The decoder buffer (132) set forth in Claim 15 wherein the data packets (351) are first stored in the first buffer region and are shifted into the re-transmission region. 18. The decoder buffer (132) set forth in Claim 15 wherein the first buffer region is separate from the re-transmission region. 19. ■ The decoder buffer (132) set forth in Claim 15 wherein the first buffer region overlaps at least a portion of the re-transmission region. 20. The decoder buffer (132) set forth in Claim 19 wherein the first buffer region overlaps all of the re-transmission region. 21. The decoder buffer (132) set forth in Claim 15 wherein the first buffer region is separated from the re-transmission region by a second buffer region in which a late data packet is late with respect to an expected time of arrival of the late data packet, but is not sufficiently late to require a re-transmission of the late data packet.

Inventors: PARTHASARATHY KAVITHA, RADHA HAYDER, PARTHASARATHY, KAVITHA, RADHA, HAYDER
Applicants: KONINKL PHILIPS ELECTRONICS NV, KONINKLIJKE PHILIPS ELECTRONICS N.V.
Application year: 1999
Main classification: H04N7
IPC codes: H04J3, H04L1, H04L12, H04L13, H04N7