TUT HEVC Encoder
Loading...
Searching...
No Matches
lcu_t Struct Reference

#include <cu.h>

Collaboration diagram for lcu_t:

Data Fields

lcu_ref_px_t top_ref
 Reference pixels from adjacent LCUs.
 
lcu_ref_px_t left_ref
 Reference pixels from adjacent LCUs.
 
lcu_yuv_t ref
 LCU reference pixels.
 
lcu_yuv_t rec
 LCU reconstructed pixels.
 
lcu_coeff_t coeff
 We get the coefficients as a byproduct of doing reconstruction during the search.
 
cu_info_t cu [(16+1) *(16+1)+1]
 A 17x17 CU array, plus the top right reference CU.
 

Field Documentation

◆ coeff

lcu_coeff_t lcu_t::coeff

It might be more efficient to recalculate the final coefficients once we know the final modes rather than copying them. LCU coefficients

◆ cu

cu_info_t lcu_t::cu[(16+1) *(16+1)+1]
  • Top reference CUs at indices [0,16] (row 0).
  • Left reference CUs at indices 17*n where n is in [0,16] (column 0).
  • All CUs of this LCU at indices 17*y + x where x,y are in [1,16].
  • Top right reference CU at the last index.

The figure below shows how the indices map to CU locations.

    .-- left reference CUs
    v
     0 |   1   2  . . .  16 | 289 <-- top reference CUs
  -----+--------------------+----
    17 |  18  19  . . .  33 |
    34 |  35  36  . . .  50 <-- this LCU
     . |   .   .  .       . |
     . |   .   .    .     . |
     . |   .   .      .   . |
   272 | 273 274  . . . 288 |
  -----+--------------------+----

◆ left_ref

lcu_ref_px_t lcu_t::left_ref

◆ rec

lcu_yuv_t lcu_t::rec

◆ ref

lcu_yuv_t lcu_t::ref

◆ top_ref

lcu_ref_px_t lcu_t::top_ref

The documentation for this struct was generated from the following file: