Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and apparatus for encoding and decoding audio and video data

An encoding and decoding, audio and video technology, applied in the field of audio and video encoding and decoding, can solve the problems of reducing the operation processing speed, reducing the probability of overflow, and reducing the accuracy, and achieves the effect of high operation speed, important practical significance, and improved accuracy.

Inactive Publication Date: 2008-12-24
HAIER BEIJING IC DESIGN
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, because the data needs to perform a series of calculations, there may be overflow problems, and high precision often requires the use of higher computing units, which usually leads to an increase in cost
Especially for some devices with lower bit-length arithmetic units, traditional methods often fail to balance precision and overflow, and use software to process data that exceeds the bit length of the arithmetic unit itself (such as using a 16-Bit CPU to process a large number of 32-Bit data, especially multiplication and division) method operation) will greatly reduce the processing speed of the operation
[0003] Also, in practice, a design with slightly less accuracy than theoretically required results in a very low chance of overflow
This is because, first of all, the distribution of a lot of input data within the legal value is uneven, basically concentrated in a small interval, and few of them reach or approach the allowable value. For example, in a certain application, the theory of IDCT operation The input value is [-1024, 1023], but the actual input value is basically concentrated within [-32, 32], and processing the data in the latter range can often reduce the accuracy of the data in the previous range.
Secondly, a lot of data has to be processed multiple times, which causes overflow to occur only when multiple data are in the extreme case, which further reduces the probability of overflow
Again, sometimes, certain ranges of data can be processed using simpler and faster methods, such as table lookup, etc., but the full range of data often cannot use this method

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for encoding and decoding audio and video data
  • Method and apparatus for encoding and decoding audio and video data
  • Method and apparatus for encoding and decoding audio and video data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] Combine below figure 1 , figure 2 and image 3 The method of the present invention will be specifically described.

[0014] figure 1 is a flowchart of the method used in the present invention. figure 1 In , after the data is input, first determine the precision of the data and the bit length of the arithmetic unit. When determining these, the codec operation rules, the range and distribution of input data, etc. should be considered. The purpose of the design is to make the precision of the data higher or the bit length of the operation unit smaller, and at the same time, the probability of overflow is smaller.

[0015] According to the data precision determined in the previous step, after the calculation, the flag bit for judging overflow is set and the algorithm for judging overflow is performed. The relevant flag bits can be directly designed in the hardware operation module, and the software should set the necessary judgment conditions. The judgment of overfl...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for encoding and decoding audio and video data. The method comprises the following steps: the fixed-point operation data are input; the input data are calculated, wherein, the bit length of an operational unit is selected and the data operation accuracy is distributed through an overflow probability operation according to the encoding and decoding rule, the data area and the data distribution; whether the overflow occurs in an operation result is determined by a marker bit and an algorithm for determining the overflow; and the operation result is output under the condition that the overflow does not occur. By adopting the method, the data operational precision is improved and higher operational speed is realized, thereby the method is the significant improvement for the conventional encoding and decoding technology of audio and video.

Description

technical field [0001] The present invention relates to the field of audio and video encoding and decoding, in particular to a method and device for encoding and decoding audio and video data. Background technique [0002] In audio and video codec processing, the accuracy of fixed-point arithmetic data conversion is a very important issue. Insufficient precision directly affects the quality of audio or image. What's more, sometimes the lack of precision can add up, such as drift caused by IDCT precision mismatch. Therefore, in many cases, a certain calculation accuracy must be guaranteed. However, because the data needs to perform a series of calculations, there may be overflow problems, and high precision often requires the use of higher computing units, which usually brings about an increase in cost. Especially for some devices with lower bit-length arithmetic units, traditional methods often fail to balance precision and overflow, and use software to process data that ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04N7/26H03M7/30H04N19/156H04N19/162H04N19/42
Inventor 史岩
Owner HAIER BEIJING IC DESIGN
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More