US2014006036A1PendingUtilityA1

Method and apparatus for coding and decoding

Assignee: HUAWEI TECH CO LTDPriority: May 12, 2009Filed: Jul 31, 2013Published: Jan 2, 2014
Est. expiryMay 12, 2029(~2.8 yrs left)· nominal 20-yr term from priority
H03M 7/30G10L 19/00G10L 19/0019
44
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

A coding method includes: obtaining a value of each sample of an input data frame; determining pulse samples and non-pulse samples in the input data frame according to the distribution of values of samples of the input data frame; encoding the determined pulse samples in the input data frame in a first coding mode to obtain a first data stream; encoding the determined non-pulse samples in the input data frame in a second coding mode to obtain a second data stream; and multiplexing the first data stream and the second data stream to obtain an output coded data stream of the input data frame. The technical solution under the present disclosure reduces the number of bits required for encoding the entire data frame is reduced, and improves the compression efficiency of the data frame with a wide dynamic range.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A coding method, comprising:
 obtaining a data frame including a first sample, a second sample, and a third sample;   obtaining a value of the first sample, a value of the second sample, and a value of the third sample, wherein the value of the first sample is different from the value of the second sample;   determining that the value of the third sample is different from the value of the first sample and the value of the second sample;   encoding the third sample in a first coding mode;   encoding the first sample and the second sample in a second coding mode that is different from the first coding mode; and   multiplexing the encoded first sample, the encoded second sample, and the encoded third sample to generate an output coded data stream of the data frame.   
     
     
         2 . The method of  claim 1 , wherein encoding the third sample in the first coding mode comprises encoding amplitudes and relative positions of the third sample in the data frame. 
     
     
         3 . The method of  claim 1 , wherein encoding the first sample and the second sample in the second coding mode comprises encoding amplitudes of the first sample and the second sample. 
     
     
         4 . The method of  claim 1 , wherein the value of the first sample and the value of the second sample comprise a first and a second most frequently occurring incidence of sample values in the data frame. 
     
     
         5 . The method according to  claim 1 , wherein the obtained data frame is a G.711 data frame. 
     
     
         6 . The method according to  claim 1 , wherein the value of the first sample is positive zero, and wherein the value of the second sample is negative zero. 
     
     
         7 . A coding apparatus, comprising:
 an analyzing unit configured to obtain a value of a first sample, a value of a second sample, and a value of a third sample, wherein the first sample, the second sample, and the third sample are included in a data frame;   a sample sorting unit configured to determine that the value of the third sample is different from the value of the first sample and the value of the second sample;   a first coding unit configured to encode the third sample in the data frame in a first coding mode to obtain a first data stream;   a second coding unit configured to encode the first sample and the second sample in the data frame in a second coding mode to obtain a second data stream; and   a multiplexing unit configured to multiplex the first data stream and the second data stream to obtain an output coded data stream of the data frame.   
     
     
         8 . The apparatus of  claim 7 , wherein the value of the first sample and the value of the second sample comprise a first and a second most frequently occurring incidence of sample values in the data frame. 
     
     
         9 . The apparatus of  claim 7 , wherein the first coding unit is configured to encode amplitudes and relative positions of the third sample in the data frame. 
     
     
         10 . The apparatus of  claim 7 , wherein the second coding unit is configured to encode amplitudes of the first sample and the second sample in the data frame. 
     
     
         11 . A non-transitory computer-readable medium having computer usable instructions stored thereon for execution by a processor, wherein the instructions cause the processor to:
 obtain a data frame including a first sample, a second sample, and a third sample;   obtain a value of the first sample, a value of the second sample, and a value of the third sample, wherein the value of the first sample is different from the value of the second sample;   determine that the value of the third sample is different from the value of the first sample and the value of the second sample;   encode the third sample in a first coding mode;   encode the first sample and the second sample in a second coding mode that is different from the first coding mode; and   multiplex the encoded first sample, the encoded second sample, and the encoded third sample to generate an output coded data stream of the data frame.

Join the waitlist — get patent alerts

Track US2014006036A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.