Searched refs:uv (Results 1 - 8 of 8) sorted by relevance

/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/
H A Dsample.rs36 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/
H A Drs_sample.c424 float uv, uint32_t lod) {
429 float pixelUV = uv * (float)(sourceW);
456 float uv, uint32_t lod) {
459 int32_t iPixel = floor(uv * (float)(sourceW));
470 float2 uv, uint32_t lod) {
477 float pixelU = uv.x * sourceW;
478 float pixelV = uv.y * sourceH;
518 float2 uv, uint32_t lod) {
525 int2 iPixel = convert_int2(floor(uv * dimF));
534 rsSample(rs_allocation a, rs_sampler s, float uv, floa argument
421 sample_LOD_LinearPixel(const Allocation_t *alloc, rs_data_kind dk, rs_data_type dt, rs_sampler_value wrapS, float uv, uint32_t lod) argument
453 sample_LOD_NearestPixel(const Allocation_t *alloc, rs_data_kind dk, rs_data_type dt, rs_sampler_value wrapS, float uv, uint32_t lod) argument
466 sample_LOD_LinearPixel(const Allocation_t *alloc, rs_data_kind dk, rs_data_type dt, rs_sampler_value wrapS, rs_sampler_value wrapT, float2 uv, uint32_t lod) argument
514 sample_LOD_NearestPixel(const Allocation_t *alloc, rs_data_kind dk, rs_data_type dt, rs_sampler_value wrapS, rs_sampler_value wrapT, float2 uv, uint32_t lod) argument
586 rsSample(rs_allocation a, rs_sampler s, float2 uv, float lod) argument
633 rsSample(rs_allocation a, rs_sampler s, float2 uv) argument
[all...]
/frameworks/native/cmds/flatland/
H A DRenderers.cpp60 mUVAttribLoc = glGetAttribLocation(mGradPgm, "uv");
90 const float uv[] = { local
102 glVertexAttribPointer(mUVAttribLoc, 2, GL_FLOAT, GL_FALSE, 0, uv);
H A DComposers.cpp37 mUVAttribLoc = glGetAttribLocation(mBlitPgm, "uv");
70 const float uv[] = { local
78 glVertexAttribPointer(mUVAttribLoc, 2, GL_FLOAT, GL_FALSE, 0, uv);
/frameworks/av/cmds/screenrecord/
H A DProgram.cpp213 const float uv[] = { local
221 err = beforeDraw(texName, texMatrix, pos, uv, invert);
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicYuvToRGB.cpp100 extern "C" void rsdIntrinsicYuv_K(void *dst, const uchar *Y, const uchar *uv, uint32_t xstart, size_t xend);
101 extern "C" void rsdIntrinsicYuvR_K(void *dst, const uchar *Y, const uchar *uv, uint32_t xstart, size_t xend);
147 // Legacy yuv support didn't fill in uv
/frameworks/base/libs/hwui/
H A DBakedOpDispatcher.cpp523 Rect uv(std::max(0.0f, op.src.left / texture->width()),
535 .setMeshTexturedUvQuad(texture->uvMapper, uv)
H A DOpenGLRenderer.cpp1610 Rect uv(std::max(0.0f, src.left / texture->width()),
1622 .setMeshTexturedUvQuad(texture->uvMapper, uv)

Completed in 1166 milliseconds