Abstract:
A data encoding method. First, a data array comprising a plurality of elements is stored in a memory. The number of elements unequal to a predetermined value is counted while elements of the array are stored in the memory. Then, a control module reads elements from the data array, and determines whether the number of read elements unequal to the predetermined value is equal to the counted number. When the number of read elements unequal to the predetermined value is equal to the counted number, the control module stops reading elements from the data array.
Abstract:
A data encoding method. First, a data array comprising a plurality of elements is stored in a memory. The number of elements unequal to a predetermined value is counted while elements of the array are stored in the memory. Then, a control module reads elements from the data array, and determines whether the number of read elements unequal to the predetermined value is equal to the counted number. When the number of read elements unequal to the predetermined value is equal to the counted number, the control module stops reading elements from the data array.
Abstract:
A method and apparatus to reduce the system load of motion estimation for DSP discloses circular buffers, a plurality of absolute difference calculation circuits, a multiple input adder, a full adder, a plurality of accumulators, and a control circuit. The first four bytes from the reference block buffer and the first four bytes from the search window buffer are sent to the four absolute difference calculation circuits. The control circuit determines which of the accumulators requires incrementing the value already in that accumulator by the current output of the multiple input adder. A new set of bytes from the search window buffer is then sent to the absolute difference calculation circuits, a new sum is calculated, and a second accumulator is incremented by the new sum. When all accumulators have been updated, new reference block data used. Each byte of data is loaded from memory only once.
Abstract:
Method and apparatus for reducing memory access while de/compressing multimedia files, videos, or image files. An image is divided into blocks, and a frequency data matrix corresponding to a frequency transformed and quantized block is stored in a memory for later de/compression. The method includes registering a bit plane containing a plurality of bits in a register module, wherein each bit represents whether a corresponding element of the data matrix equals zero. While accessing the memory for the data matrix, if a bit of the bit plane shows that its corresponding element of the data array is zero, the element is not accessed from the memory. In checking bits corresponding to elements not yet accessed; if these bits show that elements not accessed are all zero, accessing for the data array can be terminated without accessing them. Thus, memory access can be reduced to occupy less bandwidth of the memory.
Abstract:
Method and apparatus for reducing memory access while de/compressing multimedia files, videos, or image files. An image is divided into blocks, and a frequency data matrix corresponding to a frequency transformed and quantized block is stored in a memory for later de/compression. The method includes registering a bit plane containing a plurality of bits in a register module, wherein each bit represents whether a corresponding element of the data matrix equals zero. While accessing the memory for the data matrix, if a bit of the bit plane shows that its corresponding element of the data array is zero, the element is not accessed from the memory. In checking bits corresponding to elements not yet accessed; if these bits show that elements not accessed are all zero, accessing for the data array can be terminated without accessing them. Thus, memory access can be reduced to occupy less bandwidth of the memory.
Abstract:
An error correction code circuit with reduced hardware complexity is positioned inside a microprocessor. The microprocessor has a Galois field multiplier for performing a Galois field multiplication on data processed by the error correction code circuit. The error correction code circuit has a first register for storing an input data, a plurality of calculation units, a third register for storing an output data corresponding to the input data, and a controller for controlling operation of the error correction code circuit. Each calculation unit has a Galois field adder, and a second register electrically connected to the Galois field adder. The controller transmits data of each calculation unit to the same Galois field multiplier for a corresponding Galois field multiplication, and the result outputted by the Galois field multiplier is transmitted back to the error correction code circuit.
Abstract:
An experimental design for motion estimation in video compression that reduces the number of search locations within a search window by selecting the search locations from a predefined orthogonal table. The search locations are then compared with a reference block to generate match-values that are used to generate level-values reflecting dispositional relationships of the search locations and the relative magnitudes of the match-values. A preliminary motion vector is generated according to the relative magnitudes of the level-values. Candidate results are also generated based on the match-values. A final motion vector is generated by applying predetermined formulas to the level-values and altering the preliminary motion vector according to the candidate results when indicated to do so by the results of the formulas.