/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicResize.cpp | 187 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; 188 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; 189 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; 190 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; 227 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; 228 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; 229 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; 230 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; 267 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; 268 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY [all...] |
rsCpuScriptGroup.cpp | 74 mp->ptrIn = (const uint8_t *)sl->ins[ct]->mHal.drvState.lod[0].mallocPtr; 78 mp->in = mp->ptrIn + sl->ins[ct]->mHal.drvState.lod[0].stride * p->y; 80 if (sl->ins[ct]->mHal.drvState.lod[0].dimY > p->lid) { 81 mp->in = mp->ptrIn + sl->ins[ct]->mHal.drvState.lod[0].stride * p->lid; 87 mp->ptrOut = (uint8_t *)sl->outs[ct]->mHal.drvState.lod[0].mallocPtr; 91 mp->out = mp->ptrOut + sl->outs[ct]->mHal.drvState.lod[0].stride * p->y; 93 if (sl->outs[ct]->mHal.drvState.lod[0].dimY > p->lid) { 94 mp->out = mp->ptrOut + sl->outs[ct]->mHal.drvState.lod[0].stride * p->lid;
|
rsCpuIntrinsic3DLUT.cpp | 71 const uchar *bp = (const uchar *)cp->mLUT->mHal.drvState.lod[0].mallocPtr; 74 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimX - 1), 75 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimY - 1), 76 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimZ - 1), 81 const size_t stride_y = cp->mLUT->mHal.drvState.lod[0].stride; 82 const size_t stride_z = stride_y * cp->mLUT->mHal.drvState.lod[0].dimY;
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
texgetimage.h | 57 _mesa_GetCompressedTexImageARB(GLenum target, GLint lod, GLvoid *img);
|
/external/mesa3d/src/mesa/main/ |
texgetimage.h | 57 _mesa_GetCompressedTexImageARB(GLenum target, GLint lod, GLvoid *img);
|
/external/deqp/modules/gles2/functional/ |
es2fVertexTextureTests.cpp | 356 static inline Vec4 sample (const tcu::Texture2D& tex, const Vec2& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), lod); } 357 static inline Vec4 sample (const tcu::TextureCube& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); } 360 void computeReference (const typename TexTypeTcuClass<TexType>::t& texture, float lod, const tcu::Sampler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst, const Rect& dstRegion) 371 quadColors[ndx] = sample(texture, coord, lod, sampler); 402 void setupShaderInputs (int textureNdx, float lod, const Grid& grid) const; 403 void renderCell (int textureNdx, float lod, const Grid& grid) const; 404 void computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, const Rect& dstRegion) const; 602 const float lod = calculateLod(rend.texCoordScale, rend.region.size().asFloat(), rend.textureNdx) local 934 const float lod = calculateLod(rend.texCoordScale, rend.region.size().asFloat(), rend.textureNdx); local [all...] |
es2fShaderTextureFunctionTests.cpp | 85 // Bias or Lod for *Lod* functions 163 float lod; member in struct:deqp::gles2::Functional::__anon23718::TexLookupParams 168 : lod (0.0f) 192 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.textures[0].tex2D->sample(c.textures[0].sampler, s, t, lod); } 193 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].texCube->sample(c.textures[0].sampler, s, t, r, lod); } 196 static void evalTexture2D (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = texture2D(c, c.in[0].x(), c.in[0].y(), p.lod)*p.scale + p.bias; } 197 static void evalTextureCube (gls::ShaderEvalContext& c, const TexLookupParams& p) { c.color = textureCube(c, c.in[0].x(), c.in[0].y(), c.in[0].z(), p.lod)*p.scale + p.bias; [all...] |
/frameworks/native/opengl/libagl/ |
TextureObjectManager.h | 58 const GGLSurface& mip(int lod) const; 59 GGLSurface& editMip(int lod);
|
/external/deqp/modules/gles3/functional/ |
es3fVertexTextureTests.cpp | 452 static inline Vec4 sample (const tcu::Texture2D& tex, const Vec2& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), lod); } 453 static inline Vec4 sample (const tcu::TextureCube& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); } 454 static inline Vec4 sample (const tcu::Texture2DArray& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); } 455 static inline Vec4 sample (const tcu::Texture3D& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), coord.z(), lod); } 458 void computeReference (const typename TexTypeTcuClass<TexType>::t& texture, float lod, const tcu::Sampler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst, const Rect& dstRegion) 469 quadColors[ndx] = sample(texture, coord, lod, sampler) 703 const float lod = calculateLod(rend.texCoordScale, rend.region.size().asFloat(), rend.textureNdx); local 1038 const float lod = calculateLod(rend.texCoordScale, rend.region.size().asFloat(), rend.textureNdx); local 1378 const float lod = calculateLod(rend.texTransform, rend.region.size().asFloat(), rend.textureNdx); local 1721 const float lod = calculateLod(rend.texTransform, rend.region.size().asFloat(), rend.textureNdx); local [all...] |
/frameworks/rs/driver/ |
rsdAllocation.h | 104 uint32_t xoff, uint32_t lod, size_t count, 108 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 113 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 119 uint32_t xoff, uint32_t lod, size_t count, 123 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 128 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/rs/ |
rs.spec | 136 param uint32_t lod 144 param uint32_t lod 153 param uint32_t lod 166 param uint32_t lod 186 param uint32_t lod 195 param uint32_t lod
|
rs_hal.h | 58 uint32_t lod; member in struct:android::renderscript::__anon73811 160 * mHal.drvState.lod[0-2] will be updated with the new values. 168 uint32_t xoff, uint32_t lod, size_t count, 171 uint32_t xoff, uint32_t yoff, uint32_t lod, 175 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 180 uint32_t xoff, uint32_t lod, size_t count, 183 uint32_t xoff, uint32_t yoff, uint32_t lod, 187 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/rs/ |
rs.spec | 136 param uint32_t lod 144 param uint32_t lod 153 param uint32_t lod 166 param uint32_t lod 186 param uint32_t lod 195 param uint32_t lod
|
rs_hal.h | 58 uint32_t lod; member in struct:android::renderscript::__anon75109 160 * mHal.drvState.lod[0-2] will be updated with the new values. 168 uint32_t xoff, uint32_t lod, size_t count, 171 uint32_t xoff, uint32_t yoff, uint32_t lod, 175 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 180 uint32_t xoff, uint32_t lod, size_t count, 183 uint32_t xoff, uint32_t yoff, uint32_t lod, 187 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/rs/ |
rs.spec | 136 param uint32_t lod 144 param uint32_t lod 153 param uint32_t lod 166 param uint32_t lod 186 param uint32_t lod 195 param uint32_t lod
|
rs_hal.h | 58 uint32_t lod; member in struct:android::renderscript::__anon76419 160 * mHal.drvState.lod[0-2] will be updated with the new values. 168 uint32_t xoff, uint32_t lod, size_t count, 171 uint32_t xoff, uint32_t yoff, uint32_t lod, 175 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, 180 uint32_t xoff, uint32_t lod, size_t count, 183 uint32_t xoff, uint32_t yoff, uint32_t lod, 187 uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod,
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_lower_texture_gradients.cpp | 97 /* Use textureSize() to get the width and height of LOD 0; swizzle away 103 txs->lod_info.lod = new(mem_ctx) ir_constant(0); 139 ir->lod_info.lod = expr(ir_unop_log2, rho);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_lower_texture_gradients.cpp | 97 /* Use textureSize() to get the width and height of LOD 0; swizzle away 103 txs->lod_info.lod = new(mem_ctx) ir_constant(0); 139 ir->lod_info.lod = expr(ir_unop_log2, rho);
|
/frameworks/rs/ |
rsType.cpp | 104 for (uint32_t lod=0; lod < mHal.state.lodCount; lod++) { 105 mHal.state.lodDimX[lod] = tx; 106 mHal.state.lodDimY[lod] = ty; 107 mHal.state.lodDimZ[lod] = tz; 194 uint8_t lod = stream->loadU8(); local 196 Type *type = Type::getType(rsc, elem, x, y, z, lod != 0, faces !=0, 0);
|
rs.spec | 135 param uint32_t lod 146 param uint32_t lod 154 param uint32_t lod 163 param uint32_t lod 176 param uint32_t lod 196 param uint32_t lod 205 param uint32_t lod
|
/external/deqp/framework/common/ |
tcuTexture.cpp | [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_sample.c | 352 * Bri-linear lod computation 384 LLVMValueRef lod, 394 lp_build_printf(bld->gallivm, "lod = %f\n", lod); 397 lod = lp_build_add(bld, lod, 400 lp_build_ifloor_fract(bld, lod, out_lod_ipart, &lod_fpart); 424 * Combined log2 and brilinear lod computation. 481 * \param lod_bias optional float vector with the shader lod bias 482 * \param explicit_lod optional float vector with the explicit lod 503 LLVMValueRef lod; local [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_sample.c | 352 * Bri-linear lod computation 384 LLVMValueRef lod, 394 lp_build_printf(bld->gallivm, "lod = %f\n", lod); 397 lod = lp_build_add(bld, lod, 400 lp_build_ifloor_fract(bld, lod, out_lod_ipart, &lod_fpart); 424 * Combined log2 and brilinear lod computation. 481 * \param lod_bias optional float vector with the shader lod bias 482 * \param explicit_lod optional float vector with the explicit lod 503 LLVMValueRef lod; local [all...] |
/frameworks/support/v8/renderscript/jni/ |
android_renderscript_RenderScript.cpp | 439 nAllocationData1D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jintArray data, int sizeBytes) 444 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes); 449 nAllocationData1D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jshortArray data, int sizeBytes) 454 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes); 459 nAllocationData1D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jbyteArray data, int sizeBytes) 464 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes); 469 nAllocationData1D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jfloatArray data, int sizeBytes) 474 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes); 480 nAllocationElementData1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint compIdx, jbyteArray data, int sizeBytes) 485 rsAllocation1DElementData(con, (RsAllocation)alloc, offset, lod, ptr, sizeBytes, compIdx) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_tex_sample.c | 1462 float lod[TGSI_QUAD_SIZE]; local 1518 float lod[TGSI_QUAD_SIZE]; local 1556 float lod[TGSI_QUAD_SIZE]; local 1826 float lod[TGSI_QUAD_SIZE]; local 1925 float lod[TGSI_QUAD_SIZE]; local [all...] |