#include "block.h"
Go to the source code of this file.
Functions | |
int | luma_residual_coding_p444_16x16 (Macroblock *currMB, int, short, int[2], char *) |
int | luma_residual_coding_p444_8x8 (Macroblock *currMB, int *, int64 *, int, short, int[2], char *) |
void | luma_residual_coding_p444 (Macroblock *currMB) |
Definition in file macroblock_p444.h.
void luma_residual_coding_p444 | ( | Macroblock * | currMB | ) |
Residual Coding of a Luma macroblock (not for intra).
Definition at line 430 of file macroblock_P444.c.
References _LUMA_MB_COEFF_COST_, macroblock::cbp_blk, slice::cofAC, copy_image_data_16x16(), copyblock_sp(), storable_picture::imgY, luma_residual_coding_p444_16x16(), luma_residual_coding_p444_8x8(), slice::mb_pred, macroblock::mb_type, storable_picture::p_img, macroblock::p_Img, macroblock::p_slice, macroblock::pix_x, macroblock::pix_y, macroblock::qp_scaled, and slice::slice_type.
Referenced by encode_one_macroblock_low(), and RDCost_for_macroblocks().
int luma_residual_coding_p444_16x16 | ( | Macroblock * | currMB, | |
int | block8x8, | |||
short | p_dir, | |||
int | list_mode[2], | |||
char * | ref_idx | |||
) |
Residual Coding of an 8x8 Luma block (not for intra).
currMB | Current Macroblock to be coded | |
block8x8 | block number of 8x8 block | |
p_dir | prediction direction | |
list_mode | list0 prediction mode (1-7, 0=DIRECT) | |
ref_idx | reference pictures for each list |
Definition at line 31 of file macroblock_P444.c.
References _LUMA_COEFF_COST_, macroblock::cbp_blk, chroma_prediction(), slice::cofAC, copy_image_data_8x8(), copyblock_sp(), storable_picture::imgUV, storable_picture::imgY, luma_prediction(), slice::mb_ores, slice::mb_pred, macroblock::opix_y, macroblock::p_Img, macroblock::p_slice, img_par::pCurImg, macroblock::pix_x, macroblock::pix_y, macroblock::qp_scaled, select_plane(), and slice::slice_type.
Referenced by luma_residual_coding_p444().
int luma_residual_coding_p444_8x8 | ( | Macroblock * | currMB, | |
int * | cbp, | |||
int64 * | cbp_blk, | |||
int | block8x8, | |||
short | p_dir, | |||
int | list_mode[2], | |||
char * | ref_idx | |||
) |
Residual Coding of an 8x8 Luma block (not for intra).
currMB | Current Macroblock to be coded | |
cbp | Output: cbp (updated according to processed 8x8 luminance block) | |
cbp_blk | Output: block cbp (updated according to processed 8x8 luminance block) | |
block8x8 | block number of 8x8 block | |
p_dir | prediction direction | |
list_mode | list prediction mode (1-7, 0=DIRECT) | |
ref_idx | reference pictures for each list |
Definition at line 216 of file macroblock_P444.c.
References _LUMA_COEFF_COST_, chroma_prediction(), slice::cofAC, copy_image_data_8x8(), copyblock_sp(), storable_picture::imgUV, storable_picture::imgY, luma_prediction(), slice::mb_ores, slice::mb_pred, macroblock::opix_y, macroblock::p_slice, img_par::pCurImg, macroblock::pix_x, macroblock::pix_y, macroblock::qp_scaled, select_plane(), and slice::slice_type.
Referenced by luma_residual_coding_p444(), RDCost_for_8x8blocks(), and submacroblock_mode_decision_low().