Searched defs:Ap (Results 1 - 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dsynthesis_amr_wb.cpp166 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/av/media/libstagefright/codecs/amrwbenc/src/
H A DvoAMRWBEnc.c177 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...]
/frameworks/rs/cpp/
H A DScriptIntrinsicBLAS.cpp337 RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) {
338 if (!Ap->getType()->getElement()->isCompatible(e) ||
346 if (Ap->getType()->getY() > 1) {
347 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Ap must have a Y dimension of 0 or 1");
350 int N = sqrt((double)Ap->getType()->getX() * 2);
351 if ((int)Ap->getType()->getX() != ((N * (N+1)) / 2)) {
352 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Invalid dimension for Ap");
455 sp<Allocation> Ap, sp<Allocation> X, int incX) {
456 int N = validateTPMV(mRS, Element::F32(mRS), Uplo, TransA, Diag, Ap, X, incX);
459 Ap
336 validateTPMV(RS* mRS, sp<const Element> e, RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument
454 STPMV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument
462 DTPMV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument
470 CTPMV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument
478 ZTPMV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument
581 STPSV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument
590 DTPSV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument
599 CTPSV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument
608 ZTPSV(RsBlasUplo Uplo, RsBlasTranspose TransA, RsBlasDiag Diag, sp<Allocation> Ap, sp<Allocation> X, int incX) argument
648 validateSPMV(RS* mRS, sp<const Element> e, RsBlasUplo Uplo, sp<Allocation> Ap, sp<Allocation> X, int incX, sp<Allocation> Y, int incY) argument
737 validateSPR(RS* mRS, sp<const Element> e, RsBlasUplo Uplo, sp<Allocation> X, int incX, sp<Allocation> Ap) argument
794 validateSPR2(RS* mRS, sp<const Element> e, RsBlasUplo Uplo, sp<Allocation> X, int incX, sp<Allocation> Y, int incY, sp<Allocation> Ap) argument
845 SSPMV(RsBlasUplo Uplo, float alpha, sp<Allocation> Ap, sp<Allocation> X, int incX, float beta, sp<Allocation> Y, int incY) argument
871 SSPR(RsBlasUplo Uplo, float alpha, sp<Allocation> X, int incX, sp<Allocation> Ap) argument
887 SSPR2(RsBlasUplo Uplo, float alpha, sp<Allocation> X, int incX, sp<Allocation> Y, int incY, sp<Allocation> Ap) argument
915 DSPMV(RsBlasUplo Uplo, double alpha, sp<Allocation> Ap, sp<Allocation> X, int incX, double beta, sp<Allocation> Y, int incY) argument
941 DSPR(RsBlasUplo Uplo, double alpha, sp<Allocation> X, int incX, sp<Allocation> Ap) argument
957 DSPR2(RsBlasUplo Uplo, double alpha, sp<Allocation> X, int incX, sp<Allocation> Y, int incY, sp<Allocation> Ap) argument
1020 CHPMV(RsBlasUplo Uplo, Float2 alpha, sp<Allocation> Ap, sp<Allocation> X, int incX, Float2 beta, sp<Allocation> Y, int incY) argument
1063 CHPR(RsBlasUplo Uplo, float alpha, sp<Allocation> X, int incX, sp<Allocation> Ap) argument
1083 CHPR2(RsBlasUplo Uplo, Float2 alpha, sp<Allocation> X, int incX, sp<Allocation> Y, int incY, sp<Allocation> Ap) argument
1116 ZHPMV(RsBlasUplo Uplo, Double2 alpha, sp<Allocation> Ap, sp<Allocation> X, int incX, Double2 beta, sp<Allocation> Y, int incY) argument
1159 ZHPR(RsBlasUplo Uplo, double alpha, sp<Allocation> X, int incX, sp<Allocation> Ap) argument
1179 ZHPR2(RsBlasUplo Uplo, Double2 alpha, sp<Allocation> X, int incX, sp<Allocation> Y, int incY, sp<Allocation> Ap) argument
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicBLAS.java558 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/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicBLAS.java645 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...]

Completed in 189 milliseconds