#include "contributors.h"
#include <limits.h>
#include "global.h"
#include "image.h"
#include "memalloc.h"
#include "mb_access.h"
#include "refbuf.h"
#include "me_distortion.h"
#include "me_fullsearch.h"
#include "mv-search.h"

Go to the source code of this file.
Functions | |
| int | FullPelBlockMotionSearch (Macroblock *currMB, imgpel *orig_pic, short ref, int list, char ***refPic, short ****tmp_mv, int pic_pix_x, int pic_pix_y, int blocktype, MotionVector *pred, MotionVector *mv, int search_range, int min_mcost, int lambda_factor, int apply_weights) |
| int | FullPelBlockMotionBiPred (Macroblock *currMB, imgpel *orig_pic, short ref, int list, char ***refPic, short ****tmp_mv, int pic_pix_x, int pic_pix_y, int blocktype, MotionVector *pred_mv1, MotionVector *pred_mv2, MotionVector *mv1, MotionVector *mv2, int search_range, int min_mcost, int iteration_no, int lambda_factor, int apply_weights) |
| int | SubPelBlockMotionSearch (imgpel *orig_pic, short ref, int list, int list_offset, int pic_pix_x, int pic_pix_y, int blocktype, MotionVector *pred, MotionVector *mv, int search_pos2, int search_pos4, int min_mcost, int *lambda, int apply_weights) |
| int | SubPelBlockSearchBiPred (imgpel *orig_pic, short ref, int list, int pic_pix_x, int pic_pix_y, int blocktype, MotionVector *pred_mv1, MotionVector *pred_mv2, MotionVector *mv1, MotionVector *mv2, int search_pos2, int search_pos4, int min_mcost, int *lambda, int apply_weights) |
Variables | |
| short * | spiral_search_x |
| short * | spiral_search_y |
| short * | spiral_hpel_search_x |
| short * | spiral_hpel_search_y |
Definition in file me_fullsearch.c.
| int FullPelBlockMotionBiPred | ( | Macroblock * | currMB, | |
| imgpel * | orig_pic, | |||
| short | ref, | |||
| int | list, | |||
| char *** | refPic, | |||
| short **** | tmp_mv, | |||
| int | pic_pix_x, | |||
| int | pic_pix_y, | |||
| int | blocktype, | |||
| MotionVector * | pred_mv1, | |||
| MotionVector * | pred_mv2, | |||
| MotionVector * | mv1, | |||
| MotionVector * | mv2, | |||
| int | search_range, | |||
| int | min_mcost, | |||
| int | iteration_no, | |||
| int | lambda_factor, | |||
| int | apply_weights | |||
| ) |
Full pixel block motion search.
Definition at line 136 of file me_fullsearch.c.
References InputParameters::blc_size, F_PEL, IMG_PAD_SIZE_TIMES4, storable_picture::imgUV_sub, macroblock::list_offset, storable_picture::p_curr_img_sub, storable_picture::size_x, storable_picture::size_x_cr_pad, storable_picture::size_x_pad, storable_picture::size_y, storable_picture::size_y_cr_pad, and storable_picture::size_y_pad.
Referenced by init_ME_engine().
| int FullPelBlockMotionSearch | ( | Macroblock * | currMB, | |
| imgpel * | orig_pic, | |||
| short | ref, | |||
| int | list, | |||
| char *** | refPic, | |||
| short **** | tmp_mv, | |||
| int | pic_pix_x, | |||
| int | pic_pix_y, | |||
| int | blocktype, | |||
| MotionVector * | pred, | |||
| MotionVector * | mv, | |||
| int | search_range, | |||
| int | min_mcost, | |||
| int | lambda_factor, | |||
| int | apply_weights | |||
| ) |
Full pixel block motion search.
Definition at line 45 of file me_fullsearch.c.
References InputParameters::blc_size, F_PEL, IMG_PAD_SIZE_TIMES4, storable_picture::imgUV_sub, macroblock::list_offset, storable_picture::p_curr_img_sub, InputParameters::rdopt, storable_picture::size_x, storable_picture::size_x_cr_pad, storable_picture::size_x_pad, storable_picture::size_y, storable_picture::size_y_cr_pad, storable_picture::size_y_pad, and ImageParameters::type.
Referenced by init_ME_engine().
| int SubPelBlockMotionSearch | ( | imgpel * | orig_pic, | |
| short | ref, | |||
| int | list, | |||
| int | list_offset, | |||
| int | pic_pix_x, | |||
| int | pic_pix_y, | |||
| int | blocktype, | |||
| MotionVector * | pred, | |||
| MotionVector * | mv, | |||
| int | search_pos2, | |||
| int | search_pos4, | |||
| int | min_mcost, | |||
| int * | lambda, | |||
| int | apply_weights | |||
| ) |
Sub pixel block motion search.
Definition at line 248 of file me_fullsearch.c.
References InputParameters::blc_size, H_PEL, IMG_PAD_SIZE, storable_picture::imgUV_sub, storable_picture::p_curr_img_sub, Q_PEL, InputParameters::rdopt, storable_picture::size_x_cr_pad, storable_picture::size_x_pad, storable_picture::size_y_cr_pad, storable_picture::size_y_pad, and ImageParameters::type.
Referenced by init_ME_engine().
| int SubPelBlockSearchBiPred | ( | imgpel * | orig_pic, | |
| short | ref, | |||
| int | list, | |||
| int | pic_pix_x, | |||
| int | pic_pix_y, | |||
| int | blocktype, | |||
| MotionVector * | pred_mv1, | |||
| MotionVector * | pred_mv2, | |||
| MotionVector * | mv1, | |||
| MotionVector * | mv2, | |||
| int | search_pos2, | |||
| int | search_pos4, | |||
| int | min_mcost, | |||
| int * | lambda, | |||
| int | apply_weights | |||
| ) |
Bipred Sub pixel block motion search.
Definition at line 383 of file me_fullsearch.c.
References InputParameters::blc_size, ImageParameters::current_mb_nr, H_PEL, IMG_PAD_SIZE, storable_picture::imgUV_sub, macroblock::list_offset, ImageParameters::mb_data, storable_picture::p_curr_img_sub, Q_PEL, storable_picture::size_x, storable_picture::size_x_cr_pad, storable_picture::size_x_pad, storable_picture::size_y, storable_picture::size_y_cr_pad, and storable_picture::size_y_pad.
Referenced by init_ME_engine().