Home
last modified time | relevance | path

Searched refs:M_SQRT1_2 (Results 1 – 25 of 32) sorted by relevance

12

/third_party/ffmpeg/libavresample/
Daudio_mix_matrix.c133 matrix[FRONT_LEFT ][FRONT_CENTER] += M_SQRT1_2; in avresample_build_matrix()
134 matrix[FRONT_RIGHT][FRONT_CENTER] += M_SQRT1_2; in avresample_build_matrix()
142 matrix[FRONT_CENTER][FRONT_LEFT ] += M_SQRT1_2; in avresample_build_matrix()
143 matrix[FRONT_CENTER][FRONT_RIGHT] += M_SQRT1_2; in avresample_build_matrix()
153 matrix[BACK_LEFT ][BACK_CENTER] += M_SQRT1_2; in avresample_build_matrix()
154 matrix[BACK_RIGHT][BACK_CENTER] += M_SQRT1_2; in avresample_build_matrix()
156 matrix[SIDE_LEFT ][BACK_CENTER] += M_SQRT1_2; in avresample_build_matrix()
157 matrix[SIDE_RIGHT][BACK_CENTER] += M_SQRT1_2; in avresample_build_matrix()
162 matrix[FRONT_LEFT ][BACK_CENTER] -= surround_mix_level * M_SQRT1_2; in avresample_build_matrix()
163 matrix[FRONT_RIGHT][BACK_CENTER] += surround_mix_level * M_SQRT1_2; in avresample_build_matrix()
[all …]
Doptions.c60 …", OFFSET(center_mix_level), AV_OPT_TYPE_DOUBLE, { .dbl = M_SQRT1_2 }, -32.0, …
61 …el", OFFSET(surround_mix_level), AV_OPT_TYPE_DOUBLE, { .dbl = M_SQRT1_2 }, -32.0, …
/third_party/ffmpeg/libswresample/
Drematrix.c183 matrix[ FRONT_LEFT][FRONT_CENTER]+= M_SQRT1_2; in swr_build_matrix()
184 matrix[FRONT_RIGHT][FRONT_CENTER]+= M_SQRT1_2; in swr_build_matrix()
191 matrix[FRONT_CENTER][ FRONT_LEFT]+= M_SQRT1_2; in swr_build_matrix()
192 matrix[FRONT_CENTER][FRONT_RIGHT]+= M_SQRT1_2; in swr_build_matrix()
201 matrix[ BACK_LEFT][BACK_CENTER]+= M_SQRT1_2; in swr_build_matrix()
202 matrix[BACK_RIGHT][BACK_CENTER]+= M_SQRT1_2; in swr_build_matrix()
204 matrix[ SIDE_LEFT][BACK_CENTER]+= M_SQRT1_2; in swr_build_matrix()
205 matrix[SIDE_RIGHT][BACK_CENTER]+= M_SQRT1_2; in swr_build_matrix()
210 matrix[FRONT_LEFT ][BACK_CENTER] -= surround_mix_level * M_SQRT1_2; in swr_build_matrix()
211 matrix[FRONT_RIGHT][BACK_CENTER] += surround_mix_level * M_SQRT1_2; in swr_build_matrix()
[all …]
Doptions.c30 #define C_30DB M_SQRT1_2
/third_party/ffmpeg/libavcodec/
Daacps_tablegen.h87 … static const float ipdopd_sin[] = { 0, M_SQRT1_2, 1, M_SQRT1_2, 0, -M_SQRT1_2, -1, -M_SQRT1_2 }; in ps_tableinit()
88 … static const float ipdopd_cos[] = { 1, M_SQRT1_2, 0, -M_SQRT1_2, -1, -M_SQRT1_2, 0, M_SQRT1_2 }; in ps_tableinit()
153 float beta = alpha * (c1 - c2) * (float)M_SQRT1_2; in ps_tableinit()
Dac3.h100 #define AC3_LEVEL(x) ROUND15((x) * FIXR15(M_SQRT1_2))
106 #define LEVEL_MINUS_3DB M_SQRT1_2
Daacps_fixed_tablegen.h142 …int ipdopd_sin[] = { Q30(0), Q30(M_SQRT1_2), Q30(1), Q30( M_SQRT1_2), Q30( 0), Q30(-M_SQRT1_2), Q3… in ps_tableinit()
143 …int ipdopd_cos[] = { Q30(1), Q30(M_SQRT1_2), Q30(0), Q30(-M_SQRT1_2), Q30(-1), Q30(-M_SQRT1_2), Q3… in ps_tableinit()
Dnellymoserenc.c155 pow_table[1024] = M_SQRT1_2; in nellymoser_init_static()
159 pow_table[1024-i] = M_SQRT1_2 / tmp; in nellymoser_init_static()
160 pow_table[1024+i] = tmp * M_SQRT1_2; in nellymoser_init_static()
Dfft-internal.h25 #define sqrthalf (float)M_SQRT1_2
Dfft_template.c383 accu = (int64_t)Q31(M_SQRT1_2)*(int)(tmp1 + tmp2); in fft_calc_c()
385 accu = (int64_t)Q31(M_SQRT1_2)*(int)(tmp3 - tmp4); in fft_calc_c()
387 accu = (int64_t)Q31(M_SQRT1_2)*(int)(tmp2 - tmp1); in fft_calc_c()
389 accu = (int64_t)Q31(M_SQRT1_2)*(int)(tmp3 + tmp4); in fft_calc_c()
Dopus_pvq.c233 X[stride * (2 * j + 0) + i] = (x0 + x1) * M_SQRT1_2; in celt_haar1()
234 X[stride * (2 * j + 1) + i] = (x0 - x1) * M_SQRT1_2; in celt_haar1()
476 X[i] = (X[i] + Y[i])*M_SQRT1_2; in celt_stereo_ms_decouple()
477 Y[i] = (Y[i] - Xret)*M_SQRT1_2; in celt_stereo_ms_decouple()
Dnellymoserdec.c97 aptr[j] = M_SQRT1_2*pows[j]; in nelly_decode_block()
/third_party/ffmpeg/libavcodec/ppc/
Dfft_altivec.S305 #define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ macro
322 .float 1, 0.92387953, M_SQRT1_2, 0.38268343
323 .float 0, 0.38268343, M_SQRT1_2, 0.92387953
324 .float -M_SQRT1_2, M_SQRT1_2, M_SQRT1_2,-M_SQRT1_2
325 .float M_SQRT1_2, M_SQRT1_2, M_SQRT1_2, M_SQRT1_2
/third_party/ffmpeg/libavcodec/x86/
Dfft.asm56 %define M_SQRT1_2 0.70710678118654752440
60 ps_cos16_1: dd 1.0, M_COS_PI_1_8, M_SQRT1_2, M_COS_PI_3_8, 1.0, M_COS_PI_1_8, M_SQRT1_2, M_COS_PI_3…
61 ps_cos16_2: dd 0, M_COS_PI_3_8, M_SQRT1_2, M_COS_PI_1_8, 0, -M_COS_PI_3_8, -M_SQRT1_2, -M_COS_PI_1_8
63 ps_root2: times 8 dd M_SQRT1_2
64 ps_root2mppm: dd -M_SQRT1_2, M_SQRT1_2, M_SQRT1_2, -M_SQRT1_2, -M_SQRT1_2, M_SQRT1_2, M_SQRT1_2, -M…
69 ps_p1p1m1p1root2: dd 1.0, 1.0, -1.0, 1.0, M_SQRT1_2, M_SQRT1_2, M_SQRT1_2, M_SQRT1_2
/third_party/ffmpeg/libavutil/
Dmathematics.h57 #ifndef M_SQRT1_2
58 #define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ macro
Dtx_template.c323 TRANSFORM(z[1],z[3],z[5],z[7],RESCALE(M_SQRT1_2),RESCALE(M_SQRT1_2)); in fft8()
337 TRANSFORM(z[2],z[6],z[10],z[14],RESCALE(M_SQRT1_2),RESCALE(M_SQRT1_2)); in fft16()
/third_party/jerryscript/jerry-libm/include/
Dmath.h36 #define M_SQRT1_2 0.7071067811865475244008443621048490 macro
/third_party/ffmpeg/libavcodec/arm/
Dfft_neon.S29 #define M_SQRT1_2 0.70710678118654752440 macro
374 .float -M_SQRT1_2, M_SQRT1_2, M_SQRT1_2, -M_SQRT1_2
/third_party/ffmpeg/libavfilter/
Dvf_fspp.h45 static const int16_t FIX_0_707106781 = FIX(M_SQRT1_2 , 14);
/third_party/ffmpeg/libavcodec/aarch64/
Dfft_neon.S30 #define M_SQRT1_2 0.70710678118654752440 macro
441 .float -M_SQRT1_2, M_SQRT1_2, M_SQRT1_2, -M_SQRT1_2
/third_party/ffmpeg/tests/checkasm/
Dvp9dsp.c147 out[0] *= M_SQRT1_2; in fdct_1d()
183 { 4.0, 16.0 * M_SQRT1_2 / 3.0, 16.0 * M_SQRT1_2 / 3.0, 32.0 / 9.0 }, in ftx_2d()
/third_party/musl/libc-test/src/api/
Dmath.c36 D(M_SQRT1_2) in f()
/third_party/musl/ndk_musl_include/
Dmath.h382 #define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ macro
/third_party/musl/include/
Dmath.h382 #define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ macro
/third_party/musl/porting/uniproton/kernel/include/
Dmath.h382 #define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ macro

12