Home
last modified time | relevance | path

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

12345678910>>...27

/hardware/google/gfxstream/codegen/gles1/
Dgles1.addon1 GL_ENTRY(void, glVertexPointerOffset, GLint size, GLenum type, GLsizei stride, GLuint offset)
2 GL_ENTRY(void, glColorPointerOffset, GLint size, GLenum type, GLsizei stride, GLuint offset)
3 GL_ENTRY(void, glNormalPointerOffset, GLenum type, GLsizei stride, GLuint offset)
4 GL_ENTRY(void, glPointSizePointerOffset, GLenum type, GLsizei stride, GLuint offset)
5 GL_ENTRY(void, glTexCoordPointerOffset, GLint size, GLenum type, GLsizei stride, GLuint offset)
7 GL_ENTRY(void, glVertexPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint d…
8 GL_ENTRY(void, glColorPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint da…
9 GL_ENTRY(void, glNormalPointerData, GLenum type, GLsizei stride, void * data, GLuint datalen)
10 GL_ENTRY(void, glTexCoordPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint…
11 GL_ENTRY(void, glPointSizePointerData, GLenum type, GLsizei stride, void * data, GLuint datalen)
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c2682 int stride = 0, scanline = 0; in mm_stream_calc_offset_preview() local
2705 stride = PAD_TO_SIZE(dim->width, width_padding); in mm_stream_calc_offset_preview()
2709 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline); in mm_stream_calc_offset_preview()
2712 buf_planes->plane_info.mp[0].stride = stride; in mm_stream_calc_offset_preview()
2717 stride = PAD_TO_SIZE(dim->width, width_padding); in mm_stream_calc_offset_preview()
2721 (uint32_t)(stride * scanline); in mm_stream_calc_offset_preview()
2724 buf_planes->plane_info.mp[1].stride = stride; in mm_stream_calc_offset_preview()
2739 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_32); in mm_stream_calc_offset_preview()
2742 stride = PAD_TO_SIZE(dim->width, padding->width_padding); in mm_stream_calc_offset_preview()
2747 PAD_TO_SIZE((uint32_t)(stride * scanline), CAM_PAD_TO_4K); in mm_stream_calc_offset_preview()
[all …]
/hardware/google/gfxstream/host/gl/gles1_dec/
DGLESv1Decoder.h52 …ENTRY s_glVertexPointerData(void *self, GLint size, GLenum type, GLsizei stride, void *data, GLuin…
53 …IENTRY s_glVertexPointerOffset(void *self, GLint size, GLenum type, GLsizei stride, GLuint offset);
55 …IENTRY s_glColorPointerData(void *self, GLint size, GLenum type, GLsizei stride, void *data, GLuin…
56 …PIENTRY s_glColorPointerOffset(void *self, GLint size, GLenum type, GLsizei stride, GLuint offset);
58 …oordPointerData(void *self, GLint unit, GLint size, GLenum type, GLsizei stride, void *data, GLuin…
59 …NTRY s_glTexCoordPointerOffset(void *self, GLint size, GLenum type, GLsizei stride, GLuint offset);
61 …static void gles1_APIENTRY s_glNormalPointerData(void *self, GLenum type, GLsizei stride, void *da…
62 …static void gles1_APIENTRY s_glNormalPointerOffset(void *self, GLenum type, GLsizei stride, GLuint…
64 …static void gles1_APIENTRY s_glPointSizePointerData(void *self, GLenum type, GLsizei stride, void …
65 …static void gles1_APIENTRY s_glPointSizePointerOffset(void *self, GLenum type, GLsizei stride, GLu…
[all …]
DGLESv1Decoder.cpp145 void GLESv1Decoder::s_glVertexPointerOffset(void *self, GLint size, GLenum type, GLsizei stride, GL… in s_glVertexPointerOffset() argument
148 ctx->glVertexPointer(size, type, stride, SafePointerFromUInt(offset)); in s_glVertexPointerOffset()
151 void GLESv1Decoder::s_glColorPointerOffset(void *self, GLint size, GLenum type, GLsizei stride, GLu… in s_glColorPointerOffset() argument
154 ctx->glColorPointer(size, type, stride, SafePointerFromUInt(offset)); in s_glColorPointerOffset()
157 void GLESv1Decoder::s_glTexCoordPointerOffset(void *self, GLint size, GLenum type, GLsizei stride, … in s_glTexCoordPointerOffset() argument
160 ctx->glTexCoordPointer(size, type, stride, SafePointerFromUInt(offset)); in s_glTexCoordPointerOffset()
163 void GLESv1Decoder::s_glNormalPointerOffset(void *self, GLenum type, GLsizei stride, GLuint offset) in s_glNormalPointerOffset() argument
166 ctx->glNormalPointer(type, stride, SafePointerFromUInt(offset)); in s_glNormalPointerOffset()
169 void GLESv1Decoder::s_glPointSizePointerOffset(void *self, GLenum type, GLsizei stride, GLuint offs… in s_glPointSizePointerOffset() argument
172 ctx->glPointSizePointerOES(type, stride, SafePointerFromUInt(offset)); in s_glPointSizePointerOffset()
[all …]
/hardware/google/gfxstream/include/OpenGLESDispatch/
Dgles1_extensions_functions.h10 …IndexPointerARB, (GLint size, GLenum type, GLsizei stride, const GLvoid* pointer), (size, type, st…
11 …eightPointerARB, (GLint size, GLenum type, GLsizei stride, const GLvoid* pointer), (size, type, st…
18 …aSize, (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer, GLsizei dataSize), (size,…
19 …lPointerWithDataSize, (GLenum type, GLsizei stride, const GLvoid * pointer, GLsizei dataSize), (ty…
20 …aSize, (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer, GLsizei dataSize), (size,…
21 …aSize, (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer, GLsizei dataSize), (size,…
22 …X(void, glPointSizePointerOES, (GLenum type, GLsizei stride, const GLvoid * pointer), (type, strid…
51 …ndexPointerOES, (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer), (size, type, st…
52 …ightPointerOES, (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer), (size, type, st…
Dgles1_extensions_static_translator_namespaced_header.h10 GL_APICALL void GL_APIENTRY glMatrixIndexPointerARB(GLint size, GLenum type, GLsizei stride, const …
11 GL_APICALL void GL_APIENTRY glWeightPointerARB(GLint size, GLenum type, GLsizei stride, const GLvoi…
18 GL_APICALL void GL_APIENTRY glColorPointerWithDataSize(GLint size, GLenum type, GLsizei stride, con…
19 GL_APICALL void GL_APIENTRY glNormalPointerWithDataSize(GLenum type, GLsizei stride, const GLvoid *…
20 GL_APICALL void GL_APIENTRY glTexCoordPointerWithDataSize(GLint size, GLenum type, GLsizei stride, …
21 GL_APICALL void GL_APIENTRY glVertexPointerWithDataSize(GLint size, GLenum type, GLsizei stride, co…
22 GL_APICALL void GL_APIENTRY glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid * point…
51 GL_APICALL void GL_APIENTRY glMatrixIndexPointerOES(GLint size, GLenum type, GLsizei stride, const …
52 GL_APICALL void GL_APIENTRY glWeightPointerOES(GLint size, GLenum type, GLsizei stride, const GLvoi…
/hardware/interfaces/automotive/evs/1.0/vts/functional/
DFrameHandler.cpp232 tgtBuffer.stride); in copyBufferContents()
236 srcBuffer.stride); in copyBufferContents()
252 tgtPixels, tgtBuffer.stride); in copyBufferContents()
256 tgtPixels, tgtBuffer.stride); in copyBufferContents()
259 srcPixels, srcBuffer.stride, in copyBufferContents()
260 tgtPixels, tgtBuffer.stride); in copyBufferContents()
263 srcPixels, srcBuffer.stride, in copyBufferContents()
264 tgtPixels, tgtBuffer.stride, in copyBufferContents()
274 tgtPixels, tgtBuffer.stride); in copyBufferContents()
278 tgtPixels, tgtBuffer.stride); in copyBufferContents()
[all …]
/hardware/google/gfxstream/host/gl/OpenGLESDispatch/
Dgles1_extensions_dispatch_logging_wrappers.impl14 void glMatrixIndexPointerARB_dispatchLoggingWrapper(GLint size, GLenum type, GLsizei stride, const …
15 …DEBUG_LOG("glMatrixIndexPointerARB(size:%d, type:0x%X, stride:%d, pointer:%p)", size, type, stride
16 GLDispatch::glMatrixIndexPointerARB_underlying(size, type, stride, pointer);
19 void glWeightPointerARB_dispatchLoggingWrapper(GLint size, GLenum type, GLsizei stride, const GLvoi…
20 …ATCH_DEBUG_LOG("glWeightPointerARB(size:%d, type:0x%X, stride:%d, pointer:%p)", size, type, stride
21 GLDispatch::glWeightPointerARB_underlying(size, type, stride, pointer);
54 void glColorPointerWithDataSize_dispatchLoggingWrapper(GLint size, GLenum type, GLsizei stride, con…
55 …"glColorPointerWithDataSize(size:%d, type:0x%X, stride:%d, pointer:%p, dataSize:%d)", size, type,
56 GLDispatch::glColorPointerWithDataSize_underlying(size, type, stride, pointer, dataSize);
59 void glNormalPointerWithDataSize_dispatchLoggingWrapper(GLenum type, GLsizei stride, const GLvoid *…
[all …]
Dgles1_extensions.entries7 void glMatrixIndexPointerARB(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
8 void glWeightPointerARB(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
15 void glColorPointerWithDataSize(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLs…
16 void glNormalPointerWithDataSize(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei dataSi…
17 void glTexCoordPointerWithDataSize(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, …
18 void glVertexPointerWithDataSize(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GL…
19 void glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid *pointer);
48 void glMatrixIndexPointerOES(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer);
49 void glWeightPointerOES(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer);
/hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/
DGralloc0Hal.h82 uint32_t stride = 0; in allocateBuffers() local
97 if (stride == 0) { in allocateBuffers()
98 stride = tmpStride; in allocateBuffers()
99 } else if (stride != tmpStride) { in allocateBuffers()
111 *outStride = stride; in allocateBuffers()
134 int stride = 0; in allocateOneBuffer() local
136 info.usage, &buffer, &stride); in allocateOneBuffer()
140 *outStride = stride; in allocateOneBuffer()
/hardware/interfaces/automotive/evs/1.1/vts/functional/
DFrameHandler.cpp260 tgtBuffer.stride); in copyBufferContents()
268 pSrcDesc->stride); in copyBufferContents()
284 tgtPixels, tgtBuffer.stride); in copyBufferContents()
288 tgtPixels, tgtBuffer.stride); in copyBufferContents()
291 srcPixels, pSrcDesc->stride, in copyBufferContents()
292 tgtPixels, tgtBuffer.stride); in copyBufferContents()
295 srcPixels, pSrcDesc->stride, in copyBufferContents()
296 tgtPixels, tgtBuffer.stride, in copyBufferContents()
306 tgtPixels, tgtBuffer.stride); in copyBufferContents()
310 tgtPixels, tgtBuffer.stride); in copyBufferContents()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-lib2d-interface/test/
Dmm_lib2d_test.c113 int32_t stride; member
142 int height, int stride, char *fname) in lib2d_dump_tga() argument
162 pd[(i*stride>>2)+j] & 0xff, // b in lib2d_dump_tga()
163 (pd[(i*stride>>2)+j] >> 8) & 0xff, // g in lib2d_dump_tga()
164 (pd[(i*stride>>2)+j] >> 16) & 0xff, // r in lib2d_dump_tga()
165 (pd[(i*stride>>2)+j] >> 24) & 0xff); // a in lib2d_dump_tga()
332 int32_t stride = 0; in main() local
408 input_yuv_stride = input_nv21[index].stride; in main()
420 filename, filename_in, width, height, stride); in main()
447 stride = width * 4; in main()
[all …]
/hardware/interfaces/graphics/mapper/2.1/vts/functional/
DVtsHalGraphicsMapperV2_1TargetTest.cpp65 uint32_t stride; in TEST_P() local
66 ASSERT_NO_FATAL_FAILURE(bufferHandle = mGralloc->allocate(mDummyDescriptorInfo, true, &stride)); in TEST_P()
68 ASSERT_TRUE(mGralloc->validateBufferSize(bufferHandle, mDummyDescriptorInfo, stride)); in TEST_P()
111 uint32_t stride; in TEST_P() local
113 bufferHandle = const_cast<native_handle_t*>(mGralloc->allocate(info, true, &stride))); in TEST_P()
117 Error ret = mGralloc->getMapper()->validateBufferSize(bufferHandle, info, stride); in TEST_P()
123 ret = mGralloc->getMapper()->validateBufferSize(bufferHandle, info, stride); in TEST_P()
129 ret = mGralloc->getMapper()->validateBufferSize(bufferHandle, info, stride); in TEST_P()
135 ret = mGralloc->getMapper()->validateBufferSize(bufferHandle, info, stride); in TEST_P()
140 ret = mGralloc->getMapper()->validateBufferSize(bufferHandle, mDummyDescriptorInfo, stride * 2); in TEST_P()
/hardware/google/graphics/common/libscaler/
Dlibscaler-swscaler.h22 …nsigned int left, unsigned int top, unsigned int width, unsigned int height, unsigned int stride) { in SetSrcRect() argument
27 m_nSrcStride = stride; in SetSrcRect()
30 …nsigned int left, unsigned int top, unsigned int width, unsigned int height, unsigned int stride) { in SetDstRect() argument
35 m_nDstStride = stride; in SetDstRect()
/hardware/interfaces/automotive/evs/aidl/vts/
DFrameHandler.cpp284 static_cast<uint64_t>(pTgtDesc->usage), pTgtDesc->stride); in copyBufferContents()
290 static_cast<uint64_t>(pSrcDesc->usage), pSrcDesc->stride); in copyBufferContents()
305 Utils::copyNV21toRGB32(width, height, srcPixels, tgtPixels, pTgtDesc->stride); in copyBufferContents()
308 Utils::copyYV12toRGB32(width, height, srcPixels, tgtPixels, pTgtDesc->stride); in copyBufferContents()
311 Utils::copyYUYVtoRGB32(width, height, srcPixels, pSrcDesc->stride, tgtPixels, in copyBufferContents()
312 pTgtDesc->stride); in copyBufferContents()
314 Utils::copyMatchedInterleavedFormats(width, height, srcPixels, pSrcDesc->stride, in copyBufferContents()
315 tgtPixels, pTgtDesc->stride, in copyBufferContents()
325 Utils::copyNV21toBGR32(width, height, srcPixels, tgtPixels, pTgtDesc->stride); in copyBufferContents()
328 Utils::copyYV12toBGR32(width, height, srcPixels, tgtPixels, pTgtDesc->stride); in copyBufferContents()
[all …]
/hardware/qcom/display/msm8960/libgralloc/
Dalloc_controller.cpp107 int stride = ALIGN(width, 32); in getStride() local
127 stride = LINK_adreno_compute_padding(stride, bpp, in getStride()
135 stride = ALIGN(width, 32); in getStride()
138 stride = ALIGN(width, 128); in getStride()
148 stride = ALIGN(width, 16); in getStride()
151 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width); in getStride()
154 stride = width; in getStride()
159 return stride; in getStride()
/hardware/qcom/sm7250/display/gralloc/
DQtiAllocator.cpp107 uint32_t stride = 0; in allocate() local
110 stride = static_cast<uint32_t>(PRIV_HANDLE_CONST(buffers[0].getNativeHandle())->width); in allocate()
113 hidl_cb(static_cast<IMapper_3_0_Error>(err), stride, hidl_buffers); in allocate()
174 uint32_t stride = 0; in allocate() local
177 stride = static_cast<uint32_t>(PRIV_HANDLE_CONST(buffers[0].getNativeHandle())->width); in allocate()
180 hidl_cb(static_cast<IMapper_4_0_Error>(err), stride, hidl_buffers); in allocate()
/hardware/qcom/sm8150/display/gralloc/
DQtiAllocator.cpp107 uint32_t stride = 0; in allocate() local
110 stride = static_cast<uint32_t>(PRIV_HANDLE_CONST(buffers[0].getNativeHandle())->width); in allocate()
113 hidl_cb(static_cast<IMapper_3_0_Error>(err), stride, hidl_buffers); in allocate()
174 uint32_t stride = 0; in allocate() local
177 stride = static_cast<uint32_t>(PRIV_HANDLE_CONST(buffers[0].getNativeHandle())->width); in allocate()
180 hidl_cb(static_cast<IMapper_4_0_Error>(err), stride, hidl_buffers); in allocate()
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DGLEScmValidate.cpp63 bool GLEScmValidate::vertexPointerParams(GLint size,GLsizei stride) { in vertexPointerParams() argument
64 return ((size >=2) && (size <= 4)) && (stride >=0) ; in vertexPointerParams()
67 bool GLEScmValidate::colorPointerParams(GLint size,GLsizei stride) { in colorPointerParams() argument
68 return (size == 4) && (stride >=0) ; in colorPointerParams()
71 bool GLEScmValidate::texCoordPointerParams(GLint size,GLsizei stride) { in texCoordPointerParams() argument
72 return ((size >=2) && (size <= 4)) && (stride >=0) ; in texCoordPointerParams()
DGLEScmValidate.h28 static bool vertexPointerParams(GLint size,GLsizei stride);
29 static bool colorPointerParams(GLint size,GLsizei stride);
34 static bool texCoordPointerParams(GLint size,GLsizei stride);
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraDualFOVPP.cpp435 frm_offset.mp[0].stride, frm_offset.mp[0].scanline, in process()
621 inParams.wide.stride = offset.mp[0].stride; in getInputParams()
629 inParams.tele.stride = offset.mp[0].stride; in getInputParams()
692 memcpy(pOut, pWide, inParams.wide.stride * inParams.wide.scanline / 2); in doDualFovPPProcess()
693 memcpy(pOut + inParams.wide.stride * inParams.wide.scanline / 2, in doDualFovPPProcess()
694 pTele + inParams.wide.stride * inParams.wide.scanline / 2, in doDualFovPPProcess()
695 inParams.wide.stride * inParams.wide.scanline / 2); in doDualFovPPProcess()
698 uint32_t uv_offset = inParams.wide.stride * inParams.wide.scanline; in doDualFovPPProcess()
701 inParams.wide.stride * (inParams.wide.scanline / 2) / 2); in doDualFovPPProcess()
702 memcpy(pOut + uv_offset + inParams.wide.stride * (inParams.wide.scanline / 2) / 2, in doDualFovPPProcess()
[all …]
/hardware/qcom/sm8150/display/sdm/include/core/
Dbuffer_allocator.h69 uint32_t stride = 0; //!< Specifies allocated buffer stride in bytes. member
151 uint32_t stride[4], uint32_t offset[4], in GetBufferLayout()
154 (void) stride; in GetBufferLayout()
/hardware/qcom/sm7250/display/sdm/include/core/
Dbuffer_allocator.h69 uint32_t stride = 0; //!< Specifies allocated buffer stride in bytes. member
151 uint32_t stride[4], uint32_t offset[4], in GetBufferLayout()
154 (void) stride; in GetBufferLayout()
/hardware/google/gfxstream/guest/GLESv1_enc/
DGLEncoder.cpp276 void GLEncoder::s_glVertexPointer(void *self, int size, GLenum type, GLsizei stride, const void *da… in s_glVertexPointer() argument
280 …ctx->m_state->setVertexAttribState(GLClientState::VERTEX_LOCATION, size, type, false, stride, data… in s_glVertexPointer()
283 void GLEncoder::s_glNormalPointer(void *self, GLenum type, GLsizei stride, const void *data) in s_glNormalPointer() argument
287 … ctx->m_state->setVertexAttribState(GLClientState::NORMAL_LOCATION, 3, type, false, stride, data); in s_glNormalPointer()
290 void GLEncoder::s_glColorPointer(void *self, int size, GLenum type, GLsizei stride, const void *dat… in s_glColorPointer() argument
294 …ctx->m_state->setVertexAttribState(GLClientState::COLOR_LOCATION, size, type, false, stride, data); in s_glColorPointer()
297 void GLEncoder::s_glPointSizePointerOES(void *self, GLenum type, GLsizei stride, const void *data) in s_glPointSizePointerOES() argument
301 …ctx->m_state->setVertexAttribState(GLClientState::POINTSIZE_LOCATION, 1, type, false, stride, data… in s_glPointSizePointerOES()
311 void GLEncoder::s_glTexCoordPointer(void *self, int size, GLenum type, GLsizei stride, const void *… in s_glTexCoordPointer() argument
316 ctx->m_state->setVertexAttribState(loc, size, type, false, stride, data); in s_glTexCoordPointer()
[all …]
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_cmd_enqueue.c38 uint32_t stride) in vk_cmd_enqueue_CmdDrawMultiEXT() argument
59 vk_foreach_multi_draw(draw, i, pVertexInfo, drawCount, stride) { in vk_cmd_enqueue_CmdDrawMultiEXT()
66 cmd->u.draw_multi_ext.stride = stride; in vk_cmd_enqueue_CmdDrawMultiEXT()
75 uint32_t stride, in vk_cmd_enqueue_CmdDrawMultiIndexedEXT() argument
98 vk_foreach_multi_draw_indexed(draw, i, pIndexInfo, drawCount, stride) { in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
108 cmd->u.draw_multi_indexed_ext.stride = stride; in vk_cmd_enqueue_CmdDrawMultiIndexedEXT()
306 VkDispatchGraphInfoAMDX *info = (void *)((const uint8_t *)infos + i * count_info->stride); in dispatch_graph_amdx_free()
345 uint32_t infos_size = pCountInfo->count * pCountInfo->stride; in vk_cmd_enqueue_CmdDispatchGraphAMDX()
351 VkDispatchGraphInfoAMDX *info = (void *)((const uint8_t *)infos + i * pCountInfo->stride); in vk_cmd_enqueue_CmdDispatchGraphAMDX()

12345678910>>...27