Searched refs:uv (Results 1 – 9 of 9) sorted by relevance
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/ |
D | sample.rs | 36 float2 uv; 37 uv.x = (float)x / destX; 38 uv.y = (float)y / destY; 40 out->xyz = convert_uchar3(rsSample(sourceAlloc, allocSampler, uv * 2.0f).xyz * 255.0f);
|
/frameworks/rs/driver/runtime/ |
D | rs_sample.c | 424 float uv, uint32_t lod) { in sample_LOD_LinearPixel() argument 429 float pixelUV = uv * (float)(sourceW); in sample_LOD_LinearPixel() 456 float uv, uint32_t lod) { in sample_LOD_NearestPixel() argument 459 int32_t iPixel = floor(uv * (float)(sourceW)); in sample_LOD_NearestPixel() 470 float2 uv, uint32_t lod) { in sample_LOD_LinearPixel() argument 477 float pixelU = uv.x * sourceW; in sample_LOD_LinearPixel() 478 float pixelV = uv.y * sourceH; in sample_LOD_LinearPixel() 518 float2 uv, uint32_t lod) { in sample_LOD_NearestPixel() argument 525 int2 iPixel = convert_int2(floor(uv * dimF)); in sample_LOD_NearestPixel() 534 rsSample(rs_allocation a, rs_sampler s, float uv, float lod) { in rsSample() argument [all …]
|
/frameworks/base/core/res/res/raw/ |
D | color_fade_vert.vert | 5 attribute vec2 uv; 10 vec4 transformed_uv = tex_matrix * vec4(uv.x, uv.y, 1.0, 1.0);
|
/frameworks/native/cmds/flatland/ |
D | Renderers.cpp | 90 const float uv[] = { in drawGradient() local 102 glVertexAttribPointer(mUVAttribLoc, 2, GL_FLOAT, GL_FALSE, 0, uv); in drawGradient()
|
D | Composers.cpp | 70 const float uv[] = { in modBlit() local 78 glVertexAttribPointer(mUVAttribLoc, 2, GL_FLOAT, GL_FALSE, 0, uv); in modBlit()
|
/frameworks/av/cmds/screenrecord/ |
D | Program.cpp | 213 const float uv[] = { in blit() local 221 err = beforeDraw(texName, texMatrix, pos, uv, invert); in blit()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicYuvToRGB.cpp | 100 extern "C" void rsdIntrinsicYuv_K(void *dst, const uchar *Y, const uchar *uv, uint32_t xstart, size… 101 extern "C" void rsdIntrinsicYuvR_K(void *dst, const uchar *Y, const uchar *uv, uint32_t xstart, siz…
|
/frameworks/base/libs/hwui/ |
D | BakedOpDispatcher.cpp | 523 Rect uv(std::max(0.0f, op.src.left / texture->width()), in onBitmapRectOp() local 535 .setMeshTexturedUvQuad(texture->uvMapper, uv) in onBitmapRectOp()
|
D | OpenGLRenderer.cpp | 1610 Rect uv(std::max(0.0f, src.left / texture->width()), 1622 .setMeshTexturedUvQuad(texture->uvMapper, uv)
|