/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 51 if ((size_t) pix2 & 0x7) { in pix_abs8x8_mvi() 57 p2 = uldq(pix2); in pix_abs8x8_mvi() 61 pix2 += line_size; in pix_abs8x8_mvi() 68 p2 = ldq(pix2); in pix_abs8x8_mvi() 72 pix2 += line_size; in pix_abs8x8_mvi() 80 int pix_abs16x16_mvi(uint8_t *pix1, uint8_t *pix2, int line_size) 85 if ((size_t) pix2 & 0x7) { 93 t = ldq_u(pix2 + 8); [all …]
|
D | hpeldsp_alpha.c | 64 uint64_t pix1, pix2; \ 67 pix2 = pix1 >> 8 | ((uint64_t) pixels[8] << 56); \ 68 STORE(AVG2(pix1, pix2), block); \ 90 uint64_t pix2 = pix1 >> 8 | ((uint64_t) pixels[8] << 56); \ 92 + (pix2 & BYTE_VEC(0x03)); \ 94 + ((pix2 & ~BYTE_VEC(0x03)) >> 2); \
|
D | me_cmp_mvi_asm.S | 89 addq a2, a3, a2 # pix2 97 addq a2, a3, a2 # pix2 130 addq a2, a3, a2 # pix2 137 addq a2, a3, a2 # pix2 144 addq a2, a3, a2 # pix2 151 addq a2, a3, a2 # pix2
|
D | idctdsp_alpha_asm.S | 110 ldl t7, 0(te) # pix2 (try to hit cache line soon)
|
/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() 82 pix2 += 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() 787 pix2 += 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 486 pix2 = smk_get_code(&gb, smk->full_tbl, smk->full_last); in decode_frame() 489 AV_WL16(out+2,pix2); in decode_frame() 492 AV_WL16(out+2,pix2); 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/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, 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, 53 int ff_sad16_x2_sse2(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, 55 int ff_sad8_y2_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() 103 in2 += (v8i16) pix2; 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 49 vpix2 = vec_unaligned_load(pix2); in ssd_int8_vs_int16_altivec() 50 pix2 += 8; in ssd_int8_vs_int16_altivec() 56 vpix2 = vec_unaligned_load(pix2); in ssd_int8_vs_int16_altivec() 61 pix2 += 8; 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 65 GET_PERM(perm1, perm2, pix2); in sad16_x2_altivec() 71 LOAD_PIX(pix2v, pix2iv, pix2, perm1, perm2); in sad16_x2_altivec() 84 pix2 += stride; in sad16_x2_altivec() 94 static int sad16_y2_altivec(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, in sad16_y2_altivec() argument 105 uint8_t *pix3 = pix2 + stride; in sad16_y2_altivec() 114 vector unsigned char pix2v = VEC_LD(0, pix2); in sad16_y2_altivec() 144 static int sad16_xy2_altivec(MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, in sad16_xy2_altivec() argument 149 uint8_t *pix3 = pix2 + stride; in sad16_xy2_altivec() 161 GET_PERM(perm1, perm2, pix2); in sad16_xy2_altivec() [all …]
|
/third_party/ffmpeg/tests/ |
D | tiny_ssim.c | 47 const pixel *pix2, intptr_t stride2, in ssim_4x4x2_core() argument 59 int b = pix2[x+y*stride2]; in ssim_4x4x2_core() 71 pix2 += 4; in ssim_4x4x2_core() 114 pixel *pix2, intptr_t stride2, 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 | 449 uint8_t *pix2, int32_t i_pix2 ) { in WelsDctT4_mmi() argument 457 %[pix2], %[i_pix2], $f0, $f14) in WelsDctT4_mmi() 473 : [pDct]"+&r"((short *)pDct), [pix1]"+&r"(pix1), [pix2]"+&r"(pix2) in WelsDctT4_mmi() 481 uint8_t *pix2, int32_t i_pix2 ) { 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/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
|