/third_party/ffmpeg/libavcodec/ |
H A D | vp9mvs.c | 76 #define RETURN_DIRECT_MV(mv) \ in find_ref_mvs() 78 uint32_t m = AV_RN32A(&mv); \ in find_ref_mvs() 92 RETURN_DIRECT_MV(b->mv[0][z]); in find_ref_mvs() 94 RETURN_DIRECT_MV(b->mv[2][z]); in find_ref_mvs() 95 RETURN_DIRECT_MV(b->mv[1][z]); in find_ref_mvs() 96 RETURN_DIRECT_MV(b->mv[0][z]); in find_ref_mvs() 99 #define RETURN_MV(mv) \ in find_ref_mvs() 107 clamp_mv(&tmp, &mv, td); \ in find_ref_mvs() 113 mem_sub8x8 = AV_RN32A(&mv); \ in find_ref_mvs() 114 } else if (mem_sub8x8 != AV_RN32A(&mv)) { \ in find_ref_mvs() 140 VP9mvrefPair *mv = &s->s.frames[CUR_FRAME].mv[(row - 1) * s->sb_cols * 8 + col]; find_ref_mvs() local 147 VP9mvrefPair *mv = &s->s.frames[CUR_FRAME].mv[row * s->sb_cols * 8 + col - 1]; find_ref_mvs() local 164 VP9mvrefPair *mv = &s->s.frames[CUR_FRAME].mv[r * s->sb_cols * 8 + c]; find_ref_mvs() local 175 VP9mvrefPair *mv = &s->s.frames[REF_FRAME_MVPAIR].mv[row * s->sb_cols * 8 + col]; find_ref_mvs() local 200 VP9mvrefPair *mv = &s->s.frames[CUR_FRAME].mv[r * s->sb_cols * 8 + c]; find_ref_mvs() local 216 VP9mvrefPair *mv = &s->s.frames[REF_FRAME_MVPAIR].mv[row * s->sb_cols * 8 + col]; find_ref_mvs() local 291 ff_vp9_fill_mv(VP9TileData *td, VP56mv *mv, int mode, int sb) ff_vp9_fill_mv() argument [all...] |
H A D | mpeg4video.c | 103 s->mv[0][i][0] = s->direct_scale_mv[0][p_mx + tab_bias] + mx; in ff_mpeg4_set_one_direct_mv() 104 s->mv[1][i][0] = mx ? s->mv[0][i][0] - p_mx in ff_mpeg4_set_one_direct_mv() 107 s->mv[0][i][0] = p_mx * time_pb / time_pp + mx; in ff_mpeg4_set_one_direct_mv() 108 s->mv[1][i][0] = mx ? s->mv[0][i][0] - p_mx in ff_mpeg4_set_one_direct_mv() 113 s->mv[0][i][1] = s->direct_scale_mv[0][p_my + tab_bias] + my; in ff_mpeg4_set_one_direct_mv() 114 s->mv[1][i][1] = my ? s->mv[0][i][1] - p_my in ff_mpeg4_set_one_direct_mv() 117 s->mv[ in ff_mpeg4_set_one_direct_mv() [all...] |
H A D | vp9_mc_template.c | 60 row << 3, col << 3, &b->mv[0][0],,,,, 8, 4, w1, h1, 0); in inter_pred() 64 (row << 3) + 4, col << 3, &b->mv[2][0],,,,, 8, 4, w1, h1, 0); in inter_pred() 68 uvmv = ROUNDED_DIV_MVx2(b->mv[0][0], b->mv[2][0]); in inter_pred() 81 &b->mv[0][0],,,,, 8 >> s->ss_h, 4, w1, h1, 0); in inter_pred() 86 uvmv = b->mv[2][0]; in inter_pred() 88 uvmv = ROUNDED_DIV_MVx2(b->mv[0][0], b->mv[2][0]); in inter_pred() 101 row << 3, col << 3, &b->mv[0][1],,,,, 8, 4, w2, h2, 1); in inter_pred() 105 (row << 3) + 4, col << 3, &b->mv[ in inter_pred() [all...] |
H A D | cavs.c | 133 bs[2] = get_bs(&h->mv[MV_FWD_X0], &h->mv[MV_FWD_X1], mb_type > P_8X8); in ff_cavs_filter() 134 bs[3] = get_bs(&h->mv[MV_FWD_X2], &h->mv[MV_FWD_X3], mb_type > P_8X8); in ff_cavs_filter() 137 bs[6] = get_bs(&h->mv[MV_FWD_X0], &h->mv[MV_FWD_X2], mb_type > P_8X8); in ff_cavs_filter() 138 bs[7] = get_bs(&h->mv[MV_FWD_X1], &h->mv[MV_FWD_X3], mb_type > P_8X8); in ff_cavs_filter() 140 bs[0] = get_bs(&h->mv[MV_FWD_A1], &h->mv[MV_FWD_X in ff_cavs_filter() 388 mc_dir_part(AVSContext *h, AVFrame *pic, int chroma_height, int delta, int list, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int src_x_offset, int src_y_offset, qpel_mc_func *qpix_op, h264_chroma_mc_func chroma_op, cavs_vector *mv) mc_dir_part() argument 454 mc_part_std(AVSContext *h, int chroma_height, int delta, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int x_offset, int y_offset, qpel_mc_func *qpix_put, h264_chroma_mc_func chroma_put, qpel_mc_func *qpix_avg, h264_chroma_mc_func chroma_avg, cavs_vector *mv) mc_part_std() argument [all...] |
H A D | mpegvideo_xvmc.c | 220 // PMV[n][dir][xy] = mv[dir][n][xy] in ff_xvmc_decode_mb() 221 mv_block->PMV[0][0][0] = s->mv[0][0][0]; in ff_xvmc_decode_mb() 222 mv_block->PMV[0][0][1] = s->mv[0][0][1]; in ff_xvmc_decode_mb() 223 mv_block->PMV[1][0][0] = s->mv[0][1][0]; in ff_xvmc_decode_mb() 224 mv_block->PMV[1][0][1] = s->mv[0][1][1]; in ff_xvmc_decode_mb() 228 mv_block->PMV[0][1][0] = s->mv[1][0][0]; in ff_xvmc_decode_mb() 229 mv_block->PMV[0][1][1] = s->mv[1][0][1]; in ff_xvmc_decode_mb() 230 mv_block->PMV[1][1][0] = s->mv[1][1][0]; in ff_xvmc_decode_mb() 231 mv_block->PMV[1][1][1] = s->mv[1][1][1]; in ff_xvmc_decode_mb() 254 mv_block->PMV[0][0][0] = s->mv[ in ff_xvmc_decode_mb() [all...] |
H A D | jpeg2000dwt.c | 107 mv = s->mod[lev][1], in dwt_encode53() local 112 l = line + mv; in dwt_encode53() 119 sd_1d53(line, mv, mv + lv); in dwt_encode53() 122 for (i = mv; i < lv; i+=2, j++) in dwt_encode53() 124 for (i = 1-mv; i < lv; i+=2, j++) in dwt_encode53() 182 mv = s->mod[lev][1], in dwt_encode97_float() local 204 l = line + mv; in dwt_encode97_float() 211 sd_1d97_float(line, mv, mv in dwt_encode97_float() 263 mv = s->mod[lev][1], dwt_encode97_int() local 336 mv = s->mod[lev][1], dwt_decode53() local 414 mv = s->mod[lev][1], dwt_decode97_float() local 496 mv = s->mod[lev][1], dwt_decode97_int() local [all...] |
H A D | vp56.c | 61 if ((s->macroblocks[offset].mv.x == vect[0].x && in vp56_get_vectors_predictors() 62 s->macroblocks[offset].mv.y == vect[0].y) || in vp56_get_vectors_predictors() 63 (s->macroblocks[offset].mv.x == 0 && in vp56_get_vectors_predictors() 64 s->macroblocks[offset].mv.y == 0)) in vp56_get_vectors_predictors() 67 vect[nb_pred++] = s->macroblocks[offset].mv; in vp56_get_vectors_predictors() 166 VP56mv mv = {0,0}; in vp56_decode_4mv() local 181 s->mv[b] = (VP56mv) {0,0}; in vp56_decode_4mv() 184 s->parse_vector_adjustment(s, &s->mv[b]); in vp56_decode_4mv() 187 s->mv[b] = s->vector_candidate[0]; in vp56_decode_4mv() 190 s->mv[ in vp56_decode_4mv() 207 VP56mv *mv, vect = {0,0}; vp56_decode_mv() local 264 VP56mv *mv, vect = {0,0}; vp56_conceal_mv() local [all...] |
H A D | cavs.h | 195 /** mv motion vector cache 207 cavs_vector mv[2*4*3]; member 252 static inline void set_mvs(cavs_vector *mv, enum cavs_block size) { in set_mvs() argument 255 mv[MV_STRIDE ] = mv[0]; in set_mvs() 256 mv[MV_STRIDE+1] = mv[0]; in set_mvs() 258 mv[1] = mv[0]; in set_mvs() 261 mv[MV_STRID in set_mvs() [all...] |
H A D | clearvideo.c | 59 MV *mv; member 65 MV mv; member 306 pred_mv = mvi->mv[mvi->mb_stride + mb_x - 1]; in mvi_predict() 311 pred_mv = mvi->mv[mb_x]; in mvi_predict() 313 MV A = mvi->mv[mvi->mb_stride + mb_x - 1]; in mvi_predict() 314 MV B = mvi->mv[ mb_x ]; in mvi_predict() 315 MV C = mvi->mv[ mb_x + 1]; in mvi_predict() 339 mvi->mv[mvi->mb_stride + mb_x].x = res.x + diff.x; in mvi_predict() 340 mvi->mv[mvi->mb_stride + mb_x].y = res.y + diff.y; in mvi_predict() 352 memset(mvi->mv, in mvi_reset() 370 MV mv = { 0 }; decode_tile_info() local 437 MV mv; restore_tree() local 582 MV mv = mvi_predict(&c->mvi, i, j, zero_mv); clv_decode_frame() local 600 MV mv, cmv; clv_decode_frame() local [all...] |
H A D | hevc_mvs.c | 98 // check if the mv's and refidx are the same between A and B 105 return MATCH(ref_idx[0]) && MATCH_MV(mv[0]) && in compare_mv_ref_idx() 106 MATCH(ref_idx[1]) && MATCH_MV(mv[1]); in compare_mv_ref_idx() 108 return MATCH(ref_idx[0]) && MATCH_MV(mv[0]); in compare_mv_ref_idx() 110 return MATCH(ref_idx[1]) && MATCH_MV(mv[1]); in compare_mv_ref_idx() 158 check_mvset(mvLXCol, temp_col.mv + l, \ 423 mergecandlist[nb_merge_cand].mv[0] = mv_l0_col; in derive_spatial_merge_candidates() 424 mergecandlist[nb_merge_cand].mv[1] = mv_l1_col; in derive_spatial_merge_candidates() 449 AV_RN32A(&l0_cand.mv[0]) != AV_RN32A(&l1_cand.mv[ in derive_spatial_merge_candidates() 480 ff_hevc_luma_mv_merge_mode(HEVCContext *s, int x0, int y0, int nPbW, int nPbH, int log2_cb_size, int part_idx, int merge_idx, MvField *mv) ff_hevc_luma_mv_merge_mode() argument 513 dist_scale(HEVCContext *s, Mv *mv, int min_pu_width, int x, int y, int elist, int ref_idx_curr, int ref_idx) dist_scale() argument 530 mv_mp_mode_mx(HEVCContext *s, int x, int y, int pred_flag_index, Mv *mv, int ref_idx_curr, int ref_idx) mv_mp_mode_mx() argument 546 mv_mp_mode_mx_lt(HEVCContext *s, int x, int y, int pred_flag_index, Mv *mv, int ref_idx_curr, int ref_idx) mv_mp_mode_mx_lt() argument 583 ff_hevc_luma_mv_mvp_mode(HEVCContext *s, int x0, int y0, int nPbW, int nPbH, int log2_cb_size, int part_idx, int merge_idx, MvField *mv, int mvp_lx_flag, int LX) ff_hevc_luma_mv_mvp_mode() argument [all...] |
H A D | mpegvideo_motion.c | 270 // Even chroma mv's are full pel in H261 in mpeg_motion_internal() 465 int16_t mv[5][2] /* mid top left right bottom */) in obmc_motion() 474 if (i && mv[i][0] == mv[MID][0] && mv[i][1] == mv[MID][1]) { in obmc_motion() 480 mv[i][0], mv[i][1]); in obmc_motion() 592 * H.263 chroma 4mv motion compensation. 648 /* fetch pixels for estimated mv in prefetch_motion() 724 int16_t mv[5][2] = { apply_obmc() local [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | motion_estimation.c | 37 mv[0] = x;\ 38 mv[1] = y;\ 78 uint64_t ff_me_search_esa(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv) in ff_me_search_esa() argument 97 uint64_t ff_me_search_tss(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv) in ff_me_search_tss() argument 108 mv[0] = x_mb; in ff_me_search_tss() 109 mv[1] = y_mb; in ff_me_search_tss() 115 x = mv[0]; in ff_me_search_tss() 116 y = mv[1]; in ff_me_search_tss() 128 uint64_t ff_me_search_tdls(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv) in ff_me_search_tdls() argument 139 mv[ in ff_me_search_tdls() 160 ff_me_search_ntss(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv) ff_me_search_ntss() argument 213 ff_me_search_fss(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv) ff_me_search_fss() argument 245 ff_me_search_ds(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv) ff_me_search_ds() argument 300 ff_me_search_hexbs(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv) ff_me_search_hexbs() argument 333 ff_me_search_epzs(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv) ff_me_search_epzs() argument 374 ff_me_search_umh(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv) ff_me_search_umh() argument [all...] |
H A D | motion_estimation.h | 69 uint64_t ff_me_search_esa(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv); 71 uint64_t ff_me_search_tss(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv); 73 uint64_t ff_me_search_tdls(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv); 75 uint64_t ff_me_search_ntss(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv); 77 uint64_t ff_me_search_fss(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv); 79 uint64_t ff_me_search_ds(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv); 81 uint64_t ff_me_search_hexbs(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv); 83 uint64_t ff_me_search_epzs(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv); 85 uint64_t ff_me_search_umh(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv);
|
H A D | vf_mestimate.c | 108 static void add_mv_data(AVMotionVector *mv, int mb_size, in add_mv_data() argument 111 mv->w = mb_size; in add_mv_data() 112 mv->h = mb_size; in add_mv_data() 113 mv->dst_x = x + (mb_size >> 1); in add_mv_data() 114 mv->dst_y = y + (mb_size >> 1); in add_mv_data() 115 mv->src_x = x_mv + (mb_size >> 1); in add_mv_data() 116 mv->src_y = y_mv + (mb_size >> 1); in add_mv_data() 117 mv->source = dir ? 1 : -1; in add_mv_data() 118 mv->flags = 0; in add_mv_data() 127 int mv[ 209 int mv[2] = {x_mb, y_mb}; filter_frame() local 261 int mv[2] = {x_mb, y_mb}; filter_frame() local [all...] |
H A D | vf_codecview.c | 51 unsigned mv; member 64 { "mv", "set motion vectors to visualize", OFFSET(mv), AV_OPT_TYPE_FLAGS, {.i64=0}, 0, INT_MAX, FLAGS, "mv" }, 65 CONST("pf", "forward predicted MVs of P-frames", MV_P_FOR, "mv"), 66 CONST("bf", "forward predicted MVs of B-frames", MV_B_FOR, "mv"), 67 CONST("bb", "backward predicted MVs of B-frames", MV_B_BACK, "mv"), 278 if (s->mv || s->mv_type) { in filter_frame() 288 const AVMotionVector *mv = &mvs[i]; in filter_frame() local 289 const int direction = mv in filter_frame() [all...] |
/third_party/musl/scripts/build_lite/ |
H A D | Makefile | 130 mv -f arch/arm/bits/liteos_a/* arch/arm/bits/ && \ 131 mv -f src/linux/liteos_a/* src/linux/ && \ 132 mv -f src/misc/liteos_a/* src/misc/ && \ 133 mv -f src/signal/liteos_a/* src/signal/ && \ 134 mv -f src/signal/arm/liteos_a/* src/signal/arm/ && \ 135 mv -f src/stdlib/liteos_a/* src/stdlib/ && \ 136 mv -f src/string/arm/liteos_a/* src/string/arm/ && \ 137 mv -f src/thread/liteos_a/* src/thread/ && \ 138 mv -f src/unistd/liteos_a/* src/unistd/ && \ 139 mv [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | mvdec.c | 125 MvContext *mv = avctx->priv_data; in parse_global_var() local 128 mv->nb_video_tracks = var_read_int(pb, size); in parse_global_var() 130 mv->nb_audio_tracks = var_read_int(pb, size); in parse_global_var() 149 MvContext *mv = avctx->priv_data; in parse_audio_var() local 154 mv->aformat = var_read_int(pb, size); in parse_audio_var() 156 mv->acompression = var_read_int(pb, size); in parse_audio_var() 293 MvContext *mv = avctx->priv_data; in mv_read_header() local 413 if (mv->nb_audio_tracks < 0 || mv->nb_video_tracks < 0 || in mv_read_header() 414 (mv in mv_read_header() 473 MvContext *mv = avctx->priv_data; mv_read_packet() local 523 MvContext *mv = avctx->priv_data; mv_read_seek() local [all...] |
/third_party/musl/src/thread/riscv64/ |
H A D | syscall_cp.s | 16 mv t0, a1 17 mv a0, a2 18 mv a1, a3 19 mv a2, a4 20 mv a3, a5 21 mv a4, a6 22 mv a5, a7 24 mv a7, t0
|
/third_party/musl/src/thread/riscv32/ |
H A D | syscall_cp.s | 16 mv t0, a1 17 mv a0, a2 18 mv a1, a3 19 mv a2, a4 20 mv a3, a5 21 mv a4, a6 22 mv a5, a7 24 mv a7, t0
|
/third_party/musl/scripts/ |
H A D | run_libcgtest_windows.bat | 28 hdc_std shell mv %REMOTE%/libdlopen_rpath_1.so %RPATH_TEST_DIR%/
29 hdc_std shell mv %REMOTE%/libdlopen_rpath_2.so %RPATH_TEST_DIR%/
30 hdc_std shell mv %REMOTE%/libdlopen_rpath_1_1.so %RPATH_TEST_DIR%/
31 hdc_std shell mv %REMOTE%/libdlopen_rpath_1_2.so %RPATH_TEST_DIR%/
32 hdc_std shell mv %REMOTE%/libdlopen_rpath_2_1.so %RPATH_TEST_DIR%/
34 hdc_std shell mv %REMOTE%/libldso_ns_one.so %NS_LIB_ONE_DIR%/
35 hdc_std shell mv %REMOTE%/libldso_ns_one_impl.so %NS_LIB_ONE_DIR%/
37 hdc_std shell mv %REMOTE%/libldso_ns_root.so %NS_LIB_TWO_DIR%/
38 hdc_std shell mv %REMOTE%/libldso_ns_test_permitted_root.so %NS_LIB_TWO_DIR%/
39 hdc_std shell mv [all...] |
/third_party/python/Objects/ |
H A D | memoryobject.c | 178 #define BASE_INACCESSIBLE(mv) \ 179 (((PyMemoryViewObject *)mv)->flags&_Py_MEMORYVIEW_RELEASED || \ 180 ((PyMemoryViewObject *)mv)->mbuf->flags&_Py_MANAGED_BUFFER_RELEASED) 182 #define CHECK_RELEASED(mv) \ 183 if (BASE_INACCESSIBLE(mv)) { \ 189 #define CHECK_RELEASED_INT(mv) \ 190 if (BASE_INACCESSIBLE(mv)) { \ 198 #define CHECK_RELEASED_AGAIN(mv) CHECK_RELEASED(mv) 199 #define CHECK_RELEASED_INT_AGAIN(mv) CHECK_RELEASED_IN 595 init_flags(PyMemoryViewObject *mv) init_flags() argument 630 PyMemoryViewObject *mv; memory_alloc() local 662 PyMemoryViewObject *mv; mbuf_add_view() local 701 PyMemoryViewObject *mv; mbuf_add_incomplete_view() local 730 PyObject *mv; PyMemoryView_FromMemory() local 759 PyObject *mv; PyMemoryView_FromBuffer() local 791 PyMemoryViewObject *mv = (PyMemoryViewObject *)v; PyMemoryView_FromObject() local 844 PyMemoryViewObject *mv; memory_from_contiguous_copy() local 920 PyMemoryViewObject *mv; PyMemoryView_GetContiguous() local 1194 cast_to_1D(PyMemoryViewObject *mv, PyObject *format) cast_to_1D() argument 1296 cast_to_ND(PyMemoryViewObject *mv, const PyObject *shape, int ndim) cast_to_ND() argument 1332 zero_in_shape(PyMemoryViewObject *mv) zero_in_shape() argument 1370 PyMemoryViewObject *mv = NULL; memoryview_cast_impl() local [all...] |
H A D | picklebufobject.c | 166 PyMemoryViewObject *mv = (PyMemoryViewObject *) m; in picklebuf_raw() local 167 assert(mv->view.suboffsets == NULL); in picklebuf_raw() 169 mv->view.format = "B"; in picklebuf_raw() 170 mv->view.ndim = 1; in picklebuf_raw() 171 mv->view.itemsize = 1; in picklebuf_raw() 173 mv->view.shape = &mv->view.len; in picklebuf_raw() 175 mv->view.strides = &mv->view.itemsize; in picklebuf_raw() 178 mv in picklebuf_raw() [all...] |
/third_party/node/deps/npm/node_modules/fastest-levenshtein/ |
H A D | mod.js | 10 var mv = 0; 18 var xv = eq | mv; 20 mv |= ~(eq | pv); 22 if (mv & lst) { 28 mv = (mv << 1) | 1; 29 pv = (pv << 1) | ~(xv | mv); 30 mv &= xv; 81 var mv = 0; 93 var xv = eq | mv; [all...] |
/third_party/rust/crates/rustix/src/backend/linux_raw/arch/outline/ |
H A D | riscv64.s | 19 mv a7, a0 32 mv a7, a1 45 mv a7, a1 58 mv a7, a2 71 mv a7, a3 84 mv a7, a4 97 mv a7, a5 110 mv a7, a6
|
/third_party/ffmpeg/doc/examples/ |
H A D | extract_mvs.c | 63 const AVMotionVector *mv = &mvs[i]; in decode_packet() local 65 video_frame_count, mv->source, in decode_packet() 66 mv->w, mv->h, mv->src_x, mv->src_y, in decode_packet() 67 mv->dst_x, mv->dst_y, mv->flags); in decode_packet()
|