FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | MotionEstContext |
Motion estimation context. More... | |
Macros | |
#define | MAX_MV 4096 |
Functions | |
static int | ff_h263_round_chroma (int x) |
int | ff_init_me (struct MpegEncContext *s) |
void | ff_estimate_p_frame_motion (struct MpegEncContext *s, int mb_x, int mb_y) |
void | ff_estimate_b_frame_motion (struct MpegEncContext *s, int mb_x, int mb_y) |
int | ff_pre_estimate_p_frame_motion (struct MpegEncContext *s, int mb_x, int mb_y) |
int | ff_epzs_motion_search (struct MpegEncContext *s, int *mx_ptr, int *my_ptr, int P[10][2], int src_index, int ref_index, int16_t(*last_mv)[2], int ref_mv_scale, int size, int h) |
int | ff_get_mb_score (struct MpegEncContext *s, int mx, int my, int src_index, int ref_index, int size, int h, int add_rate) |
int | ff_get_best_fcode (struct MpegEncContext *s, int16_t(*mv_table)[2], int type) |
void | ff_fix_long_p_mvs (struct MpegEncContext *s) |
void | ff_fix_long_mvs (struct MpegEncContext *s, uint8_t *field_select_table, int field_select, int16_t(*mv_table)[2], int f_code, int type, int truncate) |
Variables | |
const uint8_t | ff_aic_dc_scale_table [32] |
const uint8_t | ff_h263_chroma_qscale_table [32] |
#define MAX_MV 4096 |
Definition at line 32 of file motion_est.h.
Referenced by check_bidir_mv(), direct_search(), encode_q_branch(), estimate_motion_b(), ff_estimate_b_frame_motion(), ff_estimate_p_frame_motion(), ff_get_best_fcode(), ff_mpeg1_encode_init(), ff_pre_estimate_p_frame_motion(), get_limits(), init_mv_penalty_and_fcode(), and mpv_encode_defaults().
|
inlinestatic |
Definition at line 91 of file motion_est.h.
Referenced by chroma_4mv_motion(), chroma_4mv_motion_lowres(), and h263_mv4_search().
int ff_init_me | ( | struct MpegEncContext * | s | ) |
Definition at line 306 of file motion_est.c.
Referenced by encode_frame(), encode_picture(), and svq1_encode_plane().
void ff_estimate_p_frame_motion | ( | struct MpegEncContext * | s, |
int | mb_x, | ||
int | mb_y | ||
) |
< the variance of the block (sum of squared (p[y][x]-average))
< sum of squared differences with the estimated motion vector
Definition at line 889 of file motion_est.c.
Referenced by estimate_motion_thread(), and svq1_encode_plane().
void ff_estimate_b_frame_motion | ( | struct MpegEncContext * | s, |
int | mb_x, | ||
int | mb_y | ||
) |
Definition at line 1513 of file motion_est.c.
Referenced by estimate_motion_thread().
int ff_pre_estimate_p_frame_motion | ( | struct MpegEncContext * | s, |
int | mb_x, | ||
int | mb_y | ||
) |
Definition at line 1074 of file motion_est.c.
Referenced by pre_estimate_motion_thread().
int ff_epzs_motion_search | ( | struct MpegEncContext * | s, |
int * | mx_ptr, | ||
int * | my_ptr, | ||
int | P[10][2], | ||
int | src_index, | ||
int | ref_index, | ||
int16_t(*) | last_mv[2], | ||
int | ref_mv_scale, | ||
int | size, | ||
int | h | ||
) |
Definition at line 974 of file motion_est_template.c.
Referenced by direct_search(), encode_q_branch(), estimate_motion_b(), ff_estimate_p_frame_motion(), and ff_pre_estimate_p_frame_motion().
int ff_get_mb_score | ( | struct MpegEncContext * | s, |
int | mx, | ||
int | my, | ||
int | src_index, | ||
int | ref_index, | ||
int | size, | ||
int | h, | ||
int | add_rate | ||
) |
Definition at line 191 of file motion_est_template.c.
Referenced by encode_q_branch().
int ff_get_best_fcode | ( | struct MpegEncContext * | s, |
int16_t(*) | mv_table[2], | ||
int | type | ||
) |
Definition at line 1621 of file motion_est.c.
Referenced by encode_picture().
void ff_fix_long_p_mvs | ( | struct MpegEncContext * | s | ) |
Definition at line 1674 of file motion_est.c.
Referenced by encode_picture(), and svq1_encode_plane().
void ff_fix_long_mvs | ( | MpegEncContext * | s, |
uint8_t * | field_select_table, | ||
int | field_select, | ||
int16_t(*) | mv_table[2], | ||
int | f_code, | ||
int | type, | ||
int | truncate | ||
) |
truncate | 1 for truncation, 0 for using intra |
Definition at line 1724 of file motion_est.c.
Referenced by encode_picture(), and svq1_encode_plane().
const uint8_t ff_aic_dc_scale_table[32] |
Definition at line 248 of file h263data.h.
Referenced by ff_flv_encode_picture_header(), ff_h263_decode_picture_header(), ff_h263_encode_init(), ff_rv20_encode_picture_header(), and rv10_decode_packet().
const uint8_t ff_h263_chroma_qscale_table[32] |
Definition at line 262 of file h263data.h.
Referenced by ff_h263_decode_picture_header(), ff_mpv_encode_init(), and rv10_decode_packet().