Searched refs:stride (Results 76 - 100 of 207) sorted by relevance

123456789

/frameworks/native/vulkan/include/vulkan/
H A Dvk_android_native_buffer.h58 // Buffer handle and stride returned from gralloc alloc()
60 int stride; member in struct:__anon1922
/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.cpp152 GLsizei stride, GLsizei bpp, GLsizei width, GLsizei height, const GLvoid * data) {
154 const bool useStride = stride != width
156 if ((stride == width) || useStride) {
158 glPixelStorei(GL_UNPACK_ROW_LENGTH, stride);
172 // if the stride doesn't match the width
182 pSrc += stride * bpp;
151 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.cpp393 depth.stride = depth.width; // use the width here
394 uint64_t allocSize = static_cast<uint64_t>(depth.stride) *
396 if (depth.stride < 0 || depth.height > INT_MAX ||
463 const size_t dbpr = dst->stride * bpp;
464 const size_t sbpr = src->stride * bpp;
475 uint8_t const * s = src_bits + (r.left + src->stride * r.top) * bpp;
476 uint8_t * d = dst_bits + (r.left + dst->stride * r.top) * bpp;
547 depth.stride = buffer->stride;
548 uint64_t allocSize = static_cast<uint64_t>(depth.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/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java250 /*package*/ static Bitmap nativeCreate(int[] colors, int offset, int stride, int width, argument
258 image.setRGB(0, 0, width, height, colors, offset, stride);
413 int stride, int x, int y, int width, int height) {
419 delegate.getImage().getRGB(x, y, width, height, pixels, offset, stride);
435 int stride, int x, int y, int width, int height) {
441 delegate.getImage().setRGB(x, y, width, height, colors, offset, stride);
412 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
434 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.cpp164 size_t srcYStride = mImg->stride[VPX_PLANE_Y];
165 size_t srcUStride = mImg->stride[VPX_PLANE_U];
166 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/av/media/libstagefright/codecs/mpeg2dec/
H A DSoftMPEG2.h116 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/libs/nativewindow/include/vndk/
H A Dwindow.h88 int stride; member in struct:ANativeWindowBuffer
/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_composer_client.cpp105 .stride = read(),
/frameworks/rs/driver/runtime/
H A Drs_structs.h65 size_t stride; member in struct:Allocation::__anon1998::DrvState::LodState
/frameworks/base/libs/hwui/tests/unit/
H A DGlopBuilderTests.cpp70 EXPECT_EQ(expectedMesh.vertices.stride, builtMesh.vertices.stride);
/frameworks/base/tools/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

Completed in 1427 milliseconds

123456789