This source file includes following definitions.
- fillIntraPredModeCandidates
#ifndef DE265_INTRAPRED_H
#define DE265_INTRAPRED_H
#include "libde265/decctx.h"
extern const int intraPredAngle_table[1+34];
void fillIntraPredModeCandidates(enum IntraPredMode candModeList[3],
int x,int y, int PUidx,
bool availableA,
bool availableB,
const de265_image* img);
inline void fillIntraPredModeCandidates(enum IntraPredMode candModeList[3], int x,int y,
bool availableA,
bool availableB,
const de265_image* img)
{
int PUidx = img->get_sps().getPUIndexRS(x,y);
fillIntraPredModeCandidates(candModeList, x,y, PUidx, availableA,availableB, img);
}
void fillIntraPredModeCandidates(enum IntraPredMode candModeList[3],
int x,int y,
bool availableA,
bool availableB,
const class CTBTreeMatrix& ctbs,
const seq_parameter_set* sps);
int find_intra_pred_mode(enum IntraPredMode mode,
enum IntraPredMode candModeList[3]);
void list_chroma_pred_candidates(enum IntraPredMode chroma_mode[5],
enum IntraPredMode luma_mode);
int get_intra_scan_idx(int log2TrafoSize, enum IntraPredMode intraPredMode, int cIdx,
const seq_parameter_set* sps);
int get_intra_scan_idx_luma (int log2TrafoSize, enum IntraPredMode intraPredMode);
int get_intra_scan_idx_chroma(int log2TrafoSize, enum IntraPredMode intraPredMode);
enum IntraPredMode lumaPredMode_to_chromaPredMode(enum IntraPredMode luma,
enum IntraChromaPredMode chroma);
void decode_intra_prediction(de265_image* img,
int xB0,int yB0,
enum IntraPredMode intraPredMode,
int nT, int cIdx);
void decode_intra_prediction_from_tree(const de265_image* img,
const class enc_tb* tb,
const class CTBTreeMatrix& ctbs,
const class seq_parameter_set& sps,
int cIdx);
template <class pixel_t> void decode_intra_prediction(de265_image* img,
int xB0,int yB0,
enum IntraPredMode intraPredMode,
pixel_t* dst, int nT, int cIdx);
#endif