Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DSpotShadow.h30 float lightSize, const Vector3* poly, int polyLength,
43 static float rayIntersectPoly(const Vector2* poly, int polyLength,
49 static void sort(Vector2* poly, int polyLength, const Vector2& center);
55 static bool testPointInsidePolygon(const Vector2 testPoint, const Vector2* poly, int len);
61 const Vector3* poly, int polyLength, VertexBuffer& retstrips, const Vector2& centroid);
70 static void dumpPolygon(const Vector2* poly, int polyLength, const char* polyName);
71 static void dumpPolygon(const Vector3* poly, int polyLength, const char* polyName);
DSpotShadow.cpp232 void SpotShadow::sort(Vector2* poly, int polyLength, const Vector2& center) { in sort() argument
233 quicksortCirc(poly, 0, polyLength - 1, center); in sort()
308 const Vector2* poly, int len) { in testPointInsidePolygon() argument
313 float startX = poly[j].x; in testPointInsidePolygon()
314 float startY = poly[j].y; in testPointInsidePolygon()
315 float endX = poly[i].x; in testPointInsidePolygon()
316 float endY = poly[i].y; in testPointInsidePolygon()
414 float lightSize, const Vector3* poly, int polyLength, const Vector3& polyCentroid, in createSpotShadow() argument
445 poly[polyLength - 1]); in createSpotShadow()
453 lightCenter, poly[i]); in createSpotShadow()
[all …]
DShadowTessellator.cpp151 Vector2 ShadowTessellator::centroid2d(const Vector2* poly, int polyLength) { in centroid2d() argument
157 double x1 = poly[p1].x; in centroid2d()
158 double y1 = poly[p1].y; in centroid2d()
159 double x2 = poly[p2].x; in centroid2d()
160 double y2 = poly[p2].y; in centroid2d()
168 Vector2 centroid = poly[0]; in centroid2d()
DAmbientShadow.h34 static void createAmbientShadow(bool isCasterOpaque, const Vector3* poly,
DShadowTessellator.h81 static Vector2 centroid2d(const Vector2* poly, int polyLength);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dshadows.rs28 static double poly[] = {
39 static double fastevalPoly(double *poly,int n, double x){
42 double sum = poly[0]+poly[1]*f;
46 sum += poly[i]*f;
182 poly[i] = fastevalPoly(shadowFilterMap+i*2,2 , s);
188 double v = (fastevalPoly(poly,5,hsv.x/4080.)*4080);
/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/base/core/jni/android/opengl/
Dutil.cpp136 Poly poly; in visibilityTest() local
137 float* pDest = & poly.vert[0].sx; in visibilityTest()
139 poly.n = 3; in visibilityTest()
143 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.cpp998 uint32_t poly = 0x04C11DB7; in initCrcTable() local
1003 crc = (crc << 1) ^ ((crc & 0x80000000) ? (poly) : 0); in initCrcTable()