Home
last modified time | relevance | path

Searched refs:vec1 (Results 1 – 2 of 2) sorted by relevance

/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DQuaternion.java54 double[] vec1 = normal(v1); in set() local
56 double[] axis = normal(cross(vec1, vec2)); in set()
57 double angle = Math.acos(dot(vec1, vec2)); in set()
62 double[] vec1 = normal(v1); in calcAngle() local
64 return Math.acos(Math.min(dot(vec1, vec2), 1)); in calcAngle()
68 double[] vec1 = normal(v1); in calcAxis() local
70 return normal(cross(vec1, vec2)); in calcAxis()
/frameworks/av/media/codecs/m4v_h263/enc/src/
Dvlc_encode.cpp2544 Int vec1, vec2, vec3; in find_pmvs() local
2568 vec1 = 2 ; in find_pmvs()
2580 vec1 = 2 ; in find_pmvs()
2592 vec1 = 1 ; in find_pmvs()
2604 vec1 = 4 ; in find_pmvs()
2616 vec1 = 3 ; in find_pmvs()
2681 p1x = motdata[yin1*nMBPerRow+xin1][vec1].x; in find_pmvs()
2682 p1y = motdata[yin1*nMBPerRow+xin1][vec1].y; in find_pmvs()