Design and implementing method of multimedia expansion instructionof flow input read
A technology for extending instructions and implementing methods, applied in computing, image data processing, television and other directions, can solve the problem of not finding the hardware implementation structure and method of stream input reading instructions, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0018] According to the above technical solution, the present invention is actually a processor extension instruction design and hardware implementation structure and method for reading decoded data streams in audio and video decoding programs. The hardware implementation structure includes two 32-bit buffer registers, an address register Addr for reading the code stream, a Flag register, a Left register and two arbitrary shifters.
[0019] Assuming that the number of bits read each time is not greater than 32, two 32-bit buffer registers Buffer0 and Buffer1 are required. The two registers alternately load data from the data Cache, and the flag Flag determines the current buffer register that stores the previous code stream. Specifically, when Flag is 1, Buffer1 stores the previous code stream. When reading the code stream, first read from Buffer1. If Buffer1 is not enough, then read from Buffer0; when Flag is 0, Buffer0 stores the previous code stream, read When taking the code s...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 