#include <math.h>
#include <limits.h>
#include <float.h>
#include "global.h"
#include "rdopt_coding_state.h"
#include "mb_access.h"
#include "intrarefresh.h"
#include "image.h"
#include "ratectl.h"
#include "mode_decision.h"
#include "fmo.h"
#include "me_umhex.h"
#include "me_umhexsmp.h"
#include "macroblock.h"
#include "md_common.h"
#include "conformance.h"
#include "vlc.h"
#include "rdopt.h"
#include "mv_search.h"
Go to the source code of this file.
Functions | |
static void | fast_mode_intra_decision (Macroblock *currMB, short *intra_skip) |
void | encode_one_macroblock_highfast (Macroblock *currMB) |
Definition in file md_highfast.c.
void encode_one_macroblock_highfast | ( | Macroblock * | currMB | ) |
Mode Decision for a macroblock.
Definition at line 94 of file md_highfast.c.
References inp_par_enc::AdaptiveRounding, slice::all_mv, img_par::b8x8info, macroblock::block_x, macroblock::block_y, macroblock::c_ipred_mode, compute_mode_RD_cost(), inp_par_enc::CtxAdptLagrangeMult, determine_prediction_list(), fast_mode_intra_decision(), FindSkipModeMotionVector(), get_bipred_cost(), init_enc_mb_params(), init_md_best(), is_bipred_enabled(), list_prediction_cost(), slice::mb_pred, macroblock::mb_y, img_par::mb_y_intra, macroblock::mbAddrX, storable_picture::motion, pic_motion_params::mv, macroblock::opix_y, macroblock::p_Img, macroblock::p_slice, PartitionMotionSearch(), img_par::pCurImg, macroblock::pix_x, inp_par_enc::ProfileIDC, RandomIntra(), rc_store_diff(), rc_store_mad(), inp_par_enc::RCEnable, pic_motion_params::ref_idx, reset_adaptive_rounding(), reset_mb_nz_coeff(), restore_nz_coeff(), set_block8x8_info(), set_subblock8x8_info(), SetChromaPredMode(), inp_par_enc::SkipIntraInInterSlices, slice::slice_type, submacroblock_mode_decision(), and YUV400.
Referenced by init_rdopt().
static void fast_mode_intra_decision | ( | Macroblock * | currMB, | |
short * | intra_skip | |||
) | [static] |
Fast intra decision.
< pixel position p(0,-1)
< pixel positions p(-1, -1..0)
Definition at line 39 of file md_highfast.c.
References storable_picture::imgUV, storable_picture::imgY, macroblock::mb_x, macroblock::mb_y, macroblock::opix_c_y, macroblock::opix_y, macroblock::p_Img, img_par::pCurImg, macroblock::pix_c_x, macroblock::pix_c_y, macroblock::pix_x, and macroblock::pix_y.
Referenced by encode_one_macroblock_highfast().