digiKam
encoder-syntax.h File Reference

Go to the source code of this file.

Enumerations

enum  SplitType { ForcedNonSplit = 0 , ForcedSplit = 1 , OptionalSplit = 2 }
 

Functions

void encode_cbf_chroma (CABAC_encoder *cabac, int trafoDepth, int cbf_chroma)
 
void encode_cbf_luma (CABAC_encoder *cabac, bool zeroTrafoDepth, int cbf_luma)
 
void encode_coding_unit (encoder_context *ectx, CABAC_encoder *cabac, const enc_cb *cb, int x0, int y0, int log2CbSize, bool recurse)
 
void encode_ctb (encoder_context *ectx, CABAC_encoder *cabac, enc_cb *cb, int ctbX, int ctbY)
 
void encode_cu_skip_flag (encoder_context *ectx, CABAC_encoder *cabac, const enc_cb *cb, bool skip)
 
void encode_merge_idx (encoder_context *ectx, CABAC_encoder *cabac, int mergeIdx)
 
void encode_quadtree (encoder_context *ectx, CABAC_encoder *cabac, const enc_cb *cb, int x0, int y0, int log2CbSize, int ctDepth, bool recurse)
 
void encode_split_cu_flag (encoder_context *ectx, CABAC_encoder *cabac, int x0, int y0, int ctDepth, int split_flag)
 
void encode_split_transform_flag (encoder_context *ectx, CABAC_encoder *cabac, int log2TrafoSize, int split_flag)
 
void encode_transform_tree (encoder_context *ectx, CABAC_encoder *cabac, const enc_tb *tb, const enc_cb *cb, int x0, int y0, int xBase, int yBase, int log2TrafoSize, int trafoDepth, int blkIdx, int MaxTrafoDepth, int IntraSplitFlag, bool recurse)
 
void encode_transform_unit (encoder_context *ectx, CABAC_encoder *cabac, const enc_tb *tb, const enc_cb *cb, int x0, int y0, int xBase, int yBase, int log2TrafoSize, int trafoDepth, int blkIdx)
 
SplitType get_split_type (const seq_parameter_set *sps, int x0, int y0, int log2CbSize)
 
float recursive_cbfChroma_rate (CABAC_encoder_estim *cabac, enc_tb *tb, int log2TrafoSize, int trafoDepth)
 

Enumeration Type Documentation

◆ SplitType

enum SplitType
Enumerator
ForcedNonSplit 
ForcedSplit 
OptionalSplit 

Function Documentation

◆ encode_cbf_chroma()

void encode_cbf_chroma ( CABAC_encoder cabac,
int  trafoDepth,
int  cbf_chroma 
)

◆ encode_cbf_luma()

void encode_cbf_luma ( CABAC_encoder cabac,
bool  zeroTrafoDepth,
int  cbf_luma 
)

◆ encode_coding_unit()

void encode_coding_unit ( encoder_context ectx,
CABAC_encoder cabac,
const enc_cb cb,
int  x0,
int  y0,
int  log2CbSize,
bool  recurse 
)

◆ encode_ctb()

void encode_ctb ( encoder_context ectx,
CABAC_encoder cabac,
enc_cb cb,
int  ctbX,
int  ctbY 
)

◆ encode_cu_skip_flag()

void encode_cu_skip_flag ( encoder_context ectx,
CABAC_encoder cabac,
const enc_cb cb,
bool  skip 
)

◆ encode_merge_idx()

void encode_merge_idx ( encoder_context ectx,
CABAC_encoder cabac,
int  mergeIdx 
)

◆ encode_quadtree()

void encode_quadtree ( encoder_context ectx,
CABAC_encoder cabac,
const enc_cb cb,
int  x0,
int  y0,
int  log2CbSize,
int  ctDepth,
bool  recurse 
)

◆ encode_split_cu_flag()

void encode_split_cu_flag ( encoder_context ectx,
CABAC_encoder cabac,
int  x0,
int  y0,
int  ctDepth,
int  split_flag 
)

◆ encode_split_transform_flag()

void encode_split_transform_flag ( encoder_context ectx,
CABAC_encoder cabac,
int  log2TrafoSize,
int  split_flag 
)

◆ encode_transform_tree()

void encode_transform_tree ( encoder_context ectx,
CABAC_encoder cabac,
const enc_tb tb,
const enc_cb cb,
int  x0,
int  y0,
int  xBase,
int  yBase,
int  log2TrafoSize,
int  trafoDepth,
int  blkIdx,
int  MaxTrafoDepth,
int  IntraSplitFlag,
bool  recurse 
)

◆ encode_transform_unit()

void encode_transform_unit ( encoder_context ectx,
CABAC_encoder cabac,
const enc_tb tb,
const enc_cb cb,
int  x0,
int  y0,
int  xBase,
int  yBase,
int  log2TrafoSize,
int  trafoDepth,
int  blkIdx 
)

◆ get_split_type()

SplitType get_split_type ( const seq_parameter_set sps,
int  x0,
int  y0,
int  log2CbSize 
)

◆ recursive_cbfChroma_rate()

float recursive_cbfChroma_rate ( CABAC_encoder_estim cabac,
enc_tb tb,
int  log2TrafoSize,
int  trafoDepth 
)