HEVC之帧内预测的predIntraAng讲解

本文详细讲解了HEVC编码标准中帧内预测的predIntraAng技术,涵盖了Sample Adaptive Intra-Prediction(SAP)模式,该模式下采用水平预测,预测值的列依据参考块的左列生成,如有可用的参考数据则填充。同时提到了垂直预测模式与角度预测和平面预测的方法。


Void TComPrediction::predIntraAng( const ComponentID compID, UInt uiDirMode, Pel* piOrg /* Will be null for decoding */, UInt uiOrgStride, Pel* piPred, UInt uiStride, TComTU &rTu, Bool bAbove, Bool bLeft, const Bool bUseFilteredPredSamples, const Bool bUseLosslessDPCM )
{
  const ChromaFormat   format      = rTu.GetChromaFormat();//获得图片格式,一般为YUV420
  const ChannelType    channelType = toChannelType(compID);//CHANNEL_TYPE_LUMA    = 0,CHANNEL_TYPE_CHROMA  = 1,MAX_NUM_CHANNEL_TYPE = 2
  const TComRectangle &rect        = rTu.getRect(isLuma(compID) ? COMPONENT_Y : COMPONENT_Cb);
  const Int            iWidth      = rect.width;//Tu的宽
  const Int            iHeight     = rect.height;//Tu的高


  assert( g_aucConvertToBit[ iWidth ] >= 0 ); //
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值