Home
last modified time | relevance | path

Searched refs:poly (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/
DSpotShadow.h31 float lightSize, const Vector3* poly, int polyLength,
44 static float rayIntersectPoly(const Vector2* poly, int polyLength,
50 static void sort(Vector2* poly, int polyLength, const Vector2& center);
56 static bool testPointInsidePolygon(const Vector2 testPoint, const Vector2* poly, int len);
62 const Vector3* poly, int polyLength, VertexBuffer& retstrips, const Vector2& centroid);
71 static void dumpPolygon(const Vector2* poly, int polyLength, const char* polyName);
72 static void dumpPolygon(const Vector3* poly, int polyLength, const char* polyName);
DShadowTessellator.cpp124 Vector2 ShadowTessellator::centroid2d(const Vector2* poly, int polyLength) { in centroid2d() argument
130 double x1 = poly[p1].x; in centroid2d()
131 double y1 = poly[p1].y; in centroid2d()
132 double x2 = poly[p2].x; in centroid2d()
133 double y2 = poly[p2].y; in centroid2d()
141 Vector2 centroid = poly[0]; in centroid2d()
DSpotShadow.cpp238 void SpotShadow::sort(Vector2* poly, int polyLength, const Vector2& center) { in sort() argument
239 quicksortCirc(poly, 0, polyLength - 1, center); in sort()
285 const Vector2* poly, int len) { in testPointInsidePolygon() argument
290 float startX = poly[j].x; in testPointInsidePolygon()
291 float startY = poly[j].y; in testPointInsidePolygon()
292 float endX = poly[i].x; in testPointInsidePolygon()
293 float endY = poly[i].y; in testPointInsidePolygon()
391 float lightSize, const Vector3* poly, int polyLength, const Vector3& polyCentroid, in createSpotShadow() argument
422 poly[polyLength - 1]); in createSpotShadow()
430 lightCenter, poly[i]); in createSpotShadow()
[all …]
DAmbientShadow.h34 static void createAmbientShadow(bool isCasterOpaque, const Vector3* poly,
DShadowTessellator.h81 static Vector2 centroid2d(const Vector2* poly, int polyLength);
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
Dshadows_f.rs28 static float poly[] = {
39 static float fastevalPoly(float *poly,int n, float x){
42 float sum = poly[0]+poly[1]*f;
46 sum += poly[i]*f;
182 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s);
188 float v = (fastevalPoly(poly, 5, hsv.x * (1.f / 4080.f)) * 4080.f);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dshadows.rs28 static float poly[] = {
39 static float fastevalPoly(float *poly,int n, float x){
42 float sum = poly[0]+poly[1]*f;
46 sum += poly[i]*f;
182 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s);
188 float v = (fastevalPoly(poly, 5, hsv.x * (1.f / 4080.f)) * 4080.f);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dshadows.rs28 static float poly[] = {
39 static float fastevalPoly(float *poly,int n, float x){
42 float sum = poly[0]+poly[1]*f;
46 sum += poly[i]*f;
182 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s);
188 float v = (fastevalPoly(poly, 5, hsv.x * (1.f / 4080.f)) * 4080.f);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dshadows.rs28 static float poly[] = {
39 static float fastevalPoly(float *poly,int n, float x){
42 float sum = poly[0]+poly[1]*f;
46 sum += poly[i]*f;
182 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s);
188 float v = (fastevalPoly(poly, 5, hsv.x * (1.f / 4080.f)) * 4080.f);
/frameworks/base/core/jni/android/opengl/
Dutil.cpp137 Poly poly; in visibilityTest() local
138 float* pDest = & poly.vert[0].sx; in visibilityTest()
140 poly.n = 3; in visibilityTest()
144 result = poly_clip_to_frustum(&poly); in visibilityTest()
/frameworks/av/media/libstagefright/wifi-display/source/
DTSPacketizer.cpp1015 uint32_t poly = 0x04C11DB7; in initCrcTable() local
1020 crc = (crc << 1) ^ ((crc & 0x80000000) ? (poly) : 0); in initCrcTable()
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp985 uint32_t poly = 0x04C11DB7; in initCrcTable() local
990 crc = (crc << 1) ^ ((crc & 0x80000000) ? (poly) : 0); in initCrcTable()
/frameworks/base/docs/html/ndk/guides/
Dandroid_mk.jd616 <a href="http://isisblogs.poly.edu/2011/06/01/relro-relocation-read-only/">RELRO: