Searched defs:stride (Results 26 - 50 of 118) sorted by relevance

12345

/frameworks/native/opengl/libagl/
H A Dmipmap.cpp52 int stride = w; local
53 int bs = base->stride;
74 dst[x + y*stride] = rgb;
94 dst[x + y*stride] = (r<<11)|(g<<6)|(b<<1)|a;
121 dst[x + y*stride] = rgba;
140 stride *= skip;
149 dst[x + y*stride + c] = (p00 + p10 + p01 + p11) >> 2;
172 dst[x + y*stride] = rgba;
/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/av/media/libaudioprocessing/tests/
H A Dresampler_tests.cpp44 const size_t stride = 8; local
46 for (size_t j = 0; j < stride && i < size; ++j) {
163 double signalEnergy(T *start, T *end, unsigned stride) argument
167 for (T *p = start; p < end; p += stride) {
170 unsigned count = (end - start + stride - 1) / stride;
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfRenderer.cpp88 const int stride = skBitmap.width() * 4; local
91 FPDFBitmap_BGRA, skBitmap.getPixels(), stride);
/frameworks/base/libs/hwui/
H A DGlop.h109 GLsizei stride; member in struct:android::uirenderer::Glop::Mesh::Vertices
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/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
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11Ext.java128 int stride,
135 int stride,
142 int stride,
149 int stride,
125 glMatrixIndexPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument
132 glMatrixIndexPointerOES( int size, int type, int stride, int offset ) argument
139 glWeightPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument
146 glWeightPointerOES( int size, int type, int stride, int offset ) argument
/frameworks/base/tools/aapt2/flatten/
H A DTableFlattener_test.cpp255 int stride = static_cast<int>(1.0f / load); local
267 if (i % stride == 0) {
/frameworks/native/include/ui/
H A DGraphicBuffer.h123 uint64_t usage, uint32_t stride);
129 uint32_t usage, uint32_t stride)
131 static_cast<uint64_t>(usage), stride) {}
143 uint32_t getStride() const { return static_cast<uint32_t>(stride); }
226 uint64_t usage, uint32_t stride);
126 GraphicBuffer(const native_handle_t* handle, HandleWrapMethod method, uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount, uint32_t usage, uint32_t stride) argument
/frameworks/native/libs/nativewindow/include/android/
H A Dhardware_buffer.h145 uint32_t stride; // Stride in pixels, ignored for AHardwareBuffer_allocate() member in struct:AHardwareBuffer_Desc
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
H A Dnative_buffer.h32 ANativeWindowBuffer::stride = buffer->stride(); member in class:android::dvr::NativeBuffer::ANativeWindowBuffer
71 ANativeWindowBuffer::stride = buffer_->stride(); member in class:android::dvr::NativeBufferProducer::ANativeWindowBuffer
135 ANativeWindowBuffer::stride = buffer_->stride(); member in class:android::dvr::NativeBufferConsumer::ANativeWindowBuffer
/frameworks/rs/cpu_ref/
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 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 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...]
/frameworks/rs/
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;
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;
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtransform.c440 Word16 stride) /*!< Stride of input vector */
447 absVal = abs_s(vector[i*stride]);
438 getScalefactorOfShortVectorStride(const Word16 *vector, Word16 len, Word16 stride) argument
/frameworks/base/media/mca/filterfw/jni/
H A Djni_shader_program.cpp294 jint stride,
312 stride,
287 Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame( JNIEnv* env, jobject thiz, jstring attr_name, jobject vertex_frame, jint type, jint component_count, jint stride, jint offset, jboolean normalize) argument
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp52 stride =
90 uint32_t stride)
94 layerCount, usage, stride);
180 stride = static_cast<int>(outStride);
188 uint32_t stride)
192 ANativeWindowBuffer::stride = static_cast<int>(stride); member in class:android::ANativeWindowBuffer
345 buf[3] = stride;
390 width = height = stride = format = layerCount = usage = 0;
411 stride
86 GraphicBuffer(const native_handle_t* handle, HandleWrapMethod method, uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount, uint64_t usage, uint32_t stride) argument
185 initWithHandle(const native_handle_t* handle, HandleWrapMethod method, uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount, uint64_t usage, uint32_t stride) argument
[all...]
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A Dcommon.cpp23 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
25 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride,
28 GLsizei stride, const GLvoid *pointer, GLsizei count);
30 GLsizei stride, const GLvoid *pointer, GLsizei count);
32 GLsizei stride, const GLvoid *pointer, GLsizei count);
34 GLsizei stride, const GLvoid *pointer, GLsizei count);
36 GLsizei stride, const GLvoid *pointer, GLsizei count);
40 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) {
41 glVertexAttribPointer(indx, size, type, normalized, stride, pointer);
46 GLsizei stride, cons
39 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
45 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
[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/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...]

Completed in 316 milliseconds

12345