Home
last modified time | relevance | path

Searched refs:y4 (Results 1 – 18 of 18) sorted by relevance

/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dconvolve5x5.rscript37 uint32_t y4 = min((int32_t)y+2, gHeight-1);
63 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y4)) * gCoeffs[20]
64 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y4)) * gCoeffs[21]
65 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y4)) * gCoeffs[22]
66 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y4)) * gCoeffs[23]
67 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y4)) * gCoeffs[24];
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dconvolve5x5.rscript37 uint32_t y4 = min((int32_t)y+2, gHeight-1);
63 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y4)) * gCoeffs[20]
64 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y4)) * gCoeffs[21]
65 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y4)) * gCoeffs[22]
66 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y4)) * gCoeffs[23]
67 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y4)) * gCoeffs[24];
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dconvolve5x5.rscript37 uint32_t y4 = min((int32_t)y+2, gHeight-1);
63 + convert_float4(rsGetElementAt_uchar4(gIn, x0, y4)) * gCoeffs[20]
64 + convert_float4(rsGetElementAt_uchar4(gIn, x1, y4)) * gCoeffs[21]
65 + convert_float4(rsGetElementAt_uchar4(gIn, x2, y4)) * gCoeffs[22]
66 + convert_float4(rsGetElementAt_uchar4(gIn, x3, y4)) * gCoeffs[23]
67 + convert_float4(rsGetElementAt_uchar4(gIn, x4, y4)) * gCoeffs[24];
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicConvolve5x5.cpp340 const void *y2, const void *y3, const void *y4,
358 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1)); in kernelU4() local
364 const uchar4 *py4 = (const uchar4 *)(pin + stride * y4); in kernelU4()
418 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1)); in kernelU2() local
424 const uchar2 *py4 = (const uchar2 *)(pin + stride * y4); in kernelU2()
467 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1)); in kernelU1() local
473 const uchar *py4 = (const uchar *)(pin + stride * y4); in kernelU1()
516 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1)); in kernelF4() local
522 const float4 *py4 = (const float4 *)(pin + stride * y4); in kernelF4()
565 uint32_t y4 = rsMin((int32_t)info->current.y+2, (int32_t)(info->dim.y-1)); in kernelF2() local
[all …]
DrsCpuIntrinsics_x86.cpp455 __m128i y1, y2, y3, y4; in rsdIntrinsicYuv_K() local
464 y4 = _mm_shuffle_epi8(y3, T4x4); in rsdIntrinsicYuv_K()
465 _mm_storeu_si128((__m128i *)dst, y4); in rsdIntrinsicYuv_K()
517 __m128i y1, y2, y3, y4; in rsdIntrinsicYuvR_K() local
526 y4 = _mm_shuffle_epi8(y3, T4x4); in rsdIntrinsicYuvR_K()
527 _mm_storeu_si128((__m128i *)dst, y4); in rsdIntrinsicYuvR_K()
578 __m128i y1, y2, y3, y4; in rsdIntrinsicYuv2_K() local
587 y4 = _mm_shuffle_epi8(y3, T4x4); in rsdIntrinsicYuv2_K()
588 _mm_storeu_si128((__m128i *)dst, y4); in rsdIntrinsicYuv2_K()
598 const void *y3, const void *y4, in rsdIntrinsicConvolve5x5_K() argument
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp508 const float &y4 = quad.coords[7]; in findEnclosingQuad() local
522 float s3 = (x - x3) * (y4 - y3) - (y - y3) * (x4 - x3); in findEnclosingQuad()
524 float s4 = (x - x4) * (y1 - y4) - (y - y4) * (x1 - x4); in findEnclosingQuad()
542 const float &y4 = calculateU ? quad.coords[7] : quad.coords[3]; in calculateUorV() local
544 float a = (x1 - x2) * (y1 - y2 + y3 - y4) - (y1 - y2) * (x1 - x2 + x3 - x4); in calculateUorV()
545 float b = (x - x1) * (y1 - y2 + y3 - y4) + (x1 - x2) * (y4 - y1) - in calculateUorV()
547 float c = (x - x1) * (y4 - y1) - (y - y1) * (x4 - x1); in calculateUorV()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dcolorspace.cpp70 int u, v, y1, y2, y3, y4; in JNI_COLORSPACE_METHOD() local
75 y4 = pInY[width + 1]; in JNI_COLORSPACE_METHOD()
83 pOutColor[width + 1] = convertYuvToRgba(y4, u, v); in JNI_COLORSPACE_METHOD()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessMappingStrategyTest.java580 final float y4 = GAMMA_CORRECTION_SPLINE.interpolate(x4); in testGammaCorrectionChangeAtEdges() local
587 assertEquals(y4, strategy.getBrightness(x4), 0.0001f /* tolerance */); in testGammaCorrectionChangeAtEdges()
594 assertEquals(MathUtils.pow(y4, gamma), strategy.getBrightness(x4), 0.0001f /* tolerance */); in testGammaCorrectionChangeAtEdges()
597 adjustment = 1.0f - y4; in testGammaCorrectionChangeAtEdges()
/frameworks/rs/driver/
DrsdGL.h93 float x4, float y4, float z4, float u4, float v4);
DrsdRuntimeStubs.cpp856 float x4, float y4, float z4, float u4, float v4) { argument
874 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4};
890 float x4, float y4, float z4) { argument
894 x4, y4, z4, 0, 0);
1028 float x4, float y4, float z4) { argument
1032 x4, y4, z4);
1038 float x4, float y4, float z4, float u4, float v4) { argument
1042 x4, y4, z4, u4, v4);
DrsdGL.cpp544 float x4, float y4, float z4, float u4, float v4) { in rsdGLDrawQuadTexCoords() argument
546 float vtx[] = {x1,y1,z1, x2,y2,z2, x3,y3,z3, x4,y4,z4}; in rsdGLDrawQuadTexCoords()
/frameworks/rs/
DrsFont.h252 float x4, float y4, float z4,
DrsFont.cpp669 float x4, float y4, float z4, in appendMeshQuad() argument
675 if (x1 > mSurfaceWidth || y1 < 0.0f || x2 < 0 || y4 > mSurfaceHeight) { in appendMeshQuad()
706 (*currentPos++) = y4; in appendMeshQuad()
/frameworks/rs/script_api/
Drs_graphics.spec494 arg: float y4
524 arg: float y4
/frameworks/rs/script_api/include/
Drs_graphics.rsh817 float z3, float x4, float y4, float z4);
838 float v3, float x4, float y4, float z4, float u4, float v4);
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_with_password90 +o9z��x������B"H����z�J��� _�����{�U�2 ��yj����y4�Pd��*��gO��$�,���Xǥ��肮$:(��k�����./…
/frameworks/base/core/java/android/view/
DViewGroup.java4149 int y4 = y3 + dy2; in fillDifference() local
4154 fillRect(canvas, paint, x1, y3, x4, y4); in fillDifference()
/frameworks/base/native/graphics/jni/fuzz/corpus/
Dsample_raf.raf588 …'=�>q�~�����7�ރ"f\��vN�H�������������A����$�~u&y��rS�d}j6c��h)n=\8�<����y4#$7�_J����ϭ������z…
616 $���'���'$���y4�2ē�A����+�߹�2�@'Òs�cֽf|J��er.�F:V����'+����2}���8�j���rN)���'kR���W?Z^H�u��…
659 …��9d8�����79c��jD��u�8c���w�/U�����<Ԏ�g��+[�|��8'�P���5�rF���[V��y4�cP�.Aa�*�ʃ�����9BW…
757 …������>N�?)X��=NkG �$�����k�r=��.3����ҹ=}��{�N!\��SJxlc֞�����M�'��y4�7.{��*���żA�O�`ǃ�…
901 …�<|������P����w�Oz�8�.L{�xOکn�׭X_��f�!� �#�Ԥ�����,���+�#�dc&����y4O�~r�'��?Z@�҃�g�…
957 …��~�~�j���A8qᙈ>��6����XCvѸ�=��L����#�l�������V$�$�{�k�|��&��O�j�vA>�͒y4E#mL皽m���Xp\:���;…
978 �$��7�g��@�y4���M|����Jy�dW�χ���ݷ��B�?�s=΂�ݷ����<԰$����N�#��Ѐ����޼T���$�Y��_֞y�`/U94��\…
986 pq�p��3���FO��@A$SO��i$��PrrI�����>�� ��|�7Q�ӆ6���nO���VwL��Q�<6)��������'���'֓�y4
1171 …<�2C$�I����G����NO�S��#��Q��]y=�mè�Z�'�9<��Є'#�)%�1��2�����(#9����%�y4�{���oP%Ni�I�3M����)…
1393 …���M�랞��)�2Gz�ǩ����?'��֌����|x��O?w���*�W)��Q�&���r~�/�}�@���G�N{ӹ��5�|�'�y4�W<��@Q�3�` ��
[all …]