FFmpeg
Functions
vvc_mvs.h File Reference
#include "vvc_ctu.h"

Go to the source code of this file.

Functions

void ff_vvc_round_mv (Mv *mv, int lshift, int rshift)
 
void ff_vvc_clip_mv (Mv *mv)
 
void ff_vvc_mv_scale (Mv *dst, const Mv *src, int td, int tb)
 
void ff_vvc_luma_mv_merge_mode (VVCLocalContext *lc, int merge_idx, int ciip_flag, MvField *mv)
 
void ff_vvc_luma_mv_merge_gpm (VVCLocalContext *lc, const int merge_gpm_idx[2], MvField *mv)
 
void ff_vvc_luma_mv_merge_ibc (VVCLocalContext *lc, int merge_idx, Mv *mv)
 
void ff_vvc_mvp (VVCLocalContext *lc, const int *mvp_lx_flag, const int amvr_shift, MotionInfo *mi)
 
void ff_vvc_mvp_ibc (VVCLocalContext *lc, int mvp_l0_flag, int amvr_shift, Mv *mv)
 
void ff_vvc_sb_mv_merge_mode (VVCLocalContext *lc, int merge_subblock_idx, PredictionUnit *pu)
 
void ff_vvc_affine_mvp (VVCLocalContext *lc, const int *mvp_lx_flag, const int amvr_shift, MotionInfo *mi)
 
void ff_vvc_store_sb_mvs (const VVCLocalContext *lc, PredictionUnit *pu)
 
void ff_vvc_store_mv (const VVCLocalContext *lc, const MotionInfo *mi)
 
void ff_vvc_store_mvf (const VVCLocalContext *lc, const MvField *mvf)
 
void ff_vvc_store_gpm_mvf (const VVCLocalContext *lc, const PredictionUnit *pu)
 
void ff_vvc_update_hmvp (VVCLocalContext *lc, const MotionInfo *mi)
 
int ff_vvc_no_backward_pred_flag (const VVCLocalContext *lc)
 
MvFieldff_vvc_get_mvf (const VVCFrameContext *fc, const int x0, const int y0)
 
void ff_vvc_set_mvf (const VVCLocalContext *lc, const int x0, const int y0, const int w, const int h, const MvField *mvf)
 
void ff_vvc_set_intra_mvf (const VVCLocalContext *lc, int dmvr)
 

Function Documentation

◆ ff_vvc_round_mv()

void ff_vvc_round_mv ( Mv mv,
int  lshift,
int  rshift 
)

◆ ff_vvc_clip_mv()

void ff_vvc_clip_mv ( Mv mv)

◆ ff_vvc_mv_scale()

void ff_vvc_mv_scale ( Mv dst,
const Mv src,
int  td,
int  tb 
)

Definition at line 71 of file vvc_mvs.c.

Referenced by check_mvset(), and derive_mmvd().

◆ ff_vvc_luma_mv_merge_mode()

void ff_vvc_luma_mv_merge_mode ( VVCLocalContext lc,
int  merge_idx,
int  ciip_flag,
MvField mv 
)

Definition at line 802 of file vvc_mvs.c.

Referenced by merge_data_ciip(), and merge_data_regular().

◆ ff_vvc_luma_mv_merge_gpm()

void ff_vvc_luma_mv_merge_gpm ( VVCLocalContext lc,
const int  merge_gpm_idx[2],
MvField mv 
)

Definition at line 815 of file vvc_mvs.c.

Referenced by merge_data_gpm().

◆ ff_vvc_luma_mv_merge_ibc()

void ff_vvc_luma_mv_merge_ibc ( VVCLocalContext lc,
int  merge_idx,
Mv mv 
)

Definition at line 1696 of file vvc_mvs.c.

Referenced by merge_data_ibc().

◆ ff_vvc_mvp()

void ff_vvc_mvp ( VVCLocalContext lc,
const int mvp_lx_flag,
const int  amvr_shift,
MotionInfo mi 
)

Definition at line 1582 of file vvc_mvs.c.

Referenced by mvp_data().

◆ ff_vvc_mvp_ibc()

void ff_vvc_mvp_ibc ( VVCLocalContext lc,
int  mvp_l0_flag,
int  amvr_shift,
Mv mv 
)

Definition at line 1688 of file vvc_mvs.c.

Referenced by mvp_data_ibc().

◆ ff_vvc_sb_mv_merge_mode()

void ff_vvc_sb_mv_merge_mode ( VVCLocalContext lc,
int  merge_subblock_idx,
PredictionUnit pu 
)

Definition at line 1392 of file vvc_mvs.c.

Referenced by merge_data_subblock().

◆ ff_vvc_affine_mvp()

void ff_vvc_affine_mvp ( VVCLocalContext lc,
const int mvp_lx_flag,
const int  amvr_shift,
MotionInfo mi 
)

Definition at line 1824 of file vvc_mvs.c.

Referenced by mvp_data().

◆ ff_vvc_store_sb_mvs()

void ff_vvc_store_sb_mvs ( const VVCLocalContext lc,
PredictionUnit pu 
)

Definition at line 403 of file vvc_mvs.c.

Referenced by ff_vvc_sb_mv_merge_mode(), and mvp_data().

◆ ff_vvc_store_mv()

void ff_vvc_store_mv ( const VVCLocalContext lc,
const MotionInfo mi 
)

Definition at line 499 of file vvc_mvs.c.

Referenced by merge_data_ibc(), mvp_data(), and mvp_data_ibc().

◆ ff_vvc_store_mvf()

void ff_vvc_store_mvf ( const VVCLocalContext lc,
const MvField mvf 
)

Definition at line 493 of file vvc_mvs.c.

Referenced by merge_data_ciip(), and merge_data_regular().

◆ ff_vvc_store_gpm_mvf()

void ff_vvc_store_gpm_mvf ( const VVCLocalContext lc,
const PredictionUnit pu 
)

Definition at line 448 of file vvc_mvs.c.

Referenced by merge_data_gpm().

◆ ff_vvc_update_hmvp()

void ff_vvc_update_hmvp ( VVCLocalContext lc,
const MotionInfo mi 
)

Definition at line 1892 of file vvc_mvs.c.

Referenced by inter_data().

◆ ff_vvc_no_backward_pred_flag()

int ff_vvc_no_backward_pred_flag ( const VVCLocalContext lc)

Definition at line 121 of file vvc_mvs.c.

Referenced by bcw_idx_decode(), and derive_temporal_colocated_mvs().

◆ ff_vvc_get_mvf()

MvField* ff_vvc_get_mvf ( const VVCFrameContext fc,
const int  x0,
const int  y0 
)

Definition at line 1911 of file vvc_mvs.c.

Referenced by cu_get_max_y(), derive_affine_mvc(), derive_sb_mv(), and pred_affine_blk().

◆ ff_vvc_set_mvf()

void ff_vvc_set_mvf ( const VVCLocalContext lc,
const int  x0,
const int  y0,
const int  w,
const int  h,
const MvField mvf 
)

◆ ff_vvc_set_intra_mvf()

void ff_vvc_set_intra_mvf ( const VVCLocalContext lc,
int  dmvr 
)

Definition at line 265 of file vvc_mvs.c.

Referenced by fill_dmvr_info(), and hls_coding_unit().