HomeSort by relevance Sort by last modified time
    Searched refs:lod (Results 1 - 25 of 69) sorted by null

1 2 3

  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
LODGeomap.java 55 * This LOD algorithm generates a single triangle strip by first building the center of the
59 * It needs to know what its neighbour's LOD's are so it can stitch the edges.
84 public Mesh createMesh(Vector3f scale, Vector2f tcScale, Vector2f tcOffset, float offsetAmount, int totalSize, boolean center, int lod, boolean rightLod, boolean topLod, boolean leftLod, boolean bottomLod) {
88 IntBuffer ib = writeIndexArrayLodDiff(null, lod, rightLod, topLod, leftLod, bottomLod);
144 * Create the LOD index array that will seam its edges with its neighbour's LOD.
148 * @param lod level of detail of the mesh
149 * @param rightLod LOD of the right neighbour
150 * @param topLod LOD of the top neighbour
151 * @param leftLod LOD of the left neighbour
    [all...]
  /frameworks/rs/
rsType.h 72 uint32_t getLODDimX(uint32_t lod) const {
73 rsAssert(lod < mHal.state.lodCount);
74 return mHal.state.lodDimX[lod];
76 uint32_t getLODDimY(uint32_t lod) const {
77 rsAssert(lod < mHal.state.lodCount);
78 return mHal.state.lodDimY[lod];
80 uint32_t getLODDimZ(uint32_t lod) const {
81 rsAssert(lod < mHal.state.lodCount);
82 return mHal.state.lodDimZ[lod];
84 uint32_t getLODOffset(uint32_t lod) const
    [all...]
rsType.cpp 92 for (uint32_t lod=0; lod < mHal.state.lodCount; lod++) {
93 mHal.state.lodDimX[lod] = tx;
94 mHal.state.lodDimY[lod] = ty;
95 mHal.state.lodDimZ[lod] = tz;
96 mHal.state.lodOffset[lod] = offset;
113 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x) const {
114 uint32_t offset = mHal.state.lodOffset[lod];
119 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x, uint32_t y) const
194 uint8_t lod = stream->loadU8(); local
    [all...]
rsAdapter.h 44 inline void setLOD(uint32_t lod) {mLOD = lod;}
76 inline void setLOD(uint32_t lod) {mLOD = lod;}
rsAllocation.h 95 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes);
96 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
98 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face,
101 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes);
102 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
104 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face,
rsAllocation.cpp 76 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod,
87 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes);
91 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
96 //ALOGE("data2d %p, %i %i %i %i %i %i %p %i", this, xoff, yoff, lod, face, w, h, data, sizeBytes);
104 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes);
109 uint32_t lod, RsAllocationCubemapFace face,
113 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t lod,
124 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes);
127 void Allocation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
138 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes)
    [all...]
  /frameworks/support/renderscript/v8/rs_support/
rsType.h 72 uint32_t getLODDimX(uint32_t lod) const {
73 rsAssert(lod < mHal.state.lodCount);
74 return mHal.state.lodDimX[lod];
76 uint32_t getLODDimY(uint32_t lod) const {
77 rsAssert(lod < mHal.state.lodCount);
78 return mHal.state.lodDimY[lod];
80 uint32_t getLODDimZ(uint32_t lod) const {
81 rsAssert(lod < mHal.state.lodCount);
82 return mHal.state.lodDimZ[lod];
84 uint32_t getLODOffset(uint32_t lod) const
    [all...]
rsType.cpp 92 for (uint32_t lod=0; lod < mHal.state.lodCount; lod++) {
93 mHal.state.lodDimX[lod] = tx;
94 mHal.state.lodDimY[lod] = ty;
95 mHal.state.lodDimZ[lod] = tz;
96 mHal.state.lodOffset[lod] = offset;
113 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x) const {
114 uint32_t offset = mHal.state.lodOffset[lod];
119 uint32_t Type::getLODOffset(uint32_t lod, uint32_t x, uint32_t y) const
194 uint8_t lod = stream->loadU8(); local
    [all...]
rsAdapter.h 44 inline void setLOD(uint32_t lod) {mLOD = lod;}
76 inline void setLOD(uint32_t lod) {mLOD = lod;}
rsAllocation.h 92 void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes);
93 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
95 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face,
98 void read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes);
99 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
101 void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face,
  /frameworks/support/renderscript/v8/rs_support/driver/
rsdAllocation.cpp 41 uint32_t xoff, uint32_t yoff, uint32_t lod,
44 uint8_t *ptr = (uint8_t *)drv->lod[lod].mallocPtr;
46 ptr += yoff * drv->lod[lod].stride;
53 uint32_t xoff, uint32_t yoff, uint32_t lod,
72 drv->lod[0].dimX = type->getDimX();
73 drv->lod[0].dimY = type->getDimY();
74 drv->lod[0].mallocPtr = 0;
75 drv->lod[0].stride = drv->lod[0].dimX * type->getElementSizeBytes()
    [all...]
rsdAllocation.h 59 } lod[android::renderscript::Allocation::MAX_LOD]; member in struct:DrvAllocation
85 uint32_t xoff, uint32_t lod, uint32_t count,
89 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
95 uint32_t lod, RsAllocationCubemapFace face,
100 uint32_t xoff, uint32_t lod, uint32_t count,
104 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
110 uint32_t lod, RsAllocationCubemapFace face,
rsdIntrinsicConvolve5x5.cpp 106 const uchar *pin = (const uchar *)din->lod[0].mallocPtr;
114 const uchar4 *py0 = (const uchar4 *)(pin + din->lod[0].stride * y0);
115 const uchar4 *py1 = (const uchar4 *)(pin + din->lod[0].stride * y1);
116 const uchar4 *py2 = (const uchar4 *)(pin + din->lod[0].stride * y2);
117 const uchar4 *py3 = (const uchar4 *)(pin + din->lod[0].stride * y3);
118 const uchar4 *py4 = (const uchar4 *)(pin + din->lod[0].stride * y4);
  /frameworks/compile/libbcc/lib/Renderscript/runtime/
rs_sample.c 9 getElementAt(rs_allocation a, uint32_t x, uint32_t lod) {
14 const uint32_t offset = type->mHal.state.lodOffset[lod];
21 getElementAt(rs_allocation a, uint32_t x, uint32_t y, uint32_t lod) {
27 const uint32_t offset = type->mHal.state.lodOffset[lod];
29 if(lod == 0) {
32 stride = type->mHal.state.lodDimX[lod] * eSize;
39 getElementAt(rs_allocation a, uint2 uv, uint32_t lod) {
40 return getElementAt(a, uv.x, uv.y, lod);
97 uint32_t iPixel, uint32_t next, uint32_t lod) { \
98 intype *p0c = (intype*)getElementAt(a, iPixel, lod); \
    [all...]
  /frameworks/rs/driver/
rsdAllocation.cpp 81 uint32_t xoff, uint32_t yoff, uint32_t lod,
84 uint8_t *ptr = (uint8_t *)drv->lod[lod].mallocPtr;
86 ptr += yoff * drv->lod[lod].stride;
93 uint32_t xoff, uint32_t yoff, uint32_t lod,
104 RSD_CALL_GL(glTexSubImage2D, t, lod, xoff, yoff, w, h, drv->glFormat, drv->glType, ptr);
121 for (uint32_t lod = 0; lod < alloc->mHal.state.type->getLODCount(); lod++)
    [all...]
rsdAllocation.h 59 } lod[android::renderscript::Allocation::MAX_LOD]; member in struct:DrvAllocation
96 uint32_t xoff, uint32_t lod, uint32_t count,
100 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
106 uint32_t lod, RsAllocationCubemapFace face,
111 uint32_t xoff, uint32_t lod, uint32_t count,
115 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
121 uint32_t lod, RsAllocationCubemapFace face,
rsdIntrinsicConvolve5x5.cpp 110 const uchar *pin = (const uchar *)din->lod[0].mallocPtr;
118 const uchar4 *py0 = (const uchar4 *)(pin + din->lod[0].stride * y0);
119 const uchar4 *py1 = (const uchar4 *)(pin + din->lod[0].stride * y1);
120 const uchar4 *py2 = (const uchar4 *)(pin + din->lod[0].stride * y2);
121 const uchar4 *py3 = (const uchar4 *)(pin + din->lod[0].stride * y3);
122 const uchar4 *py4 = (const uchar4 *)(pin + din->lod[0].stride * y4);
rsdIntrinsicBlur.cpp 171 const uchar *pin = (const uchar *)din->lod[0].mallocPtr;
180 const uchar *pi = pin + (y - cp->iradius) * din->lod[0].stride;
181 OneVF(fout, pi, din->lod[0].stride, cp->fp, cp->iradius * 2 + 1, x1, x2);
184 OneV(p, fout, x1, y, pin, din->lod[0].stride, cp->fp, cp->iradius);
rsdIntrinsicConvolve3x3.cpp 86 const uchar *pin = (const uchar *)din->lod[0].mallocPtr;
90 const uchar4 *py0 = (const uchar4 *)(pin + din->lod[0].stride * y2);
91 const uchar4 *py1 = (const uchar4 *)(pin + din->lod[0].stride * p->y);
92 const uchar4 *py2 = (const uchar4 *)(pin + din->lod[0].stride * y1);
  /frameworks/base/graphics/java/android/renderscript/
AllocationAdapter.java 99 void initLOD(int lod) {
100 if (lod < 0) {
101 throw new RSIllegalArgumentException("Attempting to set negative lod (" + lod + ").");
108 for (int ct=0; ct < lod; ct++) {
110 throw new RSIllegalArgumentException("Attempting to set lod (" + lod + ") out of range.");
133 * Set the active LOD. The LOD must be within the range for the
139 * @param lod The LOD to make active
    [all...]
  /frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
AllocationAdapter.java 99 void initLOD(int lod) {
100 if (lod < 0) {
101 throw new RSIllegalArgumentException("Attempting to set negative lod (" + lod + ").");
108 for (int ct=0; ct < lod; ct++) {
110 throw new RSIllegalArgumentException("Attempting to set lod (" + lod + ") out of range.");
133 * Set the active LOD. The LOD must be within the range for the
139 * @param lod The LOD to make active
    [all...]
  /external/clang/test/CodeGen/
2008-03-24-BitField-And-Alloca.c 54 unsigned int lod : 2; member in struct:_Key::__anon5701
68 if(((iospec.key_io.lod == G_B) &&
  /frameworks/native/opengl/libagl/
TextureObjectManager.cpp 106 const GGLSurface& EGLTextureObject::mip(int lod) const
108 if (lod<=0 || !mMipmaps)
110 lod = min(lod-1, mNumExtraLod-1);
111 return mMipmaps[lod];
114 GGLSurface& EGLTextureObject::editMip(int lod)
116 return const_cast<GGLSurface&>(mip(lod));
TextureObjectManager.h 58 const GGLSurface& mip(int lod) const;
59 GGLSurface& editMip(int lod);
  /external/jmonkeyengine/engine/src/core/com/jme3/renderer/
Statistics.java 124 public void onMeshDrawn(Mesh mesh, int lod){
126 numTriangles += mesh.getTriangleCount(lod);

Completed in 759 milliseconds

1 2 3