Searched defs:stride (Results 1 - 25 of 118) sorted by last modified time

12345

/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h436 XAuint32 stride; member in struct:XADataFormat_RawImage_
/frameworks/rs/cpp/
H A DAllocation.cpp168 void * Allocation::getPointer(size_t *stride) { argument
182 RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X, 0, 0, stride, sizeof(size_t));
342 const void *data, size_t stride) {
346 w * h * mType->getElement()->getSizeBytes(), stride));
349 void Allocation::copy2DStridedFrom(const void* data, size_t stride) { argument
350 copy2DStridedFrom(0, 0, mCurrentDimX, mCurrentDimY, data, stride);
354 void *data, size_t stride) {
358 w * h * mType->getElement()->getSizeBytes(), stride));
361 void Allocation::copy2DStridedTo(void* data, size_t stride) { argument
362 copy2DStridedTo(0, 0, mCurrentDimX, mCurrentDimY, data, stride);
341 copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, const void *data, size_t stride) argument
353 copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, void *data, size_t stride) argument
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicBlur.cpp158 extern void rsdIntrinsicBlurVFU4_K(void *dst, const void *pin, int stride, const void *gptr, int rct, int x1, int ct);
301 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
309 rsdIntrinsicBlurU4_K(out, (uchar4 const *)(pin + stride * info->current.y),
311 stride, x1, info->current.y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius);
328 const uchar *pi = pin + (y - cp->mIradius) * stride;
329 OneVFU4(fout, pi, stride, cp->mFp, cp->mIradius * 2 + 1, 0, info->dim.x);
333 OneVU4(info, fout, x1, y, pin, stride, cp->mFp, cp->mIradius);
372 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
[all...]
H A DrsCpuIntrinsicConvolve3x3.cpp189 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
193 const uchar4 *py0 = (const uchar4 *)(pin + stride * y2);
194 const uchar4 *py1 = (const uchar4 *)(pin + stride * info->current.y);
195 const uchar4 *py2 = (const uchar4 *)(pin + stride * y1);
236 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
240 const uchar2 *py0 = (const uchar2 *)(pin + stride * y2);
241 const uchar2 *py1 = (const uchar2 *)(pin + stride * info->current.y);
242 const uchar2 *py2 = (const uchar2 *)(pin + stride * y
281 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
326 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
371 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
415 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
[all...]
H A DrsCpuIntrinsicConvolve5x5.cpp352 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local
360 const uchar4 *py0 = (const uchar4 *)(pin + stride * y0);
361 const uchar4 *py1 = (const uchar4 *)(pin + stride * y1);
362 const uchar4 *py2 = (const uchar4 *)(pin + stride * y2);
363 const uchar4 *py3 = (const uchar4 *)(pin + stride * y3);
364 const uchar4 *py4 = (const uchar4 *)(pin + stride * y4);
412 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local
420 const uchar2 *py0 = (const uchar2 *)(pin + stride * y
461 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local
510 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local
559 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local
608 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; local
[all...]
H A DrsCpuIntrinsicResize.cpp318 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
329 const uchar4 *yp0 = (const uchar4 *)(pin + stride * ys0);
330 const uchar4 *yp1 = (const uchar4 *)(pin + stride * ys1);
331 const uchar4 *yp2 = (const uchar4 *)(pin + stride * ys2);
332 const uchar4 *yp3 = (const uchar4 *)(pin + stride * ys3);
385 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
396 const uchar2 *yp0 = (const uchar2 *)(pin + stride * ys0);
397 const uchar2 *yp1 = (const uchar2 *)(pin + stride * ys
452 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
519 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
559 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
599 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; local
[all...]
H A DrsCpuIntrinsics_x86.cpp304 const void *pin, int stride, const void *gptr,
331 pi += stride;
303 rsdIntrinsicBlurVFU4_K(void *dst, const void *pin, int stride, const void *gptr, int rct, int x1, int x2) argument
H A DrsCpuScript.cpp887 size_t stride = elem->getSizeBytes(); local
891 cVal += stride;
898 oldVal += stride;
/frameworks/rs/driver/
H A DrsdAllocation.cpp89 ptr += zoff * alloc->mHal.drvState.lod[lod].dimY * alloc->mHal.drvState.lod[lod].stride;
90 ptr += yoff * alloc->mHal.drvState.lod[lod].stride;
270 state->lod[2].stride = rsRound(state->lod[0].stride >> 1, 16);
272 (state->lod[0].stride * state->lod[0].dimY);
273 uvSize += state->lod[2].stride * state->lod[2].dimY;
275 state->lod[1].stride = state->lod[2].stride;
277 (state->lod[2].stride * state->lod[2].dimY);
278 uvSize += state->lod[1].stride * stat
303 size_t stride = alloc->mHal.drvState.lod[0].dimX * type->getElementSizeBytes(); local
613 size_t stride = alloc->mHal.state.elementSizeBytes; local
836 rsdAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
898 rsdAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
949 rsdAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
978 rsdAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
[all...]
H A DrsdMeshObj.cpp106 uint32_t stride = elem->mHal.state.elementSizeBytes; local
118 mAttribs[userNum].stride = stride;
H A DrsdRuntimeStubs.cpp510 const uint32_t stride = a->mHal.drvState.lod[0].stride; local
512 return &p[(x * eSize) + (y * stride) + (z * stride * dimY)];
H A DrsdVertexArray.cpp47 stride = 0;
53 void RsdVertexArray::Attrib::set(uint32_t type, uint32_t size, uint32_t stride, argument
61 this->stride = stride;
69 ALOGV("va %i: slot=%i name=%s buf=%i ptr=%p size=%i type=0x%x stride=0x%x norm=%i offset=0x%p",
76 mAttribs[idx].stride,
113 mAttribs[ct].stride,
H A DrsdVertexArray.h42 uint32_t stride; member in class:RsdVertexArray::Attrib
48 void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, size_t offset, const char *name);
/frameworks/rs/driver/runtime/
H A Drs_allocation.c70 const uint32_t stride = (uint32_t)alloc->mHal.drvState.lod[0].stride; local
72 uint8_t *dp = &p[(sizeOf * x) + (y * stride) +
73 (z * stride * dimY)];
82 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local
85 uint8_t *dp = &p[(sizeOf * x) + (y * stride) +
86 (z * stride * dimY)];
266 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local
275 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local
292 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local
301 const uint32_t stride = alloc->mHal.drvState.lod[0].stride; local
384 const size_t stride = alloc->mHal.drvState.lod[1].stride; local
398 const size_t stride = alloc->mHal.drvState.lod[2].stride; local
[all...]
H A Drs_sample.c84 getElementAt1(const uint8_t *p, size_t stride, int32_t x, int32_t y) { argument
85 p += y * stride;
91 getElementAt2(const uint8_t *p, size_t stride, int32_t x, int32_t y) { argument
92 p += y * stride;
99 getElementAt3(const uint8_t *p, size_t stride, int32_t x, int32_t y) { argument
100 p += y * stride;
107 getElementAt4(const uint8_t *p, size_t stride, int32_t x, int32_t y) { argument
108 p += y * stride;
115 getElementAt565(const uint8_t *p, size_t stride, int32_t x, int32_t y) { argument
116 p += y * stride;
188 getSample_A(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
201 getSample_L(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
214 getSample_LA(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
227 getSample_RGB(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
240 getSample_RGBA(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
252 getSample_565(const uint8_t *p, size_t stride, int locX, int locY, int nextX, int nextY, float w0, float w1, float w2, float w3) argument
323 size_t stride = alloc->mHal.drvState.lod[lod].stride; local
389 size_t stride = alloc->mHal.drvState.lod[lod].stride; local
[all...]
H A Drs_structs.h65 size_t stride; member in struct:Allocation::__anon1998::DrvState::LodState
/frameworks/rs/
H A DrsAllocation.cpp173 uint32_t z, uint32_t array, size_t *stride) {
188 if ((stride != nullptr) && mHal.drvState.lod[0].dimY) {
189 *stride = mHal.drvState.lod[lod].stride;
213 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) {
214 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes, stride);
220 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) {
221 rsc->mHal.funcs.allocation.data3D(rsc, this, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
243 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) {
246 if (!stride) {
172 getPointer(const Context *rsc, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride) argument
212 data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
218 data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
242 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
261 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
631 size_t stride = 0; local
701 rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
707 rsi_Allocation3DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
888 rsi_AllocationGetPointer(Context *rsc, RsAllocation valloc, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride, size_t strideLen) argument
909 rsi_Allocation2DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
916 rsi_Allocation3DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
[all...]
H A DrsAllocation.h87 size_t stride; member in struct:android::renderscript::Allocation::Hal::DrvState::LodState
134 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride);
136 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride);
140 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride);
142 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride);
192 uint32_t z, uint32_t array, size_t *stride);
201 p += y * mHal.drvState.lod[lod].stride;
202 p += z * mHal.drvState.lod[lod].stride * mHal.drvState.lod[lod].dimY;
H A DrsApiStubs.cpp397 uint32_t z, uint32_t array, size_t * stride, size_t stride_length)
399 return RS_DISPATCH(ctxWrapper, AllocationGetPointer, va, lod, face, z, array, stride, stride_length);
422 const void * data, size_t data_length, size_t stride)
424 RS_DISPATCH(ctxWrapper, Allocation2DData, va, xoff, yoff, lod, face, w, h, data, data_length, stride);
429 const void * data, size_t data_length, size_t stride)
431 RS_DISPATCH(ctxWrapper, Allocation3DData, va, xoff, yoff, zoff, lod, w, h, d, data, data_length, stride);
458 void * data, size_t data_length, size_t stride)
460 RS_DISPATCH(ctxWrapper, Allocation2DRead, va, xoff, yoff, lod, face, w, h, data, data_length, stride);
465 void * data, size_t data_length, size_t stride)
467 RS_DISPATCH(ctxWrapper, Allocation3DRead, va, xoff, yoff, zoff, lod, w, h, d, data, data_length, stride);
396 rsAllocationGetPointer(RsContext ctxWrapper, RsAllocation va, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t * stride, size_t stride_length) argument
420 rsAllocation2DData(RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void * data, size_t data_length, size_t stride) argument
427 rsAllocation3DData(RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void * data, size_t data_length, size_t stride) argument
456 rsAllocation2DRead(RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void * data, size_t data_length, size_t stride) argument
463 rsAllocation3DRead(RsContext ctxWrapper, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void * data, size_t data_length, size_t stride) argument
[all...]
H A DrsHidlAdaptation.cpp590 uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride)
597 GetIContextHandle(context)->allocation2DWrite(_allocation, xoff, yoff, lod, (AllocationCubemapFace)face, w, h, _data, stride);
601 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride)
608 GetIContextHandle(context)->allocation3DWrite(_allocation, xoff, yoff, zoff, lod, w, h, d, _data, stride);
643 uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride)
647 GetIContextHandle(context)->allocation2DRead(_allocation, xoff, yoff, lod, (AllocationCubemapFace)face, w, h, data, sizeBytes, stride);
651 uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride)
655 GetIContextHandle(context)->allocation3DRead(_allocation, xoff, yoff, zoff, lod, w, h, d, data, sizeBytes, stride);
1047 uint32_t z, uint32_t array, size_t *stride, size_t strideLen)
1054 [&ptr, stride] (voi
588 Allocation2DData(RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
600 Allocation3DData(RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
641 Allocation2DRead(RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
650 Allocation3DRead(RsContext context, RsAllocation allocation, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
1045 AllocationGetPointer(RsContext context, RsAllocation allocation, uint32_t lod, RsAllocationCubemapFace face, uint32_t z, uint32_t array, size_t *stride, size_t strideLen) argument
[all...]
H A DrsMesh.cpp218 uint32_t stride = 0; local
221 // First we need to find the position ptr and stride
229 stride = bufferElem->getSizeBytes() / sizeof(float);
258 posPtr += stride;
H A DrsType.cpp324 uint32_t stride = e->getSizeBytes(); local
326 p += stride * startOff;
330 p += stride;
341 uint32_t stride = e->getSizeBytes(); local
343 p += stride * startOff;
347 p += stride;
/frameworks/rs/rsov/compiler/
H A DWrapper.cpp42 const size_t stride = m->getSize(elementType); local
43 ArrTy->decorate(Decoration::ArrayStride)->addExtraOperand(stride);
/frameworks/rs/rsov/driver/
H A DrsovAllocation.cpp54 state->lod[2].stride = rsRound(state->lod[0].stride >> 1, 16);
56 (state->lod[0].stride * state->lod[0].dimY);
57 uvSize += state->lod[2].stride * state->lod[2].dimY;
59 state->lod[1].stride = state->lod[2].stride;
61 (state->lod[2].stride * state->lod[2].dimY);
62 uvSize += state->lod[1].stride * state->lod[2].dimY;
66 state->lod[1].stride = state->lod[0].stride;
90 size_t stride = local
338 rsovAllocationData2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes, size_t stride) argument
390 rsovAllocationData3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes, size_t stride) argument
431 rsovAllocationRead2D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes, size_t stride) argument
460 rsovAllocationRead3D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes, size_t stride) argument
[all...]
H A DrsovRuntimeStubs.cpp482 const uint32_t stride = a->mHal.drvState.lod[0].stride; local
484 return &p[(x * eSize) + (y * stride) + (z * stride * dimY)];

Completed in 327 milliseconds

12345