【HM12.0】Data structure and access method

• LCU vs. Sub-CU
All CUs are handled throughTComDataCU* pointer(所有CU是通过 TComDataCU *指针操作处理)
From the LCU (largest CU), Sub-CUis processed recursively by z-scan(CU通过Z顺序扫描)



•  TComDataCU class has all information we need 
  – Actual data storage is allocated only at LCU (largest CU) level
    • In Sub-CUs, data storage points to suitable position in LCU storage


• Every information in CU is accessed by index (CU中信息的 访问方式依靠索引号
   –Basically, every index is the storage unit number within the CU
   –In source-code,AbsPartIdx means absolute index in the given CU (代码中AbsPartIdx代表CU内单元的索引号)


  How to obtain absolute index in LCU?(LCU内单元的索引获取方式(通过m_uiAbsIdxInLCU))
  – EachTComDataCU class hasm_uiAbsIdxInLCU, which means the absolute z-scanindex in LCU basis
  – Useful to derive index ofneighbouring CUs


 •  How to convert between z-scan and raster scan in LCU-basedindex?(Z扫描与光栅扫描转换)
   –Two arrays,g_auiZscanToRaster andg_auiRasterToZscan
   –g_auiZscanToRaster[ z-scan index ] = raster scanindex
   –g_auiRasterToZscan[ raster index ] = z-scan index
    Raster scan is useful to derive index ofneighbouring CUs


• Transform coefficient data structure (变换后系数数据结构)
   –1D arrays,m_pcTrCoeffY,m_pcTrCoeffCb andm_pcTrCoeffCr are allocated in LCU
      For each CU, getCoeffY, getCoeffCb and getCoeffCr give the starting point of coefficients. They are arranged         using  raster-scan



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值