/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicBLAS.java | 645 static int validateTPMV(Element e, @Uplo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) { argument 649 if (!Ap.getType().getElement().isCompatible(e) || 657 if (Ap.getType().getY() > 1) { 658 throw new RSRuntimeException("Ap must have a Y dimension of 0 or 1"); 661 int N = (int)Math.sqrt((double)Ap.getType().getX() * 2); 663 if (Ap.getType().getX() != ((N * (N+1)) / 2)) { 664 throw new RSRuntimeException("Invalid dimension for Ap"); 958 * @param Ap The input allocation contains packed matrix A, supported elements type {@link Element#F32}. 962 public void STPMV(@Uplo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) { argument 963 int N = validateTPMV(Element.F32(mRS), Uplo, TransA, Diag, Ap, 996 DTPMV(@plo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) argument 1030 CTPMV(@plo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) argument 1064 ZTPMV(@plo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) argument 1370 STPSV(@plo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) argument 1405 DTPSV(@plo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) argument 1440 CTPSV(@plo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) argument 1475 ZTPSV(@plo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) argument 1520 validateSPMV(Element e, @Uplo int Uplo, Allocation Ap, Allocation X, int incX, Allocation Y, int incY) argument 1608 validateSPR(Element e, @Uplo int Uplo, Allocation X, int incX, Allocation Ap) argument 1665 validateSPR2(Element e, @Uplo int Uplo, Allocation X, int incX, Allocation Y, int incY, Allocation Ap) argument 1791 SSPMV(@plo int Uplo, float alpha, Allocation Ap, Allocation X, int incX, float beta, Allocation Y, int incY) argument 1881 SSPR(@plo int Uplo, float alpha, Allocation X, int incX, Allocation Ap) argument 1945 SSPR2(@plo int Uplo, float alpha, Allocation X, int incX, Allocation Y, int incY, Allocation Ap) argument 2055 DSPMV(@plo int Uplo, double alpha, Allocation Ap, Allocation X, int incX, double beta, Allocation Y, int incY) argument 2145 DSPR(@plo int Uplo, double alpha, Allocation X, int incX, Allocation Ap) argument 2209 DSPR2(@plo int Uplo, double alpha, Allocation X, int incX, Allocation Y, int incY, Allocation Ap) argument 2351 CHPMV(@plo int Uplo, Float2 alpha, Allocation Ap, Allocation X, int incX, Float2 beta, Allocation Y, int incY) argument 2474 CHPR(@plo int Uplo, float alpha, Allocation X, int incX, Allocation Ap) argument 2540 CHPR2(@plo int Uplo, Float2 alpha, Allocation X, int incX, Allocation Y, int incY, Allocation Ap) argument 2652 ZHPMV(@plo int Uplo, Double2 alpha, Allocation Ap, Allocation X, int incX, Double2 beta, Allocation Y, int incY) argument 2775 ZHPR(@plo int Uplo, double alpha, Allocation X, int incX, Allocation Ap) argument 2841 ZHPR2(@plo int Uplo, Double2 alpha, Allocation X, int incX, Allocation Y, int incY, Allocation Ap) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | synthesis_amr_wb.cpp | 166 int16 *Ap = &HF[L_SUBFR16k]; /* High Frequency vector */ local 167 int16 *HfA = &Ap[M16k + 1]; 385 weight_amrwb_lpc(HfA, Ap, 29491, M16k); /* fac=0.9 */ 387 wb_syn_filt(Ap, 399 weight_amrwb_lpc(Aq, Ap, 19661, M); /* fac=0.6 */ 401 wb_syn_filt(Ap,
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | ScriptIntrinsicBLAS.java | 558 static int validateTPMV(Element e, @Uplo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) { argument 562 if (!Ap.getType().getElement().isCompatible(e) || 570 if (Ap.getType().getY() > 1) { 571 throw new RSRuntimeException("Ap must have a Y dimension of 0 or 1"); 574 int N = (int)Math.sqrt((double)Ap.getType().getX() * 2); 576 if (Ap.getType().getX() != ((N * (N+1)) / 2)) { 577 throw new RSRuntimeException("Invalid dimension for Ap"); 807 * @param Ap The input allocation contains packed matrix A, supported elements type {@link Element#F32}. 811 public void STPMV(@Uplo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) { argument 812 int N = validateTPMV(Element.F32(mRS), Uplo, TransA, Diag, Ap, 837 DTPMV(@plo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) argument 863 CTPMV(@plo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) argument 889 ZTPMV(@plo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) argument 1123 STPSV(@plo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) argument 1150 DTPSV(@plo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) argument 1177 CTPSV(@plo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) argument 1204 ZTPSV(@plo int Uplo, @Transpose int TransA, @Diag int Diag, Allocation Ap, Allocation X, int incX) argument 1241 validateSPMV(Element e, @Uplo int Uplo, Allocation Ap, Allocation X, int incX, Allocation Y, int incY) argument 1329 validateSPR(Element e, @Uplo int Uplo, Allocation X, int incX, Allocation Ap) argument 1386 validateSPR2(Element e, @Uplo int Uplo, Allocation X, int incX, Allocation Y, int incY, Allocation Ap) argument 1492 SSPMV(@plo int Uplo, float alpha, Allocation Ap, Allocation X, int incX, float beta, Allocation Y, int incY) argument 1554 SSPR(@plo int Uplo, float alpha, Allocation X, int incX, Allocation Ap) argument 1600 SSPR2(@plo int Uplo, float alpha, Allocation X, int incX, Allocation Y, int incY, Allocation Ap) argument 1680 DSPMV(@plo int Uplo, double alpha, Allocation Ap, Allocation X, int incX, double beta, Allocation Y, int incY) argument 1742 DSPR(@plo int Uplo, double alpha, Allocation X, int incX, Allocation Ap) argument 1788 DSPR2(@plo int Uplo, double alpha, Allocation X, int incX, Allocation Y, int incY, Allocation Ap) argument 1900 CHPMV(@plo int Uplo, Float2 alpha, Allocation Ap, Allocation X, int incX, Float2 beta, Allocation Y, int incY) argument 1985 CHPR(@plo int Uplo, float alpha, Allocation X, int incX, Allocation Ap) argument 2033 CHPR2(@plo int Uplo, Float2 alpha, Allocation X, int incX, Allocation Y, int incY, Allocation Ap) argument 2115 ZHPMV(@plo int Uplo, Double2 alpha, Allocation Ap, Allocation X, int incX, Double2 beta, Allocation Y, int incY) argument 2200 ZHPR(@plo int Uplo, double alpha, Allocation X, int incX, Allocation Ap) argument 2248 ZHPR2(@plo int Uplo, Double2 alpha, Allocation X, int incX, Allocation Y, int incY, Allocation Ap) argument [all...] |
/frameworks/rs/cpp/ |
H A D | ScriptIntrinsicBLAS.cpp | 345 RsBlasDiag Diag, const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) { 346 if (!Ap->getType()->getElement()->isCompatible(e) || 354 if (Ap->getType()->getY() > 1) { 355 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Ap must have a Y dimension of 0 or 1"); 358 int N = sqrt((double)Ap->getType()->getX() * 2); 359 if ((int)Ap->getType()->getX() != ((N * (N+1)) / 2)) { 360 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Invalid dimension for Ap"); 463 const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) { 464 int N = validateTPMV(mRS, Element::F32(mRS), Uplo, TransA, Diag, Ap, X, incX); 467 Ap 344 validateTPMV(RS* mRS, const sp<const Element>& e, RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) argument 462 STPMV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) argument 470 DTPMV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) argument 478 CTPMV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) argument 486 ZTPMV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) argument 589 STPSV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) argument 598 DTPSV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) argument 607 CTPSV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) argument 616 ZTPSV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, const sp<Allocation>& Ap, const sp<Allocation>& X, int incX) argument 656 validateSPMV(RS* mRS, const sp<const Element>& e, RsBlasUplo Uplo, const sp<Allocation>& Ap, const sp<Allocation>& X, int incX, const sp<Allocation>& Y, int incY) argument 745 validateSPR(RS* mRS, const sp<const Element>& e, RsBlasUplo Uplo, const sp<Allocation>& X, int incX, const sp<Allocation>& Ap) argument 802 validateSPR2(RS* mRS, const sp<const Element>& e, RsBlasUplo Uplo, const sp<Allocation>& X, int incX, const sp<Allocation>& Y, int incY, const sp<Allocation>& Ap) argument 853 SSPMV(RsBlasUplo Uplo, float alpha, const sp<Allocation>& Ap, const sp<Allocation>& X, int incX, float beta, const sp<Allocation>& Y, int incY) argument 879 SSPR(RsBlasUplo Uplo, float alpha, const sp<Allocation>& X, int incX, const sp<Allocation>& Ap) argument 895 SSPR2(RsBlasUplo Uplo, float alpha, const sp<Allocation>& X, int incX, const sp<Allocation>& Y, int incY, const sp<Allocation>& Ap) argument 923 DSPMV(RsBlasUplo Uplo, double alpha, const sp<Allocation>& Ap, const sp<Allocation>& X, int incX, double beta, const sp<Allocation>& Y, int incY) argument 949 DSPR(RsBlasUplo Uplo, double alpha, const sp<Allocation>& X, int incX, const sp<Allocation>& Ap) argument 965 DSPR2(RsBlasUplo Uplo, double alpha, const sp<Allocation>& X, int incX, const sp<Allocation>& Y, int incY, const sp<Allocation>& Ap) argument 1028 CHPMV(RsBlasUplo Uplo, Float2 alpha, const sp<Allocation>& Ap, const sp<Allocation>& X, int incX, Float2 beta, const sp<Allocation>& Y, int incY) argument 1071 CHPR(RsBlasUplo Uplo, float alpha, const sp<Allocation>& X, int incX, const sp<Allocation>& Ap) argument 1091 CHPR2(RsBlasUplo Uplo, Float2 alpha, const sp<Allocation>& X, int incX, const sp<Allocation>& Y, int incY, const sp<Allocation>& Ap) argument 1124 ZHPMV(RsBlasUplo Uplo, Double2 alpha, const sp<Allocation>& Ap, const sp<Allocation>& X, int incX, Double2 beta, const sp<Allocation>& Y, int incY) argument 1167 ZHPR(RsBlasUplo Uplo, double alpha, const sp<Allocation>& X, int incX, const sp<Allocation>& Ap) argument 1187 ZHPR2(RsBlasUplo Uplo, Double2 alpha, const sp<Allocation>& X, int incX, const sp<Allocation>& Y, int incY, const sp<Allocation>& Ap) argument [all...] |
H A D | rsCppStructs.h | 2199 * @param Ap The input allocation contains packed matrix A, supported elements type: {Element#F32}. 2204 const sp<Allocation>& Ap, const sp<Allocation>& X, int incX); 2223 * @param Ap The input allocation contains packed matrix A, supported elements type: {Element#F64}. 2228 const sp<Allocation>& Ap, const sp<Allocation>& X, int incX); 2247 * @param Ap The input allocation contains packed matrix A, supported elements type: {Element#F32_2}. 2252 const sp<Allocation>& Ap, const sp<Allocation>& X, int incX); 2271 * @param Ap The input allocation contains packed matrix A, supported elements type: {Element#F64_2}. 2276 const sp<Allocation>& Ap, const sp<Allocation>& X, int incX); 2455 * @param Ap The input allocation contains packed matrix A, supported elements type: {Element#F32}. 2460 const sp<Allocation>& Ap, cons [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuBLASDispatch.h | 44 const int N, const float *Ap, float *X, const int incX); 55 const int N, const float *Ap, float *X, const int incX); 77 const int N, const double *Ap, double *X, const int incX); 88 const int N, const double *Ap, double *X, const int incX); 110 const int N, const void *Ap, void *X, const int incX); 121 const int N, const void *Ap, void *X, const int incX); 143 const int N, const void *Ap, void *X, const int incX); 154 const int N, const void *Ap, void *X, const int incX); 169 const int N, const float alpha, const float *Ap, 180 const int incX, float *Ap); [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | voAMRWBEnc.c | 177 Word16 Ap[M + 1]; /* A(z) with spectral expansion */ local 432 Weight_a(p_A, Ap, GAMMA1, M); 435 Residu_opt(Ap, &speech[i_subfr], &wsp[i_subfr], L_SUBFR); 437 Residu(Ap, &speech[i_subfr], &wsp[i_subfr], L_SUBFR); 768 Weight_a(p_A, Ap, GAMMA1, M); 771 Residu_opt(Ap, error + M, xn, L_SUBFR); 773 Residu(Ap, error + M, xn, L_SUBFR); 785 Weight_a(p_A, Ap, GAMMA1, M); 786 Syn_filt(Ap,code + M, code + M, L_SUBFR / 2, code, 0); 1350 Word16 Ap[ local [all...] |