CA2419549C - Low latency data encoder - Google Patents

Low latency data encoder Download PDF

Info

Publication number
CA2419549C
CA2419549C CA2419549A CA2419549A CA2419549C CA 2419549 C CA2419549 C CA 2419549C CA 2419549 A CA2419549 A CA 2419549A CA 2419549 A CA2419549 A CA 2419549A CA 2419549 C CA2419549 C CA 2419549C
Authority
CA
Canada
Prior art keywords
information
codeword
concealing
pseudo
error detecting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CA2419549A
Other languages
French (fr)
Other versions
CA2419549A1 (en
Inventor
Michael J. Smithers
Michael M. Truman
Stephen D. Vernon
Kenneth J. Gundry
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dolby Laboratories Licensing Corp
Original Assignee
Dolby Laboratories Licensing Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dolby Laboratories Licensing Corp filed Critical Dolby Laboratories Licensing Corp
Publication of CA2419549A1 publication Critical patent/CA2419549A1/en
Application granted granted Critical
Publication of CA2419549C publication Critical patent/CA2419549C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/005Correction of errors induced by the transmission channel, if related to the coding algorithm
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/09Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1803Error detection or correction; Testing, e.g. of drop-outs by redundancy in data representation

Abstract

Codeword-position-caused encoder latency is reduced by avoiding the requirement for knowledge of the message prior to generating an error detecting or concealing codeword associated with the message. A pseudo error detecting or concealing codeword is inserted in place of the normal error detecting or concealing codeword appropriate for the segment of information to which the error detecting or concealing codeword relates. In order to satisfy the requirement of conventional decoders, the pseudo error detecting or concealing information must match or be appropriate for the segment so that the decoder sees the codeword and message segment as valid or error free. This is accomplished by modifying or perturbing at least a portion of the segment to which the pseudo codeword relates. The invention is particularly useful for maintaining the backward compatibility of audio data encoding formats in which the minimum latency is too long (e.g. computer games, where the player performs some operation leading to a sound, and that sound must not be perceptibly delayed with respect to the operation).

Description

DESCRIPTION
Low Latency Data Encoder TECHNICAL FIELD
The invention relates to audio signal processing. In particular, the invention relates to the reduction of latency (i.e., time delay) in the digital encoding of audio information.
BACKGROUND ART
Various methods of data transmission and storage require mechanisms to detect (or detect and conceal) errors. In order to do so, data is often partitioned into portions, packets, or segments such that for a given segment, appropriate error detection or concealment information is generated. This information, typically a codeword or parity word, may be associated with the segment in a known position by an encoding or transmission process. A
decoding or receiving system uses the codeword and its associated segment at least to detect the presence of errors, and, possibly to conceal errors. In the prior art, generation of the codeword requires prior knowledge of the entire segment. Consequently, the latency, that is, the time delay, between the receipt of information included in the segment and the segment's transmission by an encoder or transmitter is a function of the position of the codeword in the transmitted segment. As explained below, latency resulting from codeword positioning in a data format is least when the codeword follows the other data; it is greatest when the codeword precedes the other data.
FIGS. 1-3 illustrate latency with respect to three examples of codeword positions.
For simplicity of explanation of the effect of codeword position on latency in these and other figures throughout this document, the data applied to an encoder or transmitter along with any auxiliary data (including null or "stuffing" bits, if any) applied to or generated within the encoder or transmitter is shown already formatted into a block, frame or packet (in FIGS. 1-5, it is referred to as a "message segment"). It will be understood that such a block, frame, packet or message segment is, in practice, built incrementally as incoming information is received and that doing so involves other latency considerations that form no part of the present invention.
In FIG. 1 A, a received message segment 2 is shown. FIG. 1 A shows the transmitted data format in which the message segment 2 is followed by a codeword 6.
Ignoring all latency considerations other than those arising from the codeword location, the minimum latency between the onset of reception of the information that becomes message segment 2 and the earliest time at which transmissian may begin is at least the sum of (1) the time required to calculate the codeword, (2) the time required to insert the codeword into its location in the data format (which usually is very short), and (3) the time to transmit the codeword (times 1 and 2 are represented by an arrow 3 in FIG. 1). It is possible to begin transmission well prior to generating the codeword. This codeword position is optimum from a codeword-position-caused latency standpoint because the onset of transmission does not require knowledge of the entire message. As explained further below, the present invention cannot improve latency when a codeword follows a message segment, such as in this example. Indeed, it will be seen that the invention strives to achieve the effect of such an optimum codeword position in systems in which the codeword position is not optimum (but which must remain in such a position because of compatibility or other requirements).
In order to provide a sense of the relative latencies in FIG. 1 (and in the following FIGS. 2-5) between the received information and the transmitted information, latency is indicated as the time lapse between the schematic rendition of the formatted received information (FIG. 1A and FIGS. 2A, 3A, 4A, 5A, 6A, and 7B) and the schematic rendition of the transmitted information (FIG. 1B, and FIGS. 2B, 3B, 4B, SB, 6B, and 7C, respectively).
FIGS. 2 and 3 show codeword positions for which the codeword-position-caused latency can be reduced by the present invention.
In FIG. 2A, a format is shown in which a received message segment is divided into two received message segments 8 and 10. FIG.2 is idealized, schematic and not to scale (likewise, other figures herein are idealized, schematic and not to scale).
For transmission, as shown in FIG. 2B, at least one error detection or concealment codeword 14 appropriate to the message segments 8 and 10 is generated and inserted in a codeword location in between message segments 8 and 10. Thus, relative to its optimum position after the message segment as shown in FIG. 1, the codeword position is toward the beginning of the message segment in the FIG. 2 format. The codeword position 12 is intended to show any codeword position between the beginning and end of a message segment. Again, ignoring all latency considerations other than those arising from the codeword location, the minimum latency between the onset of reception of the information that becomes message segment 8 and the earliest time at which transmission may begin is the sum of (1) the time to receive the information that becomes the second part 10 of the message segment (FIGS. 2A
and 2B
assume that this is the same as the time period of segment 10 in the assembled data format and in the transmission), (2) the time required to calculate the codeword, (3) the time required to insert the codeword into its location in the data and format (the arrow 12 in FIG.
2 represents times 2 and 3), and (4) the time to transmit the codeword. It is possible to transmit the message portion that appears before the codeword before the codeword is generated, but the codeword or codewords in location 12 cannot be transmitted until the entire message segment is known, thus causing an additional latency at least as great as the time to receive the information that is transmitted as the second message segment 10. Thus, although it is possible to begin transmission prior to generating the codeword, transmission cannot begin as early as in the optimum end-of message codeword position of FIG. 1.
In FIG. 3A, a received message segment 16 is shown. For transmission, as shown in FIG. 3B, an error detection or concealment codeword 20 appropriate to the message segment 16 is generated and inserted in a codeword location preceding the message segment. Once again, ignoring all latency considerations other than those arising from the codeword location, the minimum latency between the onset of reception of the information that becomes message segment 16 and the earliest time at which transmission may begin is the sum of (1) the time to receive all the information that is transmitted as the message segment 16 (FIGS. 3A and 3B assume that this is the same as the time period of segment 16 in the assembled data format and in the transmission), (2) the time required to calculate the codeword, (3) the time required to insert the codeword into its location (an arrow 23 in FIG.
3 represents times 2 and 3), and (4) the time required to transmit the codeword. FIG. 3 illustrates the worst case codeword position from the standpoint of encoder latency.
Thus, in all ofthe three codeword locations illustrated in FIGS. 1-3, the latency is at least the sum of ~ the time to calculate the codeword, ~ the time to insert the codeword into its location, ~ the time to transmit the codeword, and ~ the time to receive the information that is transmitted as the message segment (if any) or portion of the message segment (if any) that follows the codeword position in the transmission.
The requirement in the prior art that the codeword cannot be generated and transmitted until the entire message is known does not cause a latency problem if the codeword follows the entire message segment. The further the codeword position is from the end of the transmission, the greater the encoder latency. Thus, from an encoder latency reduction standpoint, it is desirable to locate the codeword at the entire end of the message segment or as close thereto as possible. When designing a new system, it may be possible to optimize the codeword location for low encoder latency. However, in the case of existing systems that must remain compatible with existing decoders and receivers, it is not practical to change the codeword location. Such new or existing systems may have a disadvantageous codeword location from the standpoint of encoder latency (i.e., a location other than following the message segment). The codeword location may have been chosen to satisfy other considerations and/or encoder latency may not have been a concern when the system was designed. For some applications, it would be desirable to improve the codeword-position-caused latency ofsuch systems while preserving the backward compatibility of such systems. It should be noted that, in principle, encoder latency has no affect on latency in the decoder -- improving decoder latency is not a part of the present , invention.
DISCLOSURE OF INVENTION
The present invention seeks to reduce codeword-position-caused latency by avoiding the requirement for knowledge of the message prior to generating the error detecting or concealing codeword. A pseudo error detecting or concealing codeword is inserted in place of the normal error detecting or concealing codeword appropriate for the segment of information to which the error detecting or concealing codeword relates.
However, in order to satisfy a conventional decoder or receiver, the pseudo error detecting or concealing information must match or be appropriate for the segment so that the decoder sees the codeword and message segment as valid or error free. This is accomplished by modifying or perturbing at least a portion of the segment to which the pseudo codeword relates. Such modification or perturbation may be accomplished in various ways depending on the nature of the error detecting or concealing information. When its nature permits, the segment preferably remains unchanged except in a portion or portions at or near the end of the segment in order to optimize the reduction of the codeword-position-caused latency. The pseudo error detecting or concealing information may be arbitrary (for example, it may be a random number or a pseudo-random number) or, optionally, it may convey information. In either case, the same information may be used as pseudo error detecting or concealing information in connection with all or selected segments, or, alternatively, the information constituting the pseudo error detecting or concealing information may change from segment to segment.
If possible, the segment should be changed in a way that does not degrade the quality of the message segment when decoded (e.g., in the case of audio, it is desirable that the change is not audibly perceptible). Some portions of the message may be more tolerant to modification than others, and some message formats may have ancillary, auxiliary, or null-bit data fields that can be changed without affecting user perceptible data.
Nevertheless, in some cases, there may be a tradeoff between quality degradation and latency reduction.
In other words, one is dealing with two pieces of information, a message X and a corresponding error detection or concealment codeword Y. Generally, one cannot calculate Y until one has all of X, so if one needs to send Y before X, one has a minimum latency of the duration of X. The present invention sidesteps this problem by inserting Y', a pseudo codeword instead of Y (in Y's location in the data format) and starts sending X before one has all of X, but during X (preferably towards the end of X), one modifies X
to X' so that when one calculates its codeword in the receiver or decoder, it just happens to be Y'.
Thus, in one aspect, the invention contemplates a method for reducing latency in the transmission of coded information relative to received information, wherein the coded information includes at least an encoded version ofthe received information or a modified form of an encoded version of the received information along with error detecting or concealing information appropriate for the coded information. The coded information optionally includes auxiliary information that may include null bits. The coded information is transmitted in a format in which the error detecting or concealing information has an assigned position that does not follow all ofthe received information or modified form of the received information. Pseudo error detecting or concealing information is generated.
The coded information with the pseudo error detecting or concealing information located in the assigned position or positions is generated in which an encoded version of the received information is modified and/or auxiliary information is modified or inserted so that the pseudo error detecting or concealing information is appropriate for the coded information.
The coded information in transmitted, whereby the transmission of coded information may begin before all of the received information is received. The pseudo error detecting or concealing information may be in the form of at least one error correcting or concealing codeword. The codeword may be in the form of at least one error detecting cyclic redundancy check (CRC) word.
FIGS. 4 and 5 show how the codeword-position-latency of the disadvantageous codeword locations of FIGS 2 and 3, respectively, may be improved in accordance with the present invention.
In FIG. 4A, a received message segment is divided into two received message segments 8 and 10'. Unlike FIG. 2, in accordance with an embodiment of the invention, a modified data location 22 preferably toward the end of the second segment 10' is provided in the transmitted format of FIG. 4B. Note that the second segment 10' includes the modified data location 22 and the portion 10" following the modified data location. The transmitted information, FIG. 4B, includes the first part of the message segment 8, followed by at least one pseudo codeword 14' in a codeword position and the remaining part of the message segment 10' that, in turn, includes modified data 24 in the modified data location.
The modified data is chosen such that the pseudo codeword 14' becomes appropriate for the entire transmission (i.e., it is the same as the codeword that would normally be generated for a transmission that includes the modified data 24). Consequently, ignoring all encoder latency considerations other than those arising from the modified data location, the minimum latency between the onset of reception of the information that becomes message segment 8 and the earliest time at which transmission may commence is the sum of (1) the time to receive the information that is subsequently sent as the part 10"of the message segment 10' that follows the modified data 24, (FIGS. 4A and 4B assume that this is the same as the time period of part 10" of message segment 10' in the assembled data format of FIG. 4A and in the transmission format of FIG. 4B), (2) the time required to generate the modified data, (3) the time to insert the modified data into its location (an arrow 23 represents times 2 and 3 in FIG. 4), and (4) the time to transmit the modified data 24.
Comparing FIG. 4 to FIG. 2 shows that a substantial reduction in encoder latency is possible, namely as much as the difference between the time to receive the information that becomes the second message segment 10' and the time to receive the information that _g_ becomes the message segment portion 10" that follows the modified data in the transmission. If the modified data location is at the end of the part of message segment 10' (i.e., there is no portion 10" following the modified data), the latency is substantially the same as that resulting from the optimum codeword positioning at the end of the transmission (FIG. 1). However, in some data formats it may not be possible or desirable to locate the modified data at the end of the message segment.
In accordance with an embodiment of the invention, in FIG. 5A, unlike FIG. 3, a received message segment 16' has a modified data location 26 toward the end of message segment 16'. As shown in FIG. 5B, the transmitted information includes a pseudo codeword 18' followed by the message segment 16' that includes modified data 28 in the modified data location. Note that the segment 16' is all of the information following codeword 18' including the modified data 28 in location 26 and the portion 16"
following the modified data. As in the case of the FIG. 4 embodiment, the modified data is chosen such that the pseudo codeword 18' is appropriate for the entire transmission.
Consequently, ignoring all latency considerations other than those arising from the modified data location, the minimum latency between the onset of reception of the information that becomes message segment 16' and the earliest time at which transmission may commence is, as in the case of the FIG. 4 embodiment, the sum of (1) the time to receive the information that is subsequently sent as the part 16"of the message segment 16' that follows the modified data location (FIGS. 4A and 4B assume that this is the same as the time period of part 16"
of the message segment 16' in the assembled data format of FIG. 5A and in the transmission format of FIG. 5B), (2) the time required to generate the modified data, (3) the time to insert the modified data into its location (an arrow 27 represents times 2 and 3), and (4) the time to transmit the modified data.
Comparing FIG. 5 to FIG. 3 shows that a substantial reduction in encoder latency is possible, namely, as much as the difference between the time to receive the information that becomes message segment 16' and the time to receive the information that becomes message segment 16" that follows the modified data position 26. If the modified data location is at the end ofthe part of message segment 16' (i.e., there is no portion 16" , following the modif=ied data), the latency is equivalent to that resulting from the optimum codeword positioning at the end of the transmission (FIG. 1). As noted above, in some data formats it may not be possible or desirable to locate the modified data at the end of the message segment.
BRIEF DESCRIPTION OF DRAWINGS
FIGS. 1-7 are idealized, schematic and not to scale.
FIGS. 1, 2, 3, and 6 illustrate the problem solved by the invention.
FIGS. 1-3 illustrate encoder latency with respect to three examples of codeword positions.
FIG. 1, shows a data format in which a received message segment has an assigned codeword location immediately following the message information. The position of FIG.
1A relative to FIG. 1B schematically illustrates the encoder latency for such a codeword location.
FIGS. 2 and 3 show codeword positions for which the codeword-position-caused latency can be reduced by the present invention.
FIG. 2, shows a data format in which a received message segment is divided into two received message segments, in between which an assigned codeword location is provided.
The codeword position 12 is intended to show any codeword position between the beginning and end of a message segment. The position of FIG. 2A relative to FIG. 2B
schematically illustrates the encoder latency for such a codeword location.
FIG. 3 shows a data format in which a received message segment has a codeword location preceding the message segment. The position of FIG. 3A relative to FIG. 3B
schematically illustrates the encoder latency for such a codeword location.
FIGS. 4 and 5 show how the codeword-position-latency of the disadvantageous codeword locations of the examples of FIGS. 2 and 3, respectively, may be improved in accordance with the present invention.

In FIG. 4, a received message segment is divided into two received message segments in between which a codeword location is inserted for transmission.
The position of FIG. 4A relative to FIG. 4B schematically illustrates the improved encoder latency in accordance with an embodiment of the invention.
In FIG. 5, a received message segment has a codeword location preceding the message segment. The position of FIG. 5A relative to FIG. 5B schematically illustrates the improved encoder latency in accordance with an embodiment of the invention.
FIG. 6 shows generally the format of a Dolby Digital frame and illustrates the latency problem. Dolby and Dolby Digital are trademarks of Dolby Laboratories Licensing Corporation.
FIG. 7 illustrates how the present invention may be applied to Dolby Digital encoding and decoding in order to reduce the latency explained in connection with FIG. 6.
The position of FIG. 7C relative to FIG. 7B schematically illustrates the improved encoder latency in accordance with a preferred embodiment of the invention.
MODES FOR CARRYING OUT THE INVENTION
Dolby Digital, a type of perceptual digital audio coding, creates a serial coded audio bit stream made up of a sequence of frames. FIG. 6A shows generally the format of a Dolby Digital frame and, with respect to FIG. 6B, illustrates the latency problem,. Each transmitted Dolby Digital frame (FIG. 6B) is assembled from six coded audio blocks 0 through 5 (36, 38, 40, 42, 44, and 46), each of which represents 256 audio samples. A 16-bit sync word 30 sent at the beginning of each frame contains information needed to acquire and maintain synchronization. Each transmitted frame contains two 16-bit cyclic redundancy check words, CRC1 (32) and CRC2 (not shown). CRC1 (32) is the second 16-bit word of the frame, immediately following the sync word 30. CRC2 (50) is the last 16-bit word of the frame. CRC1 applies to the first 5/8ths of the frame, not including the sync word. CRC1 is reverse generated. Latency problems arise with respect to CRC1, as explained below. CRC2 applies to the entire frame, not including the sync word. CRC2 is forward generated. Decoding of the CRC words allows errors to be detected. A
bit stream information header 34 follows the sync word and the CRC1 codeword and contains parameters describing the coded audio.
A boundary 52 divides the frame into two message segments - a first 5/8ths of the frame and a remaining 3/8ths. The Dolby Digital frame is split into two message segments to improve decoder latency (so that the decoder can begin decoding the frame after it has received the first 5/8ths of the frame, rather than having to wait for the whole frame).
CRC1 is placed at the beginning of the first message segment rather than at the 5/8ths boundary (i.e., after the first message segment) in order not to impose any additional frame boundary restrictions or constraints on the internal frame bit-stream structure. Further details of Dolby Digital are set forth in "Digital Audio Compression Standard (AC-3),"
Advanced Television Systems Committee (ATSC), Document A/52, December 20, 1995 (available on the World Wide Web of the Internet at www.atsc.or~/Standards/A521a 52.doc). See also the Errata Sheet of July 22, (available on the World Wide Web of the Internet at www.dolby.com/tech/ATSC
err.pdf.
The following generator polynomial is used to generate each of the 16-bit GRC
words in Dolby Digital: x16 + x15 + x + 1. The CRC calculation may be implemented by one of several standard techniques. A convenient hardware implementation of the above polynomial is an arrangement of linear feedback shift registers (LFSRs).
Checking for valid CRC with such a circuit consists of resetting all registers to zero, and then shifting the Dolby Digital data bits serially into the LFSR arrangement in the order in which they appear in the data stream. The sync word is not covered by either CRC (but is included in the 5/8ths frame size), so it is not included in the CRC calculation. CRC 1 is considered valid if the register contains all zeros after the first 5/8ths of the frame has been shifted in. If the calculation is continued until all data in the frame has been shifted through, and the value is again equal to zero, then CRC2 is considered valid. CRC1 is generated by encoders such that the CRC calculation will produce zero at the 5/8ths point in the frame.

As schematically illustrated in the time-delayed position of FIG. 6B with respect to FIG. 6A, the position ofthe CRC1 codeword with respect to the first message segment of the Dolby Digital frame limits the minimum transmission latency of a Dolby Digital frame (excluding the initial syncword) to a time equal to the sum of (1) the transmission time of the first message segment (excluding the initial syncword) (FIG. 6A assumes that this is the same as the time period represented by arrow 31), (2) the time to calculate CRC1, (3) the time to insert it in the frame (arrow 33 represents times 2 and 3), (4) the time to transmit CRC1, and (5) the time to transmit the bit stream information header 34. For the applications for which Dolby Digital was originally developed (e.g., DVD, digital television), this latency was acceptable. Indeed, video coding may show greater latency, so it may be necessary to delay the audio even further to put it in synchronism with the picture.
However, for certain applications of Dolby Digital encoding, this minimum latency is too long (e.g., computer games, where the player performs some operation leading to a sound, and that sound must not be perceptibly delayed with respect to the operation).
Very large numbers of existing decoders expecting the adopted format have already been sold and are in service. In order to remain compatible with such existing decoders, the Dolby Digital data format cannot be changed.
FIG. 7 illustrates how the present invention may be applied to Dolby Digital encoding and decoding in order to reduce the latency explained in connection with FIG. 6.
FIGS. 7A and 7B show the modified frame structure. The time-delayed position of FIG. 7C
relative to FIG. 7B schematically illustrates the improved encoder latency in accordance with this preferred embodiment of the invention. In accordance with the present invention, a pseudo codeword is inserted in the CRCI codeword position and one of the six Dolby Digital blocks, the one straddling the 5/8ths frame boundary, is modified.
This block is chosen in order to maximize the latency improvement by placing the modified data as close to the end of the message segment (the first 5/8ths of the frame) as possible.
Preferably, two additional CRC codewords (the first is forward generated and the second is reverse generated), preferably adjacent to each other, are calculated and inserted into the message prior to the 5/8ths frame boundary. The first additional CRC codeword applies to the initial portion of the frame up to itself (excluding the sync word), while the second additional CRC
codeword applies to the remaining portion of the frame from itself up to the 5/8ths frame boundary. When the first 5/8ths of the frame has been shifted into the linear feedback shift registers in a decoder, all ofthe registers will contain zeros and the pseudo CRC1 codeword will therefore appear valid to a standard Dolby Digital decoder. Thus, the minimum transmission latency is reduced from nominally the sum of (1) the time to transmit 5/8ths of a frame, (2) the time to calculate CRC1, (3) the time to place it in the frame, (4) the time to transmit it, and (5) the time to transmit the bit stream information header, to nominally the sum of (1) the time to transmit the part of the frame between the second additional codeword and the 5/8ths frame boundary (indicated by arrow 43), (2) the time to calculate the additional codewords (it is assumed that no time is required to calculate and insert the pseudo CRC1 codeword), (3) the time to insert them in the block (arrow 45 indicates times 2 and 3), and (4) the time to transmit them (indicated by arrow 47). Note that the beginning of the transmission in FIG. 7C is shown at an earlier time than beginning of FIG. 7B
because the sync word 30 is already known and generated. It will also be appreciated that the latency in FIG. 6 includes the bit stream information header 34 because it depends on the CRC1 codeword, whereas in FIG. 7, the latency does not include bit stream information header 34 because it does not depend on the pseudo CRCl codeword.
This reduction in encoding latency, for example, facilitates real-time encoding on gaming platforms that have SPDIF outputs. A game generates a mufti-channel sound field based on player input and the current state of the game. This sound field is then Dolby Digital encoded and transmitted in a SPDIF bit-stream to a Dolby Digital decoder or a Dolby Digital equipped receiver. The reduction in combined encoding/decoding latency achieved by the invention is such that the time delay between an action initiating a sound and that sound being heard is significantly reduced and, hence, less perceptible.
Returning to FIG. 7, the fourth Dolby Digital data block 42 ( block 3), like each of the other five blocks in a Dolby Digital frame, has an initial fixed data portion 54, a skip fteld portion 56 and mantissa data 58. The skip field has a minimum size of one bit - if the bit is a 0, the skip field is only that one bit; if the bit is a 1, then the first bit is followed by a 9-bit code that indicates the number of dummy bytes (up to 29 or 512) that the decoder should ignore when it decodes the audio after synchronization and error detection. Because it is supposed to be ignored by the decoder for purposes of audio decoding, but is included in the error detection process by the decoder (i.e., any bits present in the skip field are part of the bit stream applied to the linear feedback shift register in looking for all registers to contain zeros), the skip field is an ideal place to embed one or more additional CRC
codewords.
One less desirable alternative is to embed one forward generated CRC codeword at the end of the message segment just before the 5/8ths frame boundary 59 by overwriting some of the mantissa data 58. Doing so may audibly affect the decoded audio to some degree.
Block 3, which straddles the 5/8ths frame boundary 59 is the only block in each frame that is altered. Preferably, it is modified by inserting a 16-bit forwarded generated CRC codeword 60 followed by a 16-bit CRC reverse-generated codeword 62 in the skip field 56. In order to assure that these CRC codewords are as close as possible to the 5/8ths frame boundary, additional constraints are placed on the encoded Dolby Digital bit stream:
block 3 must straddle the 5/8ths frame boundary and the skip field location 56 must precede the 5/8ths frame boundary. The two CRC codewords 60 and 62 should be located so that the end of the second CRC codeword is on a word boundary 63 in order to make their calculation easier.
The skip field 56 is typically used only for padding purposes in order to satisfy certain bit stream and format constraints. However, some users of Dolby Digital carry information in the skip field. In such formats, the CRC codewords 60 and 62 should be inserted after such other information bits.
As mentioned above, for simplicity of explanation of the effect of codeword position on latency, the data applied to the Dolby Digital encoder including the two additional CRC

codewords in the skip field are shown already formatted into a frame. It will be understood that such a frame is, in practice, built incrementally as incoming information is received and that doing so involves other latency considerations that form no part ofthe present invention.
Although the preferred embodiment employs cyclic redundancy coding, it will be understood that the invention is not limited to coding systems using CRC codes but is applicable to other types of linear block codes and to other types of error detection and concealment coding.

Claims (14)

1. A method for reducing latency in the transmission of coded information relative to received information, wherein the coded information includes at least an encoded version of said received information or a modified form of an encoded version of said received information along with error detecting or concealing information appropriate for said coded information, the coded information optionally including auxiliary information that may include null bits, and wherein the coded information is transmitted in a format in which the error detecting or concealing information has an assigned position that does not follow all of said received information or modified form of said received information, comprising generating pseudo error detecting or concealing information, generating said coded information with said pseudo error detecting or concealing information located in said assigned position or positions, wherein said generating modifies an encoded version of said received information and/or modifies or inserts auxiliary information so that said pseudo error detecting or concealing information is appropriate for said coded information, and transmitting said coded information, whereby the transmission of coded information may begin before all of said received information is received.
2. A method according to claim 1 wherein said pseudo error detecting or concealing information is in the form of at least one error correcting or concealing codeword.
3. A method according to claim 2 wherein said codeword is in the form of at least one error detecting cyclic redundancy check (CRC) word.
4. A method according to any one of claims 1, 2, or 3 wherein the assigned position of said error detecting or concealing information precedes an encoded version of said received information or a modified form of an encoded version of said received information.
5. A method according to any one of claims 1, 2, or 3 wherein the assigned position of said error detecting or concealing information is between the beginning and end of an encoded version of said received information or a modified form of an encoded version of said received information.
6. A method according to claim 1 wherein said pseudo error detecting or concealing information is arbitrary.
7. A method according to claim 6 wherein said pseudo error detecting or concealing information is a random number or a pseudo random number.
8. A method according to claim 1 wherein said pseudo error detecting or concealing information conveys information.
9. A method for reducing latency in the transmission of coded information relative to received information, wherein the coded information is formatted into a frame that includes an encoded version of said received information, a first cyclic redundancy check (CRC) word having an assigned position preceding the encoded version of the received information and that applies to coded information in a first portion of the frame, comprising generating at least one pseudo CRC word in the position of and in place of said first CRC word, generating said coded information with said pseudo first CRC word, wherein said generating inserts at least one additional CRC word in the first portion of the frame and after said first CRC word, whereby the pseudo CRC word appears valid for the first portion of the frame, and transmitting said coded information, whereby the transmission of coded information may begin before all of said received information is received.
10. A method according to claim 9 wherein two additional CRC words are generated and inserted in the first portion of the frame and after said first CRC word.
11. A method according to claim 10 wherein the additional CRC word occurring first in the frame is a forward generated CRC word and the additional CRC word occurring second in the frame is a reverse generated CRC word.
12. A method according to claim 9 or claim 10 wherein said at least one additional CRC word is carried in auxiliary information.
13. A method according to claim 9 wherein said pseudo first CRC word is a random number or a pseudo random number.
14. A method according to claim 9 wherein said pseudo first CRC word conveys information.
CA2419549A 2000-08-15 2001-08-06 Low latency data encoder Expired - Lifetime CA2419549C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US09/639,012 US6725412B1 (en) 2000-08-15 2000-08-15 Low latency data encoder
US09/639,012 2000-08-15
PCT/US2001/025105 WO2002015410A2 (en) 2000-08-15 2001-08-06 Low latency data encoder

Publications (2)

Publication Number Publication Date
CA2419549A1 CA2419549A1 (en) 2002-02-21
CA2419549C true CA2419549C (en) 2010-07-06

Family

ID=24562371

Family Applications (1)

Application Number Title Priority Date Filing Date
CA2419549A Expired - Lifetime CA2419549C (en) 2000-08-15 2001-08-06 Low latency data encoder

Country Status (16)

Country Link
US (1) US6725412B1 (en)
EP (1) EP1312169B1 (en)
JP (1) JP5031972B2 (en)
KR (1) KR100890002B1 (en)
CN (1) CN100394694C (en)
AT (1) ATE308162T1 (en)
AU (2) AU8327101A (en)
BR (1) BR0113275B1 (en)
CA (1) CA2419549C (en)
DE (1) DE60114433T2 (en)
DK (1) DK1312169T3 (en)
ES (1) ES2247155T3 (en)
HK (1) HK1059840A1 (en)
MY (1) MY128410A (en)
TW (1) TW595116B (en)
WO (1) WO2002015410A2 (en)

Families Citing this family (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6760772B2 (en) 2000-12-15 2004-07-06 Qualcomm, Inc. Generating and implementing a communication protocol and interface for high data rate signal transfer
US7349691B2 (en) * 2001-07-03 2008-03-25 Microsoft Corporation System and apparatus for performing broadcast and localcast communications
US8812706B1 (en) 2001-09-06 2014-08-19 Qualcomm Incorporated Method and apparatus for compensating for mismatched delays in signals of a mobile display interface (MDDI) system
US20030131350A1 (en) 2002-01-08 2003-07-10 Peiffer John C. Method and apparatus for identifying a digital audio signal
AU2003268528B2 (en) 2002-10-23 2008-12-11 Nielsen Media Research, Inc. Digital data insertion apparatus and methods for use with compressed audio/video data
BRPI0410885B1 (en) 2003-06-02 2018-01-30 Qualcomm Incorporated GENERATE AND IMPLEMENT A SIGNAL AND INTERFACE PROTOCOL FOR HIGHER DATA RATES
EP2363989B1 (en) 2003-08-13 2018-09-19 Qualcomm Incorporated A signal interface for higher data rates
ES2323129T3 (en) 2003-09-10 2009-07-07 Qualcomm Incorporated HIGH SPEED DATA INTERFACE.
JP2007509533A (en) 2003-10-15 2007-04-12 クゥアルコム・インコーポレイテッド High speed data rate interface
CA2544030A1 (en) 2003-10-29 2005-05-12 Qualcomm Incorporated High data rate interface
EP2242231A1 (en) 2003-11-12 2010-10-20 Qualcomm Incorporated High data rate interface with improved link control
MXPA06006012A (en) 2003-11-25 2006-08-23 Qualcomm Inc High data rate interface with improved link synchronization.
CA2548412C (en) 2003-12-08 2011-04-19 Qualcomm Incorporated High data rate interface with improved link synchronization
EP2375676B1 (en) 2004-03-10 2013-06-26 Qualcomm Incorporated High data rate interface apparatus and method
MXPA06010647A (en) 2004-03-17 2007-01-17 Qualcomm Inc High data rate interface apparatus and method.
ATE518343T1 (en) 2004-06-04 2011-08-15 Qualcomm Inc INTERFACE DEVICE AND METHOD FOR HIGH DATA RATES
US8650304B2 (en) 2004-06-04 2014-02-11 Qualcomm Incorporated Determining a pre skew and post skew calibration data rate in a mobile display digital interface (MDDI) communication system
US8723705B2 (en) 2004-11-24 2014-05-13 Qualcomm Incorporated Low output skew double data rate serial encoder
TWI412936B (en) * 2004-11-24 2013-10-21 Qualcomm Inc Double data rate serial encoder
US8699330B2 (en) 2004-11-24 2014-04-15 Qualcomm Incorporated Systems and methods for digital data transmission rate control
US8692838B2 (en) 2004-11-24 2014-04-08 Qualcomm Incorporated Methods and systems for updating a buffer
US8873584B2 (en) 2004-11-24 2014-10-28 Qualcomm Incorporated Digital data interface device
US8539119B2 (en) 2004-11-24 2013-09-17 Qualcomm Incorporated Methods and apparatus for exchanging messages having a digital data interface device message format
US8667363B2 (en) 2004-11-24 2014-03-04 Qualcomm Incorporated Systems and methods for implementing cyclic redundancy checks
US8692839B2 (en) 2005-11-23 2014-04-08 Qualcomm Incorporated Methods and systems for updating a buffer
US8730069B2 (en) 2005-11-23 2014-05-20 Qualcomm Incorporated Double data rate serial encoder
BRPI0923225A2 (en) 2008-12-02 2016-10-04 Chiralgen Ltd Phosphorus-modified nucleic acid synthesis method
MX342945B (en) 2009-07-06 2016-10-18 Ontorii Inc * Novel nucleic acid prodrugs and methods use thereof.
JP5868324B2 (en) 2010-09-24 2016-02-24 株式会社Wave Life Sciences Japan Asymmetric auxiliary group
WO2013012758A1 (en) 2011-07-19 2013-01-24 Ontorii, Inc. Methods for the synthesis of functionalized nucleic acids
CN104684893B (en) 2012-07-13 2016-10-26 日本波涛生命科学公司 Asymmetric auxiliary group
KR102450907B1 (en) 2012-07-13 2022-10-04 웨이브 라이프 사이언시스 리미티드 Chiral control
JPWO2015108047A1 (en) 2014-01-15 2017-03-23 株式会社新日本科学 Chiral nucleic acid adjuvant having immunity induction activity and immunity induction activator
US10149905B2 (en) 2014-01-15 2018-12-11 Shin Nippon Biomedical Laboratories, Ltd. Chiral nucleic acid adjuvant having antitumor effect and antitumor agent
KR20230152178A (en) 2014-01-16 2023-11-02 웨이브 라이프 사이언시스 리미티드 Chiral design
KR102314110B1 (en) 2014-09-16 2021-10-18 삼성디스플레이 주식회사 Touch display device comprising visual accelerator
CN111901070B (en) * 2020-08-28 2022-09-09 上海国微思尔芯技术股份有限公司 Data transmission method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3575646D1 (en) 1984-03-24 1990-03-01 Philips Nv METHOD FOR TRANSMITTING INFORMATION WITH ERROR CORRECTION FOR DATA WORDS, AN ERROR CORRECTION DECODING METHOD FOR SUCH DATA WORDS, AN ARRANGEMENT FOR INFORMATION TRANSFER FOR USE WITH THE METHOD, AND A METHOD FOR USING AN APPARATUS.
EP0698269A1 (en) * 1994-02-16 1996-02-28 Koninklijke Philips Electronics N.V. Error correctable data transmission method and device based on semi-cyclic codes
KR100223186B1 (en) * 1997-01-29 1999-10-15 윤종용 Data recording method in dvd-ram
AR016812A1 (en) * 1997-08-14 2001-08-01 Samsung Electronics Co Ltd METHOD FOR TRANSMITTING COMPRESSED VIDEO INFORMATION, COMPRESSION AND VIDEO RECORDING PROVISIONS AND VIDEO PLAYBACK
DE19736434C3 (en) * 1997-08-21 2002-08-22 Nokia Mobile Phones Ltd Methods and devices for recognizing the position of data packets lying in a serial data reception stream
JP3238128B2 (en) * 1998-06-02 2001-12-10 松下電器産業株式会社 Reed-Solomon encoding apparatus and method
US6192501B1 (en) * 1998-08-20 2001-02-20 General Electric Company High data rate maximum a posteriori decoder for segmented trellis code words
US6560496B1 (en) 1999-06-30 2003-05-06 Hughes Electronics Corporation Method for altering AC-3 data streams using minimum computation
US6567392B1 (en) * 1999-09-24 2003-05-20 Koninklijke Philips Electronics N.V. Method and system for using vocorder rate determination for high quality CDMA voice transmission
EP1218252B1 (en) 1999-10-07 2003-08-06 Siemens VDO Automotive Inc. Torsional snap fit connector for air filter cover

Also Published As

Publication number Publication date
DK1312169T3 (en) 2005-12-27
DE60114433T2 (en) 2006-06-14
ES2247155T3 (en) 2006-03-01
US6725412B1 (en) 2004-04-20
CA2419549A1 (en) 2002-02-21
WO2002015410A2 (en) 2002-02-21
CN1447969A (en) 2003-10-08
ATE308162T1 (en) 2005-11-15
BR0113275B1 (en) 2014-05-20
EP1312169B1 (en) 2005-10-26
DE60114433D1 (en) 2005-12-01
KR100890002B1 (en) 2009-03-25
JP2004507147A (en) 2004-03-04
AU2001283271B2 (en) 2005-12-15
WO2002015410A3 (en) 2002-05-16
EP1312169A2 (en) 2003-05-21
KR20030040396A (en) 2003-05-22
BR0113275A (en) 2003-06-10
AU8327101A (en) 2002-02-25
CN100394694C (en) 2008-06-11
MY128410A (en) 2007-01-31
JP5031972B2 (en) 2012-09-26
HK1059840A1 (en) 2004-07-16
TW595116B (en) 2004-06-21

Similar Documents

Publication Publication Date Title
CA2419549C (en) Low latency data encoder
AU2001283271A1 (en) Low latency data encoder
JP2004507147A5 (en) Method for reducing time delay with respect to received information in transmission of coded information
CA2165604C (en) Synchronization and error detection in a packetized data stream
US5974584A (en) Parity checking in a real-time digital communications system
US20050229078A1 (en) Coding system and decoding system
EP2355095A2 (en) Method and apparatus for synchronizing highly compressed enhancement layer data
KR20010005484A (en) Encoding method for radio transceiving of multimedia data and device thereof
KR20040018241A (en) Signal coding
AU2014227460B2 (en) Maximal transition hamming codes
CA2480575A1 (en) Apparatus for iterative hard-input forward error correction decoding
KR20040046649A (en) Encoding apparatus and method for error-correction, and decoding apparatus and method therefor
US7647546B2 (en) Apparatus and method for decoding Reed-Solomon symbols
JP2005012452A (en) Device, method, and program for receiving digital signal
JP5214977B2 (en) Frame synchronization method and apparatus
KR20230050256A (en) Data encoding method, encoder, and data decoding method
JPH10178419A (en) Error correcting method and its device
JPH10210021A (en) Method and device for synchronizing variable length frame and variable length frame transmission side device
US6357031B1 (en) Serial data transmission apparatus and method with a data checking feature
JP2008177858A (en) Transfer data processing apparatus, program, and transfer data receiver
JP3545752B2 (en) Receiver
JP3118233B2 (en) Moving image signal encoding / decoding method and encoding / decoding device
KR100351800B1 (en) Rs decoding apparatus
JP2705442B2 (en) Synchronous method
JPH02270430A (en) Digital signal transmission equipment

Legal Events

Date Code Title Description
EEER Examination request
MKEX Expiry

Effective date: 20210806