Home
last modified time | relevance | path

Searched full:mv (Results 1 – 25 of 1134) sorted by relevance

12345678910>>...46

/third_party/ffmpeg/libavcodec/
Dvp9mvs.c76 #define RETURN_DIRECT_MV(mv) \ in find_ref_mvs() argument
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() argument
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()
[all …]
Dmpeg4video.c71 /* clean MV */ in ff_mpeg4_clean_buffers()
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[0][i][1] = p_my * time_pb / time_pp + my; in ff_mpeg4_set_one_direct_mv()
118 s->mv[1][i][1] = my ? s->mv[0][i][1] - p_my in ff_mpeg4_set_one_direct_mv()
158 s->mv[0][i][0] = s->p_field_mv_table[i][0][mb_index][0] * in ff_mpeg4_set_direct_mv()
[all …]
Dvp9_mc_template.c60 row << 3, col << 3, &b->mv[0][0],,,,, 8, 4, w1, h1, 0); in FN()
64 (row << 3) + 4, col << 3, &b->mv[2][0],,,,, 8, 4, w1, h1, 0); in FN()
68 uvmv = ROUNDED_DIV_MVx2(b->mv[0][0], b->mv[2][0]); in FN()
81 &b->mv[0][0],,,,, 8 >> s->ss_h, 4, w1, h1, 0); in FN()
86 uvmv = b->mv[2][0]; in FN()
88 uvmv = ROUNDED_DIV_MVx2(b->mv[0][0], b->mv[2][0]); in FN()
101 row << 3, col << 3, &b->mv[0][1],,,,, 8, 4, w2, h2, 1); in FN()
105 (row << 3) + 4, col << 3, &b->mv[2][1],,,,, 8, 4, w2, h2, 1); in FN()
109 uvmv = ROUNDED_DIV_MVx2(b->mv[0][1], b->mv[2][1]); in FN()
122 &b->mv[0][1],,,,, 8 >> s->ss_h, 4, w2, h2, 1); in FN()
[all …]
Dclearvideo.c47 typedef struct MV { struct
49 } MV; argument
51 static const MV zero_mv = { 0 };
59 MV *mv; member
65 MV mv; member
299 static MV mvi_predict(MVInfo *mvi, int mb_x, int mb_y, MV diff) in mvi_predict()
301 MV res, pred_mv; in mvi_predict()
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()
[all …]
Dvc1_pred.c36 static av_always_inline int scaleforsame_x(VC1Context *v, int n /* MV */, int dir) in scaleforsame_x()
69 static av_always_inline int scaleforsame_y(VC1Context *v, int i, int n /* MV */, int dir) in scaleforsame_y()
106 static av_always_inline int scaleforopp_x(VC1Context *v, int n /* MV */) in scaleforopp_x()
133 static av_always_inline int scaleforopp_y(VC1Context *v, int n /* MV */, int dir) in scaleforopp_y()
164 static av_always_inline int scaleforsame(VC1Context *v, int i, int n /* MV */, in scaleforsame()
185 static av_always_inline int scaleforopp(VC1Context *v, int n /* MV */, in scaleforopp()
234 /* scale MV difference to be quad-pel */ in ff_vc1_pred_mv()
244 s->mv[0][n][0] = s->current_picture.motion_val[0][xy + v->blocks_off][0] = 0; in ff_vc1_pred_mv()
245 s->mv[0][n][1] = s->current_picture.motion_val[0][xy + v->blocks_off][1] = 0; in ff_vc1_pred_mv()
248 if (mv1) { /* duplicate motion data for 1-MV block */ in ff_vc1_pred_mv()
[all …]
Dhevc_mvs.c98 // 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()
116 static av_always_inline void mv_scale(Mv *dst, const Mv *src, int td, int tb) in mv_scale()
130 static int check_mvset(Mv *mvLXCol, const Mv *mvCol, in check_mvset()
158 check_mvset(mvLXCol, temp_col.mv + l, \
165 int refIdxLx, Mv *mvLXCol, int X, in derive_temporal_colocated_mvs()
221 Mv *mvLXCol, int X) in temporal_luma_motion_vector()
[all …]
Dvp56.c61 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[b] = s->vector_candidate[1]; in vp56_decode_4mv()
[all …]
Dcavs.c133 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_X0], mb_type > P_8X8); in ff_cavs_filter()
141 bs[1] = get_bs(&h->mv[MV_FWD_A3], &h->mv[MV_FWD_X2], mb_type > P_8X8); in ff_cavs_filter()
142 bs[4] = get_bs(&h->mv[MV_FWD_B2], &h->mv[MV_FWD_X0], mb_type > P_8X8); in ff_cavs_filter()
143 bs[5] = get_bs(&h->mv[MV_FWD_B3], &h->mv[MV_FWD_X1], mb_type > P_8X8); in ff_cavs_filter()
393 h264_chroma_mc_func chroma_op, cavs_vector *mv) in mc_dir_part() argument
395 const int mx = mv->x + src_x_offset * 8; in mc_dir_part()
[all …]
/third_party/ffmpeg/libavfilter/
Dmotion_estimation.c37 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[0] = x_mb; in ff_me_search_tdls()
[all …]
Dvf_codecview.c26 * All the MV drawing code from Michael Niedermayer is extracted from
51 unsigned mv; member
64 …{ "mv", "set motion vectors to visualize", OFFSET(mv), AV_OPT_TYPE_FLAGS, {.i64=0}, 0, INT_MAX, FL…
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->source > 0; in filter_frame()
299 draw_arrow(frame->data[0], mv->dst_x, mv->dst_y, mv->src_x, mv->src_y, in filter_frame()
[all …]
/third_party/toybox/tests/
Dmv.test5 # "touch two; chmod -w two; mv one two" shouldn't prompt to delete two if
17 "mv file file1 && [ ! -e file -a -f file1 ] && echo yes" \
24 "mv file dir && [ ! -e file -a -f dir/file ] && echo yes" \
30 "mv dir dir1 && [ ! -e dir -a -d dir1 ] && echo yes" \
38 "mv file1 file2 link1 dir1 dir2 &&
47 "mv file1 file2 && [ ! -e file1 -a -f file2 ] && stat -c %s file2" \
54 "mv link1 link2 && [ ! -e link1 -a -L link2 ] && readlink link2" \
62 "mv link1 link2 && [ ! -e link1 -a -f link2 -a file1 -ef link2 ] && echo yes" \
70 "mv file1 file2 && [ ! -e file1 -a -f file2 ] && echo yes" \
78 "mv file1 link1 dir1 &&
[all …]
/third_party/musl/scripts/build_lite/
DMakefile130 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 -f src/network/liteos_a/* src/network/ && \
[all …]
/third_party/node/deps/openssl/openssl/crypto/sha/asm/
Dsha1-c64xplus.pl60 .asg MV,SWAP2
61 .asg MV,SWAP4
67 MV $NUM,A0 ; reassign $NUM
71 || [A0] MV SP,FP
92 || MV $A,$Actx
93 || MV $B,$Bctx
96 || MV $C,$Cctx
97 || MV $D,$Dctx
98 || MV $E,$Ectx
107 || MV $D,$E ; E=D
[all …]
Dsha256-c64xplus.pl61 .asg SWAP2,MV
62 .asg SWAP4,MV
69 MV $NUM,A0 ; reassign $NUM
73 || [A0] MV SP,FP
88 || [A0] MV SP,$Xia
89 [A0] MV SP,$Xib
91 || [A0] MV $CTXA,$CTXB
109 || MV $A,$Actx
110 || MV $E,$Ectx
113 MV $C,$Cctx
[all …]
/third_party/openssl/crypto/sha/asm/
Dsha1-c64xplus.pl60 .asg MV,SWAP2
61 .asg MV,SWAP4
67 MV $NUM,A0 ; reassign $NUM
71 || [A0] MV SP,FP
92 || MV $A,$Actx
93 || MV $B,$Bctx
96 || MV $C,$Cctx
97 || MV $D,$Dctx
98 || MV $E,$Ectx
107 || MV $D,$E ; E=D
[all …]
Dsha256-c64xplus.pl61 .asg SWAP2,MV
62 .asg SWAP4,MV
69 MV $NUM,A0 ; reassign $NUM
73 || [A0] MV SP,FP
88 || [A0] MV SP,$Xia
89 [A0] MV SP,$Xib
91 || [A0] MV $CTXA,$CTXB
109 || MV $A,$Actx
110 || MV $E,$Ectx
113 MV $C,$Cctx
[all …]
/third_party/ffmpeg/libavformat/
Dmvdec.c125 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->nb_audio_tracks == 0 && mv->nb_video_tracks == 0)) { in mv_read_header()
419 if (mv->nb_audio_tracks > 1) { in mv_read_header()
[all …]
/third_party/musl/scripts/
Drun_libcgtest_windows.bat28 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 %REMOTE%/libldso_ns_two.so %NS_LIB_TWO_DIR%/
[all …]
Drun_libcgtest_linux.sh30 ${CMD} shell mv ${REMOTE}/libdlopen_rpath_1.so ${RPATH_TEST_DIR}/
31 ${CMD} shell mv ${REMOTE}/libdlopen_rpath_2.so ${RPATH_TEST_DIR}/
32 ${CMD} shell mv ${REMOTE}/libdlopen_rpath_1_1.so ${RPATH_TEST_DIR}/
33 ${CMD} shell mv ${REMOTE}/libdlopen_rpath_1_2.so ${RPATH_TEST_DIR}/
34 ${CMD} shell mv ${REMOTE}/libdlopen_rpath_2_1.so ${RPATH_TEST_DIR}/
36 ${CMD} shell mv ${REMOTE}/libldso_ns_one.so ${NS_LIB_ONE_DIR}/
37 ${CMD} shell mv ${REMOTE}/libldso_ns_one_impl.so ${NS_LIB_ONE_DIR}/
39 ${CMD} shell mv ${REMOTE}/libldso_ns_root.so ${NS_LIB_TWO_DIR}/
40 ${CMD} shell mv ${REMOTE}/libldso_ns_test_permitted_root.so ${NS_LIB_TWO_DIR}/
41 ${CMD} shell mv ${REMOTE}/libldso_ns_two.so ${NS_LIB_TWO_DIR}/
[all …]
/third_party/ltp/testcases/commands/mv/
Dmv_tests.sh6 # Test basic functionality of mv command
7 # Test #1: mv <dir1> <dir2>
9 # Test #2: mv -b <file1> <file2>
83 tst_res TINFO "Test #1: mv <dir1> <dir2> will move dir1 to dir2 and" \
88 mv tst_mv.old tst_mv.new > tst_mv.err 2>&1
91 tst_brk TFAIL "Test #1: 'mv tst_mv.old tst_mv.new' failed"
104 tst_res TFAIL "Test #1: mv failed."
108 tst_res TFAIL "Test #1: mv did not delete old" \
111 tst_res TPASS "Test #1: mv success"
118 tst_res TINFO "Test #2: mv -b <file1> <file2> will move dir1 to dir2"
[all …]
/third_party/node/deps/npm/node_modules/fastest-levenshtein/esm/
Dmod.js7 let mv = 0; variable
15 const xv = eq | mv;
17 mv |= ~(eq | pv);
19 if (mv & lst) {
25 mv = (mv << 1) | 1;
26 pv = (pv << 1) | ~(xv | mv);
27 mv &= xv;
48 let mv = 0;
59 const xv = eq | mv;
61 let ph = mv | ~(xh | pv);
[all …]
/third_party/musl/src/thread/riscv64/
Dsyscall_cp.s16 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/
Dsyscall_cp.s16 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/node/deps/openssl/openssl/crypto/
Dc64xpluscpuid.pl37 MV B0,A4
38 MV B1,A5
72 MV B4,B0 ; remaining bytes
94 MV A6,B0
117 MV A4,B0
127 MV B5,A4
191 MV B4,B0 ; reassign sizeof(output)
192 || MV A4,B4 ; reassign output
194 MV B0,A4 ; return value
199 MV B8,B9 ; lasttick = tick
[all …]
/third_party/openssl/crypto/
Dc64xpluscpuid.pl37 MV B0,A4
38 MV B1,A5
72 MV B4,B0 ; remaining bytes
94 MV A6,B0
117 MV A4,B0
127 MV B5,A4
191 MV B4,B0 ; reassign sizeof(output)
192 || MV A4,B4 ; reassign output
194 MV B0,A4 ; return value
199 MV B8,B9 ; lasttick = tick
[all …]

12345678910>>...46