digiKam
enc_tb Class Reference
+ Inheritance diagram for enc_tb:

Public Member Functions

void alloc_coeff_memory (int cIdx, int tbSize)
 
virtual void debug_dumpTree (int flags, int indent=0) const
 
void debug_writeBlack (encoder_context *ectx, de265_image *img) const
 
 enc_tb (int x, int y, int log2TbSize, enc_cb *_cb)
 
PixelAccessor getPixels (int x, int y, int cIdx, const seq_parameter_set &sps)
 
const enc_tbgetTB (int x, int y) const
 
bool isZeroBlock () const
 
void reconstruct (encoder_context *ectx, de265_image *img) const
 
void set_cbf_flags_from_children ()
 
void writeReconstructionToImage (de265_image *img, const seq_parameter_set *sps) const
 
 ~enc_tb ()
 

Public Attributes

union {
   struct {
      enc_tb *   children [4]
 
   } 
 
   struct {
      int16_t *   coeff [3]
 
      uint8_t   explicit_rdpcm [3][2]
 
      bool   skip_transform [3][2]
 
   } 
 
}; 
 
uint8_t blkIdx: 2
 
enc_cbcb
 
uint8_t cbf [3]
 
float distortion
 
enc_tb ** downPtr
 
enum IntraPredMode intra_mode
 
enum IntraPredMode intra_mode_chroma
 
std::shared_ptr< small_image_bufferintra_prediction [3]
 
uint8_t log2Size: 3
 
enc_tbparent
 
float rate
 
float rate_withoutCbfChroma
 
std::shared_ptr< small_image_bufferreconstruction [3]
 
std::shared_ptr< small_image_bufferresidual [3]
 
uint8_t split_transform_flag: 1
 
uint8_t TrafoDepth: 2
 
uint16_t x
 
uint16_t y
 

Static Public Attributes

static const int DUMPTREE_ALL = 0xFFFF
 
static const int DUMPTREE_INTRA_PREDICTION = (1<<0)
 
static const int DUMPTREE_RECONSTRUCTION = (1<<2)
 
static const int DUMPTREE_RESIDUAL = (1<<1)
 

Constructor & Destructor Documentation

◆ enc_tb()

enc_tb::enc_tb ( int  x,
int  y,
int  log2TbSize,
enc_cb _cb 
)

◆ ~enc_tb()

enc_tb::~enc_tb ( )

Member Function Documentation

◆ alloc_coeff_memory()

void enc_tb::alloc_coeff_memory ( int  cIdx,
int  tbSize 
)

◆ debug_dumpTree()

virtual void enc_tb::debug_dumpTree ( int  flags,
int  indent = 0 
) const
virtual

Implements enc_node.

◆ debug_writeBlack()

void enc_tb::debug_writeBlack ( encoder_context ectx,
de265_image img 
) const

◆ getPixels()

PixelAccessor enc_tb::getPixels ( int  x,
int  y,
int  cIdx,
const seq_parameter_set sps 
)

◆ getTB()

const enc_tb* enc_tb::getTB ( int  x,
int  y 
) const

◆ isZeroBlock()

bool enc_tb::isZeroBlock ( ) const
inline

References cbf.

◆ reconstruct()

void enc_tb::reconstruct ( encoder_context ectx,
de265_image img 
) const

◆ set_cbf_flags_from_children()

void enc_tb::set_cbf_flags_from_children ( )

◆ writeReconstructionToImage()

void enc_tb::writeReconstructionToImage ( de265_image img,
const seq_parameter_set sps 
) const

Member Data Documentation

◆ 

union { ... }

◆ blkIdx

uint8_t enc_tb::blkIdx

◆ cb

enc_cb* enc_tb::cb

◆ cbf

uint8_t enc_tb::cbf[3]

Referenced by isZeroBlock().

◆ children

enc_tb* enc_tb::children[4]

◆ coeff

int16_t* enc_tb::coeff[3]

◆ distortion

float enc_tb::distortion

◆ downPtr

enc_tb** enc_tb::downPtr

◆ DUMPTREE_ALL

const int enc_node::DUMPTREE_ALL = 0xFFFF
staticinherited

◆ DUMPTREE_INTRA_PREDICTION

const int enc_node::DUMPTREE_INTRA_PREDICTION = (1<<0)
staticinherited

◆ DUMPTREE_RECONSTRUCTION

const int enc_node::DUMPTREE_RECONSTRUCTION = (1<<2)
staticinherited

◆ DUMPTREE_RESIDUAL

const int enc_node::DUMPTREE_RESIDUAL = (1<<1)
staticinherited

◆ explicit_rdpcm

uint8_t enc_tb::explicit_rdpcm[3][2]

◆ intra_mode

enum IntraPredMode enc_tb::intra_mode

◆ intra_mode_chroma

enum IntraPredMode enc_tb::intra_mode_chroma

◆ intra_prediction

std::shared_ptr<small_image_buffer> enc_tb::intra_prediction[3]

◆ log2Size

uint8_t enc_node::log2Size
inherited

◆ parent

enc_tb* enc_tb::parent

◆ rate

float enc_tb::rate

◆ rate_withoutCbfChroma

float enc_tb::rate_withoutCbfChroma

◆ reconstruction

std::shared_ptr<small_image_buffer> enc_tb::reconstruction[3]
mutable

◆ residual

std::shared_ptr<small_image_buffer> enc_tb::residual[3]

◆ skip_transform

bool enc_tb::skip_transform[3][2]

◆ split_transform_flag

uint8_t enc_tb::split_transform_flag

◆ TrafoDepth

uint8_t enc_tb::TrafoDepth

◆ x

uint16_t enc_node::x
inherited

◆ y

uint16_t enc_node::y
inherited

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