Home
last modified time | relevance | path

Searched refs:uv (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/res/res/raw/
Dcolor_fade_vert.vert4 attribute vec2 uv;
9 vec4 transformed_uv = tex_matrix * vec4(uv.x, uv.y, 1.0, 1.0);
/frameworks/rs/driver/runtime/
Drs_sample.c424 float uv, uint32_t lod) { in sample_LOD_LinearPixel() argument
427 float pixelUV = uv * (float)(sourceW); in sample_LOD_LinearPixel()
454 float uv, uint32_t lod) { in sample_LOD_NearestPixel() argument
457 int32_t iPixel = floor(uv * (float)(sourceW)); in sample_LOD_NearestPixel()
468 float2 uv, uint32_t lod) { in sample_LOD_LinearPixel() argument
473 float pixelU = uv.x * sourceW; in sample_LOD_LinearPixel()
474 float pixelV = uv.y * sourceH; in sample_LOD_LinearPixel()
514 float2 uv, uint32_t lod) { in sample_LOD_NearestPixel() argument
521 int2 iPixel = convert_int2(floor(uv * dimF)); in sample_LOD_NearestPixel()
530 rsSample(rs_allocation a, rs_sampler s, float uv, float lod) { in rsSample() argument
[all …]
/frameworks/rs/tests/java_api/SampleTest/src/com/android/rs/sample/
Dsample.rscript36 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/native/cmds/flatland/
DRenderers.cpp90 const float uv[] = { in drawGradient() local
102 glVertexAttribPointer(mUVAttribLoc, 2, GL_FLOAT, GL_FALSE, 0, uv); in drawGradient()
DComposers.cpp70 const float uv[] = { in modBlit() local
78 glVertexAttribPointer(mUVAttribLoc, 2, GL_FLOAT, GL_FALSE, 0, uv); in modBlit()
/frameworks/av/cmds/screenrecord/
DProgram.cpp213 const float uv[] = { in blit() local
221 err = beforeDraw(texName, texMatrix, pos, uv, invert); in blit()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicYuvToRGB.cpp94 extern "C" void rsdIntrinsicYuv_K(void *dst, const uchar *Y, const uchar *uv, uint32_t xstart, size…
95 extern "C" void rsdIntrinsicYuvR_K(void *dst, const uchar *Y, const uchar *uv, uint32_t xstart, siz…
/frameworks/base/packages/SystemUI/res/raw/
Dimage_wallpaper_fragment_shader.glsl73 // gets the pixel value of the wallpaper for this uv coordinates on screen.
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp804 uint32_t uv = u | (((uint32_t)v) << 20); in convertYUV420Planar16ToY410() local
805 *ptr_out++ = ((y01 & 0x3FF) << 10) | uv; in convertYUV420Planar16ToY410()
806 *ptr_out++ = ((y01 >> 16) << 10) | uv; in convertYUV420Planar16ToY410()