/frameworks/support/v8/renderscript/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 | 339 RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) { 340 if (!Ap->getType()->getElement()->isCompatible(e) || 348 if (Ap->getType()->getY() > 1) { 349 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Ap must have a Y dimension of 0 or 1"); 352 int N = sqrt((double)Ap->getType()->getX() * 2); 353 if ((int)Ap->getType()->getX() != ((N * (N+1)) / 2)) { 354 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Invalid dimension for Ap"); 457 sp<Allocation> Ap, sp<Allocation> X, int incX) { 458 int N = validateTPMV(mRS, Element::F32(mRS), Uplo, TransA, Diag, Ap, X, incX); 461 Ap 338 validateTPMV(RS* mRS, sp<const Element> e, RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument 456 STPMV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument 464 DTPMV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument 472 CTPMV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument 480 ZTPMV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument 583 STPSV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument 592 DTPSV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument 601 CTPSV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument 610 ZTPSV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument 650 validateSPMV(RS* mRS, sp<const Element> e, RsBlasUplo Uplo, sp<Allocation> Ap, sp<Allocation> X, int incX, sp<Allocation> Y, int incY) argument 739 validateSPR(RS* mRS, sp<const Element> e, RsBlasUplo Uplo, sp<Allocation> X, int incX, sp<Allocation> Ap) argument 796 validateSPR2(RS* mRS, sp<const Element> e, RsBlasUplo Uplo, sp<Allocation> X, int incX, sp<Allocation> Y, int incY, sp<Allocation> Ap) argument 847 SSPMV(RsBlasUplo Uplo, float alpha, sp<Allocation> Ap, sp<Allocation> X, int incX, float beta, sp<Allocation> Y, int incY) argument 873 SSPR(RsBlasUplo Uplo, float alpha, sp<Allocation> X, int incX, sp<Allocation> Ap) argument 889 SSPR2(RsBlasUplo Uplo, float alpha, sp<Allocation> X, int incX, sp<Allocation> Y, int incY, sp<Allocation> Ap) argument 917 DSPMV(RsBlasUplo Uplo, double alpha, sp<Allocation> Ap, sp<Allocation> X, int incX, double beta, sp<Allocation> Y, int incY) argument 943 DSPR(RsBlasUplo Uplo, double alpha, sp<Allocation> X, int incX, sp<Allocation> Ap) argument 959 DSPR2(RsBlasUplo Uplo, double alpha, sp<Allocation> X, int incX, sp<Allocation> Y, int incY, sp<Allocation> Ap) argument 1022 CHPMV(RsBlasUplo Uplo, Float2 alpha, sp<Allocation> Ap, sp<Allocation> X, int incX, Float2 beta, sp<Allocation> Y, int incY) argument 1065 CHPR(RsBlasUplo Uplo, float alpha, sp<Allocation> X, int incX, sp<Allocation> Ap) argument 1085 CHPR2(RsBlasUplo Uplo, Float2 alpha, sp<Allocation> X, int incX, sp<Allocation> Y, int incY, sp<Allocation> Ap) argument 1118 ZHPMV(RsBlasUplo Uplo, Double2 alpha, sp<Allocation> Ap, sp<Allocation> X, int incX, Double2 beta, sp<Allocation> Y, int incY) argument 1161 ZHPR(RsBlasUplo Uplo, double alpha, sp<Allocation> X, int incX, sp<Allocation> Ap) argument 1181 ZHPR2(RsBlasUplo Uplo, Double2 alpha, sp<Allocation> X, int incX, sp<Allocation> Y, int incY, 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 sp<Allocation> Ap, sp<Allocation> X, int incX); 2223 * @param Ap The input allocation contains packed matrix A, supported elements type: {Element#F64}. 2228 sp<Allocation> Ap, sp<Allocation> X, int incX); 2247 * @param Ap The input allocation contains packed matrix A, supported elements type: {Element#F32_2}. 2252 sp<Allocation> Ap, sp<Allocation> X, int incX); 2271 * @param Ap The input allocation contains packed matrix A, supported elements type: {Element#F64_2}. 2276 sp<Allocation> Ap, sp<Allocation> X, int incX); 2455 * @param Ap The input allocation contains packed matrix A, supported elements type: {Element#F32}. 2460 sp<Allocation> Ap, s [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuBLASDispatch.h | 41 const int N, const float *Ap, float *X, const int incX); 52 const int N, const float *Ap, float *X, const int incX); 74 const int N, const double *Ap, double *X, const int incX); 85 const int N, const double *Ap, double *X, const int incX); 107 const int N, const void *Ap, void *X, const int incX); 118 const int N, const void *Ap, void *X, const int incX); 140 const int N, const void *Ap, void *X, const int incX); 151 const int N, const void *Ap, void *X, const int incX); 166 const int N, const float alpha, const float *Ap, 177 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...] |