#include "mbuffer.h"


Go to the source code of this file.
Functions | |
| void | LumaPrediction (Macroblock *currMB, int, int, int, int, int, int, int, short, short, short) |
| void | LumaPredictionBi (Macroblock *currMB, int, int, int, int, int, int, short, short, int) |
| void | ChromaPrediction (Macroblock *currMB, int, int, int, int, int, int, int, int, short, short, short) |
| void | ChromaPrediction4x4 (Macroblock *currMB, int, int, int, int, int, int, short, short, short) |
| void | OneComponentChromaPrediction4x4_regenerate (imgpel *, int, int, short ***, StorablePicture *listX, int) |
| void | OneComponentChromaPrediction4x4_retrieve (imgpel *, int, int, short ***, StorablePicture *listX, int) |
| void | IntraChromaPrediction (Macroblock *currMB, int *, int *, int *) |
| void | IntraChromaRDDecision (Macroblock *currMB, RD_PARAMS) |
| void | ComputeResidue (imgpel **curImg, imgpel **mb_pred, int **mb_rres, int mb_y, int mb_x, int opix_y, int opix_x, int width, int height) |
| void | SampleReconstruct (imgpel **curImg, imgpel **mb_pred, int **mb_rres, int mb_y, int mb_x, int opix_y, int opix_x, int width, int height, int max_imgpel_value, int dq_bits) |
Variables | |
| void(* | OneComponentChromaPrediction4x4 )(imgpel *, int, int, short ***, StorablePicture *listX, int) |
Definition in file mc_prediction.h.
| void ChromaPrediction | ( | Macroblock * | currMB, | |
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| short | , | |||
| short | , | |||
| short | ||||
| ) |
Predict one chroma block.
Definition at line 462 of file mc_prediction.c.
References ImageParameters::all_mv, ImageParameters::bipred_mv, IMG_PAD_SIZE_TIMES4, IntraChromaPrediction4x4(), is_bipred_enabled(), macroblock::list_offset, ImageParameters::max_imgpel_value_comp, ImageParameters::mb_pred, MCBiPrediction(), MCPrediction(), MCWeightedBiPrediction(), MCWeightedPrediction(), OneComponentChromaPrediction(), ImageParameters::opix_c_x, ImageParameters::opix_c_y, and ImageParameters::type.
Referenced by LumaResidualCoding8x8().

| void ChromaPrediction4x4 | ( | Macroblock * | currMB, | |
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| short | , | |||
| short | , | |||
| short | ||||
| ) |
Predict one chroma 4x4 block.
Definition at line 562 of file mc_prediction.c.
References ImageParameters::all_mv, ImageParameters::bipred_mv, IntraChromaPrediction4x4(), is_bipred_enabled(), macroblock::list_offset, ImageParameters::max_imgpel_value_comp, ImageParameters::mb_pred, MCBiPrediction(), MCPrediction(), MCWeightedBiPrediction(), MCWeightedPrediction(), and ImageParameters::type.
Referenced by ChromaResidualCoding().

| void IntraChromaPrediction | ( | Macroblock * | currMB, | |
| int * | , | |||
| int * | , | |||
| int * | ||||
| ) |
Intra prediction of the chrminance layers of one macroblock.
< pixel position p(0,-1)
< pixel positions p(-1, -1..15)
Definition at line 656 of file mc_prediction.c.
References pix_pos::available, macroblock::c_ipred_mode, InputParameters::ChromaIntraDisable, ImageParameters::dc_pred_value_comp, distortion4x4(), ImageParameters::field_mode, storable_picture::imgUV, ImageParameters::intra_block, InputParameters::IntraDisableInterOnly, ImageParameters::max_imgpel_value_comp, pix_pos::mb_addr, ImageParameters::mb_cr_size_x, ImageParameters::mb_cr_size_y, ImageParameters::mb_size, ImageParameters::MbaffFrameFlag, ImageParameters::mpr_16x16, ImageParameters::num_blk8x8_uv, pix_pos::pos_x, pix_pos::pos_y, InputParameters::rdopt, subblk_offset_x, ImageParameters::type, InputParameters::UseConstrainedIntraPred, and ImageParameters::yuv_format.

| void IntraChromaRDDecision | ( | Macroblock * | currMB, | |
| RD_PARAMS | ||||
| ) |
RD Decision for Intra prediction mode of the chrominance layers of one macroblock.
< pixel position p(0,-1)
< pixel positions p(-1, -1..15)
Definition at line 1397 of file macroblock.c.
References pix_pos::available, macroblock::c_ipred_mode, distortion4x4(), ImageParameters::field_mode, ImageParameters::intra_block, pix_pos::mb_addr, ImageParameters::mb_cr_size_x, ImageParameters::mb_cr_size_y, ImageParameters::mb_size, ImageParameters::MbaffFrameFlag, ImageParameters::mpr_16x16, pix_pos::pos_x, pix_pos::pos_y, Q_PEL, and InputParameters::UseConstrainedIntraPred.

| void LumaPrediction | ( | Macroblock * | currMB, | |
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| short | , | |||
| short | , | |||
| short | ||||
| ) |
Predict one Luma block.
| currMB | Current Macroblock |
Definition at line 146 of file mc_prediction.c.
References ImageParameters::all_mv, ImageParameters::bipred_mv, IMG_PAD_SIZE_TIMES4, is_bipred_enabled(), macroblock::list_offset, ImageParameters::max_imgpel_value, ImageParameters::mb_pred, MCBiPrediction(), MCPrediction(), MCWeightedBiPrediction(), MCWeightedPrediction(), OneComponentLumaPrediction(), ImageParameters::opix_x, ImageParameters::opix_y, and ImageParameters::type.
Referenced by BIDPartitionCost(), GetDirectCost8x8(), GetSkipCostMB(), LumaResidualCoding8x8(), and TransformDecision().

| void LumaPredictionBi | ( | Macroblock * | currMB, | |
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| int | , | |||
| short | , | |||
| short | , | |||
| int | ||||
| ) |
Predict one Luma block.
| currMB | Current Macroblock |
Definition at line 239 of file mc_prediction.c.
References ImageParameters::bipred_mv, IMG_PAD_SIZE_TIMES4, macroblock::list_offset, ImageParameters::max_imgpel_value, ImageParameters::mb_pred, MCBiPrediction(), MCWeightedBiPrediction(), OneComponentLumaPrediction(), ImageParameters::opix_x, ImageParameters::opix_y, and ImageParameters::type.
Referenced by BPredPartitionCost().

| void OneComponentChromaPrediction4x4_regenerate | ( | imgpel * | , | |
| int | , | |||
| int | , | |||
| short *** | , | |||
| StorablePicture * | listX, | |||
| int | ||||
| ) |
Predict (on-the-fly) one component of a chroma 4x4 block.
| listX | image components (color planes) |
Definition at line 288 of file mc_prediction.c.
References storable_picture::chroma_vector_adjustment, ImageParameters::current_mb_nr, ImageParameters::height_cr, storable_picture::imgUV, macroblock::list_offset, ImageParameters::mb_cr_size_x, ImageParameters::mb_cr_size_y, ImageParameters::mb_data, ImageParameters::opix_c_x, ImageParameters::opix_c_y, and ImageParameters::width_cr.
Referenced by PatchInp().
| void OneComponentChromaPrediction4x4_retrieve | ( | imgpel * | , | |
| int | , | |||
| int | , | |||
| short *** | , | |||
| StorablePicture * | listX, | |||
| int | ||||
| ) |
Retrieve one component of a chroma 4x4 block from the buffer.
| listX | image components (color planes) |
Definition at line 354 of file mc_prediction.c.
References storable_picture::chroma_vector_adjustment, IMG_PAD_SIZE_TIMES4, storable_picture::imgUV_sub, ImageParameters::opix_c_x, ImageParameters::opix_c_y, storable_picture::size_x_cr_pad, storable_picture::size_y_cr_pad, and UMVLine8X_chroma().
Referenced by PatchInp().
