Unlock instant, AI-driven research and patent intelligence for your innovation.

Methods and devices for decoding and coding audio/video data

A technology for decoding data and encoding data, which is applied in the field of data decoding and encoding, and can solve the problems of easy to read wrong data, abnormal encoding or decoding, and data not being completely written.

Inactive Publication Date: 2014-07-09
SHENZHEN TEMOBI SCI &TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when writing to the disk, the disk refresh is delayed, resulting in the data not being fully written when the data is read, and it is easy to read wrong data, resulting in abnormal encoding or decoding.

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
  • Methods and devices for decoding and coding audio/video data
  • Methods and devices for decoding and coding audio/video data
  • Methods and devices for decoding and coding audio/video data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0081] Example 1, see figure 1 , a method for decoding audio and video data is specifically:

[0082] Step 10: the first program notifies the second program of initialization;

[0083] The specific implementation method of step 10 is as follows:

[0084] Step 101, the first program stores the parameters needed to decode the data in the first memory, and notifies the second program to read them;

[0085] Step 102: The second program reads the parameters from the first memory for initialization, and notifies the first program that the initialization is complete.

[0086] Step 11: After the initialization of the second program is completed, obtain and decode a frame of data to be decoded through the first program, store the decoded frame of data into the first memory, and send the first command;

[0087] The specific implementation method of step 11 is as follows:

[0088] Step 111: After receiving the information that the initialization of the second program is completed, th...

Embodiment 2

[0098] Example 2, see image 3 , a method for decoding audio and video data is specifically:

[0099] Step 30: the first program notifies the second program of initialization;

[0100] Wherein the specific implementation method of step 30 is:

[0101] Step 301, the first program stores the parameters needed to decode the data in the first memory, and notifies the second program to read them;

[0102] Step 302: The second program reads the parameters from the first memory for initialization, and notifies the first program that the initialization is complete.

[0103] Step 31: After the initialization of the second program is completed, obtain and decode a frame of data to be decoded through the first program, store the decoded frame of data into the first memory, and send the first command;

[0104] Wherein the concrete realization method of step 31 is:

[0105] Step 311: the first program further stores the storage path of the data to be decoded in the first memory;

[01...

Embodiment 3

[0109] Example 3, see Figure 4 , on the basis of embodiment 1, the second program is added to cyclically store the decoded frame data to the first memory and the second memory. A method for decoding audio and video data is specifically:

[0110] Step 40: the first program notifies the second program of initialization;

[0111] Wherein the specific implementation method of step 40 is:

[0112] Step 401, the first program stores the parameters required by the data to be decoded in the first memory, and notifies the second program to read them;

[0113] Step 402: The second program reads the parameters from the first memory for initialization, and notifies the first program that the initialization is complete.

[0114] Step 41: After the initialization of the second program is completed, obtain and decode a frame of data to be decoded through the first program, store the decoded frame of data into the first memory, and send the first instruction;

[0115] Wherein the concrete...

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 for decoding audio / video data. The method comprises the following steps that: a first program informs a second program to initialize; the second program acquires a frame datum to be decoded and decodes after finishing the initialization, stores the decoded frame datum into a first memory and sends a first instruction; and the first program reads the decoded frame datum from the first memory through the first instruction and clears the first instruction. In the invention, datum reading is controlled through a flag bit instruction, a flag bit can be sent only after the decoding is finished and the frame datum is written in or after a datum to be coded is written in, correspondingly, the decoded frame datum or the frame datum to be coded is read after the flag is received, thus, the condition of error datum reading caused by not finishing writing in the frame datum during datum reading is avoided, and meanwhile, the problem of more access times of IO (Input / Output) is solved.

Description

technical field [0001] The invention relates to the field of data decoding and encoding, in particular to a method and device for decoding and encoding audio and video data. Background technique [0002] Due to the continuous update and development of technology, 64-bit programs are generally used to encode and decode audio and video data, which can improve data processing efficiency. However, there are still a lot of data that need to use 32-bit programs to encode and decode audio and video data, so how to solve the communication between 64-bit programs and 32-bit programs compatible with 64-bit operating systems has become a technical problem. Because audio and video encoding and decoding involves a large amount of data, the requirements for memory, etc. are relatively high, and the communication of large data blocks between different processes is relatively difficult. For example, how to notify other programs to read data after decoding is completed, or how to obtain dat...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04N19/00
Inventor 张鹏
Owner SHENZHEN TEMOBI SCI &TECH