Home
last modified time | relevance | path

Searched refs:B (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/Camera/jni/feature_stab/db_vlvm/
Ddb_utilities.h289 inline double db_ScalarProduct4(const double A[4],const double B[4]) in db_ScalarProduct4()
291 return(A[0]*B[0]+A[1]*B[1]+A[2]*B[2]+A[3]*B[3]); in db_ScalarProduct4()
296 inline double db_ScalarProduct7(const double A[7],const double B[7]) in db_ScalarProduct7()
298 return(A[0]*B[0]+A[1]*B[1]+A[2]*B[2]+ in db_ScalarProduct7()
299 A[3]*B[3]+A[4]*B[4]+A[5]*B[5]+ in db_ScalarProduct7()
300 A[6]*B[6]); in db_ScalarProduct7()
305 inline double db_ScalarProduct9(const double A[9],const double B[9]) in db_ScalarProduct9()
307 return(A[0]*B[0]+A[1]*B[1]+A[2]*B[2]+ in db_ScalarProduct9()
308 A[3]*B[3]+A[4]*B[4]+A[5]*B[5]+ in db_ScalarProduct9()
309 A[6]*B[6]+A[7]*B[7]+A[8]*B[8]); in db_ScalarProduct9()
[all …]
Ddb_utilities_linalg.h123 inline void db_RowOperation3(double A[3],const double B[3],double mult) in db_RowOperation3()
125 *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); in db_RowOperation3()
131 inline void db_RowOperation7(double A[7],const double B[7],double mult) in db_RowOperation7()
133 …*A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(… in db_RowOperation7()
134 *A++ -= mult*(*B++); *A++ -= mult*(*B++); in db_RowOperation7()
140 inline void db_RowOperation9(double A[9],const double B[9],double mult) in db_RowOperation9()
142 …*A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(… in db_RowOperation9()
143 *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); in db_RowOperation9()
150 inline void db_Swap7(double A[7],double B[7]) in db_Swap7()
153 …temp= *A; *A++ = *B; *B++ =temp; temp= *A; *A++ = *B; *B++ =temp; temp= *A; *A++ = *B; *B++ … in db_Swap7()
[all …]
Ddb_utilities_linalg.cpp319 const double *B; in db_NullVectorOrthonormal6x7() local
333 B=A+i; in db_NullVectorOrthonormal6x7()
334 db_MultiplyScalarCopy7(x,A,-B[0]); in db_NullVectorOrthonormal6x7()
335 db_RowOperation7(x,A+7 ,B[7]); in db_NullVectorOrthonormal6x7()
336 db_RowOperation7(x,A+14,B[14]); in db_NullVectorOrthonormal6x7()
337 db_RowOperation7(x,A+21,B[21]); in db_NullVectorOrthonormal6x7()
338 db_RowOperation7(x,A+28,B[28]); in db_NullVectorOrthonormal6x7()
339 db_RowOperation7(x,A+35,B[35]); in db_NullVectorOrthonormal6x7()
348 const double *B; in db_NullVectorOrthonormal8x9() local
364 B=A+i; in db_NullVectorOrthonormal8x9()
[all …]
Ddb_utilities_indexing.h60 inline void db_MultiplyMatricesAB(double **C,const double * const *A,const double * const *B,int ar… in db_MultiplyMatricesAB() argument
68 for(k=0;k<acols;k++) acc+=A[i][k]*B[k][j]; in db_MultiplyMatricesAB()
73 …tiplyMatricesAtB(double **Cu,const double * const *At,const double * const *B,int arows,int acols,… in db_UpperMultiplyMatricesAtB() argument
81 for(k=0;k<acols;k++) acc+=At[k][i]*B[k][j]; in db_UpperMultiplyMatricesAtB()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities.h289 inline double db_ScalarProduct4(const double A[4],const double B[4]) in db_ScalarProduct4()
291 return(A[0]*B[0]+A[1]*B[1]+A[2]*B[2]+A[3]*B[3]); in db_ScalarProduct4()
296 inline double db_ScalarProduct7(const double A[7],const double B[7]) in db_ScalarProduct7()
298 return(A[0]*B[0]+A[1]*B[1]+A[2]*B[2]+ in db_ScalarProduct7()
299 A[3]*B[3]+A[4]*B[4]+A[5]*B[5]+ in db_ScalarProduct7()
300 A[6]*B[6]); in db_ScalarProduct7()
305 inline double db_ScalarProduct9(const double A[9],const double B[9]) in db_ScalarProduct9()
307 return(A[0]*B[0]+A[1]*B[1]+A[2]*B[2]+ in db_ScalarProduct9()
308 A[3]*B[3]+A[4]*B[4]+A[5]*B[5]+ in db_ScalarProduct9()
309 A[6]*B[6]+A[7]*B[7]+A[8]*B[8]); in db_ScalarProduct9()
[all …]
Ddb_utilities_linalg.h123 inline void db_RowOperation3(double A[3],const double B[3],double mult) in db_RowOperation3()
125 *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); in db_RowOperation3()
131 inline void db_RowOperation7(double A[7],const double B[7],double mult) in db_RowOperation7()
133 …*A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(… in db_RowOperation7()
134 *A++ -= mult*(*B++); *A++ -= mult*(*B++); in db_RowOperation7()
140 inline void db_RowOperation9(double A[9],const double B[9],double mult) in db_RowOperation9()
142 …*A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(… in db_RowOperation9()
143 *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); *A++ -= mult*(*B++); in db_RowOperation9()
150 inline void db_Swap7(double A[7],double B[7]) in db_Swap7()
153 …temp= *A; *A++ = *B; *B++ =temp; temp= *A; *A++ = *B; *B++ =temp; temp= *A; *A++ = *B; *B++ … in db_Swap7()
[all …]
Ddb_utilities_linalg.cpp319 const double *B; in db_NullVectorOrthonormal6x7() local
333 B=A+i; in db_NullVectorOrthonormal6x7()
334 db_MultiplyScalarCopy7(x,A,-B[0]); in db_NullVectorOrthonormal6x7()
335 db_RowOperation7(x,A+7 ,B[7]); in db_NullVectorOrthonormal6x7()
336 db_RowOperation7(x,A+14,B[14]); in db_NullVectorOrthonormal6x7()
337 db_RowOperation7(x,A+21,B[21]); in db_NullVectorOrthonormal6x7()
338 db_RowOperation7(x,A+28,B[28]); in db_NullVectorOrthonormal6x7()
339 db_RowOperation7(x,A+35,B[35]); in db_NullVectorOrthonormal6x7()
348 const double *B; in db_NullVectorOrthonormal8x9() local
364 B=A+i; in db_NullVectorOrthonormal8x9()
[all …]
Ddb_utilities_indexing.h60 inline void db_MultiplyMatricesAB(double **C,const double * const *A,const double * const *B,int ar… in db_MultiplyMatricesAB() argument
68 for(k=0;k<acols;k++) acc+=A[i][k]*B[k][j]; in db_MultiplyMatricesAB()
73 …tiplyMatricesAtB(double **Cu,const double * const *At,const double * const *B,int arows,int acols,… in db_UpperMultiplyMatricesAtB() argument
81 for(k=0;k<acols;k++) acc+=At[k][i]*B[k][j]; in db_UpperMultiplyMatricesAtB()
/packages/wallpapers/NoiseField/src/com/android/noisefield/
Dnoisefield.rs54 #define B 0x100
58 static int p[B + B + 2];
59 static float g3[B + B + 2][3];
60 static float g2[B + B + 2][2];
61 static float g1[B + B + 2];
88 for (i = 0; i < B; i++) {
91 g1[i] = (float)(rsRand(B * 2) - B) / B;
94 g2[i][j] = (float)(rsRand(B * 2) - B) / B;
98 g3[i][j] = (float)(rsRand(B * 2) - B) / B;
102 for (i = B-1; i >= 0; i--) {
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DActionKey.java22 public class ActionKey<T extends Enum<T>, B extends Enum<B>> {
26 private final B mBehavior;
29 public ActionKey(T type, B behavior) { in ActionKey()
36 public ActionKey(Class<T> clazzT, Class<B> clazzB, String key) { in ActionKey()
53 B behavior = null; in ActionKey()
55 behavior = B.valueOf(clazzB, mBehaviorString); in ActionKey()
73 public B getBehavior() { in getBehavior()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DNowOrLaterWrapper.java21 public abstract class NowOrLaterWrapper<A, B> implements NowOrLater<B> {
29 public void getLater(final Consumer<? super B> consumer) { in getLater()
36 public B getNow() { in getNow()
49 public abstract B get(A value); in get()
/packages/apps/Gallery2/jni/filters/
Dsaturated.c33 float R, G, B; in JNIFUNCF() local
42 B = b; in JNIFUNCF()
44 float Rc = R * (Rt + S) + G * Gt + B * Bt; in JNIFUNCF()
45 float Gc = R * Rt + G * (Gt + S) + B * Bt; in JNIFUNCF()
46 float Bc = R * Rt + G * Gt + B * (Bt + S); in JNIFUNCF()
Dvibrance.c35 float R, G, B; in JNIFUNCF() local
51 B = b; in JNIFUNCF()
53 float Rc = R * (Rt + S) + G * Gt + B * Bt; in JNIFUNCF()
54 float Gc = R * Rt + G * (Gt + S) + B * Bt; in JNIFUNCF()
55 float Bc = R * Rt + G * Gt + B * (Bt + S); in JNIFUNCF()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dtouch_position_correction_utils.h32 static const float B = 0.24f; in getSweetSpotFactor() local
54 return (A * (R1 - x) + B * (x - R0)) / (R1 - R0); in getSweetSpotFactor()
56 return (B * (R2 - x) + C * (x - R1)) / (R2 - R1); in getSweetSpotFactor()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/
DEncoderUtil.java85 B, enumConstant
341 if (encoding == Encoding.B) { in encodeEncodedWord()
624 return percentage > 30 ? Encoding.B : Encoding.Q; in determineEncoding()
/packages/inputmethods/LatinIME/dictionaries/
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1393228134, ...
Dcs_wordlist.combined.gz
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1400639634, ...
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java454 final String B = "puppiez"; in testEtagChanged() local
/packages/apps/Mms/src/com/android/mms/exif/
DExifInterface.java535 public static final short B = 6; field
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifInterface.java535 public static final short B = 6; field
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
DExifInterface.java535 public static final short B = 6; field
/packages/apps/Camera2/src/com/android/camera/exif/
DExifInterface.java535 public static final short B = 6; field

12