Home
last modified time | relevance | path

Searched refs:gx (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dsobeloperator.cpp86 int gx = static_cast<int>(*(gxPtr + 3 * i + c) / 8 + 127.5); in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator() local
90 gx = 2 * gx - 255; in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator()
93 double value = sqrt(gx * gx + gy * gy); in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator()
98 (atan(static_cast<double>(gy)/static_cast<double>(gx)) + 3.14) / 6.28); in Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.cpp378 __m128 pf, g0, g1, g2, g3, gx, p0, p1; in rsdIntrinsicBlurHFU1_K() local
390 gx = _mm_loadu_ps((const float *)gptr + r); in rsdIntrinsicBlurHFU1_K()
394 g0 = _mm_shuffle_ps(gx, gx, _MM_SHUFFLE(0, 0, 0, 0)); in rsdIntrinsicBlurHFU1_K()
396 g1 = _mm_shuffle_ps(gx, gx, _MM_SHUFFLE(1, 1, 1, 1)); in rsdIntrinsicBlurHFU1_K()
398 g2 = _mm_shuffle_ps(gx, gx, _MM_SHUFFLE(2, 2, 2, 2)); in rsdIntrinsicBlurHFU1_K()
400 g3 = _mm_shuffle_ps(gx, gx, _MM_SHUFFLE(3, 3, 3, 3)); in rsdIntrinsicBlurHFU1_K()