/frameworks/base/libs/hwui/ |
H A D | SpotShadow.h | 31 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);
|
H A D | AmbientShadow.h | 34 static void createAmbientShadow(bool isCasterOpaque, const Vector3* poly,
|
H A D | ShadowTessellator.cpp | 120 * @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 D | SpotShadow.cpp | 234 * @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...] |
H A D | ShadowTessellator.h | 81 static Vector2 centroid2d(const Vector2* poly, int polyLength);
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | shadows.rs | 28 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/ |
H A D | shadows.rs | 28 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/ |
H A D | shadows.rs | 28 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/ScriptGroupTest/src/com/android/rs/sgtest/ |
H A D | shadows_f.rs | 28 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/ |
H A D | util.cpp | 40 #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);
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG2TSWriter.cpp | 985 uint32_t poly = 0x04C11DB7; local 990 crc = (crc << 1) ^ ((crc & 0x80000000) ? (poly) : 0);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | TSPacketizer.cpp | 1015 uint32_t poly = 0x04C11DB7; local 1020 crc = (crc << 1) ^ ((crc & 0x80000000) ? (poly) : 0);
|