/third_party/ffmpeg/libavcodec/ |
D | me_cmp.c | 70 static int sse4_c(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, in sse4_c() argument 77 s += sq[pix1[0] - pix2[0]]; in sse4_c() 78 s += sq[pix1[1] - pix2[1]]; in sse4_c() 79 s += sq[pix1[2] - pix2[2]]; in sse4_c() 80 s += sq[pix1[3] - pix2[3]]; in sse4_c() 81 pix1 += stride; in sse4_c() 87 static int sse8_c(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, in sse8_c() argument 94 s += sq[pix1[0] - pix2[0]]; in sse8_c() 95 s += sq[pix1[1] - pix2[1]]; in sse8_c() 96 s += sq[pix1[2] - pix2[2]]; in sse8_c() [all …]
|
D | snow_dwt.c | 743 static inline int w_c(struct MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, ptrdiff_t line_size, in w_c() argument 781 tmp[32 * i + j + 0] = (pix1[j + 0] - pix2[j + 0]) << 4; in w_c() 782 tmp[32 * i + j + 1] = (pix1[j + 1] - pix2[j + 1]) << 4; in w_c() 783 tmp[32 * i + j + 2] = (pix1[j + 2] - pix2[j + 2]) << 4; in w_c() 784 tmp[32 * i + j + 3] = (pix1[j + 3] - pix2[j + 3]) << 4; in w_c() 786 pix1 += line_size; in w_c() 812 static int w53_8_c(struct MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, ptrdiff_t line_size, int… in w53_8_c() argument 814 return w_c(v, pix1, pix2, line_size, 8, h, 1); in w53_8_c() 817 static int w97_8_c(struct MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, ptrdiff_t line_size, int… in w97_8_c() argument 819 return w_c(v, pix1, pix2, line_size, 8, h, 0); in w97_8_c() [all …]
|
D | snow_dwt.h | 107 int ff_w53_32_c(struct MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, ptrdiff_t line_size, int h); 108 int ff_w97_32_c(struct MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, ptrdiff_t line_size, int h);
|
D | svq1enc.h | 79 int (*ssd_int8_vs_int16)(const int8_t *pix1, const int16_t *pix2,
|
D | smacker.c | 485 uint16_t pix1, pix2; in decode_frame() local 487 pix1 = smk_get_code(&gb, smk->full_tbl, smk->full_last); in decode_frame() 488 AV_WL16(out,pix1); in decode_frame() 491 AV_WL16(out,pix1); in decode_frame()
|
D | svq1enc.c | 83 static int ssd_int8_vs_int16_c(const int8_t *pix1, const int16_t *pix2, in ssd_int8_vs_int16_c() argument 89 score += (pix1[i] - pix2[i]) * (pix1[i] - pix2[i]); in ssd_int8_vs_int16_c()
|
/third_party/ffmpeg/libavcodec/alpha/ |
D | me_cmp_alpha.c | 26 int pix_abs16x16_mvi_asm(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h); 47 static int pix_abs8x8_mvi(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) in pix_abs8x8_mvi() argument 56 p1 = ldq(pix1); in pix_abs8x8_mvi() 60 pix1 += line_size; in pix_abs8x8_mvi() 67 p1 = ldq(pix1); in pix_abs8x8_mvi() 71 pix1 += line_size; in pix_abs8x8_mvi() 80 int pix_abs16x16_mvi(uint8_t *pix1, uint8_t *pix2, int line_size) 91 p1_l = ldq(pix1); 92 p1_r = ldq(pix1 + 8); 96 pix1 += line_size; [all …]
|
D | hpeldsp_alpha.c | 64 uint64_t pix1, pix2; \ 66 pix1 = LOAD(pixels); \ 67 pix2 = pix1 >> 8 | ((uint64_t) pixels[8] << 56); \ 68 STORE(AVG2(pix1, pix2), block); \ 89 uint64_t pix1 = LOAD(pixels); \ 90 uint64_t pix2 = pix1 >> 8 | ((uint64_t) pixels[8] << 56); \ 91 uint64_t pix_l = (pix1 & BYTE_VEC(0x03)) \ 93 uint64_t pix_h = ((pix1 & ~BYTE_VEC(0x03)) >> 2) \
|
D | me_cmp_mvi_asm.S | 88 addq a1, a3, a1 # pix1 96 addq a1, a3, a1 # pix1 133 addq a1, a3, a1 # pix1 140 addq a1, a3, a1 # pix1 147 addq a1, a3, a1 # pix1 156 addq a1, a3, a1 # pix1
|
D | idctdsp_alpha.c | 75 uint64_t shorts1, pix1, signs1; 91 pix1 = unpkbw(ldl(pixels + 4)); 94 shorts1 += pix1;
|
D | idctdsp_alpha_asm.S | 106 ldl t4, 4(a1) # pix1
|
/third_party/ffmpeg/libavcodec/x86/ |
D | me_cmp_init.c | 35 int ff_sse8_mmx(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, 37 int ff_sse16_mmx(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, 39 int ff_sse16_sse2(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, 41 int ff_hf_noise8_mmx(uint8_t *pix1, ptrdiff_t stride, int h); 42 int ff_hf_noise16_mmx(uint8_t *pix1, ptrdiff_t stride, int h); 43 int ff_sad8_mmxext(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, 45 int ff_sad16_mmxext(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, 47 int ff_sad16_sse2(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, 49 int ff_sad8_x2_mmxext(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, 51 int ff_sad16_x2_mmxext(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, [all …]
|
D | svq1enc_init.c | 27 int ff_ssd_int8_vs_int16_sse2(const int8_t *pix1, const int16_t *pix2,
|
D | svq1enc.asm | 27 cglobal ssd_int8_vs_int16, 3, 3, 3, pix1, pix2, size
|
D | me_cmp.asm | 41 ; %1=uint8_t *pix1, %2=uint8_t *pix2, %3=static offset, %4=stride, %5=stride*3
|
/third_party/ffmpeg/libavcodec/mips/ |
D | me_cmp_mips.h | 35 int ff_pix_abs16_msa(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, 37 int ff_pix_abs16_x2_msa(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, 39 int ff_pix_abs16_y2_msa(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, 41 int ff_pix_abs16_xy2_msa(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, 43 int ff_pix_abs8_msa(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, 45 int ff_pix_abs8_x2_msa(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, 47 int ff_pix_abs8_y2_msa(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, 49 int ff_pix_abs8_xy2_msa(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2,
|
D | me_cmp_msa.c | 602 int ff_pix_abs16_x2_msa(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, in ff_pix_abs16_x2_msa() argument 605 return sad_horiz_bilinear_filter_16width_msa(pix1, stride, pix2, stride, h); in ff_pix_abs16_x2_msa() 608 int ff_pix_abs16_y2_msa(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, in ff_pix_abs16_y2_msa() argument 611 return sad_vert_bilinear_filter_16width_msa(pix1, stride, pix2, stride, h); in ff_pix_abs16_y2_msa() 614 int ff_pix_abs16_xy2_msa(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, in ff_pix_abs16_xy2_msa() argument 617 return sad_hv_bilinear_filter_16width_msa(pix1, stride, pix2, stride, h); in ff_pix_abs16_xy2_msa() 620 int ff_pix_abs8_x2_msa(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, in ff_pix_abs8_x2_msa() argument 623 return sad_horiz_bilinear_filter_8width_msa(pix1, stride, pix2, stride, h); in ff_pix_abs8_x2_msa() 626 int ff_pix_abs8_y2_msa(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, in ff_pix_abs8_y2_msa() argument 629 return sad_vert_bilinear_filter_8width_msa(pix1, stride, pix2, stride, h); in ff_pix_abs8_y2_msa() [all …]
|
D | idctdsp_msa.c | 89 v8u16 pix0, pix1, pix2, pix3, pix4, pix5, pix6, pix7; in add_pixels_clamped_msa() local 97 pix0, pix1, pix2, pix3); in add_pixels_clamped_msa() 102 in1 += (v8i16) pix1; in add_pixels_clamped_msa()
|
/third_party/ffmpeg/libavcodec/ppc/ |
D | svq1enc_altivec.c | 33 static int ssd_int8_vs_int16_altivec(const int8_t *pix1, const int16_t *pix2, in ssd_int8_vs_int16_altivec() argument 48 vpix1 = vec_unaligned_load(pix1); in ssd_int8_vs_int16_altivec() 60 pix1 += 16; in ssd_int8_vs_int16_altivec() 68 u.score[3] += (pix1[i] - pix2[i]) * (pix1[i] - pix2[i]); in ssd_int8_vs_int16_altivec()
|
D | me_cmp.c | 54 static int sad16_x2_altivec(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, in sad16_x2_altivec() argument 70 vector unsigned char pix1v = vec_ld(0, pix1); in sad16_x2_altivec() 83 pix1 += stride; in sad16_x2_altivec() 94 static int sad16_y2_altivec(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, in sad16_y2_altivec() argument 120 pix1v = vec_ld(0, pix1); in sad16_y2_altivec() 132 pix1 += stride; in sad16_y2_altivec() 144 static int sad16_xy2_altivec(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, in sad16_xy2_altivec() argument 188 pix1v = vec_ld(0, pix1); in sad16_xy2_altivec() 219 pix1 += stride; in sad16_xy2_altivec() 233 static int sad16_altivec(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, in sad16_altivec() argument [all …]
|
/third_party/ffmpeg/tests/ |
D | tiny_ssim.c | 46 static void ssim_4x4x2_core( const pixel *pix1, intptr_t stride1, in ssim_4x4x2_core() argument 58 int a = pix1[x+y*stride1]; in ssim_4x4x2_core() 70 pix1 += 4; in ssim_4x4x2_core() 113 pixel *pix1, intptr_t stride1, in ssim_plane() argument 130 … ssim_4x4x2_core( &pix1[4*(x+z*stride1)], stride1, &pix2[4*(x+z*stride2)], stride2, &sum0[x] ); in ssim_plane() 140 uint64_t ssd_plane( const uint8_t *pix1, const uint8_t *pix2, int size ) in ssd_plane() argument 146 int d = pix1[i] - pix2[i]; in ssd_plane()
|
/third_party/openh264/codec/encoder/core/mips/ |
D | dct_mmi.c | 448 void WelsDctT4_mmi(int16_t *pDct, uint8_t *pix1, int32_t i_pix1, in WelsDctT4_mmi() argument 456 MMI_LoadDiff4x4P_SINGLE($f2, $f4, $f6, $f8, %[pix1], %[i_pix1], in WelsDctT4_mmi() 473 : [pDct]"+&r"((short *)pDct), [pix1]"+&r"(pix1), [pix2]"+&r"(pix2) in WelsDctT4_mmi() 480 void WelsDctFourT4_mmi(int16_t *pDct, uint8_t *pix1, int32_t i_pix1, in WelsDctFourT4_mmi() argument 486 MMI_LoadDiff8P($f0, $f2, $f24, $f26, $f28, %[pix1], %[pix2]) in WelsDctFourT4_mmi() 489 MMI_LoadDiff8P($f4, $f6, $f24, $f26, $f28, %[pix1], %[pix2]) in WelsDctFourT4_mmi() 492 MMI_LoadDiff8P($f8, $f10, $f24, $f26, $f28, %[pix1], %[pix2]) in WelsDctFourT4_mmi() 495 MMI_LoadDiff8P($f12, $f14, $f24, $f26, $f28, %[pix1], %[pix2]) in WelsDctFourT4_mmi() 505 MMI_LoadDiff8P($f0, $f2, $f24, $f26, $f28, %[pix1], %[pix2]) in WelsDctFourT4_mmi() 508 MMI_LoadDiff8P($f4, $f6, $f24, $f26, $f28, %[pix1], %[pix2]) in WelsDctFourT4_mmi() [all …]
|
/third_party/ffmpeg/libavutil/x86/ |
D | pixelutils.asm | 251 movu m2, [src2q] ; row 0 of pix1 253 movu m4, [src2q + stride2q] ; row 1 of pix1 261 movu m2, [src2q + 2 * stride2q] ; row 2 of pix1 263 movu m4, [src2q + r6] ; row 3 of pix1 296 mov%1 m1, [src2q] ; row 0 of pix1 298 mov%1 m2, [src2q + stride2q] ; row 1 of pix1 304 mov%1 m1, [src2q + 2 * stride2q] ; row 2 of pix1 306 mov%1 m2, [src2q + r6] ; row 3 of pix1
|
/third_party/openh264/codec/common/x86/ |
D | dct.asm | 190 ; void WelsDctT4_mmx( int16_t *pDct[4], uint8_t *pix1, int32_t i_pix1, uint8_t *pix2, int32_t i_p… 468 ; void WelsDctFourT4_sse2(int16_t *pDct, uint8_t *pix1, int32_t i_pix1, uint8_t *pix2, int32_t i_pi…
|
D | asm_inc.asm | 586 ;xmm7 = 0, eax = pix1, ecx = pix2, xmm0 save the result
|