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

/frameworks/base/libs/hwui/
H A DShadowTessellator.cpp120 * @param poly The polygon, which is represented in a Vector2 array.
124 Vector2 ShadowTessellator::centroid2d(const Vector2* poly, int polyLength) { argument
130 double x1 = poly[p1].x;
131 double y1 = poly[p1].y;
132 double x2 = poly[p2].x;
133 double y2 = poly[p2].y;
141 Vector2 centroid = poly[0];
151 // Make sure p1 -> p2 is going CW around the poly.
H A DSpotShadow.cpp234 * @param poly The in and out polyogon as a Vector2 array.
238 void SpotShadow::sort(Vector2* poly, int polyLength, const Vector2& center) { argument
239 quicksortCirc(poly, 0, polyLength - 1, center);
281 * @param poly the polygon
282 * @return true if the testPoint is inside the poly.
285 const Vector2* poly, int len) {
290 float startX = poly[j].x;
291 float startY = poly[j].y;
292 float endX = poly[i].x;
293 float endY = poly[
284 testPointInsidePolygon(const Vector2 testPoint, const Vector2* poly, int len) argument
390 createSpotShadow(bool isCasterOpaque, const Vector3& lightCenter, float lightSize, const Vector3* poly, int polyLength, const Vector3& polyCentroid, VertexBuffer& shadowTriangleStrip) argument
850 generateTriangleStrip(bool isCasterOpaque, float shadowStrengthScale, Vector2* penumbra, int penumbraLength, Vector2* umbra, int umbraLength, const Vector3* poly, int polyLength, VertexBuffer& shadowTriangleStrip, const Vector2& centroid) argument
1042 dumpPolygon(const Vector2* poly, int polyLength, const char* polyName) argument
1051 dumpPolygon(const Vector3* poly, int polyLength, const char* polyName) argument
[all...]
/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp985 uint32_t poly = 0x04C11DB7; local
990 crc = (crc << 1) ^ ((crc & 0x80000000) ? (poly) : 0);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp1015 uint32_t poly = 0x04C11DB7; local
1020 crc = (crc << 1) ^ ((crc & 0x80000000) ? (poly) : 0);
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp40 #include "poly.h"
137 Poly poly; local
138 float* pDest = & poly.vert[0].sx;
140 poly.n = 3;
144 result = poly_clip_to_frustum(&poly);

Completed in 153 milliseconds