typedefstruct refmvs_frame { const Dav1dFrameHeader *frm_hdr; int iw4, ih4, iw8, ih8; int sbsz; int use_ref_frame_mvs;
uint8_t sign_bias[7], mfmv_sign[7];
int8_t pocdiff[7];
uint8_t mfmv_ref[3]; int mfmv_ref2cur[3]; int mfmv_ref2ref[3][7]; int n_mfmvs;
typedefstruct refmvs_candidate {
refmvs_mvpair mv; int weight;
} refmvs_candidate;
// initialize temporal MVs; this can be done in any configuration, e.g. one // tile/sbrow at a time, where col_{start,end}8 are the tile boundaries; or // it can just be for the whole frame's sbrow, where col_{start,end}8 are the // frame boundaries. row_{start,end}8 are the superblock row boundaries. #define decl_load_tmvs_fn(name) \ void (name)(const refmvs_frame *rf, int tile_row_idx, \ int col_start8, int col_end8, int row_start8, int row_end8) typedef decl_load_tmvs_fn(*load_tmvs_fn);
#define decl_save_tmvs_fn(name) \ void (name)(refmvs_temporal_block *rp, const ptrdiff_t stride, \
refmvs_block *const *const rr, const uint8_t *const ref_sign, \ int col_end8, int row_end8, int col_start8, int row_start8) typedef decl_save_tmvs_fn(*save_tmvs_fn);
#define decl_splat_mv_fn(name) \ void (name)(refmvs_block **rr, const refmvs_block *rmv, int bx4, int bw4, int bh4) typedef decl_splat_mv_fn(*splat_mv_fn);
// initialize tile boundaries and refmvs_block pointers for one tile/sbrow void dav1d_refmvs_tile_sbrow_init(refmvs_tile *rt, const refmvs_frame *rf, int tile_col_start4, int tile_col_end4, int tile_row_start4, int tile_row_end4, int sby, int tile_row_idx, int pass);
// call for each block void dav1d_refmvs_find(const refmvs_tile *rt,
refmvs_candidate mvstack[8], int *cnt, int *ctx, const refmvs_refpair ref, enum BlockSize bs, enum EdgeFlags edge_flags, int by4, int bx4);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.