Home
last modified time | relevance | path

Searched refs:stride (Results 1 – 25 of 383) sorted by relevance

12345678910>>...16

/frameworks/native/opengl/libs/GLES_CM/
Dgl.cpp38 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
40 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride,
43 GLsizei stride, const GLvoid *pointer, GLsizei count);
45 GLsizei stride, const GLvoid *pointer, GLsizei count);
47 GLsizei stride, const GLvoid *pointer, GLsizei count);
49 GLsizei stride, const GLvoid *pointer, GLsizei count);
51 GLsizei stride, const GLvoid *pointer, GLsizei count);
54 void glColorPointerBounds(GLint size, GLenum type, GLsizei stride, in glColorPointerBounds() argument
56 glColorPointer(size, type, stride, ptr); in glColorPointerBounds()
58 void glNormalPointerBounds(GLenum type, GLsizei stride, in glNormalPointerBounds() argument
[all …]
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp90 width = (buffer->width + buffer->stride * (buffer->height - 1)) * 4; in Image_getBlobSize()
152 rStride = buffer->stride; in getLockedImageInfo()
153 dataSize = buffer->stride * (buffer->height - 1) + buffer->width; in getLockedImageInfo()
163 cr = buffer->data + (buffer->stride * buffer->height); in getLockedImageInfo()
182 LOG_ALWAYS_FATAL_IF(buffer->stride % 16, in getLockedImageInfo()
183 "Stride is not 16 pixel aligned %d", buffer->stride); in getLockedImageInfo()
185 ySize = buffer->stride * buffer->height; in getLockedImageInfo()
186 cStride = ALIGN(buffer->stride / 2, 16); in getLockedImageInfo()
199 rStride = (idx == 0) ? buffer->stride : ALIGN(buffer->stride / 2, 16); in getLockedImageInfo()
206 dataSize = buffer->stride * buffer->height; in getLockedImageInfo()
[all …]
/frameworks/rs/tests/cpp_api/cppstrided/
Dcompute.cpp10 uint32_t stride = 1025; in main() local
18 stride = (uint32_t) tempStride; in main()
40 uint32_t* buf = (uint32_t*) malloc(stride * numElems * sizeof(uint32_t)); in main()
48 *(buf+(stride*i)+ct) = (uint32_t)ct + (i * numElems); in main()
52 ain->copy2DStridedFrom(buf, stride * sizeof(uint32_t)); in main()
56 aout->copy2DStridedTo(buf, stride * sizeof(uint32_t)); in main()
60 if (*(buf+(stride*i)+ct) != (uint32_t)(ct + (i * numElems)) * 2) { in main()
61 printf("Mismatch at location %d, %d: %u\n", i, ct, *(buf+(stride*i)+ct)); in main()
67 printf("Test successful with %u stride!\n", stride); in main()
/frameworks/av/media/ndk/
DNdkImage.cpp320 *rowStride = (planeIdx == 0) ? mLockedBuffer->stride in getPlaneRowStride()
327 if (mLockedBuffer->stride % 16) { in getPlaneRowStride()
328 ALOGE("Stride %d is not 16 pixel aligned!", mLockedBuffer->stride); in getPlaneRowStride()
331 *rowStride = (planeIdx == 0) ? mLockedBuffer->stride in getPlaneRowStride()
332 : ALIGN(mLockedBuffer->stride / 2, 16); in getPlaneRowStride()
337 *rowStride = mLockedBuffer->stride; in getPlaneRowStride()
340 if (mLockedBuffer->stride % 16) { in getPlaneRowStride()
342 mLockedBuffer->stride); in getPlaneRowStride()
345 *rowStride = mLockedBuffer->stride; in getPlaneRowStride()
352 if (mLockedBuffer->stride % 16) { in getPlaneRowStride()
[all …]
/frameworks/rs/driver/runtime/
Drs_sample.c84 getElementAt1(const uint8_t *p, size_t stride, int32_t x, int32_t y) { in getElementAt1() argument
85 p += y * stride; in getElementAt1()
91 getElementAt2(const uint8_t *p, size_t stride, int32_t x, int32_t y) { in getElementAt2() argument
92 p += y * stride; in getElementAt2()
99 getElementAt3(const uint8_t *p, size_t stride, int32_t x, int32_t y) { in getElementAt3() argument
100 p += y * stride; in getElementAt3()
107 getElementAt4(const uint8_t *p, size_t stride, int32_t x, int32_t y) { in getElementAt4() argument
108 p += y * stride; in getElementAt4()
115 getElementAt565(const uint8_t *p, size_t stride, int32_t x, int32_t y) { in getElementAt565() argument
116 p += y * stride; in getElementAt565()
[all …]
/frameworks/native/libs/vr/libbufferhub/
Dion_buffer.cpp27 uint32_t stride, uint32_t format, uint64_t usage) in IonBuffer() argument
28 : IonBuffer(handle, width, height, kDefaultGraphicBufferLayerCount, stride, in IonBuffer()
32 uint32_t layer_count, uint32_t stride, uint32_t format, in IonBuffer() argument
38 handle, width, height, layer_count, stride, format, usage); in IonBuffer()
40 Import(handle, width, height, layer_count, stride, format, usage); in IonBuffer()
48 handle(), width(), height(), stride(), format(), usage()); in ~IonBuffer()
92 uint32_t layer_count, uint32_t stride, uint32_t format, in Reset() argument
97 handle, width, height, layer_count, stride, format, usage); in Reset()
98 Import(handle, width, height, layer_count, stride, format, usage); in Reset()
102 uint32_t layer_count, uint32_t stride, uint32_t format, in Import() argument
[all …]
/frameworks/ml/nn/runtime/test/generated/models/
Dmax_pool_quant8_3.model.cpp10 auto stride = model->addOperand(&type1); in CreateModel() local
18 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
23 …NEURALNETWORKS_MAX_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel()
43 auto stride = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
51 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
56 …NEURALNETWORKS_MAX_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel_dynamic_output_shape()
Dmax_pool_quant8_2.model.cpp10 auto stride = model->addOperand(&type1); in CreateModel() local
18 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
23 …NEURALNETWORKS_MAX_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel()
43 auto stride = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
51 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
56 …NEURALNETWORKS_MAX_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel_dynamic_output_shape()
Davg_pool_quant8_2.model.cpp10 auto stride = model->addOperand(&type1); in CreateModel() local
18 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
23 …ALNETWORKS_AVERAGE_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel()
43 auto stride = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
51 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
56 …ALNETWORKS_AVERAGE_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel_dynamic_output_shape()
Dmax_pool_float_2.model.cpp10 auto stride = model->addOperand(&type1); in CreateModel() local
18 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
23 …NEURALNETWORKS_MAX_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel()
43 auto stride = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
51 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
56 …NEURALNETWORKS_MAX_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel_dynamic_output_shape()
Davg_pool_quant8_3.model.cpp10 auto stride = model->addOperand(&type1); in CreateModel() local
18 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
23 …ALNETWORKS_AVERAGE_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel()
43 auto stride = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
51 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
56 …ALNETWORKS_AVERAGE_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel_dynamic_output_shape()
Dmax_pool_float_3.model.cpp10 auto stride = model->addOperand(&type1); in CreateModel() local
18 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
23 …NEURALNETWORKS_MAX_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel()
43 auto stride = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
51 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
56 …NEURALNETWORKS_MAX_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel_dynamic_output_shape()
Davg_pool_float_2.model.cpp10 auto stride = model->addOperand(&type1); in CreateModel() local
18 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
23 …ALNETWORKS_AVERAGE_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel()
43 auto stride = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
51 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
56 …ALNETWORKS_AVERAGE_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel_dynamic_output_shape()
Davg_pool_float_4.model.cpp10 auto stride = model->addOperand(&type1); in CreateModel() local
18 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
23 …ALNETWORKS_AVERAGE_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel()
43 auto stride = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
51 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
56 …ALNETWORKS_AVERAGE_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel_dynamic_output_shape()
Davg_pool_float_3.model.cpp10 auto stride = model->addOperand(&type1); in CreateModel() local
18 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
23 …ALNETWORKS_AVERAGE_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel()
43 auto stride = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
51 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
56 …ALNETWORKS_AVERAGE_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel_dynamic_output_shape()
Dconv_float_large_weights_as_inputs_relaxed.model.cpp13 auto stride = model->addOperand(&type3); in CreateModel() local
20 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
23 …tion(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, stride, act}, {op4}); in CreateModel()
49 auto stride = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local
56 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
59 …tion(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, stride, act}, {op4}); in CreateModel_dynamic_output_shape()
Dconv_quant8_weights_as_inputs.model.cpp14 auto stride = model->addOperand(&type3); in CreateModel() local
21 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
24 …tion(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, stride, act}, {op4}); in CreateModel()
48 auto stride = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local
55 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
58 …tion(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, stride, act}, {op4}); in CreateModel_dynamic_output_shape()
Dmax_pool_float_3_relaxed.model.cpp10 auto stride = model->addOperand(&type1); in CreateModel() local
18 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
23 …NEURALNETWORKS_MAX_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel()
45 auto stride = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
53 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
58 …NEURALNETWORKS_MAX_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel_dynamic_output_shape()
Davg_pool_float_3_relaxed.model.cpp10 auto stride = model->addOperand(&type1); in CreateModel() local
18 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
23 …ALNETWORKS_AVERAGE_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel()
45 auto stride = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
53 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
58 …ALNETWORKS_AVERAGE_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel_dynamic_output_shape()
Dconv_quant8_channels_weights_as_inputs.model.cpp14 auto stride = model->addOperand(&type3); in CreateModel() local
21 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
24 …tion(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, stride, act}, {op4}); in CreateModel()
48 auto stride = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local
55 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
58 …tion(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, stride, act}, {op4}); in CreateModel_dynamic_output_shape()
Davg_pool_float_2_relaxed.model.cpp10 auto stride = model->addOperand(&type1); in CreateModel() local
18 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
23 …ALNETWORKS_AVERAGE_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel()
45 auto stride = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
53 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
58 …ALNETWORKS_AVERAGE_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel_dynamic_output_shape()
Dconv_float_channels_weights_as_inputs.model.cpp13 auto stride = model->addOperand(&type3); in CreateModel() local
20 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
23 …tion(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, stride, act}, {op4}); in CreateModel()
47 auto stride = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local
54 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
57 …tion(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, stride, act}, {op4}); in CreateModel_dynamic_output_shape()
Dconv_float_weights_as_inputs_relaxed.model.cpp13 auto stride = model->addOperand(&type3); in CreateModel() local
20 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
23 …tion(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, stride, act}, {op4}); in CreateModel()
49 auto stride = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local
56 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
59 …tion(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, stride, act}, {op4}); in CreateModel_dynamic_output_shape()
Dconv_quant8_large_weights_as_inputs.model.cpp14 auto stride = model->addOperand(&type3); in CreateModel() local
21 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
24 …tion(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, stride, act}, {op4}); in CreateModel()
48 auto stride = model->addOperand(&type3); in CreateModel_dynamic_output_shape() local
55 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
58 …tion(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, stride, act}, {op4}); in CreateModel_dynamic_output_shape()
Davg_pool_float_4_relaxed.model.cpp10 auto stride = model->addOperand(&type1); in CreateModel() local
18 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel()
23 …ALNETWORKS_AVERAGE_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel()
45 auto stride = model->addOperand(&type1); in CreateModel_dynamic_output_shape() local
53 model->setOperandValue(stride, stride_init, sizeof(int32_t) * 1); in CreateModel_dynamic_output_shape()
58 …ALNETWORKS_AVERAGE_POOL_2D, {i0, padding, padding, padding, padding, stride, stride, filter, filte… in CreateModel_dynamic_output_shape()

12345678910>>...16