TUT HEVC Encoder
Data Fields
cu_info_t Struct Reference

Struct for CU info.

#include <cu.h>

Collaboration diagram for cu_info_t:

Data Fields

uint8_t type: 2
 block type, one of cu_type_t values More...
 
uint8_t depth: 3
 depth / size of this block More...
 
uint8_t part_size: 3
 partition mode, one of part_mode_t values More...
 
uint8_t tr_depth: 3
 transform depth More...
 
uint8_t skipped: 1
 flag to indicate this block is skipped More...
 
uint8_t merged: 1
 flag to indicate this block is merged More...
 
uint8_t merge_idx: 3
 merge index More...
 
uint8_t tr_skip: 1
 transform skip flag More...
 
uint16_t cbf
 
uint8_t qp
 QP used for the CU. More...
 
union {
   struct {
      int8_t   mode
 
      int8_t   mode_chroma
 
   }   intra
 
   struct {
      int16_t   mv [2][2]
 
      uint8_t   mv_ref [2]
 
      uint8_t   mv_cand0: 3
 
      uint8_t   mv_cand1: 3
 
      uint8_t   mv_dir: 2
 
   }   inter
 
}; 
 

Field Documentation

◆ 

union { ... } cu_info_t::@2

◆ cbf

uint16_t cu_info_t::cbf

◆ depth

uint8_t cu_info_t::depth

◆ 

struct { ... } cu_info_t::inter

◆ 

struct { ... } cu_info_t::intra

◆ merge_idx

uint8_t cu_info_t::merge_idx

◆ merged

uint8_t cu_info_t::merged

◆ mode

int8_t cu_info_t::mode

◆ mode_chroma

int8_t cu_info_t::mode_chroma

◆ mv

int16_t cu_info_t::mv[2][2]

◆ mv_cand0

uint8_t cu_info_t::mv_cand0

◆ mv_cand1

uint8_t cu_info_t::mv_cand1

◆ mv_dir

uint8_t cu_info_t::mv_dir

◆ mv_ref

uint8_t cu_info_t::mv_ref[2]

◆ part_size

uint8_t cu_info_t::part_size

◆ qp

uint8_t cu_info_t::qp

This is required for deblocking when per-LCU QPs are enabled.

◆ skipped

uint8_t cu_info_t::skipped

◆ tr_depth

uint8_t cu_info_t::tr_depth

◆ tr_skip

uint8_t cu_info_t::tr_skip

◆ type

uint8_t cu_info_t::type

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