/kernel/linux/linux-6.6/drivers/media/usb/em28xx/ |
H A D | em28xx-audio.c | 74 unsigned int stride; in em28xx_audio_isocirq() local 104 stride = runtime->frame_bits >> 3; in em28xx_audio_isocirq() 109 urb->iso_frame_desc[i].actual_length / stride; in em28xx_audio_isocirq() 120 memcpy(runtime->dma_area + oldptr * stride, cp, in em28xx_audio_isocirq() 121 cnt * stride); in em28xx_audio_isocirq() 122 memcpy(runtime->dma_area, cp + cnt * stride, in em28xx_audio_isocirq() 123 length * stride - cnt * stride); in em28xx_audio_isocirq() 125 memcpy(runtime->dma_area + oldptr * stride, cp, in em28xx_audio_isocirq() 126 length * stride); in em28xx_audio_isocirq() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | mv30.c | 138 static void idct_put(uint8_t *dst, int stride, int *block) in idct_put() argument 165 dst += stride; in idct_put() 169 static void idct_add(uint8_t *dst, int stride, in idct_add() argument 197 dst += stride; in idct_add() 221 static void idct2_put(uint8_t *dst, int stride, int *block) in idct2_put() argument 247 dst += stride; in idct2_put() 251 static void idct2_add(uint8_t *dst, int stride, in idct2_add() argument 279 dst += stride; in idct2_add() 284 static void update_inter_block(uint8_t *dst, int stride, in update_inter_block() argument 291 dst += stride; in update_inter_block() [all...] |
H A D | dfa.c | 391 int stride = (avctx->height/4)*avctx->width; in dfa_decode_frame() local 393 dst[4*j+0] = buf1[j + 0*stride]; in dfa_decode_frame() 394 dst[4*j+1] = buf1[j + 1*stride]; in dfa_decode_frame() 395 dst[4*j+2] = buf1[j + 2*stride]; in dfa_decode_frame() 396 dst[4*j+3] = buf1[j + 3*stride]; in dfa_decode_frame() 400 dst[j] = buf1[(j/4) + (j&3)*stride]; in dfa_decode_frame()
|
H A D | mimic.c | 270 const int stride = ctx->frames[ctx->cur_index ].f->linesize[plane]; in decode() local 291 ctx->idsp.idct_put(dst, stride, ctx->dct_block); in decode() 302 ctx->hdsp.put_pixels_tab[1][0](dst, p, stride, 8); in decode() 311 ctx->hdsp.put_pixels_tab[1][0](dst, src, stride, 8); in decode() 316 src += (stride - ctx->num_hblocks[plane]) << 3; in decode() 317 dst += (stride - ctx->num_hblocks[plane]) << 3; in decode()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
H A D | vktMeshShaderApiTests.cpp | 94 uint32_t stride; member 126 // * With stride adding a padding of 0 and pseudorandom (multiples of 4). 353 BufferWithMemoryPtr makeStridedBuffer(const DeviceInterface& vkd, VkDevice device, Allocator& alloc, const std::vector<T>& elements, uint32_t offset, uint32_t stride, VkBufferUsageFlags usage, uint32_t endPadding) in makeStridedBuffer() argument 356 const auto actualStride = std::max(elementSize, stride); in makeStridedBuffer() 519 // Check stride and offset validity. in iterate() 521 DE_ASSERT(indirectArgs.stride % 4u == 0u && (indirectArgs.stride == 0u || indirectArgs.stride >= static_cast<uint32_t>(sizeof(VkDrawMeshTasksIndirectCommandNV)))); in iterate() 523 // Prepare struct vector, which will be converted to a buffer with the proper stride and offset later. in iterate() 531 indirectBuffer = makeStridedBuffer(vkd, device, alloc, commands, indirectArgs.offset, indirectArgs.stride, VK_BUFFER_USAGE_INDIRECT_BUFFER_BI in iterate() [all...] |
H A D | vktMeshShaderApiTestsEXT.cpp | 94 uint32_t stride; member 126 // * With stride adding a padding of 0 and pseudorandom (multiples of 4). 356 BufferWithMemoryPtr makeStridedBuffer(const DeviceInterface& vkd, VkDevice device, Allocator& alloc, const std::vector<T>& elements, uint32_t offset, uint32_t stride, VkBufferUsageFlags usage, uint32_t endPadding) in makeStridedBuffer() argument 359 const auto actualStride = std::max(elementSize, stride); in makeStridedBuffer() 544 // Check stride and offset validity. in iterate() 546 DE_ASSERT(indirectArgs.stride % 4u == 0u && (indirectArgs.stride == 0u || indirectArgs.stride >= static_cast<uint32_t>(sizeof(VkDrawMeshTasksIndirectCommandEXT)))); in iterate() 548 // Prepare struct vector, which will be converted to a buffer with the proper stride and offset later. in iterate() 556 indirectBuffer = makeStridedBuffer(vkd, device, alloc, commands, indirectArgs.offset, indirectArgs.stride, VK_BUFFER_USAGE_INDIRECT_BUFFER_BI in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
H A D | vktMeshShaderApiTests.cpp | 94 uint32_t stride; member 126 // * With stride adding a padding of 0 and pseudorandom (multiples of 4). 353 BufferWithMemoryPtr makeStridedBuffer(const DeviceInterface& vkd, VkDevice device, Allocator& alloc, const std::vector<T>& elements, uint32_t offset, uint32_t stride, VkBufferUsageFlags usage, uint32_t endPadding) in makeStridedBuffer() argument 356 const auto actualStride = std::max(elementSize, stride); in makeStridedBuffer() 519 // Check stride and offset validity. in iterate() 521 DE_ASSERT(indirectArgs.stride % 4u == 0u && (indirectArgs.stride == 0u || indirectArgs.stride >= static_cast<uint32_t>(sizeof(VkDrawMeshTasksIndirectCommandNV)))); in iterate() 523 // Prepare struct vector, which will be converted to a buffer with the proper stride and offset later. in iterate() 531 indirectBuffer = makeStridedBuffer(vkd, device, alloc, commands, indirectArgs.offset, indirectArgs.stride, VK_BUFFER_USAGE_INDIRECT_BUFFER_BI in iterate() [all...] |
H A D | vktMeshShaderApiTestsEXT.cpp | 94 uint32_t stride; member 126 // * With stride adding a padding of 0 and pseudorandom (multiples of 4). 356 BufferWithMemoryPtr makeStridedBuffer(const DeviceInterface& vkd, VkDevice device, Allocator& alloc, const std::vector<T>& elements, uint32_t offset, uint32_t stride, VkBufferUsageFlags usage, uint32_t endPadding) in makeStridedBuffer() argument 359 const auto actualStride = std::max(elementSize, stride); in makeStridedBuffer() 544 // Check stride and offset validity. in iterate() 546 DE_ASSERT(indirectArgs.stride % 4u == 0u && (indirectArgs.stride == 0u || indirectArgs.stride >= static_cast<uint32_t>(sizeof(VkDrawMeshTasksIndirectCommandEXT)))); in iterate() 548 // Prepare struct vector, which will be converted to a buffer with the proper stride and offset later. in iterate() 556 indirectBuffer = makeStridedBuffer(vkd, device, alloc, commands, indirectArgs.offset, indirectArgs.stride, VK_BUFFER_USAGE_INDIRECT_BUFFER_BI in iterate() [all...] |
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
H A D | parser_type.cc | 78 return utils::Hash(t.type, t.size, t.stride); in operator ()() 118 return a.type == b.type && a.size == b.size && a.stride == b.stride; in operator ==() 186 : type(t), size(sz), stride(st) {} in Array() 191 return b.ty.array(type->Build(b), size, stride); in Build() 193 return b.ty.array(type->Build(b), nullptr, stride); in Build() 477 uint32_t stride) { 479 state->arrays_, spirv::Array(el, size, stride), 480 [&] { return state->allocator_.Create<spirv::Array>(el, size, stride); }); 594 ss << "array<" << type->String() << ", " << size << ", " << stride << ">"; [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fDrawTests.cpp | 93 spec.attribs[0].stride = 0; in genBasicSpec() 104 spec.attribs[1].stride = 0; in genBasicSpec() 166 spec.attribs[0].stride = 0; in init() 201 spec.attribs[0].stride = 0; in init() 212 spec.attribs[1].stride = 0; in init() 247 spec.attribs[0].stride = 0; in init() 273 spec.attribs[1].stride = 0; in init() 624 attribSpec.stride = random.chooseWeighted<int, const int*, const float*>(DE_ARRAY_BEGIN(strides), DE_ARRAY_END(strides), strideWeights); in init() 633 if (attribSpec.stride && attribSpec.componentCount * gls::DrawTestSpec::inputTypeSize(attribSpec.inputType) > attribSpec.stride) in init() [all...] |
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/ |
H A D | codec-v4l2-fwht.c | 214 unsigned int size = state->stride * state->coded_height; in v4l2_fwht_encode() 215 unsigned int chroma_stride = state->stride; in v4l2_fwht_encode() 245 state->stride, chroma_stride); in v4l2_fwht_encode() 291 unsigned int dst_chroma_stride = state->stride; in v4l2_fwht_decode() 293 unsigned int dst_size = state->stride * state->coded_height; in v4l2_fwht_decode() 364 &dst_rf, state->stride, dst_chroma_stride)) in v4l2_fwht_decode()
|
/kernel/linux/linux-6.6/drivers/media/test-drivers/vicodec/ |
H A D | codec-v4l2-fwht.c | 214 unsigned int size = state->stride * state->coded_height; in v4l2_fwht_encode() 215 unsigned int chroma_stride = state->stride; in v4l2_fwht_encode() 245 state->stride, chroma_stride); in v4l2_fwht_encode() 291 unsigned int dst_chroma_stride = state->stride; in v4l2_fwht_decode() 293 unsigned int dst_size = state->stride * state->coded_height; in v4l2_fwht_decode() 364 &dst_rf, state->stride, dst_chroma_stride)) in v4l2_fwht_decode()
|
/third_party/ffmpeg/libavcodec/x86/ |
H A D | hevc_add_res.asm | 50 ; void ff_hevc_add_residual_4_8_mmxext(uint8_t *dst, int16_t *res, ptrdiff_t stride) 121 ; void ff_hevc_add_residual_8_8_<opt>(uint8_t *dst, int16_t *res, ptrdiff_t stride) 131 ; void ff_hevc_add_residual_16_8_<opt>(uint8_t *dst, int16_t *res, ptrdiff_t stride) 145 ; void ff_hevc_add_residual_32_8_<opt>(uint8_t *dst, int16_t *res, ptrdiff_t stride) 166 ; void ff_hevc_add_residual_32_8_avx2(uint8_t *dst, int16_t *res, ptrdiff_t stride) 292 ; void ff_hevc_add_residual_<4|8|16|32>_10(pixel *dst, int16_t *block, ptrdiff_t stride)
|
H A D | vp8dsp_loopfilter.asm | 46 ; void ff_vp8_h/v_loop_filter_simple_<opt>(uint8_t *dst, ptrdiff_t stride, int flim); 52 ; will be set to second regular register + 8*stride at the end 93 ; registers contain buf+4*stride, buf+5*stride, buf+12*stride, -stride and +stride 94 ; we add 1*stride to the third regular registry in the process 191 cglobal vp8_%1_loop_filter_simple, 3, %2, 8, dst, stride, flim, cntr 198 DEFINE_ARGS dst1, mstride, stride, dst [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_gather_xfb_info.c | 104 assert(xfb->buffers[buffer].stride == var->data.xfb.stride); in add_var_xfb_outputs() 108 xfb->buffers[buffer].stride = var->data.xfb.stride; in add_var_xfb_outputs() 453 info->buffers[i].stride = nir->info.xfb_stride[i]; in nir_gather_xfb_info_from_intrinsics() 472 fprintf(fp, "buffer%u: stride=%u varying_count=%u stream=%u\n", i, in nir_print_xfb_info() 473 info->buffers[i].stride, in nir_print_xfb_info()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | renderbuffer.c | 466 GLint stride = _mesa_format_row_stride(rb->Format, in _mesa_map_renderbuffer() local 468 *mapOut = (GLubyte *) rb->data + y * stride + x * bpp; in _mesa_map_renderbuffer() 469 *rowStrideOut = stride; in _mesa_map_renderbuffer() 502 *rowStrideOut = -(int) rb->transfer->stride; in _mesa_map_renderbuffer() 503 map += (h - 1) * rb->transfer->stride; in _mesa_map_renderbuffer() 506 *rowStrideOut = rb->transfer->stride; in _mesa_map_renderbuffer()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_miptree.c | 192 unsigned stride; in nv50_miptree_get_handle() local 197 stride = mt->level[0].pitch; in nv50_miptree_get_handle() 201 stride, in nv50_miptree_get_handle() 409 unsigned stride; in nv50_miptree_from_handle() local 423 mt->base.bo = nouveau_screen_bo_from_handle(pscreen, whandle, &stride); in nv50_miptree_from_handle() 434 mt->level[0].pitch = stride; in nv50_miptree_from_handle()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_draw.c | 57 * vattr stride). in vc4_get_draw_cl_space() 195 vb->stride * (index_bias + in vc4_emit_gl_shader_state() 204 attr.stride = vb->stride; in vc4_emit_gl_shader_state() 211 if (vb->stride > 0) { in vc4_emit_gl_shader_state() 213 (vb_size - elem_size) / vb->stride); in vc4_emit_gl_shader_state() 224 attr.stride = 0; in vc4_emit_gl_shader_state()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_shader_state.c | 330 PUSH_DATA (push, tfb->stride[b]); in nvc0_tfb_validate() 335 nvc0_so_target(nvc0->tfbbuf[b])->stride = tfb->stride[b]; in nvc0_tfb_validate() 351 targ->stride = tfb->stride[b]; in nvc0_tfb_validate() 353 if (!targ || !targ->stride) { in nvc0_tfb_validate()
|
/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | gifdec.c | 149 const size_t stride = (size_t)sub_image.argb_stride; in GIFReadFrame() local 151 uint32_t* row = dst + y * stride; in GIFReadFrame() 152 const size_t jump = interlace_jumps[pass] * stride; in GIFReadFrame() 240 const size_t stride = picture->argb_stride; in ClearRectangle() local 241 uint32_t* dst = picture->argb + top * stride + left; in ClearRectangle() 242 for (j = 0; j < height; ++j, dst += stride) { in ClearRectangle()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_resource.c | 861 whandle->stride); in crocus_resource_from_handle() 890 res->aux.surf.row_pitch_B = whandle->stride; in crocus_resource_from_handle() 1060 whandle->stride = res->aux.surf.row_pitch_B; in crocus_resource_get_handle() 1063 /* If this is a buffer, stride should be 0 - no need to special case */ in crocus_resource_get_handle() 1064 whandle->stride = res->surf.row_pitch_B; in crocus_resource_get_handle() 1266 xfer->stride = isl_surf_get_row_pitch_B(surf); in crocus_map_copy_region() 1331 s8_offset(uint32_t stride, uint32_t x, uint32_t y, bool swizzled) in s8_offset() argument 1336 uint32_t row_size = 64 * stride / 2; /* Two rows are interleaved. */ in s8_offset() 1394 untiled_s8_map[s * xfer->layer_stride + y * xfer->stride + x]; in crocus_unmap_s8() 1411 xfer->stride in crocus_map_s8() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_minidump.c | 63 u8 stride; member 67 u8 stride; member 77 u8 stride; member 83 u8 stride; member 106 u16 stride; member 110 u16 stride; member 160 u16 stride; member 164 u16 stride; member 397 addr += crb->stride; in qlcnic_dump_crb() 495 addr += ctr->stride; in qlcnic_dump_ctrl() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/ |
H A D | ipu-cpmem.c | 252 void ipu_cpmem_set_stride(struct ipuv3_channel *ch, int stride) in ipu_cpmem_set_stride() argument 254 ipu_ch_param_write_field(ch, IPU_FIELD_SLY, stride - 1); in ipu_cpmem_set_stride() 292 void ipu_cpmem_interlaced_scan(struct ipuv3_channel *ch, int stride, in ipu_cpmem_interlaced_scan() argument 297 if (stride < 0) { in ipu_cpmem_interlaced_scan() 298 stride = -stride; in ipu_cpmem_interlaced_scan() 299 ilo = 0x100000 - (stride / 8); in ipu_cpmem_interlaced_scan() 301 ilo = stride / 8; in ipu_cpmem_interlaced_scan() 304 sly = (stride * 2) - 1; in ipu_cpmem_interlaced_scan() 309 sluv = stride / in ipu_cpmem_interlaced_scan() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_minidump.c | 63 u8 stride; member 67 u8 stride; member 77 u8 stride; member 83 u8 stride; member 106 u16 stride; member 110 u16 stride; member 160 u16 stride; member 164 u16 stride; member 397 addr += crb->stride; in qlcnic_dump_crb() 495 addr += ctr->stride; in qlcnic_dump_ctrl() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/ipu-v3/ |
H A D | ipu-cpmem.c | 252 void ipu_cpmem_set_stride(struct ipuv3_channel *ch, int stride) in ipu_cpmem_set_stride() argument 254 ipu_ch_param_write_field(ch, IPU_FIELD_SLY, stride - 1); in ipu_cpmem_set_stride() 292 void ipu_cpmem_interlaced_scan(struct ipuv3_channel *ch, int stride, in ipu_cpmem_interlaced_scan() argument 297 if (stride < 0) { in ipu_cpmem_interlaced_scan() 298 stride = -stride; in ipu_cpmem_interlaced_scan() 299 ilo = 0x100000 - (stride / 8); in ipu_cpmem_interlaced_scan() 301 ilo = stride / 8; in ipu_cpmem_interlaced_scan() 304 sly = (stride * 2) - 1; in ipu_cpmem_interlaced_scan() 309 sluv = stride / in ipu_cpmem_interlaced_scan() [all...] |