M_SQRT1_2 87 libavcodec/aacps_tablegen.h static const float ipdopd_sin[] = { 0, M_SQRT1_2, 1, M_SQRT1_2, 0, -M_SQRT1_2, -1, -M_SQRT1_2 }; M_SQRT1_2 88 libavcodec/aacps_tablegen.h static const float ipdopd_cos[] = { 1, M_SQRT1_2, 0, -M_SQRT1_2, -1, -M_SQRT1_2, 0, M_SQRT1_2 }; M_SQRT1_2 153 libavcodec/aacps_tablegen.h float beta = alpha * (c1 - c2) * (float)M_SQRT1_2; M_SQRT1_2 930 libavcodec/dcadec.c M_SQRT1_2 / 32768.0); M_SQRT1_2 1720 libavcodec/dcadec.c s->fdsp->vector_fmac_scalar(lt_chan, back_chan, -M_SQRT1_2, 256); M_SQRT1_2 1721 libavcodec/dcadec.c s->fdsp->vector_fmac_scalar(rt_chan, back_chan, -M_SQRT1_2, 256); M_SQRT1_2 25 libavcodec/fft-internal.h #define sqrthalf (float)M_SQRT1_2 M_SQRT1_2 64 libavcodec/fft-internal.h #define sqrthalf ((int16_t)((1<<15)*M_SQRT1_2)) M_SQRT1_2 291 libavcodec/fft_template.c accu = (int64_t)Q31(M_SQRT1_2)*(tmp1 + tmp2); M_SQRT1_2 293 libavcodec/fft_template.c accu = (int64_t)Q31(M_SQRT1_2)*(tmp3 - tmp4); M_SQRT1_2 295 libavcodec/fft_template.c accu = (int64_t)Q31(M_SQRT1_2)*(tmp2 - tmp1); M_SQRT1_2 297 libavcodec/fft_template.c accu = (int64_t)Q31(M_SQRT1_2)*(tmp3 + tmp4); M_SQRT1_2 96 libavcodec/nellymoserdec.c aptr[j] = M_SQRT1_2*pows[j]; M_SQRT1_2 1186 libavcodec/opus_celt.c X[stride * (2 * j + 0) + i] = (x0 + x1) * M_SQRT1_2; M_SQRT1_2 1187 libavcodec/opus_celt.c X[stride * (2 * j + 1) + i] = (x0 - x1) * M_SQRT1_2; M_SQRT1_2 133 libavresample/audio_mix_matrix.c matrix[FRONT_LEFT ][FRONT_CENTER] += M_SQRT1_2; M_SQRT1_2 134 libavresample/audio_mix_matrix.c matrix[FRONT_RIGHT][FRONT_CENTER] += M_SQRT1_2; M_SQRT1_2 142 libavresample/audio_mix_matrix.c matrix[FRONT_CENTER][FRONT_LEFT ] += M_SQRT1_2; M_SQRT1_2 143 libavresample/audio_mix_matrix.c matrix[FRONT_CENTER][FRONT_RIGHT] += M_SQRT1_2; M_SQRT1_2 153 libavresample/audio_mix_matrix.c matrix[BACK_LEFT ][BACK_CENTER] += M_SQRT1_2; M_SQRT1_2 154 libavresample/audio_mix_matrix.c matrix[BACK_RIGHT][BACK_CENTER] += M_SQRT1_2; M_SQRT1_2 156 libavresample/audio_mix_matrix.c matrix[SIDE_LEFT ][BACK_CENTER] += M_SQRT1_2; M_SQRT1_2 157 libavresample/audio_mix_matrix.c matrix[SIDE_RIGHT][BACK_CENTER] += M_SQRT1_2; M_SQRT1_2 162 libavresample/audio_mix_matrix.c matrix[FRONT_LEFT ][BACK_CENTER] -= surround_mix_level * M_SQRT1_2; M_SQRT1_2 163 libavresample/audio_mix_matrix.c matrix[FRONT_RIGHT][BACK_CENTER] += surround_mix_level * M_SQRT1_2; M_SQRT1_2 169 libavresample/audio_mix_matrix.c matrix[FRONT_LEFT ][BACK_CENTER] += surround_mix_level * M_SQRT1_2; M_SQRT1_2 170 libavresample/audio_mix_matrix.c matrix[FRONT_RIGHT][BACK_CENTER] += surround_mix_level * M_SQRT1_2; M_SQRT1_2 173 libavresample/audio_mix_matrix.c matrix[FRONT_CENTER][BACK_CENTER] += surround_mix_level * M_SQRT1_2; M_SQRT1_2 180 libavresample/audio_mix_matrix.c matrix[BACK_CENTER][BACK_LEFT ] += M_SQRT1_2; M_SQRT1_2 181 libavresample/audio_mix_matrix.c matrix[BACK_CENTER][BACK_RIGHT] += M_SQRT1_2; M_SQRT1_2 186 libavresample/audio_mix_matrix.c matrix[SIDE_LEFT ][BACK_LEFT ] += M_SQRT1_2; M_SQRT1_2 187 libavresample/audio_mix_matrix.c matrix[SIDE_RIGHT][BACK_RIGHT] += M_SQRT1_2; M_SQRT1_2 194 libavresample/audio_mix_matrix.c matrix[FRONT_LEFT ][BACK_LEFT ] -= surround_mix_level * M_SQRT1_2; M_SQRT1_2 195 libavresample/audio_mix_matrix.c matrix[FRONT_LEFT ][BACK_RIGHT] -= surround_mix_level * M_SQRT1_2; M_SQRT1_2 196 libavresample/audio_mix_matrix.c matrix[FRONT_RIGHT][BACK_LEFT ] += surround_mix_level * M_SQRT1_2; M_SQRT1_2 197 libavresample/audio_mix_matrix.c matrix[FRONT_RIGHT][BACK_RIGHT] += surround_mix_level * M_SQRT1_2; M_SQRT1_2 200 libavresample/audio_mix_matrix.c matrix[FRONT_LEFT ][BACK_RIGHT] -= surround_mix_level * M_SQRT1_2; M_SQRT1_2 201 libavresample/audio_mix_matrix.c matrix[FRONT_RIGHT][BACK_LEFT ] += surround_mix_level * M_SQRT1_2; M_SQRT1_2 208 libavresample/audio_mix_matrix.c matrix[FRONT_CENTER][BACK_LEFT ] += surround_mix_level * M_SQRT1_2; M_SQRT1_2 209 libavresample/audio_mix_matrix.c matrix[FRONT_CENTER][BACK_RIGHT] += surround_mix_level * M_SQRT1_2; M_SQRT1_2 219 libavresample/audio_mix_matrix.c matrix[BACK_LEFT ][SIDE_LEFT ] += M_SQRT1_2; M_SQRT1_2 220 libavresample/audio_mix_matrix.c matrix[BACK_RIGHT][SIDE_RIGHT] += M_SQRT1_2; M_SQRT1_2 226 libavresample/audio_mix_matrix.c matrix[BACK_CENTER][SIDE_LEFT ] += M_SQRT1_2; M_SQRT1_2 227 libavresample/audio_mix_matrix.c matrix[BACK_CENTER][SIDE_RIGHT] += M_SQRT1_2; M_SQRT1_2 230 libavresample/audio_mix_matrix.c matrix[FRONT_LEFT ][SIDE_LEFT ] -= surround_mix_level * M_SQRT1_2; M_SQRT1_2 231 libavresample/audio_mix_matrix.c matrix[FRONT_LEFT ][SIDE_RIGHT] -= surround_mix_level * M_SQRT1_2; M_SQRT1_2 232 libavresample/audio_mix_matrix.c matrix[FRONT_RIGHT][SIDE_LEFT ] += surround_mix_level * M_SQRT1_2; M_SQRT1_2 233 libavresample/audio_mix_matrix.c matrix[FRONT_RIGHT][SIDE_RIGHT] += surround_mix_level * M_SQRT1_2; M_SQRT1_2 236 libavresample/audio_mix_matrix.c matrix[FRONT_LEFT ][SIDE_RIGHT] -= surround_mix_level * M_SQRT1_2; M_SQRT1_2 237 libavresample/audio_mix_matrix.c matrix[FRONT_RIGHT][SIDE_LEFT ] += surround_mix_level * M_SQRT1_2; M_SQRT1_2 244 libavresample/audio_mix_matrix.c matrix[FRONT_CENTER][SIDE_LEFT ] += surround_mix_level * M_SQRT1_2; M_SQRT1_2 245 libavresample/audio_mix_matrix.c matrix[FRONT_CENTER][SIDE_RIGHT] += surround_mix_level * M_SQRT1_2; M_SQRT1_2 255 libavresample/audio_mix_matrix.c matrix[FRONT_CENTER][FRONT_LEFT_OF_CENTER ] += M_SQRT1_2; M_SQRT1_2 256 libavresample/audio_mix_matrix.c matrix[FRONT_CENTER][FRONT_RIGHT_OF_CENTER] += M_SQRT1_2; M_SQRT1_2 265 libavresample/audio_mix_matrix.c matrix[FRONT_LEFT ][LOW_FREQUENCY] += lfe_mix_level * M_SQRT1_2; M_SQRT1_2 266 libavresample/audio_mix_matrix.c matrix[FRONT_RIGHT][LOW_FREQUENCY] += lfe_mix_level * M_SQRT1_2; M_SQRT1_2 60 libavresample/options.c { "center_mix_level", "Center Mix Level", OFFSET(center_mix_level), AV_OPT_TYPE_DOUBLE, { .dbl = M_SQRT1_2 }, -32.0, 32.0, PARAM }, M_SQRT1_2 61 libavresample/options.c { "surround_mix_level", "Surround Mix Level", OFFSET(surround_mix_level), AV_OPT_TYPE_DOUBLE, { .dbl = M_SQRT1_2 }, -32.0, 32.0, PARAM }, M_SQRT1_2 51 libavutil/mathematics.h #ifndef M_SQRT1_2 M_SQRT1_2 30 libswresample/options.c #define C_30DB M_SQRT1_2 M_SQRT1_2 166 libswresample/rematrix.c matrix[ FRONT_LEFT][FRONT_CENTER]+= M_SQRT1_2; M_SQRT1_2 167 libswresample/rematrix.c matrix[FRONT_RIGHT][FRONT_CENTER]+= M_SQRT1_2; M_SQRT1_2 174 libswresample/rematrix.c matrix[FRONT_CENTER][ FRONT_LEFT]+= M_SQRT1_2; M_SQRT1_2 175 libswresample/rematrix.c matrix[FRONT_CENTER][FRONT_RIGHT]+= M_SQRT1_2; M_SQRT1_2 184 libswresample/rematrix.c matrix[ BACK_LEFT][BACK_CENTER]+= M_SQRT1_2; M_SQRT1_2 185 libswresample/rematrix.c matrix[BACK_RIGHT][BACK_CENTER]+= M_SQRT1_2; M_SQRT1_2 187 libswresample/rematrix.c matrix[ SIDE_LEFT][BACK_CENTER]+= M_SQRT1_2; M_SQRT1_2 188 libswresample/rematrix.c matrix[SIDE_RIGHT][BACK_CENTER]+= M_SQRT1_2; M_SQRT1_2 193 libswresample/rematrix.c matrix[FRONT_LEFT ][BACK_CENTER] -= s->slev * M_SQRT1_2; M_SQRT1_2 194 libswresample/rematrix.c matrix[FRONT_RIGHT][BACK_CENTER] += s->slev * M_SQRT1_2; M_SQRT1_2 200 libswresample/rematrix.c matrix[ FRONT_LEFT][BACK_CENTER]+= s->slev*M_SQRT1_2; M_SQRT1_2 201 libswresample/rematrix.c matrix[FRONT_RIGHT][BACK_CENTER]+= s->slev*M_SQRT1_2; M_SQRT1_2 204 libswresample/rematrix.c matrix[ FRONT_CENTER][BACK_CENTER]+= s->slev*M_SQRT1_2; M_SQRT1_2 210 libswresample/rematrix.c matrix[BACK_CENTER][ BACK_LEFT]+= M_SQRT1_2; M_SQRT1_2 211 libswresample/rematrix.c matrix[BACK_CENTER][BACK_RIGHT]+= M_SQRT1_2; M_SQRT1_2 214 libswresample/rematrix.c matrix[ SIDE_LEFT][ BACK_LEFT]+= M_SQRT1_2; M_SQRT1_2 215 libswresample/rematrix.c matrix[SIDE_RIGHT][BACK_RIGHT]+= M_SQRT1_2; M_SQRT1_2 222 libswresample/rematrix.c matrix[FRONT_LEFT ][BACK_LEFT ] -= s->slev * M_SQRT1_2; M_SQRT1_2 223 libswresample/rematrix.c matrix[FRONT_LEFT ][BACK_RIGHT] -= s->slev * M_SQRT1_2; M_SQRT1_2 224 libswresample/rematrix.c matrix[FRONT_RIGHT][BACK_LEFT ] += s->slev * M_SQRT1_2; M_SQRT1_2 225 libswresample/rematrix.c matrix[FRONT_RIGHT][BACK_RIGHT] += s->slev * M_SQRT1_2; M_SQRT1_2 228 libswresample/rematrix.c matrix[FRONT_LEFT ][BACK_RIGHT] -= s->slev * M_SQRT1_2; M_SQRT1_2 229 libswresample/rematrix.c matrix[FRONT_RIGHT][BACK_LEFT ] += s->slev * M_SQRT1_2; M_SQRT1_2 236 libswresample/rematrix.c matrix[ FRONT_CENTER][BACK_LEFT ]+= s->slev*M_SQRT1_2; M_SQRT1_2 237 libswresample/rematrix.c matrix[ FRONT_CENTER][BACK_RIGHT]+= s->slev*M_SQRT1_2; M_SQRT1_2 247 libswresample/rematrix.c matrix[BACK_LEFT ][SIDE_LEFT ] += M_SQRT1_2; M_SQRT1_2 248 libswresample/rematrix.c matrix[BACK_RIGHT][SIDE_RIGHT] += M_SQRT1_2; M_SQRT1_2 254 libswresample/rematrix.c matrix[BACK_CENTER][ SIDE_LEFT]+= M_SQRT1_2; M_SQRT1_2 255 libswresample/rematrix.c matrix[BACK_CENTER][SIDE_RIGHT]+= M_SQRT1_2; M_SQRT1_2 258 libswresample/rematrix.c matrix[FRONT_LEFT ][SIDE_LEFT ] -= s->slev * M_SQRT1_2; M_SQRT1_2 259 libswresample/rematrix.c matrix[FRONT_LEFT ][SIDE_RIGHT] -= s->slev * M_SQRT1_2; M_SQRT1_2 260 libswresample/rematrix.c matrix[FRONT_RIGHT][SIDE_LEFT ] += s->slev * M_SQRT1_2; M_SQRT1_2 261 libswresample/rematrix.c matrix[FRONT_RIGHT][SIDE_RIGHT] += s->slev * M_SQRT1_2; M_SQRT1_2 264 libswresample/rematrix.c matrix[FRONT_LEFT ][SIDE_RIGHT] -= s->slev * M_SQRT1_2; M_SQRT1_2 265 libswresample/rematrix.c matrix[FRONT_RIGHT][SIDE_LEFT ] += s->slev * M_SQRT1_2; M_SQRT1_2 272 libswresample/rematrix.c matrix[ FRONT_CENTER][SIDE_LEFT ]+= s->slev*M_SQRT1_2; M_SQRT1_2 273 libswresample/rematrix.c matrix[ FRONT_CENTER][SIDE_RIGHT]+= s->slev*M_SQRT1_2; M_SQRT1_2 283 libswresample/rematrix.c matrix[ FRONT_CENTER][ FRONT_LEFT_OF_CENTER]+= M_SQRT1_2; M_SQRT1_2 284 libswresample/rematrix.c matrix[ FRONT_CENTER][FRONT_RIGHT_OF_CENTER]+= M_SQRT1_2; M_SQRT1_2 293 libswresample/rematrix.c matrix[FRONT_LEFT ][LOW_FREQUENCY] += s->lfe_mix_level * M_SQRT1_2; M_SQRT1_2 294 libswresample/rematrix.c matrix[FRONT_RIGHT][LOW_FREQUENCY] += s->lfe_mix_level * M_SQRT1_2;