首页> 外国专利> CACHE FRIENDLY METHOD FOR PERFORMING INVERSE DISCRETE WAVELET TRANSFORM

CACHE FRIENDLY METHOD FOR PERFORMING INVERSE DISCRETE WAVELET TRANSFORM

机译:进行离散小波逆变换的缓存友好方法

摘要

This invention is a method for inverse Wavelet transform using a breadth- first output data calculation which uses input data to calculate at least one output data for each iteration of a software loop even if the same input data is used in a later iteration for calculating other output data. This reduces data movement between memory and the data processor core thus reducing the possibility of cache misses and memory stalls due to access conflicts. The input data and computed output data are preferably stored as subwords packed within data words in memory. In inverse Wavelet transformation, this method performs vertical spatial frequency expansion and horizontal spatial frequency expansion for each level of Wavelet encoding. This invention arranges data flow providing a more efficient use of memory bandwidth and cache space than other known methods. A method for inverse Wavelet transform comprises the steps of storing input data as subwords packed within data words in a memory; calculating output data in a software loop in a breadth-first fashion by recalling input data (902) and filter coefficients (903, 905) for computation of at least one output data for each iteration of the software loop even if the same input data is used in a later iteration for calculating other output data (904, 906); and storing calculated output data as subwords packed within data words in the memory.
机译:本发明是一种使用广度优先输出数据计算的逆小波变换的方法,即使在随后的迭代中使用相同的输入数据来计算其他的迭代,该输入数据也针对软件循环的每次迭代使用输入数据来计算至少一个输出数据。输出数据。这减少了内存和数据处理器内核之间的数据移动,从而减少了由于访问冲突而导致的高速缓存未命中和内存停顿的可能性。输入数据和计算出的输出数据优选地作为打包在数据字内的子字存储在存储器中。在小波逆变换中,此方法针对小波编码的每个级别执行垂直空间频率扩展和水平空间频率扩展。本发明安排了数据流,与其他已知方法相比,可以更有效地利用存储器带宽和高速缓存空间。一种用于小波逆变换的方法,包括以下步骤:将输入数据作为打包在数据字内的子字存储在存储器中。通过调用输入数据(902)和滤波器系数(903、905)来以广度优先的方式在软件循环中计算输出数据,即使对于相同的输入数据,对于软件循环的每次迭代,也要计算至少一个输出数据在以后的迭代中用于计算其他输出数据(904、906);将计算出的输出数据作为子字存储在存储器中的数据字中。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号