/third_party/ffmpeg/libavfilter/ |
D | scene_sad.c | 28 uint64_t sad = 0; in ff_scene_sad16_c() local 38 sad += FFABS(src1w[x] - src2w[x]); in ff_scene_sad16_c() 42 *sum = sad; in ff_scene_sad16_c() 47 uint64_t sad = 0; in ff_scene_sad_c() local 52 sad += FFABS(src1[x] - src2[x]); in ff_scene_sad_c() 56 *sum = sad; in ff_scene_sad_c() 61 ff_scene_sad_fn sad = NULL; in ff_scene_sad_get_fn() local 63 sad = ff_scene_sad_get_fn_x86(depth); in ff_scene_sad_get_fn() 64 if (!sad) { in ff_scene_sad_get_fn() 66 sad = ff_scene_sad_c; in ff_scene_sad_get_fn() [all …]
|
D | vf_scdet.c | 41 ff_scene_sad_fn sad; member 102 s->sad = ff_scene_sad_get_fn(s->bitdepth == 8 ? 8 : 16); in config_input() 103 if (!s->sad) in config_input() 124 uint64_t sad = 0; in get_scene_score() local 130 s->sad(prev_picref->data[plane], prev_picref->linesize[plane], in get_scene_score() 133 sad += plane_sad; in get_scene_score() 138 mafd = (double)sad * 100. / count / (1ULL << s->bitdepth); in get_scene_score()
|
D | vf_freezedetect.c | 39 ff_scene_sad_fn sad; member 114 s->sad = ff_scene_sad_get_fn(s->bitdepth == 8 ? 8 : 16); in config_input() 115 if (!s->sad) in config_input() 129 uint64_t sad = 0; in is_frozen() local 135 s->sad(frame->data[plane], frame->linesize[plane], in is_frozen() 138 sad += plane_sad; in is_frozen() 143 mafd = (double)sad / count / (1ULL << s->bitdepth); in is_frozen()
|
D | vf_mpdecimate.c | 51 av_pixelutils_sad_fn sad; ///< sum of absolute difference function member 85 d = decimate->sad(cur + y*cur_linesize + x, cur_linesize, in diff_planes() 148 decimate->sad = av_pixelutils_get_sad_fn(3, 3, 0, ctx); // 8x8, not aligned on blocksize in init() 149 if (!decimate->sad) in init()
|
D | f_select.c | 154 ff_scene_sad_fn sad; ///< Sum of the absolute difference function (scene detect only) member 266 select->sad = ff_scene_sad_get_fn(select->bitdepth == 8 ? 8 : 16); in config_input() 267 if (!select->sad) in config_input() 282 uint64_t sad = 0; in get_scene_score() local 288 select->sad(prev_picref->data[plane], prev_picref->linesize[plane], in get_scene_score() 291 sad += plane_sad; in get_scene_score() 296 mafd = (double)sad / count / (1ULL << (select->bitdepth - 8)); in get_scene_score()
|
D | vf_framerate.c | 74 uint64_t sad; in get_scene_score() local 78 …s->sad(crnt->data[0], crnt->linesize[0], next->data[0], next->linesize[0], crnt->width, crnt->heig… in get_scene_score() 80 mafd = (double)sad * 100.0 / (crnt->width * crnt->height) / (1 << s->bitdepth); in get_scene_score() 293 s->sad = ff_scene_sad_get_fn(s->bitdepth == 8 ? 8 : 16); in config_input() 294 if (!s->sad) in config_input()
|
D | vf_vmafmotion.c | 185 dsp->sad = image_sad; in vmafmotiondsp_init() 200 uint64_t sad = s->vmafdsp.sad(s->blur_data[1], s->blur_data[0], in ff_vmafmotion_process() local 203 score = (double) (sad * 1.0 / (s->width * s->height << (BIT_SHIFT - 8))); in ff_vmafmotion_process()
|
D | vf_identity.c | 55 ff_scene_sad_fn sad; member 113 s->sad(main_line, main_linesize, ref_line, ref_linesize, in compute_images_msad() 317 s->sad = ff_scene_sad_get_fn(desc->comp[0].depth <= 8 ? 8 : 16); in config_input_ref() 318 if (!s->sad) in config_input_ref()
|
D | deshake.h | 67 av_pixelutils_sad_fn sad; ///< Sum of the absolute difference function member
|
D | framerate.h | 51 …ff_scene_sad_fn sad; ///< Sum of the absolute difference function (scene detect onl… member
|
D | vmaf_motion.h | 30 uint64_t (*sad)(const uint16_t *img1, const uint16_t *img2, int w, int h, member
|
D | vf_minterpolate.c | 192 ff_scene_sad_fn sad; member 322 uint64_t sad = 0; in get_sad_ob() local 331 … sad += FFABS(data_ref[x_mv + i + (y_mv + j) * linesize] - data_cur[x + i + (y + j) * linesize]); in get_sad_ob() 333 return sad + (FFABS(mv_x - me_ctx->pred_x) + FFABS(mv_y - me_ctx->pred_y)) * COST_PRED_SCALE; in get_sad_ob() 400 mi_ctx->sad = ff_scene_sad_get_fn(mi_ctx->bitdepth == 8 ? 8 : 16); in config_input() 401 if (!mi_ctx->sad) in config_input() 837 uint64_t sad; in detect_scene_change() local 838 mi_ctx->sad(p1, linesize1, p2, linesize2, input->w, input->h, &sad); in detect_scene_change() 840 mafd = (double) sad * 100.0 / (input->h * input->w) / (1 << mi_ctx->bitdepth); in detect_scene_change()
|
/third_party/ffmpeg/libavutil/x86/ |
D | pixelutils_init.c | 52 void ff_pixelutils_sad_init_x86(av_pixelutils_sad_fn *sad, int aligned) in ff_pixelutils_sad_init_x86() argument 57 sad[2] = ff_pixelutils_sad_8x8_mmx; in ff_pixelutils_sad_init_x86() 67 sad[2] = ff_pixelutils_sad_8x8_mmxext; in ff_pixelutils_sad_init_x86() 68 sad[3] = ff_pixelutils_sad_16x16_mmxext; in ff_pixelutils_sad_init_x86() 73 case 0: sad[3] = ff_pixelutils_sad_16x16_sse2; break; // src1 unaligned, src2 unaligned in ff_pixelutils_sad_init_x86() 74 case 1: sad[3] = ff_pixelutils_sad_u_16x16_sse2; break; // src1 aligned, src2 unaligned in ff_pixelutils_sad_init_x86() 75 case 2: sad[3] = ff_pixelutils_sad_a_16x16_sse2; break; // src1 aligned, src2 aligned in ff_pixelutils_sad_init_x86() 81 case 0: sad[4] = ff_pixelutils_sad_32x32_sse2; break; // src1 unaligned, src2 unaligned in ff_pixelutils_sad_init_x86() 82 case 1: sad[4] = ff_pixelutils_sad_u_32x32_sse2; break; // src1 aligned, src2 unaligned in ff_pixelutils_sad_init_x86() 83 case 2: sad[4] = ff_pixelutils_sad_a_32x32_sse2; break; // src1 aligned, src2 aligned in ff_pixelutils_sad_init_x86() [all …]
|
D | pixelutils.h | 24 void ff_pixelutils_sad_init_x86(av_pixelutils_sad_fn *sad, int aligned);
|
/third_party/ffmpeg/libavutil/ |
D | pixelutils.c | 73 av_pixelutils_sad_fn sad[FF_ARRAY_ELEMS(sad_c)]; in av_pixelutils_get_sad_fn() 75 memcpy(sad, sad_c, sizeof(sad)); in av_pixelutils_get_sad_fn() 77 if (w_bits < 1 || w_bits > FF_ARRAY_ELEMS(sad) || in av_pixelutils_get_sad_fn() 78 h_bits < 1 || h_bits > FF_ARRAY_ELEMS(sad)) in av_pixelutils_get_sad_fn() 84 ff_pixelutils_sad_init_x86(sad, aligned); in av_pixelutils_get_sad_fn() 87 return sad[w_bits - 1]; in av_pixelutils_get_sad_fn()
|
/third_party/ffmpeg/libavcodec/ppc/ |
D | mpegvideoencdsp.c | 95 vector unsigned int sad = (vector unsigned int) vec_splat_u32(0); in pix_sum_altivec() local 106 sad = vec_sum4s(t1, sad); in pix_sum_altivec() 112 sumdiffs = vec_sums((vector signed int) sad, (vector signed int) zero); in pix_sum_altivec() 124 vector unsigned int sad = (vector unsigned int) vec_splat_u32(0); in pix_sum_altivec() local 134 sad = vec_sum4s(t1, sad); in pix_sum_altivec() 140 sumdiffs = vec_sums((vector signed int) sad, (vector signed int) zero); in pix_sum_altivec()
|
D | me_cmp.c | 61 vector unsigned int sad = (vector unsigned int) vec_splat_u32(0); in sad16_x2_altivec() local 81 sad = vec_sum4s(t5, sad); in sad16_x2_altivec() 87 sumdiffs = vec_sums((vector signed int) sad, (vector signed int) zero); in sad16_x2_altivec() 102 vector unsigned int sad = (vector unsigned int) vec_splat_u32(0); in sad16_y2_altivec() local 130 sad = vec_sum4s(t5, sad); in sad16_y2_altivec() 138 sumdiffs = vec_sums((vector signed int) sad, (vector signed int) zero); in sad16_y2_altivec() 158 vector unsigned int sad = (vector unsigned int) vec_splat_u32(0); in sad16_xy2_altivec() local 217 sad = vec_sum4s(t5, sad); in sad16_xy2_altivec() 226 sumdiffs = vec_sums((vector signed int) sad, (vector signed int) zero); in sad16_xy2_altivec() 240 vector unsigned int sad = (vector unsigned int) vec_splat_u32(0); in sad16_altivec() local [all …]
|
/third_party/ffmpeg/libavfilter/x86/ |
D | scene_sad_init.c | 27 uint64_t sad[MMSIZE / 8] = {0}; \ 30 ASM_FUNC_NAME(src1, stride1, src2, stride2, awidth, height, sad); \ 32 *sum += sad[i]; \ 35 width - awidth, height, sad); \ 36 *sum += sad[0]; \
|
/third_party/ffmpeg/libavcodec/mips/ |
D | me_cmp_msa.c | 30 v8u16 sad = { 0 }; in sad_8width_msa() local 40 sad += SAD_UB2_UH(src0, src1, ref0, ref1); in sad_8width_msa() 43 return (HADD_UH_U32(sad)); in sad_8width_msa() 52 v8u16 sad = { 0 }; in sad_16width_msa() local 59 sad += SAD_UB2_UH(src0, src1, ref0, ref1); in sad_16width_msa() 65 sad += SAD_UB2_UH(src0, src1, ref0, ref1); in sad_16width_msa() 68 return (HADD_UH_U32(sad)); in sad_16width_msa() 80 v8u16 sad = { 0 }; in sad_horiz_bilinear_filter_8width_msa() local 94 sad += SAD_UB2_UH(src0, src1, comp0, comp1); in sad_horiz_bilinear_filter_8width_msa() 107 sad += SAD_UB2_UH(src0, src1, comp0, comp1); in sad_horiz_bilinear_filter_8width_msa() [all …]
|
D | mpegvideo_msa.c | 74 v4i32 block_l, block_r, sad; in mpeg2_dct_unquantize_inter_msa() local 105 sad = __msa_hadd_s_w(sum, sum); in mpeg2_dct_unquantize_inter_msa() 106 sum_res += HADD_SW_S32(sad); in mpeg2_dct_unquantize_inter_msa() 133 sad = __msa_hadd_s_w(sum, sum); in mpeg2_dct_unquantize_inter_msa() 134 sum_res += HADD_SW_S32(sad); in mpeg2_dct_unquantize_inter_msa() 161 sad = __msa_hadd_s_w(sum, sum); in mpeg2_dct_unquantize_inter_msa() 162 sum_res += HADD_SW_S32(sad); in mpeg2_dct_unquantize_inter_msa() 189 sad = __msa_hadd_s_w(sum, sum); in mpeg2_dct_unquantize_inter_msa() 190 sum_res += HADD_SW_S32(sad); in mpeg2_dct_unquantize_inter_msa()
|
D | me_cmp_init_mips.c | 45 c->sad[0] = ff_pix_abs16_msa; in ff_me_cmp_init_mips() 46 c->sad[1] = ff_pix_abs8_msa; in ff_me_cmp_init_mips()
|
/third_party/libsoup/tests/ |
D | auth-test.c | 760 SelectAuthData *sad = data; in select_auth_authenticate() local 770 sad->round[round].headers = "Basic, Digest"; in select_auth_authenticate() 772 sad->round[round].headers = "Digest, Basic"; in select_auth_authenticate() 774 sad->round[round].headers = "Basic"; in select_auth_authenticate() 776 sad->round[round].headers = "Digest"; in select_auth_authenticate() 778 sad->round[round].response = soup_auth_get_scheme_name (auth); in select_auth_authenticate() 779 if (sad->password && !retrying) in select_auth_authenticate() 780 soup_auth_authenticate (auth, "user", sad->password); in select_auth_authenticate() 790 SelectAuthData sad; in select_auth_test_one() local 799 G_CALLBACK (select_auth_authenticate), &sad); in select_auth_test_one() [all …]
|
/third_party/ffmpeg/libavcodec/arm/ |
D | me_cmp_init_arm.c | 52 c->sad[0] = ff_pix_abs16_armv6; in ff_me_cmp_init_arm() 53 c->sad[1] = ff_pix_abs8_armv6; in ff_me_cmp_init_arm()
|
/third_party/ffmpeg/libavcodec/x86/ |
D | me_cmp_init.c | 572 c->sad[0] = sad16_mmx; in PIX_SAD() 573 c->sad[1] = sad8_mmx; in PIX_SAD() 601 c->sad[0] = ff_sad16_mmxext; in PIX_SAD() 602 c->sad[1] = ff_sad8_mmxext; in PIX_SAD() 632 c->sad[0] = ff_sad16_sse2; in PIX_SAD()
|
/third_party/ffmpeg/libavcodec/ |
D | me_cmp.h | 56 me_cmp_func sad[6]; /* identical to pix_absAxA except additional void * */ member
|