/third_party/ffmpeg/libavcodec/ |
H A D | mpeg4videodec.c | 820 const int stride = s->b8_stride * 2; in mpeg4_decode_partition_a() local 846 mot_val[0 + stride] = in mpeg4_decode_partition_a() 847 mot_val[2 + stride] = mx; in mpeg4_decode_partition_a() 850 mot_val[1 + stride] = in mpeg4_decode_partition_a() 851 mot_val[3 + stride] = my; in mpeg4_decode_partition_a() 876 mot_val[0 + stride] = in mpeg4_decode_partition_a() 877 mot_val[2 + stride] = 0; in mpeg4_decode_partition_a() 880 mot_val[1 + stride] = in mpeg4_decode_partition_a() 881 mot_val[3 + stride] = 0; in mpeg4_decode_partition_a() 917 mot_val[0 + stride] in mpeg4_decode_partition_a() [all...] |
H A D | apedec.c | 1627 int stride = s->bps == 24 ? 4 : (s->bps>>3); in ape_decode_frame() local 1634 uint8_t *smp_native = frame->data[ch] + i*stride; in ape_decode_frame() 1636 for(int j = 0; j<stride; j++) in ape_decode_frame() 1637 smp[j] = smp_native[stride-j-1]; in ape_decode_frame() 1639 uint8_t *smp = frame->data[ch] + i*stride; in ape_decode_frame()
|
/third_party/skia/third_party/externals/angle2/src/libGL/ |
H A D | entry_points_gl_4_autogen.cpp | 3818 GL_VertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer) in GL_VertexAttribLPointer() argument 3822 "context = %d, index = %u, size = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR in GL_VertexAttribLPointer() 3825 stride, (uintptr_t)pointer); in GL_VertexAttribLPointer() 3833 size, type, stride, pointer)); in GL_VertexAttribLPointer() 3836 context->vertexAttribLPointer(index, size, type, stride, pointer); in GL_VertexAttribLPointer() 3838 ANGLE_CAPTURE(VertexAttribLPointer, isCallValid, context, index, size, type, stride, in GL_VertexAttribLPointer() 4314 GLsizei stride) in GL_BindVertexBuffer() 4318 "context = %d, bindingindex = %u, buffer = %u, offset = %llu, stride = %d", CID(context), in GL_BindVertexBuffer() 4319 bindingindex, buffer, static_cast<unsigned long long>(offset), stride); in GL_BindVertexBuffer() 4327 bindingindex, bufferPacked, offset, stride)); in GL_BindVertexBuffer() 4311 GL_BindVertexBuffer(GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride) GL_BindVertexBuffer() argument 5212 GL_MultiDrawArraysIndirect(GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride) GL_MultiDrawArraysIndirect() argument 5243 GL_MultiDrawElementsIndirect(GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride) GL_MultiDrawElementsIndirect() argument 9656 GL_VertexArrayVertexBuffer(GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride) GL_VertexArrayVertexBuffer() argument 9729 GL_MultiDrawArraysIndirectCount(GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) GL_MultiDrawArraysIndirectCount() argument 9762 GL_MultiDrawElementsIndirectCount(GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride) GL_MultiDrawElementsIndirectCount() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_fp.c | 580 hwq_attr.stride = sizeof(struct nq_base); in bnxt_qplib_alloc_nq() 628 hwq_attr.stride = srq->wqe_size; in bnxt_qplib_create_srq() 846 hwq_attr.stride = sizeof(struct sq_sge); in bnxt_qplib_create_qp1() 873 hwq_attr.stride = sizeof(struct sq_sge); in bnxt_qplib_create_qp1() 995 hwq_attr.stride = sizeof(struct sq_sge); in bnxt_qplib_create_qp() 1027 hwq_attr.stride = sizeof(struct sq_sge); in bnxt_qplib_create_qp() 1081 hwq_attr.stride = BNXT_QPLIB_MAX_ORRQE_ENTRY_SIZE; in bnxt_qplib_create_qp() 1099 hwq_attr.stride = BNXT_QPLIB_MAX_IRRQE_ENTRY_SIZE; in bnxt_qplib_create_qp() 2062 hwq_attr.stride = sizeof(struct cq_base); in bnxt_qplib_create_cq()
|
/third_party/mesa3d/include/GL/ |
H A D | gl.h | 1118 GLsizei stride, const GLvoid *ptr ); 1120 GLAPI void GLAPIENTRY glNormalPointer( GLenum type, GLsizei stride, 1124 GLsizei stride, const GLvoid *ptr ); 1126 GLAPI void GLAPIENTRY glIndexPointer( GLenum type, GLsizei stride, 1130 GLsizei stride, const GLvoid *ptr ); 1132 GLAPI void GLAPIENTRY glEdgeFlagPointer( GLsizei stride, const GLvoid *ptr ); 1143 GLAPI void GLAPIENTRY glInterleavedArrays( GLenum format, GLsizei stride, 1359 GLint stride, 1362 GLint stride,
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_acceleration_structure.c | 193 size_t dataSize, void *pData, size_t stride) in radv_WriteAccelerationStructuresPropertiesKHR() 205 if (stride * i + sizeof(VkDeviceSize) <= dataSize) { in radv_WriteAccelerationStructuresPropertiesKHR() 223 *(VkDeviceSize *)(data_out + stride * i) = value; in radv_WriteAccelerationStructuresPropertiesKHR() 482 range->primitiveOffset + p * aabb_data->stride); in build_aabbs() 1084 uint32_t stride = get_node_id_stride( in id_to_node_id_offset() local 1087 return nir_imul_imm(b, global_id, stride); in id_to_node_id_offset() 1098 uint32_t stride = get_node_id_stride(build_mode); in id_to_morton_offset() local 1100 return nir_iadd_imm(b, nir_imul_imm(b, global_id, stride), sizeof(uint32_t)); in id_to_morton_offset() 2132 prim_consts.aabb_stride = geom->geometry.aabbs.stride; in radv_CmdBuildAccelerationStructuresKHR() 190 radv_WriteAccelerationStructuresPropertiesKHR( VkDevice _device, uint32_t accelerationStructureCount, const VkAccelerationStructureKHR *pAccelerationStructures, VkQueryType queryType, size_t dataSize, void *pData, size_t stride) radv_WriteAccelerationStructuresPropertiesKHR() argument
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_cmd_buffer.c | 2711 uint32_t stride) in v3dv_CmdDrawIndirect() 2724 (cmd_buffer, buffer, offset, drawCount, stride); in v3dv_CmdDrawIndirect() 2733 (cmd_buffer, buffer, offset, drawCount, stride); in v3dv_CmdDrawIndirect() 2742 uint32_t stride) in v3dv_CmdDrawIndexedIndirect() 2755 (cmd_buffer, buffer, offset, drawCount, stride); in v3dv_CmdDrawIndexedIndirect() 2764 (cmd_buffer, buffer, offset, drawCount, stride); in v3dv_CmdDrawIndexedIndirect() 2883 * stride from the pipeline. in v3dv_CmdBindVertexBuffers() 3360 uint32_t stride, in v3dv_cmd_buffer_copy_query_results() 3383 job->cpu.query_copy_results.stride = stride; in v3dv_cmd_buffer_copy_query_results() 2707 v3dv_CmdDrawIndirect(VkCommandBuffer commandBuffer, VkBuffer _buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) v3dv_CmdDrawIndirect() argument 2738 v3dv_CmdDrawIndexedIndirect(VkCommandBuffer commandBuffer, VkBuffer _buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) v3dv_CmdDrawIndexedIndirect() argument 3354 v3dv_cmd_buffer_copy_query_results(struct v3dv_cmd_buffer *cmd_buffer, struct v3dv_query_pool *pool, uint32_t first, uint32_t count, struct v3dv_buffer *dst, uint32_t offset, uint32_t stride, VkQueryResultFlags flags) v3dv_cmd_buffer_copy_query_results() argument [all...] |
H A D | v3dv_descriptor_set.c | 1334 .stride = pEntry->stride, in v3dv_CreateDescriptorUpdateTemplate() 1390 pData + entry->offset + j * entry->stride; in v3dv_UpdateDescriptorSetWithTemplate() 1403 pData + entry->offset + j * entry->stride; in v3dv_UpdateDescriptorSetWithTemplate() 1416 pData + entry->offset + j * entry->stride; in v3dv_UpdateDescriptorSetWithTemplate()
|
/third_party/mesa3d/src/vulkan/overlay-layer/ |
H A D | overlay.cpp | 1525 binding_desc[0].stride = sizeof(ImDrawVert); in setup_swapchain_data_pipeline() 2091 uint32_t stride) in overlay_CmdDrawIndirect() 2097 device_data->vtable.CmdDrawIndirect(commandBuffer, buffer, offset, drawCount, stride); in overlay_CmdDrawIndirect() 2105 uint32_t stride) in overlay_CmdDrawIndexedIndirect() 2111 device_data->vtable.CmdDrawIndexedIndirect(commandBuffer, buffer, offset, drawCount, stride); in overlay_CmdDrawIndexedIndirect() 2121 uint32_t stride) in overlay_CmdDrawIndirectCount() 2129 maxDrawCount, stride); in overlay_CmdDrawIndirectCount() 2139 uint32_t stride) in overlay_CmdDrawIndexedIndirectCount() 2147 maxDrawCount, stride); in overlay_CmdDrawIndexedIndirectCount() 2086 overlay_CmdDrawIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) overlay_CmdDrawIndirect() argument 2100 overlay_CmdDrawIndexedIndirect( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) overlay_CmdDrawIndexedIndirect() argument 2114 overlay_CmdDrawIndirectCount( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) overlay_CmdDrawIndirectCount() argument 2132 overlay_CmdDrawIndexedIndirectCount( VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) overlay_CmdDrawIndexedIndirectCount() argument
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cVertexAttribBindingTests.cpp | 2024 int stride; member in glcts::__anon27702::VertexBindingState 2028 VertexBindingState(int bindingindex) : buffer(0), offset(0), stride(16), divisor(0), index(bindingindex) in VertexBindingState() 2052 if (p != stride) in stateVerify() 2055 << ") is " << p << " should be " << stride << tcu::TestLog::EndMessage; in stateVerify() 2185 vb0.stride = 128; in Run() 2197 vb2.stride = 256; in Run() 2235 vb15.stride = 32; in Run() 2269 vb0.stride = 8; in Run() 2283 vb0.stride = 24; in Run() 3096 An INVALID_VALUE error is generated if stride o in Run() [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-layout-gpos-table.hh | 342 bool sanitize_values_stride_unsafe (hb_sanitize_context_t *c, const void *base, const Value *values, unsigned int count, unsigned int stride) const in sanitize_values_stride_unsafe() 351 values += stride; in sanitize_values_stride_unsafe() 1281 unsigned int stride; /* 1 + len1 + len2 */ member 1291 closure->stride))) return_trace (false); in sanitize() 1295 return_trace (closure->valueFormats[0].sanitize_values_stride_unsafe (c, this, &record->values[0], count, closure->stride) && in sanitize() 1296 closure->valueFormats[1].sanitize_values_stride_unsafe (c, this, &record->values[closure->len1], count, closure->stride)); in sanitize() 1657 unsigned int stride = len1 + len2; in sanitize() local 1663 valueFormat1.sanitize_values_stride_unsafe (c, this, &values[0], count, stride) && in sanitize() 1664 valueFormat2.sanitize_values_stride_unsafe (c, this, &values[len1], count, stride)); in sanitize()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | StateManager11.cpp | 2147 UINT stride, 2151 stride != mCurrentVertexStrides[bufferIndex] || 2157 mCurrentVertexStrides[bufferIndex] = stride; 2184 void StateManager11::setSingleVertexBuffer(const d3d11::Buffer *buffer, UINT stride, UINT offset) 2187 if (queueVertexBufferChange(0, native, stride, offset)) 3116 vertexStride = attrib.stride; 3163 // Set the stride to 0 if GL_POINTS mode is not being used to instruct the driver to avoid 3165 UINT stride = instancedPointSpritesActive ? kPointSpriteVertexStride : 0; 3166 queueVertexBufferChange(0, mPointSpriteVertexBuffer.get(), stride, 0); 3289 offset += (attrib.stride * (emulatedInstanceI [all...] |
/third_party/vulkan-headers/include/vulkan/ |
H A D | vulkan_core.h | 3473 uint32_t stride; member 3974 typedef VkResult (VKAPI_PTR *PFN_vkGetQueryPoolResults)(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags); 4033 typedef void (VKAPI_PTR *PFN_vkCmdDrawIndirect)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride); 4034 typedef void (VKAPI_PTR *PFN_vkCmdDrawIndexedIndirect)(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride); 4056 typedef void (VKAPI_PTR *PFN_vkCmdCopyQueryPoolResults)(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags); 4326 VkDeviceSize stride, 4660 uint32_t stride); 4667 uint32_t stride); 4833 VkDeviceSize stride, 5417 size_t stride; member 13458 uint32_t stride; global() member 15205 uint32_t stride; global() member 16451 uint32_t stride; global() member 18915 VkDeviceSize stride; global() member 19222 VkDeviceSize stride; global() member [all...] |
/kernel/linux/linux-6.6/sound/usb/ |
H A D | endpoint.c | 300 length = counts * ep->stride; /* number of silent bytes */ in prepare_silent_urb() 301 offset = offs * ep->stride + extra * i; in prepare_silent_urb() 315 urb->transfer_buffer_length = offs * ep->stride + ctx->packets * extra; in prepare_silent_urb() 1116 ep->stride = frame_bits >> 3; in data_ep_set_params() 1795 * will have the same amount of payload bytes per stride as the in snd_usb_handle_sync_urb() 1797 * by the stride, use the sender stride to calculate the length in snd_usb_handle_sync_urb() 1806 urb->iso_frame_desc[i].actual_length / sender->stride; in snd_usb_handle_sync_urb()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3dx_draw.c | 746 attr.stride = vb->stride; in v3d_emit_gl_shader_state() 785 attr.stride = 0; in v3d_emit_gl_shader_state() 1174 prim.stride_in_multiples_of_4_bytes = indirect->stride >> 2; in v3d_draw_vbo() 1218 prim.stride_in_multiples_of_4_bytes = indirect->stride >> 2; in v3d_draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_program.c | 790 * thus, if the stride doesn't meet the minimum requirement for a binding, 799 unsigned stride = vb->buffer.resource ? vb->stride : 0; in check_vertex_strides() local 800 if (stride && stride < ves->min_stride[i]) in check_vertex_strides() 848 state->vertex_strides[buffer_id] = vb->buffer.resource ? vb->stride : 0; in zink_get_gfx_pipeline()
|
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | surface.c | 208 util_copy_rect(map, dst->texture->format, transfer->stride, 0, 0, in upload_sampler() 641 whandle.stride = memory_attribute->pitches[i]; in surface_from_external_memory() 750 whandle.stride = desc->layers[layer].pitch[layer_plane]; in surface_from_prime_2() 1370 desc->layers[0].pitch[p] = whandle.stride; in vlVaExportSurfaceHandle() 1376 desc->layers[p].pitch[0] = whandle.stride; in vlVaExportSurfaceHandle()
|
/third_party/mesa3d/src/gallium/auxiliary/hud/ |
H A D | hud_context.c | 94 vbuffer.stride = 2 * sizeof(float); in hud_draw_colored_prims() 446 unsigned num_vertices, unsigned stride) in hud_prepare_vertices() 450 v->vbuf.stride = stride; in hud_prepare_vertices() 451 v->buffer_size = stride * num_vertices; in hud_prepare_vertices() 445 hud_prepare_vertices(struct hud_context *hud, struct vertex_queue *v, unsigned num_vertices, unsigned stride) hud_prepare_vertices() argument
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_draw.cpp | 781 ctx->transform_state_vars[0] = indirect_in->stride; in update_draw_indirect_with_sysvals() 824 indirect_out->stride = out_stride; in update_draw_indirect_with_sysvals() 852 ctx->transform_state_vars[0] = ctx->vbs[0].stride; in update_draw_auto() 871 indirect_out->stride = sizeof(D3D12_DRAW_ARGUMENTS); in update_draw_auto() 927 cmd_sig_key.multi_draw_stride = indirect->stride; in d3d12_draw_vbo()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
H A D | vktComputeCooperativeMatrixTests.cpp | 671 // Load with a stride of 0 in initPrograms() 950 string dumpWholeMatrix (void* data, VkComponentTypeKHR dt, bool colMajor, deUint32 matrixElemCount, deUint32 stride) in dumpWholeMatrix() argument 952 const deUint32 rowsCount = colMajor ? stride : matrixElemCount / stride; in dumpWholeMatrix() 953 const deUint32 colsCount = colMajor ? matrixElemCount / stride : stride; in dumpWholeMatrix() 1149 // Load with a stride of 0 in iterate() 1504 // When loading with stride 0, ij for matrix D is different from matrix C in iterate() 1647 // When loading with stride 0, ij for matrix D is different from matrix C in iterate() 1766 // OpCooperativeMatrixMulAdd w/stride in createCooperativeMatrixTestsInternal() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
H A D | validate_decorations.cpp | 60 uint32_t stride = 0) in LayoutConstraints() 61 : majorness(the_majorness), matrix_stride(stride) {} in LayoutConstraints() 70 // Returns the array stride of the given array type. 519 // Check matrix stride. 521 const auto stride = constraint.matrix_stride; 522 if (!IsAlignedTo(stride, alignment)) { 523 return fail(memberIdx) << "is a matrix with stride " << stride 535 // Check array stride. 541 return fail(memberIdx) << "contains an array with stride [all...] |
/third_party/skia/third_party/externals/angle2/src/libGLESv2/ |
H A D | entry_points_gles_ext_autogen.h | 924 GLsizei stride); 929 GLsizei stride); 1498 GLsizei stride, 1502 GLsizei stride, 1509 GLsizei stride,
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | VertexRoutine.cpp | 98 UInt stride = *Pointer<UInt>(data + OFFSET(DrawData, stride) + sizeof(uint32_t) * (i / 4)); in readInput() local 106 auto value = readStream(input, stride, state.input[i / 4], batch, state.robustBufferAccess, robustnessSize, baseVertex); in readInput() 171 Vector4f VertexRoutine::readStream(Pointer<Byte> &buffer, UInt &stride, const Stream &stream, Pointer<UInt> &batch, in readStream() argument 180 UInt4 offsets = (*Pointer<UInt4>(As<Pointer<UInt4>>(batch)) + As<UInt4>(Int4(baseVertex))) * UInt4(stride); in readStream()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
H A D | validate_decorations.cpp | 60 uint32_t stride = 0) in LayoutConstraints() 61 : majorness(the_majorness), matrix_stride(stride) {} in LayoutConstraints() 70 // Returns the array stride of the given array type. 519 // Check matrix stride. 521 const auto stride = constraint.matrix_stride; 522 if (!IsAlignedTo(stride, alignment)) { 523 return fail(memberIdx) << "is a matrix with stride " << stride 535 // Check array stride. 541 return fail(memberIdx) << "contains an array with stride [all...] |
/third_party/skia/third_party/externals/tint/src/resolver/ |
H A D | decoration_validation_test.cc | 848 uint32_t stride; member 853 constexpr Params ParamsFor(uint32_t stride, bool should_pass) { in ParamsFor() argument 854 return Params{DataType<T>::AST, stride, should_pass}; in ParamsFor() 865 ss << "el_ty: " << FriendlyName(el_ty) << ", stride: " << params.stride in TEST_P() 869 auto* arr = ty.array(Source{{12, 34}}, el_ty, 4, params.stride); in TEST_P() 878 "12:34 error: arrays decorated with the stride attribute must " in TEST_P() 879 "have a stride that is at least the size of the element type, " in TEST_P() 902 // Succeed because stride >= element size (while being multiple of 915 // Fail because stride i [all...] |