Home
last modified time | relevance | path

Searched refs:coeff0 (Results 1 - 12 of 12) sorted by relevance

/third_party/ffmpeg/tests/checkasm/
H A Dopusdsp.c70 float coeff0 = (float)rnd() / (UINT_MAX >> 5) - 16.0f, coeff1 = coeff0; in test_deemphasis() local
76 coeff0 = call_ref(dst0, src, coeff0, MAX_SIZE); in test_deemphasis()
79 if (!float_near_abs_eps(coeff0, coeff1, EPS) || in test_deemphasis()
/third_party/ffmpeg/libavcodec/mips/
H A Dh264chroma_msa.c33 uint32_t coeff0, uint32_t coeff1) in avc_chroma_hz_2x2_msa()
40 v16i8 coeff_vec0 = __msa_fill_b(coeff0); in avc_chroma_hz_2x2_msa()
64 uint32_t coeff0, uint32_t coeff1) in avc_chroma_hz_2x4_msa()
70 v16i8 coeff_vec0 = __msa_fill_b(coeff0); in avc_chroma_hz_2x4_msa()
92 uint32_t coeff0, uint32_t coeff1, in avc_chroma_hz_2w_msa()
96 avc_chroma_hz_2x2_msa(src, dst, stride, coeff0, coeff1); in avc_chroma_hz_2w_msa()
98 avc_chroma_hz_2x4_msa(src, dst, stride, coeff0, coeff1); in avc_chroma_hz_2w_msa()
103 uint32_t coeff0, uint32_t coeff1) in avc_chroma_hz_4x2_msa()
109 v16i8 coeff_vec0 = __msa_fill_b(coeff0); in avc_chroma_hz_4x2_msa()
128 uint32_t coeff0, uint32_ in avc_chroma_hz_4x4_msa()
32 avc_chroma_hz_2x2_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_2x2_msa() argument
63 avc_chroma_hz_2x4_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_2x4_msa() argument
91 avc_chroma_hz_2w_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_hz_2w_msa() argument
102 avc_chroma_hz_4x2_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_4x2_msa() argument
127 avc_chroma_hz_4x4_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_4x4_msa() argument
150 avc_chroma_hz_4x8_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_4x8_msa() argument
174 avc_chroma_hz_4w_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_hz_4w_msa() argument
187 avc_chroma_hz_8x4_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_8x4_msa() argument
210 avc_chroma_hz_8x8_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_8x8_msa() argument
243 avc_chroma_hz_nonmult_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_hz_nonmult_msa() argument
292 avc_chroma_hz_8w_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_hz_8w_msa() argument
305 avc_chroma_vt_2x2_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_2x2_msa() argument
337 avc_chroma_vt_2x4_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_2x4_msa() argument
365 avc_chroma_vt_2w_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_vt_2w_msa() argument
376 avc_chroma_vt_4x2_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_4x2_msa() argument
400 avc_chroma_vt_4x4_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_4x4_msa() argument
424 avc_chroma_vt_4x8_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_4x8_msa() argument
452 avc_chroma_vt_4w_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_vt_4w_msa() argument
465 avc_chroma_vt_8x4_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_8x4_msa() argument
486 avc_chroma_vt_8x8_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_8x8_msa() argument
518 avc_chroma_vt_8w_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_vt_8w_msa() argument
843 avc_chroma_hz_and_aver_dst_2x2_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_and_aver_dst_2x2_msa() argument
885 avc_chroma_hz_and_aver_dst_2x4_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_and_aver_dst_2x4_msa() argument
925 avc_chroma_hz_and_aver_dst_2w_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_hz_and_aver_dst_2w_msa() argument
936 avc_chroma_hz_and_aver_dst_4x2_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_and_aver_dst_4x2_msa() argument
969 avc_chroma_hz_and_aver_dst_4x4_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_and_aver_dst_4x4_msa() argument
998 avc_chroma_hz_and_aver_dst_4x8_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_and_aver_dst_4x8_msa() argument
1030 avc_chroma_hz_and_aver_dst_4w_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_hz_and_aver_dst_4w_msa() argument
1043 avc_chroma_hz_and_aver_dst_8x4_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_and_aver_dst_8x4_msa() argument
1073 avc_chroma_hz_and_aver_dst_8x8_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_and_aver_dst_8x8_msa() argument
1117 avc_chroma_hz_and_aver_dst_8w_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_hz_and_aver_dst_8w_msa() argument
1128 avc_chroma_vt_and_aver_dst_2x2_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_and_aver_dst_2x2_msa() argument
1165 avc_chroma_vt_and_aver_dst_2x4_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_and_aver_dst_2x4_msa() argument
1207 avc_chroma_vt_and_aver_dst_2w_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_vt_and_aver_dst_2w_msa() argument
1218 avc_chroma_vt_and_aver_dst_4x2_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_and_aver_dst_4x2_msa() argument
1250 avc_chroma_vt_and_aver_dst_4x4_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_and_aver_dst_4x4_msa() argument
1280 avc_chroma_vt_and_aver_dst_4x8_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_and_aver_dst_4x8_msa() argument
1316 avc_chroma_vt_and_aver_dst_4w_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_vt_and_aver_dst_4w_msa() argument
1329 avc_chroma_vt_and_aver_dst_8x4_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_and_aver_dst_8x4_msa() argument
1358 avc_chroma_vt_and_aver_dst_8x8_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_and_aver_dst_8x8_msa() argument
1401 avc_chroma_vt_and_aver_dst_8w_msa(uint8_t *src, uint8_t *dst, int32_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_vt_and_aver_dst_8w_msa() argument
[all...]
H A Daacpsy_mips.h132 float coeff0 = psy_fir_coeffs[1]; in psy_hp_filter_mips() local
149 "madd.s %[sum1], $f0, $f1, %[coeff0] \n\t" in psy_hp_filter_mips()
152 "madd.s %[sum2], $f3, $f4, %[coeff0] \n\t" in psy_hp_filter_mips()
154 "madd.s %[sum1], %[sum1], $f2, %[coeff0] \n\t" in psy_hp_filter_mips()
157 "madd.s %[sum2], %[sum2], $f5, %[coeff0] \n\t" in psy_hp_filter_mips()
158 "madd.s %[sum3], $f6, $f7, %[coeff0] \n\t" in psy_hp_filter_mips()
163 "madd.s %[sum3], %[sum3], $f8, %[coeff0] \n\t" in psy_hp_filter_mips()
164 "madd.s %[sum4], $f9, $f10, %[coeff0] \n\t" in psy_hp_filter_mips()
169 "madd.s %[sum4], %[sum4], $f11, %[coeff0] \n\t" in psy_hp_filter_mips()
224 : [coeff0]" in psy_hp_filter_mips()
[all...]
H A Dh264qpel_msa.c70 #define AVC_DOT_SH3_SH(in0, in1, in2, coeff0, coeff1, coeff2) \
74 out0_m = __msa_dotp_s_h((v16i8) in0, (v16i8) coeff0); \
81 #define AVC_DOT_SW3_SW(in0, in1, in2, coeff0, coeff1, coeff2) \
85 out0_m = __msa_dotp_s_w((v8i16) in0, (v8i16) coeff0); \
/third_party/ffmpeg/libavcodec/loongarch/
H A Dh264chroma_lasx.c131 ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) in avc_chroma_hz_8x4_lasx()
138 __m256i coeff_vec0 = __lasx_xvreplgr2vr_b(coeff0); in avc_chroma_hz_8x4_lasx()
158 ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) in avc_chroma_hz_8x8_lasx()
167 __m256i coeff_vec0 = __lasx_xvreplgr2vr_b(coeff0); in avc_chroma_hz_8x8_lasx()
197 uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, in avc_chroma_hz_nonmult_lasx()
207 __m256i coeff_vec0 = __lasx_xvreplgr2vr_b(coeff0); in avc_chroma_hz_nonmult_lasx()
243 ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) in avc_chroma_vt_8x4_lasx()
249 __m256i coeff_vec0 = __lasx_xvreplgr2vr_b(coeff0); in avc_chroma_vt_8x4_lasx()
270 ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) in avc_chroma_vt_8x8_lasx()
278 __m256i coeff_vec0 = __lasx_xvreplgr2vr_b(coeff0); in avc_chroma_vt_8x8_lasx()
130 avc_chroma_hz_8x4_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_8x4_lasx() argument
157 avc_chroma_hz_8x8_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_8x8_lasx() argument
196 avc_chroma_hz_nonmult_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_hz_nonmult_lasx() argument
242 avc_chroma_vt_8x4_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_8x4_lasx() argument
269 avc_chroma_vt_8x8_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_8x8_lasx() argument
512 avc_chroma_hz_4x2_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_4x2_lasx() argument
531 avc_chroma_hz_4x4_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_4x4_lasx() argument
556 avc_chroma_hz_4x8_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_4x8_lasx() argument
591 avc_chroma_hz_4w_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_hz_4w_lasx() argument
604 avc_chroma_hz_8w_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_hz_8w_lasx() argument
617 avc_chroma_vt_4x2_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_4x2_lasx() argument
638 avc_chroma_vt_4x4_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_4x4_lasx() argument
667 avc_chroma_vt_4x8_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_4x8_lasx() argument
708 avc_chroma_vt_4w_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_vt_4w_lasx() argument
721 avc_chroma_vt_8w_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_vt_8w_lasx() argument
960 avc_chroma_hz_and_aver_dst_8x4_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_and_aver_dst_8x4_lasx() argument
993 avc_chroma_hz_and_aver_dst_8x8_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_hz_and_aver_dst_8x8_lasx() argument
1046 avc_chroma_vt_and_aver_dst_8x4_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_and_aver_dst_8x4_lasx() argument
1080 avc_chroma_vt_and_aver_dst_8x8_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1) avc_chroma_vt_and_aver_dst_8x8_lasx() argument
1233 avc_chroma_hz_and_aver_dst_8w_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_hz_and_aver_dst_8w_lasx() argument
1244 avc_chroma_vt_and_aver_dst_8w_lasx(uint8_t *src, uint8_t *dst, ptrdiff_t stride, uint32_t coeff0, uint32_t coeff1, int32_t height) avc_chroma_vt_and_aver_dst_8w_lasx() argument
[all...]
H A Dvp8_mc_lsx.c43 #define DPADD_SH3_SH(in0, in1, in2, coeff0, coeff1, coeff2) \
47 out0_m = __lsx_vdp2_h_b(in0, coeff0); \
H A Dh264qpel_lasx.c53 #define AVC_DOT_SH3_SH(in0, in1, in2, coeff0, coeff1, coeff2) \
57 out0_m = __lasx_xvdp2_h_b(in0, coeff0); \
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Denc_sse41.c217 __m128i coeff0 = _mm_abs_epi16(in0); in DoQuantizeBlock_SSE41() local
224 coeff0 = _mm_add_epi16(coeff0, sharpen0); in DoQuantizeBlock_SSE41()
232 const __m128i coeff_iQ0H = _mm_mulhi_epu16(coeff0, iq0); in DoQuantizeBlock_SSE41()
233 const __m128i coeff_iQ0L = _mm_mullo_epi16(coeff0, iq0); in DoQuantizeBlock_SSE41()
H A Denc_msa.c235 v8i16 coeff0, coeff1; in CollectHistogram_MSA() local
238 LD_SH2(&out[0], 8, coeff0, coeff1); in CollectHistogram_MSA()
239 coeff0 = __msa_add_a_h(coeff0, zero); in CollectHistogram_MSA()
241 SRAI_H2_SH(coeff0, coeff1, 3); in CollectHistogram_MSA()
242 coeff0 = __msa_min_s_h(coeff0, max_coeff_thr); in CollectHistogram_MSA()
244 ST_SH2(coeff0, coeff1, &out[0], 8); in CollectHistogram_MSA()
H A Denc_sse2.c1225 __m128i coeff0, coeff8; in DoQuantizeBlock_SSE2() local
1242 coeff0 = _mm_xor_si128(in0, sign0); in DoQuantizeBlock_SSE2()
1244 coeff0 = _mm_sub_epi16(coeff0, sign0); in DoQuantizeBlock_SSE2()
1251 coeff0 = _mm_add_epi16(coeff0, sharpen0); in DoQuantizeBlock_SSE2()
1259 const __m128i coeff_iQ0H = _mm_mulhi_epu16(coeff0, iq0); in DoQuantizeBlock_SSE2()
1260 const __m128i coeff_iQ0L = _mm_mullo_epi16(coeff0, iq0); in DoQuantizeBlock_SSE2()
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dquant_enc.c645 const uint32_t coeff0 = (sign ? -in[j] : in[j]) + mtx->sharpen_[j]; in TrellisQuantizeBlock() local
646 int level0 = QUANTDIV(coeff0, iQ, B); in TrellisQuantizeBlock()
647 int thresh_level = QUANTDIV(coeff0, iQ, BIAS(0x80)); in TrellisQuantizeBlock()
678 const int new_error = coeff0 - level * Q; in TrellisQuantizeBlock()
680 kWeightTrellis[j] * (new_error * new_error - coeff0 * coeff0); in TrellisQuantizeBlock()
/third_party/ffmpeg/libavutil/mips/
H A Dgeneric_macros_msa.h2722 Arguments : Inputs - in0, in1, in2, coeff0, coeff1, coeff2
2725 Details : Dot product of 'in0' with 'coeff0'
2730 out0_m = (in0 * coeff0) + (in1 * coeff1) + (in2 * coeff2)
2732 #define DPADD_SH3_SH(in0, in1, in2, coeff0, coeff1, coeff2) \
2736 out0_m = __msa_dotp_s_h((v16i8) in0, (v16i8) coeff0); \

Completed in 39 milliseconds