Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
ERROR RESILIENT MANAGEMENT OF PICTURE ORDER COUNT IN PREDICTIVE CODING SYSTEMS
Document Type and Number:
WIPO Patent Application WO/2014/051860
Kind Code:
A1
Abstract:
Coding techniques for input video may include assigning picture identifiers to input frames in either long-form or short-form formats. If a network error has occurred that results in loss of previously-coded video data, a new input frame may be assigned a picture identifier that is coded in a long-form coding format. If no network error has occurred, the input frame may be assigned a picture identifier that is coded in a short-form coding format. Long-form coding may mitigate against loss of synchronization between an encoder and a decoder by picture identifiers.

Inventors:
ZHANG DAZHONG (US)
ZHOU XIAOSONG (US)
WU HSI-JUNG (US)
Application Number:
PCT/US2013/054152
Publication Date:
April 03, 2014
Filing Date:
August 08, 2013
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
APPLE INC (US)
International Classes:
H04N7/36; H04N7/26
Domestic Patent References:
WO1999056472A11999-11-04
Other References:
KIM H-S ET AL: "Channel adaptive error resilience scheme for video transmission over mobile WiMAX", IEICE TRANSACTIONS ON COMMUNICATIONS, COMMUNICATIONS SOCIETY, TOKYO, JP, vol. E91B, no. 10, 1 October 2008 (2008-10-01), pages 3052 - 3059, XP001517489, ISSN: 0916-8516, DOI: 10.1093/IETCOM/E91-B.10.3052
BROSS B ET AL: "High Efficiency Video Coding (HEVC) text specification draft 6", 8. JCT-VC MEETING; 99. MPEG MEETING; 1-2-2012 - 10-2-2012; SAN JOSE; (JOINT COLLABORATIVE TEAM ON VIDEO CODING OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ); URL: HTTP://WFTP3.ITU.INT/AV-ARCH/JCTVC-SITE/,, no. JCTVC-H1003, 10 February 2012 (2012-02-10), XP030111769
FUKUNAGA S ET AL: "ERROR RESILIENT VIDEO CODING BY DYNAMIC REPLACING OF REFERENCE PICTURES", IEEE GLOBECOM, XX, XX, vol. 3, 18 November 1996 (1996-11-18), pages 1503 - 1508, XP002057182
AISSA S ET AL: "Coding with dynamic rate control for low-delay image transmission over CDMA fading channels", VEHICULAR TECHNOLOGY CONFERENCE, 1998. VTC 98. 48TH IEEE OTTAWA, ONT., CANADA 18-21 MAY 1998, NEW YORK, NY, USA,IEEE, US, vol. 2, 18 May 1998 (1998-05-18), pages 1488 - 1492, XP010287988, ISBN: 978-0-7803-4320-7, DOI: 10.1109/VETEC.1998.686532
DUONG DT ET AL: "Efficient Frame Error Concealment Using Bilateral Motion Estimation for Low Bit-Rate Video Transmission", IEICE TRANSACTIONS ON COMMUNICATIONS, COMMUNICATIONS SOCIETY, TOKYO, JP, vol. E92B, no. 2, 1 February 2009 (2009-02-01), pages 461 - 472, XP001523761, ISSN: 0916-8516, DOI: 10.1587/TRANSCOM.E92.B.461
CÔTE G ET AL: "Using GFID in error prone Environments", ITU STUDY GROUP 16 - VIDEO CODING EXPERTS GROUP, XX, XX, 16 February 1999 (1999-02-16), pages 1, XP002248029
Attorney, Agent or Firm:
HAILS, Robert, L. (1500 K Street N, Washington DC, US)
Download PDF:
Claims:
WE CLAIM:

1. A video coding method, comprising:

coding an input frame according to predictive coding,

if a network error has occurred, coding a picture identifier in a long-form coding format, if no network error has occurred, coding the picture identifier in a short-form coding format,

transmitting coded video data and the coded picture identifier to a channel.

2. The method of claim 1 , wherein the long-form format includes a first field representing least significant bits of the picture identifier and a second field representing most significant bits of the picture identifier.

3. The method of claim 1, wherein the short-form format includes a first field representing least significant bits of the picture identifier.

4. The method of claim 1, further comprising transmitting a flag indicating whether a long- form format is used.

5. The method of claim 1, further comprising, when the network error has occurred, invalidating non-acknowledged reference frames in a local picture cache.

6. The method of claim 1, wherein, when the network error has occurred, the coding includes performing a motion estimation search on acknowledged reference frames in a local picture cache.

7. The method of claim 1, wherein, when no network error has occurred, the coding includes performing a motion estimation search on acknowledged reference frames and non- acknowledged reference frames in a local picture cache.

8. The method of claim 1, wherein the long-form format is provided in a header field of a first coded slice of the input frame.

9. The method of claim 1, wherein the long-form format is coded using a syntax as follows: a pic order cnt lsb field, representing least significant bits of the picture identifier, a pic_order_cnt_msb_present_flag field, representing whether a pic order cnt msb field is present, and

a pic order cnt msb field, representing most significant bits of the picture identifier.

10. A method of decoding picture identifiers in a coded video session, comprising:

decoding the picture identifiers as a data stream according to:

pic_order_cnt_lsb

lf( pic_order_cnt_msb_signaling_enabled_flag) {

pic_order_cnt_msb_present_flag

lf( pic_order_cnt_msb_present_flag )

pic_order_cnt_msb

wherein pic order cnt lsb, pic_order_cnt_msb_present_flag and pic order cnt msb represent fields in the data stream, in which

the pic order cnt lsb field represents least significant bits of the picture identifier,

the pic_order_cnt_msb_present_flag field represents whether a pic order cnt msb field is present, and

a pic order cnt msb field, representing most significant bits of the picture identifier; and

wherein pic order cnt msb signaling enabled flag represents a state variable developed in the session indicating whether the pic_order_cnt_msb_present_flag field has been enabled for the coded picture identifier.

11. A method of decoding picture identifiers in a coded video session, comprising:

decoding the picture identifiers as a data stream according to:

pic_order_cnt_lsb

if( num_explicit_pic_order_cnt_msb_cycle_bits> 0 ) {

explicit_pic_order_cnt_msb_cycle_present_flag

if( explicit_pic_order_cnt_msb_cycle_present_flag )

explicit_pic_order_cnt_msb_cycle

}

wherein pic order cnt lsb, explicit_pic_order_cnt_msb_cycle_present_flag and explicit_pic_order_cnt_msb_cycle represent fields in the data stream, in which the pic order cnt lsb field represents least significant bits of the picture identifier,

the explicit_pic_order_cnt_msb_cycle_present_flag field represents whether a pic order cnt msb field is present, and

a explicit_pic_order_cnt_msb_cycle field, representing most significant bits of the picture identifier; and

wherein num_explicit_pic_order_cnt_msb_cycle_bits represents a state variable transmitted earlier in the session indicating a number of bits to be used for the explicit jic order cnt msb cycle field.

12. A video coding method, comprising:

coding an input frame according to predictive coding,

if a network error has occurred, estimating a number of frames lost by the network error, if the number of lost frames exceeds a predetermined threshold, coding a picture identifier in a long-form coding format,

if the number of lost frames does not exceed the threshold, coding the picture identifier in a short-form coding format,

transmitting coded video data and the coded picture identifier to a channel.

13. The method of claim 12, wherein the long-form format includes a first field representing least significant bits of the picture identifier and a second field representing most significant bits of the picture identifier.

14. The method of claim 12, wherein the short-form format includes a first field representing least significant bits of the picture identifier.

15. The method of claim 12, further comprising transmitting a flag indicating whether a long- form format is used.

16. The method of claim 12, further comprising, when the network error has occurred, invalidating non-acknowledged reference frames in a local picture cache.

17. The method of claim 12, wherein, when the network error has occurred, the coding includes performing a motion estimation search on acknowledged reference frames in a local picture cache.

18. The method of claim 12, wherein, when no network error has occurred, the coding includes performing a motion estimation search on acknowledged reference frames and non- acknowledged reference frames in a local picture cache.

19. The method of claim 12, wherein the long-form format is provided in a header field of a first coded slice of the input frame.

20. The method of claim 12, wherein the long-form format is coded using a syntax as follows:

a pic order cnt lsb field, representing least significant bits of the picture identifier, a pic_order_cnt_msb_present_flag field, representing whether a pic order cnt msb field is present, and

a pic order cnt msb field, representing most significant bits of the picture identifier.

21. A video coder, comprising:

a coding engine to code video data by motion-compensated predictive coding, a reference picture cache to store reconstructed video of coded reference frames, a transmitter to transmit coded video data to a channel

a controller, responsive to network errors, to:

code a picture identifier in a long-form coding format when a network error has occurred,

code the picture identifier in a short-form coding format when no network error has occurred.

22. The video coder of claim 21, wherein the long-form format includes a first field representing least significant bits of the picture identifier and a second field representing most significant bits of the picture identifier.

23. The video coder of claim 21, wherein the short-form format includes a first field representing least significant bits of the picture identifier.

24. The video coder of claim 21, wherein the controller includes flag in the coded video data indicating whether a long-form format is used.

25. The video coder of claim 21, wherein, when the network error has occurred, wherein the controller invalidates non-acknowledged reference frames in the reference picture cache.

26. The video coder of claim 21, wherein, when the network error has occurred, the coding engine performs a motion estimation search on acknowledged reference frames in the reference picture cache.

27. The video coder of claim 21, wherein, when no network error has occurred, the coding engine performs a motion estimation search on acknowledged reference frames and non- acknowledged reference frames in the reference picture cache.

28. The video coder of claim 21, wherein, when a network error has occurred, the controller estimates a number of coded video frames lost due to the network error, and

if the number of lost frames exceeds a predetermined threshold, codes the picture identifier in the long-form coding format, and

if the number of lost frames does not exceed the threshold, codes the picture identifier in the short-form coding format.

29. The video coder of claim 21, wherein the long-form format is provided in a header field of a first coded slice of a coded input frame.

30. The video coder of claim 21, wherein the long-form format is coded using a syntax as follows:

a pic order cnt lsb field, representing least significant bits of the picture identifier, a pic_order_cnt_msb_present_flag field, representing whether a pic order cnt msb field is present, and

a pic order cnt msb field, representing most significant bits of the picture identifier.

31. Computer readable medium having instructions stored thereon that, when executed by processing device, causes the device to: estimate whether a communication error has occurred involving previously-coded video data,

code an input frame according to predictive coding,

if a communication error has occurred, code a picture identifier for the input frame in a long-form coding format, and

if no communication error has occurred, code the picture identifier for the input frame in a short-form coding format.

32. A decoding method, comprising:

decoding coded video data, the frames having picture identifiers provided within the coded video data, some picture identifiers provided in a long form representation and other picture identifiers provided in a short form representation,

when a long form picture identifier is received, locally estimating a long form picture identifier from a previously-received long form picture identifier and short term picture identifier(s) received subsequent to the previously-received long form picture identifier;

comparing the estimated long form picture identifier to the received long form picture identifier, and

when the comparison indicates a mismatch, identifying an error in the coded video data.

Description:
ERROR RESILIENT MANAGEMENT OF PICTURE

ORDER COUNT IN PREDICTIVE CODING SYSTEMS

BACKGROUND

[01] The present invention relates to video coding systems and, in particular, to management of synchronization between encoder and decoders in the video coding systems.

[02] In video coding systems, a video encoder may code a source video sequence into a coded representation that has a smaller bit rate than does the source video and, thereby may achieve data compression. The encoder may code processed video data according to any of a variety of different coding techniques to achieve compression. One common technique for data compression uses predictive coding techniques (e.g., temporal/motion predictive coding). For example, some frames in a video stream may be coded independently (I-frames) and some other frames (e.g., P-frames or B-frames) may be coded differentially using other frames as prediction references. P-frames may be coded with reference to a single previously coded frame (called, a "reference frame") and B-frames may be coded with reference to a pair of previously-coded reference frames. The resulting compressed sequence (bit stream) may be transmitted to a decoder via a channel. To recover the video data, the bit stream may be decompressed at the decoder by inverting the coding processes performed by the coder, yielding a recovered video sequence.

[03] Such coding schemes require that the encoder and decoder synchronize their operations to properly associate coded frames with the reference frames on which they rely. In most existing video coding standards, each coded frame is assigned an index to indicate its display order. In H.264 and the emerging HEVC standard, ITU-T document JCTVC-J1003_d7 (herein, "HEVC"), such an index is called the "picture order count" (POC) and it is signaled in the slice header of every slice. POC is also used for other purposes. For example, in HEVC, POC is proposed for use as a frame identifier in the reference picture buffer. [04] In order to reduce the overhead of signaling POC, coding protocols usually define that the least significant bits (LSB) of the POC are to be signaled in the bit stream. The decoder then uses the following logic to determine the most significant bits (MSB) of the POC. if( ( pic order cnt lsb < prevPicOrderCntLsb ) &&

( ( prevPicOrderCntLsb - pic order cnt lsb ) >= ( MaxPicOrderCntLsb/2 ) ) ) PicOrderCntMsb = prevPicOrderCntMsb + MaxPicOrderCntLsb

else if( (pic order cnt lsb > prevPicOrderCntLsb ) &&

( (pic order cnt lsb - prevPicOrderCntLsb ) > ( MaxPicOrderCntLsb/2 ) ) ) PicOrderCntMsb = prevPicOrderCntMsb - MaxPicOrderCntLsb

else

PicOrderCntMsb = prevPicOrderCntMsb

Table 1

Under this scheme, a decoder may detect whether the difference of the POC LSBs of a current coded frame and the previously-coded frame is more than half of the maximal POC LSB value, in order to determine the MSB.

[05] The above method works well when the decoder correctly receives all the frames from the encoder. In video communication over error-prone networks, however, video frames can be lost. If more than (MaxPicOrderCntLsb/2 ) number of consecutive frames are lost during transmission, the above logic will no longer work correctly and can result in a mismatch in POC values between the encoder and the decoder. Modern coding environments include error-prone networks, such as wireless networks, where intermittent network connectivity losses can arise, which lead to loss of significant portions of a coded video sequence. Accordingly, the inventors have identified a need for a coding protocol that provides for reliable synchronization of picture order counts between an encoder and a decoder even when communication errors cause losses of coded video data.

BRIEF DESCRIPTION OF THE DRAWINGS

[06] FIG. 1 is a simplified block diagram of an encoder/decoder system according to an embodiment of the present invention.

[07] FIG. 2 illustrates a method according to an embodiment of the present invention.

[08] FIG. 3 illustrates a method according to another embodiment of the present invention. [09] FIG. 4 illustrates a method according to a further embodiment of the present invention.

DETAILED DESCRIPTION

[10] Embodiments of the present invention provide coding techniques for input video in which an input frame is coded according to predictive coding and it is estimated whether communication errors have arisen for previously-coded video. If a network error has occurred, the input frame may be assigned a picture identifier that is coded in a long-form coding format. If no network error has occurred, the input frame may be assigned a picture identifier that is coded in a short-form coding format. Long-form coding may mitigate against loss of synchronization between an encoder and a decoder by picture identifiers.

[11] FIG. 1 is a simplified block diagram of video coding system 100 according to an embodiment of the present invention. The system 100 may include an encoder 110 and a decoder 120 interconnected via a network 130. The encoder 110 may generate video data representing locally-captured image information and may code it for delivery over the network 130. The network 130 may deliver the coded video to a decoder 120. The decoder 120 may reconstruct a replica of the source video from the coded video and may render it for local viewing.

[12] In FIG. 1, the encoder 110 and decoder 120 may be provided within a variety of computing platforms, including servers, personal computers, laptop computers, tablet computers, smart phones, media players and/or dedicated video conferencing equipment. The network 130 represents any number of networks that convey coded video data among the encoder 110 and decoder 120, including, for example, wireline and/or wireless communication networks. A communication network may exchange data in circuit-switched and/or packet-switched channels. Representative networks include telecommunications networks, local area networks, wide area networks and/or the Internet. For the purposes of the present discussion, the architecture and topology of the network 130 is immaterial to the operation of the present invention unless explained hereinbelow.

[13] The encoder 110 may include a video source 111, a coding engine 112, a reference picture cache 113, a file transfer unit 114, a network layer processor 115 and a controller 116. The video source 111 may generate the video sequence for coding. Typical video sources include cameras that generate video from locally-captured image information and storage devices or screen buffers (not shown) in which video may be stored, e.g., for media serving applications. The coding engine 112 may code frames of video data according to motion- compensated or intra-predictive coding. The reference picture cache 113 may store decoded video data obtained from coded frames marked as reference frames by the coding engine 112 for use in predictive coding of other frames. The coding engine 112 may include a local decoder to generate the decoded video data (not shown in FIG. 1). The file transfer unit 114 may store coded video data as it is output by the coding engine 112 and awaiting transmission via the network 130. The network layer processor 115 may manage communication of video data to a decoder 120 over a network channel.

[14] The decoder 120 may include a rendering unit 121, a decoding engine 122, a reference picture cache 123, a file transfer unit 124, a network layer processor 125 and a controller 126. These components may invert operations of the encoder 110. The network layer processor 125 may manage reception of data received from the encoder 110 via the network 130. The file transfer unit 124 may buffer the received data, may parse the data into component data streams and may forward coded video data to the decoding engine 122. The decoding engine 122 may invert coding processes applied by the coding engine 112 and generate decoded video therefrom. The decoding engine 122 may output the recovered video data to the rendering unit 121 for consumption. The rendering unit may be a display, a storage device or scaler (not shown) to which recovered video data may be output. The decoding engine 122 may output the recovered video data of reference frames to the reference picture cache 123, which may store the decoded reference frames for use in later decoding operations.

[15] FIG. 1 also schematically illustrates entries of the reference picture caches 113, 123. The caches 113, 123 each may have sufficient capacity to store a predetermined number of reference frames. The encoder 110 and decoder 120 operate according to common cache management policies that are designed to ensure their caches 113, 123 operate in synchronization in the absence of channel errors. When transmission errors occur that cause coded reference frames to be lost, the decoder's reference picture cache 123 typically will lose synchronization with the encoder's reference picture cache 113. The reference picture caches 113, 123 may store POC identifiers in association with each reference frame.

[16] The system 100 may support two different types of reference frames. "Acknowledged frames" are frames that are acknowledged by a decoder 120 via signaling and, once acknowledged, are confirmed by the encoder 110 to have been stored properly in the reference picture cache 123 of the decoder 120. "Non-acknowledged frames" are frames that are not acknowledged by the decoder 120 and, therefore, are not confirmed by the encoder 110 to have been stored properly in the reference picture cache 123 of the decoder 120.

[17] During operation, frames of input video data may be coded by the coding engine 112 and output to the file transfer unit 114. The file transfer unit 114 may include a buffer (not shown) to store coded video data until it is to be transmitted and may include sub-systems to merge the coded video data with other data streams, such as audio data and/or metadata (also not shown), into a channel bit stream for transmission. The network layer processor 115 may retrieve channel bit stream data, format it for delivery over the network 130 and transmit the formatted data to the network 130.

[18] The network layer processor 115 also may receive indicators from the network 130 and/or the decoder 120 (via the network 130) regarding transmission errors that may occur to the channel bit stream. The network layer processor 115 may provide error indications to the coding engine 112 and/or the file transfer unit 114. In response, the coding engine 112 may engage error recovery processes as described herein. The file transfer unit 114 also may respond to error notifications by purging its queues of coded data that await transmission, as described herein.

[19] The network layer processor 125 of the decoder 120 may manage communication with the network 130. In the absence of transmission errors, the network layer processor 125 may receive the channel bit stream and forward the bit stream to a local file transfer unit 124. When transmission errors occur, the network layer processor 125 may report error indicators to the encoder 110 via the network 130. The file transfer unit 124 may store the received data in a queue (not shown), parse the data into component data streams such as coded video streams, coded audio streams, etc. The file transfer unit 124 may forward the coded video data to the decoding engine 122. When the decoding engine 122 decodes reference frames that are marked as requiring acknowledgments to the encoder 110, the decoder 120 may create acknowledgment messages which are transmitted to the encoder 110 via the file transfer unit 124 and network layer processor 125 (path not shown in FIG 1).

[20] FIG. 2 illustrates a method according to an embodiment of the present invention. The method 200 may be performed when a new frame is available for coding. The method 200 may determine if a network error has occurred (box 210). If so, the method 200 may cause the new frame to be coded predictively using acknowledged reference frame(s) as a basis for prediction (box 220). The method 200 may code the POC using a long-form representation (box 230) that uniquely identifies the input frame notwithstanding the network error. Thereafter, the method 200 may transmit the coded frame via the channel (box 240).

[21] When a network error is not present, the method 200 may cause the new frame to be coded predictively using any available reference frame(s) as bases for prediction (box 250). The method 200 may code the POC using a short-form representation (box 260) that conserves bits in the channel data. Thereafter, the method 200 may transmit the coded frame via the channel (box 240).

[22] In implementation, for boxes 220 and 250, the identification of which reference frame(s) to serve as prediction reference(s) for an input frame may be influenced both by the content of the input frame and the coding protocol at work. Typically, an encoder performs a motion prediction search that compares content of the input frame to content of reconstructed reference frames that are stored locally in the encoder's reference picture cache. When matching content is found in the reference picture cache, the encoder may include predictor data that includes an identification of the reference picture that was selected and a motion vector that identifies a location within the reference picture where prediction data is to be found. The encoder may code residual data as necessary, which represents a difference between content of the input frame and content of the reference frame. The motion estimation search, prediction and coding may occur iteratively over several pixel blocks within the input frame and, therefore, different pixel blocks may have different reference frame(s) and motion vectors from each other and, therefore, a single coded frame may rely upon several other reference frames as source of prediction. A coding protocol, however, may limit operation of these processes, for example, by limiting the number of reference frames that a single input frame may rely upon as a prediction reference.

[23] The principles of the present invention may work cooperatively with these motion search and coding operations. In box 250, the motion estimation search and prediction operations may refer to any reconstructed reference frame that is available to the encoder subject to, of course, any limitation imposed by a coding protocol or other constraint. In box 220, however, the motion estimation search and prediction operations may be constrained to refer only to reconstructed reference frames that are identified to the encoder as having been decoded properly by the decoder. In this manner, the newly coded frame (assuming it is received and decoded properly) should stop propagation of any coding errors that may arise due to the network error— the encoder may code the new frame with reference to reference frame(s) that are "known" to be received and decoded properly at the decoder. Moreover, the encoder may mark the new frame with a POC in long form, which should overcome any loss of synchronization that otherwise might have occurred due to the network error.

[24] In an embodiment, when a network error occurs, the method 200 also may invalidate any non-acknowledged reference frame(s) at the encoder's reference picture cache (box 270). Invalidating the non-acknowledged reference frames may ensure that, on successive iterations of the method 200 when network errors no longer exist, input frames are not inadvertently coded using reference frames that may have been lost due to the network error.

[25] FIG. 3 illustrates a method 300 according to another embodiment of the present invention. The method 300 may be performed when a new frame is available for coding. The method 300 may determine if a network error has occurred (box 310). If so, the method 300 may estimate a number of frames that may have been lost due to the network error (box 320). The method 300 may cause the new frame to be coded predictively using acknowledged reference frame(s) as a basis for prediction (box 330). Alternatively, the method 300 may code the new frame as an intra refresh frame. The method 300 may determine whether the number of lost frames exceeds a predetermined threshold (box 340). If so, the method 300 may code the POC using a long-form representation (box 350) that uniquely identifies the input frame notwithstanding the network error. Thereafter, the method 300 may transmit the coded frame via the channel (box 360).

[26] If at box 340 the number of lost frames does not exceed the threshold, the method may code the POC using a short-form representation that conserves bits in the channel data (box 370). Thereafter, the method 300 may advance to box 360 and transmit the coded frame via the channel.

[27] If at box 310 no network error occurred, the method 300 may cause the new frame to be coded predictively using any available reference frame(s) as bases for prediction (box 380). The method 300 may advance to box 370 and code the POC using the short-form representation. Thereafter, the method 300 may advance to box 360 and transmit the coded frame via the channel.

[28] As in the prior embodiment, the method 300 of FIG. 3 may work cooperatively with common motion search and coding operations. In box 380, the motion estimation search and prediction operations may refer to any reconstructed reference frame that is available to the encoder subject to, of course, any limitation imposed by a coding protocol or other constraint. In box 330, however, the motion estimation search and prediction operations may be constrained to refer only to reconstructed reference frames that are identified to the encoder as having been decoded properly by the decoder. Again, the newly coded frame (assuming it is received and decoded properly) should stop propagation of any coding errors that may arise due to the network error. Moreover, the encoder may mark the new frame with a POC in long form, which should overcome any loss of synchronization that otherwise might have occurred due to the network error.

[29] The threshold for lost frames in box 340 may be set based on the coding protocols at work in the video coding system. For example, in an HEVC-based coder, when a simple coding structure is used (ex.: IPPPPP), the threshold may be set to MaxPicOrderCntLsb/2. If the encoder determines that the network error affected a number of frames fewer than MaxPicOrderCntLsb/2, the encoder may code the POC in the short form (box 370) but, if the method 300 determines that the network error affected a number of frames greater than or equal to MaxPicOrderCntLsb/2, the method 300 may code the POC in the long form (box 350). Different threshold values may be set for different coding protocols.

[30] Optionally, the motion estimation searches and prediction operations of box 330 may be expanded to include non-acknowledged references frame(s) that fall outside a range of lost frames estimated in box 320. Such an embodiment may find application in encoding environments where a network error's correspondence to the coded video stream can be identified well enough to permit the encoder to identify reference pictures that likely are lost due to transmission errors. In such an embodiment, non-acknowledged reference frames need not be disqualified from serving as prediction references if the encoder estimates that they were not subject to the network error.

[31] In an embodiment, when a network error occurs, the method 300 also may invalidate any non-acknowledged reference frame(s) at the encoder's reference picture cache (box 390). Invalidating the non-acknowledged reference frames may ensure that, on successive iterations of the method 300 when network errors no longer exist, input frames are not inadvertently coded using reference frames that may have been lost due to the network error. In embodiments where an encoder can identify reference pictures that likely are lost due to transmission errors, the operations of box 390 need not invalidate non-acknowledged reference frames that were not subject to the network error.

[32] Table 2 illustrates a coding syntax for a long-form POC coding representation according to an embodiment of the present invention. The long-form POC representation may be integrated into the syntax of a slice. In the example of Table 2, the long-form POC representation is shown as applied to the syntax of a slice as defined in HEVC:

if( !dependent_slice_flag ) {

slice_type ue(v)

if( output_flag_present_flag )

pic_output_flag u(1 )

if( separate_colour_plane_flag = = 1 )

colour_plane_id u(2)

if( !ldrPicFlag ) {

pic_order_cnt_lsb u(v)

if( explicit_pic_order_cnt_msb_cycle_enabled_flag ) {

explicit_pic_order_cnt_msb_cycle_present_flag u(1 )

if( explicit_pic_order_cnt_msb_cycle_present_flag )

explicit pic order cnt msb cycle ue(v)

}

Table 2

In this example, the field "pic_order_cnt_msb_present_flag" may be a single bit flag to indicate that a second field, the "pic order cnt msb," is present. The pic order cnt msb field may be multi-bit field that provides the most significant bits of the POC field. The pic_order_cnt_msb_present_flag and pic order cnt msb fields may be coded into a header for first slice of the input picture being coded.

[33] The foregoing embodiments provide for error resilient coding of POCs with minimal impact on channel resources. As indicated, the long-form POC coding may be used when network errors are identified such that the long form becomes appropriate. Further, use of a flag to indicate the presence of a long-form POC further conserves channel resources by including long-form markers only when necessary. In this manner, the embodiments of the present invention provide a channel-efficient resolution to the synchronization problem that would not be achieved with other candidate solutions such as those that would code the entire POC on every frame or others that might increase the number of bits for LSB coding of the POC. Although these brute force solutions might resolve the synchronization problem, both would introduce large overhead into the coding syntax.

[34] Another approach to re-establish POC synchronization might involve having an encoder code a new frame as an Instantaneous Decoder Refresh (IDR) frame. Many modern coding protocols define that IDR frames, when decoded, cause decoders to clear state variables that may have been established prior to decoding the IDR frame. In the case of the POC, such IDR frames cause the POC to be reset (POC=0). IDR frames are coded non-predictively; they incur high bit rates relative to other coding modes and, therefore, are expensive to code. Thus, using IDR frames to re-establish POC synchronization is an expensive solution. The techniques proposed herein permit POC synchronization while, at the same time, permitting new input frames to be coded predictively as P- or B-frames. Accordingly, the present embodiments can contribute to bandwidth conservation in a video coding session.

In the example of Table 2, the pic order cnt msb signaling enabled flag may be set as an optional field within the first slice of data. In this manner, the syntax may eliminate all overhead when no frame loss is expected. This flag can be signaled in other elements of the bit stream, for example, a sequence parameter set (SPS) as illustrated in Table 3 below.

explicit_pic_order_cnt_msb_cycle_enabled_flag u(1 )

Table 3

In an embodiment, a long form POC need not represent the POC in its entirety. For example, an encoder may set dynamically the number of bits to be included in the long form POC and identify the number of bits to a decoder via signaling in a channel. For example, if POC in its entirety is 32 bits and LSB is 4 bits, an encoder may include a long form POC having 8 bits (the 4 LSB bits of the short form POC and another 4 bits taken from the MSB portion of the POC) . The encoder may set the number of bits dynamically in response to channel estimates, for example, packet loss rates, bit error rates and/or decoder messages that indicate loss of data. Morever, the encoder may revise the number of bits to be assigned to the long form POC in response to changing conditions in the channel.

[37] Table 4 illustrates an exemplary syntax to communicate the size of a long form POC to a decoder.

pcm_sample_bit_depth_luma_minus1 u(4)

pcm_sample_bit_depth_chroma_minus1 u(4)

}

log2 max pic order cnt Isb minus4 ue(v)

num_explicit_pic_order_cnt_msb_cycle_bits ue(v)

Table 4

In this example, the long form POC may be communicated to a decoder in two fields, an MSB field and an LSB field. The field num_explicit_pic_order_cnt_msb_cycle_bits may indicate the size fo the MSB field. Other elements are listed as described in HEVC.

Table 5 illustrates an exemplary syntax to communicate POCs in another embodiment of the present invention.

Table 5

In this example, the pic order cnt lsb may identify the LSB of the POC, the explicit_pic_order_cnt_msb_cycle_present_flag field may indicate whether an MSB field is present and the explicit_pic_order_cnt_msb_cycle field may identify the MSB of the POC. Other elements are listed as described in HEVC.

[38] FIG. 4 illustrates a method 400 according to another embodiment of the present invention. The method 400 may begin upon initiation of a video coding session in which a repeat parameter is set for long-form coding (box 410). Thereafter, the method 400 may begin a recursive process to code input video data. Specifically, the method 400 may code a new input frame according to motion-compensated prediction techniques (box 420) such as those specified in H.264 and/or HEVC. Once the input frame is coded, the method 400 may determine whether the frame's POC is to be coded in long form or short form (box 430). The method may make its determination with reference to a current repeat rate by determining how many frames have elapsed since long-form coding of the POC was used. If the method 400 determines that long- form coding is due, then the method 400 may code the POC using long form (box 440); otherwise, the method 400 may use short-form coding for the POC (box 450). Thereafter, the method 400 may transmit the coded video via a channel (box 460).

[39] The method 400 also may evaluate network conditions to determine whether the long- form repeat rate should be revised (box 470). For example, the method 400 may evaluate indicators of channel errors, such as bit error rates, packet loss notifications and/or round trip delay, from the channel to estimate probabilities of frame loss. The method 400 may determine whether a current refresh rate is too low, too high or at appropriate settings. When the method 400 determines that the repeat rate is too low, it may increase the repeat rate (box 480). Alternatively, when the method 400 determines that the repeat rate is too high, it may decrease the repeat rate (box 490). If the repeat rate is appropriate, then the method 400 need not revise it. The method 400 may conclude operation for a current frame and return to box 420 for another input frame.

[40] Although FIG. 4 illustrates the method 400 as evaluating whether the repeat rate should be revised on a frame-by-frame basis, other embodiments permit these evaluations to occur at a different rate. In other embodiments, the operation of boxes 470-490 may occur on an every Nth frame basis (where N is a programmable value), may occur at a periodic rate (e.g., once per N msec) or may be revised in response to network error notifications. [41] During operation, decoders may decode the long form and short form POCs from channel data and assign POCs to decoded frames. The POCs may be stored in the decoder reference picture cache for use in interpreting prediction references from channel data. The decoder may estimate full POC identifiers from the long form and short form POCs that are received and also by monitoring counts of pictures that are received from the channel and decoded.

[42] In another embodiment, long form coding of POCs may provide another basis by which a decoder may estimate data loss. A decoder may perform its own calculation of the most significant bits of frame POCs, for example, using the operations listed in Table 1. When decoder receives a long form POC from an encoder, the decoder may compare the most significant bits of the POC as recited with its estimate of the most significant bits for that frame. When a mismatch occurs, the decoder may determine that coded frames have been lost. Further, the decoder can estimate how many frames have been lost based on a difference between the POCs.

[43] In another embodiment, the decoder and encoder may engage in signaling to identify lost frames. When a decoder detects a mismatch between its estimate of the long form POC and the long form POC as received from the channel, the decoder may identify lost frames to the encoder, for example, by providing a timestamp of the last frame that preceded the communication error. In response, an encoder may disqualify reference frames having a timestamp later than the timestamp as reported by the decoder from being used in further prediction operations.

[44] The principles of the present invention find application in other domains as well, for example, prediction references. In another embodiment, an encoder and a decoder may exchange in a signaling protocol that decouples POCs as used for coding from POCs as used to signal prediction references. For example, the encoder may assign POCs to coded frames using a single form of representation, which may be large enough to sustain a predetermined span of consecutive data losses (ex.: minutes or hours). Thus, the POCs may be larger than LSB POCs that are used in conventional coding protocols. For coding of reference frame identifiers, however, an encoder may use a shorter form POC identifier. For example, long term reference picture indexes may be signaled using a short term picture identifier. [45] Such an embodiment may introduce overhead since for every slice, more bits need to be used to code the POC than in conventional encoders. However, this embodiment may conserve, the expense of coding prediction references by using fewer bits to signal the long term reference frames in the reference picture buffer.

[46] Thus, reference frames in the reference picture buffer may signaled explicitly using a

POC in the slice header. By signaling the long term reference frames using a short form identifier, the expense of coding full size POCs (Table 6 below) may be avoided. In this manner, a coding protocol can increase the size of POC for coded pictures, but not for signaling long term reference pictures. for( i = 0; i < num long term sps + num_long_term_pics; i++ ) {

if( i < num long term sps )

lt_idx_sps[ i ]

else {

poc_lsb_lt[ i ]

used_by_curr_pic_lt_flag[ i ]

}

Table 6

[47] The embodiment of paragraphs [44]-[46] introduces an overhead by signaling a relatively large POC for each coded picture and, therefore, the techniques proposed in [l l]-[43] are expected to provide greater efficiency. Nevertheless, the embodiment of paragraphs [44]-[46] may be used as desired to signal POCs of different sizes to provide resiliency against errors and to maintain a degree of coding efficiency.

[48] The foregoing discussion has described operation of the embodiments of the present invention in the context of coding servers, distribution servers and client devices. Commonly, these components are provided as electronic devices. They can be embodied in integrated circuits, such as application specific integrated circuits, field programmable gate arrays and/or digital signal processors. Alternatively, they can be embodied in computer programs that execute on personal computers, notebook computers or computer servers. Similarly, decoders can be embodied in integrated circuits, such as application specific integrated circuits, field programmable gate arrays and/or digital signal processors, or they can be embodied in computer programs that execute on personal computers, notebook computers or computer servers. Decoders commonly are packaged in consumer electronics devices, such as gaming systems, DVD players, portable media players and the like; and they also can be packaged in consumer software applications such as video games, browser-based media players and the like. And, of course, these components may be provided as hybrid systems that distribute functionality across dedicated hardware components and programmed general purpose processors as desired.

Several embodiments of the invention are specifically illustrated and/or described herein. However, it will be appreciated that modifications and variations of the invention are covered by the above teachings and within the purview of the appended claims without departing from the spirit and intended scope of the invention.