通过分析H.264编码标准中帧内预测的17种模式,提出了一种有效的应用于H.264视频标准帧内预测算法的可配置电路,可以支持标准中规定的所有预测模式。该电路通过合理地利用一些特殊模式的空闲周期,提前计算出后续预测模式中的部分预测值,并且利用同一预测模式中相邻行(列)间预测值的冗余信息,使用两个计算单元实现了每个周期处理4个像素的预测值。电路在55MHz运行速度下每秒可以处理39帧标清图像,完全满足标清序列的实时编码需求。
Based on the analysis of all the intra prediction modes of H.264, an efficient hardware architecture for H.264 prediction is proposed to support all the prediction modes. By utilizing the idle cycles of certain special modes, some prediction values can be calculated in advance. The redundancy of prediction values between two neighbour lines in the same prediction mode is also fully utilized in order to get four prediction values in one cycle using two calculating uints. Under 55 MHz frequency, the implements can process 39 standard def'mition TV (SDTV) frames(720×480) per second.