FFmpeg
|
H.264 / AVC / MPEG4 part10 motion vector predicion. More...
#include "internal.h"
#include "avcodec.h"
#include "h264.h"
#include "mpegutils.h"
#include "libavutil/avassert.h"
Go to the source code of this file.
Macros | |
#define | SET_DIAG_MV(MV_OP, REF_OP, XY, Y4) |
#define | FIX_MV_MBAFF(type, refn, mvn, idx) |
#define | MAP_MVS |
#define | MAP_F2F(idx, mb_type) |
#define | MAP_F2F(idx, mb_type) |
Functions | |
static av_always_inline int | fetch_diagonal_mv (H264Context *h, const int16_t **C, int i, int list, int part_width) |
static av_always_inline void | pred_motion (H264Context *const h, int n, int part_width, int list, int ref, int *const mx, int *const my) |
Get the predicted MV. | |
static av_always_inline void | pred_16x8_motion (H264Context *const h, int n, int list, int ref, int *const mx, int *const my) |
Get the directionally predicted 16x8 MV. | |
static av_always_inline void | pred_8x16_motion (H264Context *const h, int n, int list, int ref, int *const mx, int *const my) |
Get the directionally predicted 8x16 MV. | |
static av_always_inline void | pred_pskip_motion (H264Context *const h) |
static void | fill_decode_neighbors (H264Context *h, int mb_type) |
static void | fill_decode_caches (H264Context *h, int mb_type) |
static void av_unused | decode_mb_skip (H264Context *h) |
decodes a P_SKIP or B_SKIP macroblock | |
H.264 / AVC / MPEG4 part10 motion vector predicion.
Definition in file h264_mvpred.h.
#define SET_DIAG_MV | ( | MV_OP, | |
REF_OP, | |||
XY, | |||
Y4 | |||
) |
Referenced by fetch_diagonal_mv().
#define FIX_MV_MBAFF | ( | type, | |
refn, | |||
mvn, | |||
idx | |||
) |
Definition at line 233 of file h264_mvpred.h.
Referenced by pred_pskip_motion().
#define MAP_MVS |
#define MAP_F2F | ( | idx, | |
mb_type | |||
) |
#define MAP_F2F | ( | idx, | |
mb_type | |||
) |
|
static |
Definition at line 38 of file h264_mvpred.h.
Referenced by pred_8x16_motion(), and pred_motion().
|
static |
Get the predicted MV.
n | the block index |
part_width | the width of the partition (4, 8,16) -> (1, 2, 4) |
mx | the x component of the predicted motion vector |
my | the y component of the predicted motion vector |
Definition at line 94 of file h264_mvpred.h.
Referenced by ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), pred_16x8_motion(), pred_8x16_motion(), and svq3_mc_dir().
|
static |
Get the directionally predicted 16x8 MV.
n | the block index |
mx | the x component of the predicted motion vector |
my | the y component of the predicted motion vector |
Definition at line 157 of file h264_mvpred.h.
Referenced by ff_h264_decode_mb_cabac(), and ff_h264_decode_mb_cavlc().
|
static |
Get the directionally predicted 8x16 MV.
n | the block index |
mx | the x component of the predicted motion vector |
my | the y component of the predicted motion vector |
Definition at line 197 of file h264_mvpred.h.
Referenced by ff_h264_decode_mb_cabac(), and ff_h264_decode_mb_cavlc().
|
static |
Definition at line 252 of file h264_mvpred.h.
Referenced by decode_mb_skip().
|
static |
Definition at line 350 of file h264_mvpred.h.
Referenced by decode_mb_skip(), ff_h264_decode_mb_cabac(), and ff_h264_decode_mb_cavlc().
|
static |
Definition at line 439 of file h264_mvpred.h.
Referenced by decode_mb_skip(), ff_h264_decode_mb_cabac(), and ff_h264_decode_mb_cavlc().
|
static |
decodes a P_SKIP or B_SKIP macroblock
Definition at line 797 of file h264_mvpred.h.
Referenced by ff_h264_decode_mb_cabac(), and ff_h264_decode_mb_cavlc().