
Go to the source code of this file.
Functions | |
| int | Mode_Decision_for_Intra8x8Macroblock (Slice *currSlice, Macroblock *currMB, double lambda, double *min_cost) |
| int | Mode_Decision_for_8x8IntraBlocks_JM_Low (Slice *currSlice, Macroblock *currMB, int b8, double lambda, double *min_cost, int cr_cbp[3]) |
| int | Mode_Decision_for_8x8IntraBlocks_JM_High (Slice *currSlice, Macroblock *currMB, int b8, double lambda, double *min_cost, int cr_cbp[3]) |
| double | RDCost_for_8x8IntraBlocks (Slice *currSlice, Macroblock *currMB, int *c_nz, int b8, int ipmode, double lambda, double min_rdcost, int mostProbableMode, int c_nzCbCr[3]) |
| void | compute_comp_cost8x8 (imgpel **cur_img, imgpel **mpr8x8, int pic_opix_x, double *cost) |
| void | intrapred_8x8 (Macroblock *currMB, ColorPlane pl, int img_x, int img_y, int *left_available, int *up_available, int *all_available) |
| void | LowPassForIntra8x8Pred (imgpel *PredPel, int block_up_left, int block_up, int block_left) |
Variables | |
| int(* | Mode_Decision_for_8x8IntraBlocks )(Slice *currSlice, Macroblock *currMB, int b8, double lambda, double *min_cost, int cr_cbp[3]) |
Definition in file transform8x8.h.
| void compute_comp_cost8x8 | ( | imgpel ** | cur_img, | |
| imgpel ** | mpr8x8, | |||
| int | pic_opix_x, | |||
| double * | cost | |||
| ) |
distortion for an 8x8 Intra block
Definition at line 1781 of file transform8x8.c.
References distortion8x8().
Referenced by Mode_Decision_for_8x8IntraBlocks_JM_Low().

| void intrapred_8x8 | ( | Macroblock * | currMB, | |
| ColorPlane | pl, | |||
| int | img_x, | |||
| int | img_y, | |||
| int * | left_available, | |||
| int * | up_available, | |||
| int * | all_available | |||
| ) |
Make intra 8x8 prediction according to all 9 prediction modes. The routine uses left and upper neighbouring points from previous coded blocks to do this (if available). Notice that inaccessible neighbouring points are signalled with a negative value in the predmode array .
Definition at line 1117 of file transform8x8.c.
References pix_pos::available, ImageParameters::dc_pred_value, ImageParameters::intra_block, LowPassForIntra8x8Pred(), pix_pos::mb_addr, ImageParameters::mb_size, ImageParameters::mpr_8x8, storable_picture::p_curr_img, pix_pos::pos_x, pix_pos::pos_y, and InputParameters::UseConstrainedIntraPred.
Referenced by Mode_Decision_for_8x8IntraBlocks_JM_High(), and Mode_Decision_for_8x8IntraBlocks_JM_Low().

| void LowPassForIntra8x8Pred | ( | imgpel * | PredPel, | |
| int | block_up_left, | |||
| int | block_up, | |||
| int | block_left | |||
| ) |
Prefiltering for Intra8x8 prediction.
Definition at line 1351 of file transform8x8.c.
Referenced by intrapred_8x8().
| int Mode_Decision_for_8x8IntraBlocks_JM_High | ( | Slice * | currSlice, | |
| Macroblock * | currMB, | |||
| int | b8, | |||
| double | lambda, | |||
| double * | min_cost, | |||
| int | cr_cbp[3] | |||
| ) |
8x8 Intra mode decision for a macroblock - High complexity
Definition at line 448 of file transform8x8.c.
References ImageParameters::AdaptiveRounding, ImageParameters::ARCofAdj8x8, pix_pos::available, ImageParameters::cofAC, copy_8x8block(), get4x4Neighbour(), storable_picture::imgUV, storable_picture::imgY, ImageParameters::intra_block, macroblock::intra_pred_modes8x8, intrapred_8x8(), ImageParameters::ipredmode, ImageParameters::ipredmode8x8, pix_pos::mb_addr, ImageParameters::mb_ores, ImageParameters::mb_pred, ImageParameters::mb_size, ImageParameters::mb_x, ImageParameters::mb_y, ImageParameters::mpr_8x8, ImageParameters::opix_x, ImageParameters::opix_y, ImageParameters::P444_joined, pCurImg, ImageParameters::pix_x, ImageParameters::pix_y, pix_pos::pos_x, pix_pos::pos_y, RDCost_for_8x8IntraBlocks(), reset_coding_state_cs_cm(), select_plane(), and InputParameters::UseConstrainedIntraPred.
Referenced by init_rdopt().

| int Mode_Decision_for_8x8IntraBlocks_JM_Low | ( | Slice * | currSlice, | |
| Macroblock * | currMB, | |||
| int | b8, | |||
| double | lambda, | |||
| double * | min_cost, | |||
| int | cr_cbp[3] | |||
| ) |
8x8 Intra mode decision for a macroblock - Low complexity
Definition at line 299 of file transform8x8.c.
References pix_pos::available, compute_comp_cost8x8(), get4x4Neighbour(), ImageParameters::intra_block, macroblock::intra_pred_modes8x8, intrapred_8x8(), ImageParameters::ipredmode, ImageParameters::ipredmode8x8, pix_pos::mb_addr, ImageParameters::mb_ores, ImageParameters::mb_pred, ImageParameters::mb_size, ImageParameters::mb_x, ImageParameters::mb_y, ImageParameters::mpr_8x8, ImageParameters::opix_x, ImageParameters::opix_y, ImageParameters::P444_joined, pCurImg, ImageParameters::pix_x, ImageParameters::pix_y, pix_pos::pos_x, pix_pos::pos_y, select_plane(), and InputParameters::UseConstrainedIntraPred.
Referenced by init_rdopt().

| int Mode_Decision_for_Intra8x8Macroblock | ( | Slice * | currSlice, | |
| Macroblock * | currMB, | |||
| double | lambda, | |||
| double * | min_cost | |||
| ) |
8x8 Intra mode decision for a macroblock
Definition at line 245 of file transform8x8.c.
References ImageParameters::P444_joined.
Referenced by encode_one_macroblock_low(), and RDCost_for_macroblocks().
| double RDCost_for_8x8IntraBlocks | ( | Slice * | currSlice, | |
| Macroblock * | currMB, | |||
| int * | c_nz, | |||
| int | b8, | |||
| int | ipmode, | |||
| double | lambda, | |||
| double | min_rdcost, | |||
| int | mostProbableMode, | |||
| int | c_nzCbCr[3] | |||
| ) |
R-D Cost for an 8x8 Intra block.
Definition at line 1416 of file transform8x8.c.
References assignSE2partition, syntaxelement::context, storable_picture::imgY, syntaxelement::len, ImageParameters::opix_y, ImageParameters::P444_joined, storable_picture::p_curr_img, Slice::partArr, InputParameters::partition_mode, pCurImg, ImageParameters::pix_x, ImageParameters::pix_y, select_plane(), Slice::symbol_mode, ImageParameters::type, syntaxelement::type, syntaxelement::value1, writeCoeff4x4_CAVLC(), and writeCoeff8x8_CABAC().
Referenced by Mode_Decision_for_8x8IntraBlocks_JM_High().
