Home
last modified time | relevance | path

Searched refs:mid_pred (Results 1 – 25 of 42) sorted by relevance

12

/third_party/ffmpeg/libavcodec/mips/
Dmathops.h46 #define mid_pred mid_pred macro
47 static inline av_const int mid_pred(int a, int b, int c) in mid_pred() function
/third_party/ffmpeg/libavcodec/
Dh263.c343 *px = mid_pred(A[0], 0, C[0]); in ff_h263_pred_motion()
344 *py = mid_pred(A[1], 0, C[1]); in ff_h263_pred_motion()
353 *px = mid_pred(A[0], 0, C[0]); in ff_h263_pred_motion()
354 *py = mid_pred(A[1], 0, C[1]); in ff_h263_pred_motion()
365 *px = mid_pred(A[0], B[0], C[0]); in ff_h263_pred_motion()
366 *py = mid_pred(A[1], B[1], C[1]); in ff_h263_pred_motion()
371 *px = mid_pred(A[0], B[0], C[0]); in ff_h263_pred_motion()
372 *py = mid_pred(A[1], B[1], C[1]); in ff_h263_pred_motion()
Dmathops.h96 #ifndef mid_pred
97 #define mid_pred mid_pred macro
98 static inline av_const int mid_pred(int a, int b, int c) in mid_pred() function
Dh264_mvpred.h124 *mx = mid_pred(A[0], B[0], C[0]); in pred_motion()
125 *my = mid_pred(A[1], B[1], C[1]); in pred_motion()
144 *mx = mid_pred(A[0], B[0], C[0]); in pred_motion()
145 *my = mid_pred(A[1], B[1], C[1]); in pred_motion()
331 mx = mid_pred(A[0], B[0], C[0]); in pred_pskip_motion()
332 my = mid_pred(A[1], B[1], C[1]); in pred_pskip_motion()
345 mx = mid_pred(A[0], B[0], C[0]); in pred_pskip_motion()
346 my = mid_pred(A[1], B[1], C[1]); in pred_pskip_motion()
Dvc1_pred.c397 px = mid_pred(field_predA[0], field_predB[0], field_predC[0]); in ff_vc1_pred_mv()
398 py = mid_pred(field_predA[1], field_predB[1], field_predC[1]); in ff_vc1_pred_mv()
607 px = mid_pred(A[0], B[0], C[0]); in ff_vc1_pred_mv_intfr()
608 py = mid_pred(A[1], B[1], C[1]); in ff_vc1_pred_mv_intfr()
633 px = mid_pred(A[0], B[0], C[0]); in ff_vc1_pred_mv_intfr()
634 py = mid_pred(A[1], B[1], C[1]); in ff_vc1_pred_mv_intfr()
757 px = mid_pred(A[0], B[0], C[0]); in ff_vc1_pred_b_mv()
758 py = mid_pred(A[1], B[1], C[1]); in ff_vc1_pred_b_mv()
827 px = mid_pred(A[0], B[0], C[0]); in ff_vc1_pred_b_mv()
828 py = mid_pred(A[1], B[1], C[1]); in ff_vc1_pred_b_mv()
Dffv1_template.c29 return mid_pred(L, L + T - LT, T); in RENAME()
Dmotion_est.c618 P_MEDIAN[0]= mid_pred(P_LEFT[0], P_TOP[0], P_TOPRIGHT[0]); in h263_mv4_search()
619 P_MEDIAN[1]= mid_pred(P_LEFT[1], P_TOP[1], P_TOPRIGHT[1]); in h263_mv4_search()
792 P_MEDIAN[0]= mid_pred(P_LEFT[0], P_TOP[0], P_TOPRIGHT[0]); in interlaced_search()
793 P_MEDIAN[1]= mid_pred(P_LEFT[1], P_TOP[1], P_TOPRIGHT[1]); in interlaced_search()
944 P_MEDIAN[0] = mid_pred(P_LEFT[0], P_TOP[0], P_TOPRIGHT[0]); in ff_estimate_p_frame_motion()
945 P_MEDIAN[1] = mid_pred(P_LEFT[1], P_TOP[1], P_TOPRIGHT[1]); in ff_estimate_p_frame_motion()
1099 P_MEDIAN[0]= mid_pred(P_LEFT[0], P_TOP[0], P_TOPRIGHT[0]); in ff_pre_estimate_p_frame_motion()
1100 P_MEDIAN[1]= mid_pred(P_LEFT[1], P_TOP[1], P_TOPRIGHT[1]); in ff_pre_estimate_p_frame_motion()
1149 P_MEDIAN[0] = mid_pred(P_LEFT[0], P_TOP[0], P_TOPRIGHT[0]); in estimate_motion_b()
1150 P_MEDIAN[1] = mid_pred(P_LEFT[1], P_TOP[1], P_TOPRIGHT[1]); in estimate_motion_b()
[all …]
Dsnow.h258 *mx = mid_pred(left->mx, top->mx, tr->mx); in pred_mv()
259 *my = mid_pred(left->my, top->my, tr->my); in pred_mv()
262 *mx = mid_pred((left->mx * scale[left->ref] + 128) >>8, in pred_mv()
265 *my = mid_pred((left->my * scale[left->ref] + 128) >>8, in pred_mv()
Dhuffyuvencdsp.c61 const int pred = mid_pred(l, src1[i], (l + src1[i] - lt) & mask); in sub_hfyu_median_pred_int16_c()
Dhuffyuvdsp.c50 l = (mid_pred(l, src[i], (l + src[i] - lt) & mask) + diff[i]) & mask; in add_hfyu_median_pred_int16_c()
Dlossless_videoencdsp.c67 const int pred = mid_pred(l, src1[i], (l + src1[i] - lt) & 0xFF); in sub_median_pred_c()
Dlossless_videodsp.c52 l = mid_pred(l, src1[i], (l + src1[i] - lt) & 0xFF) + diff[i]; in add_median_pred_c()
Dvc1_mc.c125 …*tx = mid_pred(s->mv[dir][idx < 2][0], s->mv[dir][1 + (idx < 4)][0], s->mv[dir][2 + (idx < 8)][0]); in get_luma_mv()
126 …*ty = mid_pred(s->mv[dir][idx < 2][1], s->mv[dir][1 + (idx < 4)][1], s->mv[dir][2 + (idx < 8)][1]); in get_luma_mv()
129 …*tx = mid_pred(s->mv[dir][idx > 0xd][0], s->mv[dir][1 + (idx > 0xb)][0], s->mv[dir][2 + (idx > 0x7… in get_luma_mv()
130 …*ty = mid_pred(s->mv[dir][idx > 0xd][1], s->mv[dir][1 + (idx > 0xb)][1], s->mv[dir][2 + (idx > 0x7… in get_luma_mv()
156 …*tx = mid_pred(s->mv[dir][idx > 0xd][0], s->mv[dir][1 + (idx > 0xb)][0], s->mv[dir][2 + (idx > 0x7… in get_chroma_mv()
157 …*ty = mid_pred(s->mv[dir][idx > 0xd][1], s->mv[dir][1 + (idx > 0xb)][1], s->mv[dir][2 + (idx > 0x7… in get_chroma_mv()
Dwmv2dec.c330 *px = mid_pred(A[0], B[0], C[0]); in wmv2_pred_motion()
331 *py = mid_pred(A[1], B[1], C[1]); in wmv2_pred_motion()
Drv34.c496 mx = mid_pred(A[0], B[0], C[0]); in rv34_pred_mv()
497 my = mid_pred(A[1], B[1], C[1]); in rv34_pred_mv()
535 *mx = mid_pred(A[0], B[0], C[0]); in rv34_pred_b_vector()
536 *my = mid_pred(A[1], B[1], C[1]); in rv34_pred_b_vector()
627 mx = mid_pred(A[0], B[0], C[0]); in rv34_pred_mv_rv3()
628 my = mid_pred(A[1], B[1], C[1]); in rv34_pred_mv_rv3()
Dlagarith.c256 l = mid_pred(l, src1[i], l + src1[i] - lt) + diff[i]; in add_lag_median_prediction()
317 … L = mid_pred(L & 0xFF, buf[i - stride], (L + buf[i - stride] - TL) & 0xFF) + buf[i]; in lag_pred_line_yuy2()
Dsvq1dec.c308 mv->y = sign_extend(diff + mid_pred(pmv[0]->y, pmv[1]->y, pmv[2]->y), 6); in svq1_decode_motion_vector()
310 mv->x = sign_extend(diff + mid_pred(pmv[0]->x, pmv[1]->x, pmv[2]->x), 6); in svq1_decode_motion_vector()
Dsvq3.c400 *mx = mid_pred(A[0], B[0], C[0]); in svq3_pred_motion()
401 *my = mid_pred(A[1], B[1], C[1]); in svq3_pred_motion()
420 *mx = mid_pred(A[0], B[0], C[0]); in svq3_pred_motion()
421 *my = mid_pred(A[1], B[1], C[1]); in svq3_pred_motion()
/third_party/ffmpeg/libavcodec/arm/
Dmathops.h84 #define mid_pred mid_pred macro
85 static inline av_const int mid_pred(int a, int b, int c) in mid_pred() function
/third_party/ffmpeg/libavcodec/x86/
Dmathops.h75 #define mid_pred mid_pred macro
76 static inline av_const int mid_pred(int a, int b, int c) in mid_pred() function
Dlossless_videoencdsp_init.c78 dst[0] = src2[0] - mid_pred(l, src1[0], (l + src1[0] - lt) & 0xFF); in sub_median_pred_mmxext()
/third_party/ffmpeg/libavcodec/avr32/
Dmathops.h82 #define mid_pred mid_pred macro
83 static inline av_const int mid_pred(int a, int b, int c) in mid_pred() function
/third_party/ffmpeg/libavfilter/
Dvf_mestimate.c243 … me_ctx->pred_x = mid_pred(preds[0].mvs[1][0], preds[0].mvs[2][0], preds[0].mvs[3][0]); in filter_frame()
244 … me_ctx->pred_y = mid_pred(preds[0].mvs[1][1], preds[0].mvs[2][1], preds[0].mvs[3][1]); in filter_frame()
246 me_ctx->pred_x = mid_pred(0, preds[0].mvs[1][0], preds[0].mvs[2][0]); in filter_frame()
247 me_ctx->pred_y = mid_pred(0, preds[0].mvs[1][1], preds[0].mvs[2][1]); in filter_frame()
292 … me_ctx->pred_x = mid_pred(preds[0].mvs[1][0], preds[0].mvs[2][0], preds[0].mvs[3][0]); in filter_frame()
293 … me_ctx->pred_y = mid_pred(preds[0].mvs[1][1], preds[0].mvs[2][1], preds[0].mvs[3][1]); in filter_frame()
295 me_ctx->pred_x = mid_pred(0, preds[0].mvs[1][0], preds[0].mvs[2][0]); in filter_frame()
296 me_ctx->pred_y = mid_pred(0, preds[0].mvs[1][1], preds[0].mvs[2][1]); in filter_frame()
Dvf_minterpolate.c479 … me_ctx->pred_x = mid_pred(preds[0].mvs[1][0], preds[0].mvs[2][0], preds[0].mvs[3][0]); in search_mv()
480 … me_ctx->pred_y = mid_pred(preds[0].mvs[1][1], preds[0].mvs[2][1], preds[0].mvs[3][1]); in search_mv()
482 me_ctx->pred_x = mid_pred(0, preds[0].mvs[1][0], preds[0].mvs[2][0]); in search_mv()
483 me_ctx->pred_y = mid_pred(0, preds[0].mvs[1][1], preds[0].mvs[2][1]); in search_mv()
545 … me_ctx->pred_x = mid_pred(preds[0].mvs[1][0], preds[0].mvs[2][0], preds[0].mvs[3][0]); in search_mv()
546 … me_ctx->pred_y = mid_pred(preds[0].mvs[1][1], preds[0].mvs[2][1], preds[0].mvs[3][1]); in search_mv()
548 me_ctx->pred_x = mid_pred(0, preds[0].mvs[1][0], preds[0].mvs[2][0]); in search_mv()
549 me_ctx->pred_y = mid_pred(0, preds[0].mvs[1][1], preds[0].mvs[2][1]); in search_mv()
Dvf_selectivecolor.c119 return max_val - mid_pred(r, g, b); in get_rgb_scale()
124 return mid_pred(r, g, b) - min_val; in get_cmy_scale()

12