METHOD AND APPARATUS FOR SYNCHRONIZING HIGHLY COMPRESSED ENHANCEMENT LAYER DATA
First Claim
1. A method for encoding an audio or video signal having a base layer bit stream and an enhancement layer bit stream relating to the base layer bit stream, wherein the base layer data and the enhancement layer data are structured in packets, and wherein packets of the base layer bit stream have corresponding packets of the enhancement layer bit stream, the method comprising steps ofcalculating a checksum over a packet of the base layer bit stream and a corresponding packet of the enhancement layer bit stream;
- entropy encoding the packet of the base layer bit stream, wherein an entropy encoded, byte-aligned base layer packet starting with a sync word is obtained;
entropy encoding the packet of the enhancement layer bit stream using a variable length encoding method, wherein an entropy encoded enhancement layer packet is obtained that has no header and does not start with a sync word;
mapping the encoded enhancement layer packet to bytes, each byte having a fixed number of bits, wherein in the last byte of the encoded enhancement layer packet a number N of bits are padding bits;
determining the amount N of the padding bits within the last byte of the encoded enhancement layer packet;
extracting the N least significant bits of said calculated checksum, N being equal to the determined amount of padding bits;
inserting the extracted N least significant bits of the calculated checksum into the padding bits at the end of the encoded packet; and
providing or outputting the encoded enhancement layer packet including the inserted checksum bits, and the encoded base layer packet.
1 Assignment
0 Petitions
Accused Products
Abstract
Multimedia application data formats often use data packets and may contain packetized hierarchical layers with a base layer (BL) and one or more enhancement layers (EL). Packets that comprise variable length coded data typically provide padding bits, which can be used for adding checksum information. The checksum information refers to both, the decoded base layer and decoded enhancement layer packet data, and is used for detecting synchronization loss between the layers. Though the packets provide different individual amounts of padding bits, this variable amount of bits per packet is sufficient for adding check-sum information for synchronization related purposes. This allows e.g. out-of-sync detection even if the enhancement layer encoding provides no overhead information for synchronization, in particular no packet headers and no packet synchronization words.
29 Citations
15 Claims
-
1. A method for encoding an audio or video signal having a base layer bit stream and an enhancement layer bit stream relating to the base layer bit stream, wherein the base layer data and the enhancement layer data are structured in packets, and wherein packets of the base layer bit stream have corresponding packets of the enhancement layer bit stream, the method comprising steps of
calculating a checksum over a packet of the base layer bit stream and a corresponding packet of the enhancement layer bit stream; -
entropy encoding the packet of the base layer bit stream, wherein an entropy encoded, byte-aligned base layer packet starting with a sync word is obtained; entropy encoding the packet of the enhancement layer bit stream using a variable length encoding method, wherein an entropy encoded enhancement layer packet is obtained that has no header and does not start with a sync word; mapping the encoded enhancement layer packet to bytes, each byte having a fixed number of bits, wherein in the last byte of the encoded enhancement layer packet a number N of bits are padding bits; determining the amount N of the padding bits within the last byte of the encoded enhancement layer packet; extracting the N least significant bits of said calculated checksum, N being equal to the determined amount of padding bits; inserting the extracted N least significant bits of the calculated checksum into the padding bits at the end of the encoded packet; and providing or outputting the encoded enhancement layer packet including the inserted checksum bits, and the encoded base layer packet. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for decoding an audio or video signal having a base layer bit stream and a corresponding enhancement layer bit stream, wherein the enhancement layer bit stream comprises variable length coded parameters for enhanced decoding of the base layer bit stream, the method comprising steps of
partially decoding a portion of the base layer bit stream, wherein a first decoded base layer packet is obtained; -
partially decoding a portion of the enhancement layer bit stream, wherein the decoding parameters for enhanced decoding of the base layer bit stream are obtained; determining a number N of padding bits in said portion of the enhancement layer bit stream, and extracting and/or storing the padding bits; calculating a checksum over the first decoded base layer packet and said decoding parameters from the partially decoded portion of the enhancement layer bit stream; comparing the extracted N least significant bits of the calculated checksum, N being equal to the determined amount of padding bits, with the N extracted padding bits; and if both are equal, decoding the partially decoded base layer bit stream using said decoding parameters for enhanced decoding of the base layer bit stream, otherwise decoding the partially decoded base layer bit stream using simplified decoding, wherein data from the enhancement layer bit stream are not used. - View Dependent Claims (9, 10)
-
-
11. Encoded audio/video signal comprising a first portion and a second portion, the first portion comprising byte-aligned entropy encoded packets of a base layer audio/video bit stream, and the second portion comprising byte-aligned entropy encoded enhancement layer packets comprising variable length coded enhancement layer data, wherein the base layer packets comprise headers with synchronization information and the enhancement layer packets comprise no headers with synchronization information,
and wherein each enhancement layer packet comprises encoded parameters being suitable for enhanced decoding of a corresponding base layer packet, and wherein the last byte of an enhancement layer packet comprises a number N of padding bits, the padding bits comprising the N LSBs of a checksum over the enhancement layer packet and the corresponding base layer packet before entropy encoding.
-
13. The apparatus for encoding an audio or video signal having a base layer bit stream and an enhancement layer bit stream relating to the base layer bit stream, wherein the base layer data and the enhancement layer data are structured in packets, and wherein packets of the base layer bit stream have corresponding packets of the enhancement layer bit stream, the apparatus comprising
calculating means for calculating a checksum over a packet of the base layer bit stream and a corresponding packet of the enhancement layer bit stream; -
base layer entropy encoder for entropy encoding the packet of the base layer bit stream, wherein an entropy encoded, byte-aligned base layer packet starting with a sync word is generated; enhancement layer entropy encoder for entropy encoding the packet of the enhancement layer bit stream using a variable length encoding method, wherein an entropy encoded enhancement layer packet is generated that has no header and does not start with a sync word; mapping means for mapping the encoded enhancement layer packet to bytes, each byte having a fixed number of bits, wherein in the last byte of the encoded enhancement layer packet a number N of bits are padding bits; determining means or determining the amount N of the padding bits within the last byte of the encoded enhancement layer packet; extraction means for extracting the N least significant bits of said calculated checksum, N being equal to the determined amount of padding bits; insertion means for inserting the extracted N least significant bits of the calculated checksum into the padding bits at the end of the encoded packet; and means for providing or outputting the encoded enhancement layer packet including the inserted checksum bits, and the encoded base layer packet. - View Dependent Claims (14)
-
-
15. The apparatus for decoding an audio or video signal having a base layer bit stream and a corresponding enhancement layer bit stream, wherein the enhancement layer bit stream comprises variable length coded parameters for enhanced decoding of the base layer bit stream, the apparatus comprising
base layer partial decoder for partially decoding a portion of the base layer bit stream, wherein a first decoded base layer packet is generated; -
enhancement layer partial decoder for partially decoding a portion of the enhancement layer bit stream, wherein the decoding parameters for enhanced decoding of the base layer bit stream are generated; means for determining a number N of padding bits in said portion of the enhancement layer bit stream, and means for extracting and/or storing the padding bits; calculation means for calculating a checksum over the first decoded base layer packet and said decoding parameters from the partially decoded portion of the enhancement layer bit stream; comparison means for comparing the extracted N least significant bits of the calculated checksum, N being equal to the determined amount of padding bits, with the N extracted padding bits, and for providing an error indication if both are not equal; and decoding means for decoding the partially decoded base layer bit stream, if the extracted N least significant bits of the calculated checksum and the N extracted padding bits are equal according to said error indication, wherein said decoding parameters for enhanced decoding of the base layer bit stream are used, and for otherwise decoding the partially decoded base layer bit stream using simplified decoding, wherein data from the enhancement layer bit stream are not used.
-
Specification