摘要 |
Certain aspects of a method and system for hardware and software shareable DCT/IDCT control interface are provided. A single DCT/IDCT interface may be utilized to provide hardware or software control of a DCT/IDCT module. During hardware control the DCT/IDCT module may be utilized for JPEG compression, for example. During software control a CPU may utilize the DCT/IDCT module for audio, software, and/or video applications, for example. The interface may enable selecting a quantization table for use by the DCT/IDCT module. The interface may also enable selecting encoding or decoding operations to be performed by the DCT/IDCT module. The interface may also enable toggling between a first and a second portion of a data buffer utilized by the DCT/IDCT module. Moreover, the interface may enable starting processing of a data block by the DCT/IDCT module and indicating when the DCT/IDCT module has completed processing the data block.
|