/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() 65 if (!sad) { in ff_scene_sad_get_fn() 67 sad = ff_scene_sad_c; in ff_scene_sad_get_fn() [all …]
|
D | vf_scdet.c | 40 ff_scene_sad_fn sad; member 93 s->sad = ff_scene_sad_get_fn(s->bitdepth == 8 ? 8 : 16); in config_input() 94 if (!s->sad) in config_input() 115 uint64_t sad = 0; in get_scene_score() local 121 s->sad(prev_picref->data[plane], prev_picref->linesize[plane], in get_scene_score() 124 sad += plane_sad; in get_scene_score() 129 mafd = (double)sad * 100. / count / (1ULL << s->bitdepth); in get_scene_score()
|
D | vf_freezedetect.c | 38 ff_scene_sad_fn sad; member 105 s->sad = ff_scene_sad_get_fn(s->bitdepth == 8 ? 8 : 16); in config_input() 106 if (!s->sad) in config_input() 120 uint64_t sad = 0; in is_frozen() local 126 s->sad(frame->data[plane], frame->linesize[plane], in is_frozen() 129 sad += plane_sad; in is_frozen() 134 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 | 156 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() 287 s->sad = ff_scene_sad_get_fn(s->bitdepth == 8 ? 8 : 16); in config_input() 288 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 | 57 ff_scene_sad_fn sad; member 115 s->sad(main_line, main_linesize, ref_line, ref_linesize, in compute_images_msad() 308 s->sad = ff_scene_sad_get_fn(desc->comp[0].depth <= 8 ? 8 : 16); in config_input_ref() 309 if (!s->sad) in config_input_ref()
|
D | vf_minterpolate.c | 191 ff_scene_sad_fn sad; member 313 uint64_t sad = 0; in get_sad_ob() local 322 … sad += FFABS(data_ref[x_mv + i + (y_mv + j) * linesize] - data_cur[x + i + (y + j) * linesize]); in get_sad_ob() 324 return sad + (FFABS(mv_x - me_ctx->pred_x) + FFABS(mv_y - me_ctx->pred_y)) * COST_PRED_SCALE; in get_sad_ob() 391 mi_ctx->sad = ff_scene_sad_get_fn(mi_ctx->bitdepth == 8 ? 8 : 16); in config_input() 392 if (!mi_ctx->sad) in config_input() 828 uint64_t sad; in detect_scene_change() local 829 mi_ctx->sad(p1, linesize1, p2, linesize2, input->w, input->h, &sad); in detect_scene_change() 831 mafd = (double) sad * 100.0 / (input->h * input->w) / (1 << mi_ctx->bitdepth); in detect_scene_change()
|
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
|
/third_party/ffmpeg/libavutil/x86/ |
D | pixelutils_init.c | 48 void ff_pixelutils_sad_init_x86(av_pixelutils_sad_fn *sad, int aligned) in ff_pixelutils_sad_init_x86() argument 59 sad[2] = ff_pixelutils_sad_8x8_mmxext; in ff_pixelutils_sad_init_x86() 64 case 0: sad[3] = ff_pixelutils_sad_16x16_sse2; break; // src1 unaligned, src2 unaligned in ff_pixelutils_sad_init_x86() 65 case 1: sad[3] = ff_pixelutils_sad_u_16x16_sse2; break; // src1 aligned, src2 unaligned in ff_pixelutils_sad_init_x86() 66 case 2: sad[3] = ff_pixelutils_sad_a_16x16_sse2; break; // src1 aligned, src2 aligned in ff_pixelutils_sad_init_x86() 72 case 0: sad[4] = ff_pixelutils_sad_32x32_sse2; break; // src1 unaligned, src2 unaligned in ff_pixelutils_sad_init_x86() 73 case 1: sad[4] = ff_pixelutils_sad_u_32x32_sse2; break; // src1 aligned, src2 unaligned in ff_pixelutils_sad_init_x86() 74 case 2: sad[4] = ff_pixelutils_sad_a_32x32_sse2; break; // src1 aligned, src2 aligned in ff_pixelutils_sad_init_x86() 80 case 0: sad[4] = ff_pixelutils_sad_32x32_avx2; break; // src1 unaligned, src2 unaligned in ff_pixelutils_sad_init_x86() 81 case 1: sad[4] = ff_pixelutils_sad_u_32x32_avx2; break; // src1 aligned, src2 unaligned 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 | 79 av_pixelutils_sad_fn sad[FF_ARRAY_ELEMS(sad_c)]; in av_pixelutils_get_sad_fn() 81 memcpy(sad, sad_c, sizeof(sad)); in av_pixelutils_get_sad_fn() 83 if (w_bits < 1 || w_bits > FF_ARRAY_ELEMS(sad) || in av_pixelutils_get_sad_fn() 84 h_bits < 1 || h_bits > FF_ARRAY_ELEMS(sad)) in av_pixelutils_get_sad_fn() 90 ff_pixelutils_sad_init_x86(sad, aligned); in av_pixelutils_get_sad_fn() 93 return sad[w_bits - 1]; in av_pixelutils_get_sad_fn()
|
/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 | 46 c->sad[0] = ff_pix_abs16_msa; in ff_me_cmp_init_mips() 47 c->sad[1] = ff_pix_abs8_msa; in ff_me_cmp_init_mips()
|
/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/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/elfutils/tests/ |
D | run-all-dwarf-ranges.sh | 65 die: sad (1d) 118 die: sad (1d)
|
/third_party/ffmpeg/libavcodec/x86/ |
D | me_cmp_init.c | 260 c->sad[0] = ff_sad16_mmxext; in PIX_SADXY() 261 c->sad[1] = ff_sad8_mmxext; in PIX_SADXY() 291 c->sad[0] = ff_sad16_sse2; in PIX_SADXY()
|
/third_party/openh264/codec/common/x86/ |
D | satd_sad.asm | 1127 ;sad begin 2092 pxor xmm4, xmm4 ;sad pRefMb-i_stride_ref 2093 pxor xmm5, xmm5 ;sad pRefMb+i_stride_ref 2094 pxor xmm6, xmm6 ;sad pRefMb-1 2095 pxor xmm7, xmm7 ;sad pRefMb+1 2211 pxor xmm4, xmm4 ;sad pRefMb-i_stride_ref 2212 pxor xmm5, xmm5 ;sad pRefMb+i_stride_ref 2213 pxor xmm6, xmm6 ;sad pRefMb-1 2214 pxor xmm7, xmm7 ;sad pRefMb+1 2297 pxor xmm4, xmm4 ;sad pRefMb-i_stride_ref [all …]
|
/third_party/ffmpeg/libavcodec/aarch64/ |
D | me_cmp_init_aarch64.c | 39 c->sad[0] = ff_pix_abs16_neon; in ff_me_cmp_init_aarch64()
|