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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 