Searched refs:stride (Results 201 - 225 of 337) sorted by relevance

1234567891011>>

/frameworks/rs/rsov/driver/
H A DrsovAllocation.h98 size_t stride);
105 size_t stride);
117 size_t stride);
124 size_t stride);
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.h248 // offset and stride to select the correct data portion.
253 // stride: The delta of one element to the next in bytes.
262 int stride,
277 int stride,
414 int stride; member in struct:android::filterfw::ShaderProgram::VertexAttrib
H A Dshader_program.cpp60 stride(0),
948 int stride,
960 attrib.stride = stride;
974 int stride,
986 attrib.stride = stride;
1026 attrib.stride = components * sizeof(float);
1076 attrib.stride,
1086 attrib.stride,
944 SetAttributeValues(ProgramVar var, const VertexFrame* vbo, GLenum type, int components, int stride, int offset, bool normalize) argument
970 SetAttributeValues(ProgramVar var, const uint8_t* data, GLenum type, int components, int stride, int offset, bool normalize) argument
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicYuvToRGB.cpp112 size_t strideY = cp->alloc->mHal.drvState.lod[0].stride;
114 // calculate correct stride in legacy case
127 const size_t strideU = cp->alloc->mHal.drvState.lod[1].stride;
131 const size_t strideV = cp->alloc->mHal.drvState.lod[2].stride;
H A DrsCpuScriptGroup.cpp76 sl->ins[ct]->mHal.drvState.lod[0].stride * kinfo->current.y);
81 sl->ins[ct]->mHal.drvState.lod[0].stride * kinfo->lid);
101 sl->outs[ct]->mHal.drvState.lod[0].stride * kinfo->current.y;
106 sl->outs[ct]->mHal.drvState.lod[0].stride * kinfo->lid;
/frameworks/rs/driver/
H A DrsdMeshObj.cpp106 uint32_t stride = elem->mHal.state.elementSizeBytes; local
118 mAttribs[userNum].stride = stride;
/frameworks/base/libs/hwui/
H A DTexture.cpp151 GLsizei stride, GLsizei bpp, GLsizei width, GLsizei height,
154 stride != width && Caches::getInstance().extensions().hasUnpackRowLength();
155 if ((stride == width) || useStride) {
157 glPixelStorei(GL_UNPACK_ROW_LENGTH, stride);
171 // if the stride doesn't match the width
181 pSrc += stride * bpp;
150 uploadToTexture(bool resize, GLint internalFormat, GLenum format, GLenum type, GLsizei stride, GLsizei bpp, GLsizei width, GLsizei height, const GLvoid* data) argument
/frameworks/native/opengl/libagl/
H A Degl.cpp65 int32_t stride; member in struct:egl_native_pixmap_t
413 depth.stride = depth.width; // use the width here
414 uint64_t allocSize = static_cast<uint64_t>(depth.stride) *
416 if (depth.stride < 0 || depth.height > INT_MAX ||
483 const size_t dbpr = dst->stride * bpp;
484 const size_t sbpr = src->stride * bpp;
495 uint8_t const * s = src_bits + (r.left + src->stride * r.top) * bpp;
496 uint8_t * d = dst_bits + (r.left + dst->stride * r.top) * bpp;
567 depth.stride = buffer->stride;
[all...]
/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/
H A Drs.spec173 param size_t *stride
212 param size_t stride
225 param size_t stride
264 param size_t stride
277 param size_t 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;
H A DrsGrallocConsumer.cpp143 ALOGE("%s: get row stride for image %p failed! ret: %d, rowstride %d",
159 mAlloc[idx]->mHal.drvState.lod[0].stride = rowstride;
191 ALOGE("%s: get U row stride for image %p failed! ret: %d, uRowStride %d",
199 ALOGE("%s: get V row stride for image %p failed! ret: %d, vRowStride %d",
207 ALOGE("%s: get U pixel stride for image %p failed! ret: %d, uPixStride %d",
220 mAlloc[idx]->mHal.drvState.lod[1].stride = uRowStride;
221 mAlloc[idx]->mHal.drvState.lod[2].stride = vRowStride;
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;
/frameworks/av/media/libaudioprocessing/tests/
H A Dresampler_tests.cpp47 const size_t stride = 8; local
49 for (size_t j = 0; j < stride && i < size; ++j) {
166 double signalEnergy(T *start, T *end, unsigned stride) argument
170 for (T *p = start; p < end; p += stride) {
173 unsigned count = (end - start + stride - 1) / stride;
/frameworks/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java250 /*package*/ static Bitmap nativeCreate(int[] colors, int offset, int stride, int width, argument
259 image.setRGB(0, 0, width, height, colors, offset, stride);
414 int stride, int x, int y, int width, int height) {
420 delegate.getImage().getRGB(x, y, width, height, pixels, offset, stride);
436 int stride, int x, int y, int width, int height) {
442 delegate.getImage().setRGB(x, y, width, height, colors, offset, stride);
413 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
435 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
/frameworks/av/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp176 size_t srcYStride = mImg->stride[VPX_PLANE_Y];
177 size_t srcUStride = mImg->stride[VPX_PLANE_U];
178 size_t srcVStride = mImg->stride[VPX_PLANE_V];
/frameworks/av/media/libstagefright/codecs/avcdec/
H A DSoftAVCDec.h99 status_t setParams(size_t stride);
/frameworks/native/cmds/surfacereplayer/replayer/
H A DBufferQueueScheduler.cpp96 uint8_t* pixel = img + (4 * (y * outBuffer.stride + x));
/frameworks/native/libs/gui/tests/
H A DMultiTextureConsumer_test.cpp109 memset(buffer.bits, (i&7) * 0x20, buffer.stride * buffer.height * 4);
/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_composer_client.cpp110 .stride = read(),
/frameworks/rs/driver/runtime/
H A Drs_structs.h65 size_t stride; member in struct:Allocation::__anon1990::DrvState::LodState
/frameworks/base/libs/hwui/tests/unit/
H A DGlopBuilderTests.cpp69 EXPECT_EQ(expectedMesh.vertices.stride, builtMesh.vertices.stride);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java229 public void drawBitmap(int[] colors, int offset, int stride, float x, float y, int width, argument
234 public void drawBitmap(int[] colors, int offset, int stride, int x, int y, int width, argument
/frameworks/native/libs/gui/
H A DCpuConsumer.cpp112 outBuffer->stride = static_cast<uint32_t>(ycbcr.ystride);
129 outBuffer->stride = item.mGraphicBuffer->getStride();
/frameworks/native/libs/ui/
H A DGraphicBufferMapper.cpp56 PixelFormat format, uint64_t usage, uint32_t stride,
76 error = mMapper->validateBufferSize(bufferHandle, info, stride);
54 importBuffer(buffer_handle_t rawHandle, uint32_t width, uint32_t height, uint32_t layerCount, PixelFormat format, uint64_t usage, uint32_t stride, buffer_handle_t* outHandle) argument

Completed in 1825 milliseconds

1234567891011>>