Home
last modified time | relevance | path

Searched refs:stride (Results 301 - 325 of 1820) sorted by relevance

1...<<11121314151617181920>>...73

/third_party/mesa3d/src/vulkan/runtime/
H A Dvk_cmd_enqueue.c38 uint32_t stride) in vk_cmd_enqueue_CmdDrawMultiEXT()
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()
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()
33 vk_cmd_enqueue_CmdDrawMultiEXT(VkCommandBuffer commandBuffer, uint32_t drawCount, const VkMultiDrawInfoEXT *pVertexInfo, uint32_t instanceCount, uint32_t firstInstance, uint32_t stride) vk_cmd_enqueue_CmdDrawMultiEXT() argument
70 vk_cmd_enqueue_CmdDrawMultiIndexedEXT(VkCommandBuffer commandBuffer, uint32_t drawCount, const VkMultiDrawIndexedInfoEXT *pIndexInfo, uint32_t instanceCount, uint32_t firstInstance, uint32_t stride, const int32_t *pVertexOffset) vk_cmd_enqueue_CmdDrawMultiIndexedEXT() argument
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_rast_priv.h175 py * task->scene->cbufs[buf].stride; in lp_rast_get_color_block_pointer()
206 py * task->scene->zsbuf.stride; in lp_rast_get_depth_block_pointer()
233 unsigned stride[PIPE_MAX_COLOR_BUFS]; in lp_rast_shade_quads_all() local
242 stride[i] = scene->cbufs[i].stride; in lp_rast_shade_quads_all()
248 stride[i] = 0; in lp_rast_shade_quads_all()
257 depth_stride = scene->zsbuf.stride; in lp_rast_shade_quads_all()
285 stride, in lp_rast_shade_quads_all()
H A Dlp_test_blend.c449 const unsigned stride = lp_type_width(type)/8; in test_one() local
472 src = align_malloc(stride, stride); in test_one()
473 src1 = align_malloc(stride, stride); in test_one()
474 dst = align_malloc(stride, stride); in test_one()
475 con = align_malloc(stride, stride); in test_one()
476 res = align_malloc(stride, strid in test_one()
[all...]
/third_party/skia/third_party/externals/libwebp/imageio/
H A Djpegdec.c263 int64_t stride; in ReadJPEG() local
304 stride = (int64_t)dinfo.output_width * dinfo.output_components * sizeof(*rgb); in ReadJPEG()
306 if (stride != (int)stride || in ReadJPEG()
307 !ImgIoUtilCheckSizeArgumentsOverflow(stride, height)) { in ReadJPEG()
311 rgb = (uint8_t*)malloc((size_t)stride * height); in ReadJPEG()
321 buffer[0] += stride; in ReadJPEG()
338 ok = WebPPictureImportRGB(pic, rgb, (int)stride); in ReadJPEG()
/third_party/skia/third_party/externals/libwebp/src/webp/
H A Dencode.h50 int width, int height, int stride,
53 int width, int height, int stride,
56 int width, int height, int stride,
59 int width, int height, int stride,
70 int width, int height, int stride,
73 int width, int height, int stride,
76 int width, int height, int stride,
79 int width, int height, int stride,
315 int a_stride; // stride of the alpha plane
320 int argb_stride; // This is stride i
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_uspp.c200 int stride = p->temp_stride[i]; in filter() local
206 int index = block + block * stride + y * stride; in filter()
215 memcpy(p->src[i] + ( block-1-y) * stride, p->src[i] + ( y+block ) * stride, stride); in filter()
216 memcpy(p->src[i] + (h+block +y) * stride, p->src[i] + (h-y+block-1) * stride, stride); in filter()
219 p->frame->linesize[i] = stride; in filter()
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_ir_fs.h53 /** Register region horizontal stride */
54 uint8_t stride; member in fs_reg
118 return byte_offset(reg, delta * reg.stride * type_sz(reg.type)); in horiz_offset()
124 const unsigned stride = reg.hstride ? 1 << (reg.hstride - 1) : 0; in horiz_offset() local
125 return byte_offset(reg, delta * stride * type_sz(reg.type)); in horiz_offset()
158 reg.stride = 0; in component()
190 * components of register \p r due to a (horizontal) stride value greater than
196 const unsigned stride = ((r.file != ARF && r.file != FIXED_GRF) ? r.stride : in reg_padding() local
199 return (MAX2(1, stride) in reg_padding()
[all...]
/third_party/skia/third_party/externals/libwebp/examples/
H A Ddwebp.c135 uint32_t stride = bpp * w + 7; // <- just for exercising in AllocateExternalBuffer() local
136 external_buffer = (uint8_t*)WebPMalloc(stride * h); in AllocateExternalBuffer()
138 output_buffer->u.RGBA.stride = stride; in AllocateExternalBuffer()
139 output_buffer->u.RGBA.size = stride * h; in AllocateExternalBuffer()
144 uint32_t stride = w + 3; in AllocateExternalBuffer() local
146 uint32_t total_size = stride * h * (has_alpha ? 2 : 1) in AllocateExternalBuffer()
153 output_buffer->u.YUVA.y_stride = stride; in AllocateExternalBuffer()
154 output_buffer->u.YUVA.y_size = stride * h; in AllocateExternalBuffer()
158 output_buffer->u.YUVA.a_stride = stride; in AllocateExternalBuffer()
[all...]
/third_party/ffmpeg/libavcodec/
H A D4xm.c298 int h, int stride, int scale, unsigned dc) in mcdc()
308 src += stride; in mcdc()
309 dst += stride; in mcdc()
316 src += stride; in mcdc()
317 dst += stride; in mcdc()
325 src += stride; in mcdc()
326 dst += stride; in mcdc()
336 src += stride; in mcdc()
337 dst += stride; in mcdc()
346 int log2w, int log2h, int stride) in decode_p_block()
297 mcdc(uint16_t *dst, const uint16_t *src, int log2w, int h, int stride, int scale, unsigned dc) mcdc() argument
345 decode_p_block(FourXContext *f, uint16_t *dst, const uint16_t *src, int log2w, int log2h, int stride) decode_p_block() argument
562 int stride = f->avctx->width; idct_put() local
[all...]
H A Dj2kenc.c619 if (!(t1->flags[(y+1) * t1->stride + x+1] & JPEG2000_T1_SIG) && (t1->flags[(y+1) * t1->stride + x+1] & JPEG2000_T1_SIG_NB)){ in encode_sigpass()
620 int ctxno = ff_jpeg2000_getsigctxno(t1->flags[(y+1) * t1->stride + x+1], bandno), in encode_sigpass()
621 bit = t1->data[(y) * t1->stride + x] & mask ? 1 : 0; in encode_sigpass()
625 int ctxno = ff_jpeg2000_getsgnctxno(t1->flags[(y+1) * t1->stride + x+1], &xorbit); in encode_sigpass()
626 ff_mqc_encode(&t1->mqc, t1->mqc.cx_states + ctxno, (t1->flags[(y+1) * t1->stride + x+1] >> 15) ^ xorbit); in encode_sigpass()
627 *nmsedec += getnmsedec_sig(t1->data[(y) * t1->stride + x], bpno + NMSEDEC_FRACBITS); in encode_sigpass()
628 ff_jpeg2000_set_significance(t1, x, y, t1->flags[(y+1) * t1->stride + x+1] >> 15); in encode_sigpass()
630 t1->flags[(y+1) * t1->stride + x+1] |= JPEG2000_T1_VIS; in encode_sigpass()
641 if ((t1->flags[(y+1) * t1->stride in encode_refpass()
[all...]
H A Dhevcpred.h35 const uint8_t *left, ptrdiff_t stride);
37 ptrdiff_t stride, int log2_size, int c_idx);
39 const uint8_t *left, ptrdiff_t stride,
H A Djpeg2000.c184 t1->flags[(y) * t1->stride + x] |= JPEG2000_T1_SIG; in ff_jpeg2000_set_significance()
186 t1->flags[(y) * t1->stride + x + 1] |= JPEG2000_T1_SIG_W | JPEG2000_T1_SGN_W; in ff_jpeg2000_set_significance()
187 t1->flags[(y) * t1->stride + x - 1] |= JPEG2000_T1_SIG_E | JPEG2000_T1_SGN_E; in ff_jpeg2000_set_significance()
188 t1->flags[(y + 1) * t1->stride + x] |= JPEG2000_T1_SIG_N | JPEG2000_T1_SGN_N; in ff_jpeg2000_set_significance()
189 t1->flags[(y - 1) * t1->stride + x] |= JPEG2000_T1_SIG_S | JPEG2000_T1_SGN_S; in ff_jpeg2000_set_significance()
191 t1->flags[(y) * t1->stride + x + 1] |= JPEG2000_T1_SIG_W; in ff_jpeg2000_set_significance()
192 t1->flags[(y) * t1->stride + x - 1] |= JPEG2000_T1_SIG_E; in ff_jpeg2000_set_significance()
193 t1->flags[(y + 1) * t1->stride + x] |= JPEG2000_T1_SIG_N; in ff_jpeg2000_set_significance()
194 t1->flags[(y - 1) * t1->stride + x] |= JPEG2000_T1_SIG_S; in ff_jpeg2000_set_significance()
196 t1->flags[(y + 1) * t1->stride in ff_jpeg2000_set_significance()
[all...]
H A Dprosumer.c40 unsigned stride; member
133 static void vertical_predict(uint32_t *dst, int offset, const uint32_t *src, int stride, int height) in vertical_predict() argument
138 for (int j = 0; j < stride >> 2; j++) { in vertical_predict()
142 dst += stride >> 2; in vertical_predict()
143 src += stride >> 2; in vertical_predict()
167 vertical_predict((uint32_t *)s->decbuffer, 0, (uint32_t *)s->initial_line, s->stride, 1); in decode_frame()
168 vertical_predict((uint32_t *)s->decbuffer, s->stride, (uint32_t *)s->decbuffer, s->stride, avctx->height - 1); in decode_frame()
178 const uint8_t *src = s->decbuffer + (avctx->height - 1 - i) * s->stride; in decode_frame()
342 s->stride in decode_init()
[all...]
H A Dpcx.c79 unsigned int w, h, bits_per_pixel, bytes_per_line, nplanes, stride, y, x, in pcx_decode_frame() local
152 stride = p->linesize[0]; in pcx_decode_frame()
170 ptr += stride; in pcx_decode_frame()
182 for (y = 0; y < h; y++, ptr += stride) { in pcx_decode_frame()
211 ptr += stride; in pcx_decode_frame()
229 ptr += stride; in pcx_decode_frame()
H A Dsunrast.c36 unsigned int w, h, depth, type, maptype, maplength, stride, x, y, len, alen; in sunrast_decode_frame() local
152 stride = (w + 15 >> 3) * depth; in sunrast_decode_frame()
155 stride = p->linesize[0]; in sunrast_decode_frame()
160 uint8_t *end = ptr + h * stride; in sunrast_decode_frame()
178 ptr += stride; in sunrast_decode_frame()
189 ptr += stride; in sunrast_decode_frame()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_query.c1101 pool->stride = 16 * device->physical_device->rad_info.max_render_backends; in radv_CreateQueryPool()
1104 pool->stride = pipelinestat_block_size * 2; in radv_CreateQueryPool()
1109 pool->stride += 8 * 2; in radv_CreateQueryPool()
1117 pool->stride = 8; in radv_CreateQueryPool()
1121 pool->stride = 32; in radv_CreateQueryPool()
1126 pool->stride += 8 * 4; in radv_CreateQueryPool()
1143 pool->availability_offset = pool->stride * pCreateInfo->queryCount; in radv_CreateQueryPool()
1180 uint32_t queryCount, size_t dataSize, void *pData, VkDeviceSize stride, in radv_GetQueryPoolResults()
1191 for (unsigned query_idx = 0; query_idx < queryCount; ++query_idx, data += stride) { in radv_GetQueryPoolResults()
1194 char *src = pool->ptr + query * pool->stride; in radv_GetQueryPoolResults()
1179 radv_GetQueryPoolResults(VkDevice _device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void *pData, VkDeviceSize stride, VkQueryResultFlags flags) radv_GetQueryPoolResults() argument
1483 radv_CmdCopyQueryPoolResults(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags) radv_CmdCopyQueryPoolResults() argument
[all...]
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_vbuf.c37 * to see if there's a non-zero stride, or user buffer, or unsupported format,
41 * - per-vertex attribs (stride != 0, instance_divisor == 0)
42 * - instanced attribs (stride != 0, instance_divisor > 0)
43 * - constant attribs (stride == 0)
193 /* Which buffer has a non-zero stride. */
484 offset = vb->buffer_offset + vb->stride * start_vertex; in u_vbuf_translate_buffers()
489 unsigned size = vb->stride ? num_vertices * vb->stride in u_vbuf_translate_buffers()
498 if (vb->stride) { in u_vbuf_translate_buffers()
499 /* the stride canno in u_vbuf_translate_buffers()
1430 u_vbuf_split_indexed_multidraw(struct u_vbuf *mgr, struct pipe_draw_info *info, unsigned drawid_offset, unsigned *indirect_data, unsigned stride, unsigned draw_count) u_vbuf_split_indexed_multidraw() argument
[all...]
/third_party/ffmpeg/libavcodec/arm/
H A Dvp3dsp_init_arm.c26 void ff_vp3_idct_put_neon(uint8_t *dest, ptrdiff_t stride, int16_t *data);
27 void ff_vp3_idct_add_neon(uint8_t *dest, ptrdiff_t stride, int16_t *data);
28 void ff_vp3_idct_dc_add_neon(uint8_t *dest, ptrdiff_t stride, int16_t *data);
H A Drv40dsp_init_arm.c31 ptrdiff_t stride)
61 int ff_rv40_h_loop_filter_strength_neon(uint8_t *src, ptrdiff_t stride,
64 int ff_rv40_v_loop_filter_strength_neon(uint8_t *src, ptrdiff_t stride,
68 void ff_rv40_h_weak_loop_filter_neon(uint8_t *src, ptrdiff_t stride, int filter_p1,
71 void ff_rv40_v_weak_loop_filter_neon(uint8_t *src, ptrdiff_t stride, int filter_p1,
/third_party/ffmpeg/libavcodec/x86/
H A Drv34dsp_init.c29 void ff_rv34_idct_dc_add_sse2(uint8_t *dst, ptrdiff_t stride, int dc);
30 void ff_rv34_idct_dc_add_sse4(uint8_t *dst, ptrdiff_t stride, int dc);
31 void ff_rv34_idct_add_mmxext(uint8_t *dst, ptrdiff_t stride, int16_t *block);
/third_party/mesa3d/src/gallium/include/frontend/
H A Ddrisw_api.h16 int x, int y, unsigned width, unsigned height, unsigned stride,
21 void *data, int x, int y, unsigned width, unsigned height, unsigned stride);
24 int x, int y, unsigned width, unsigned height, unsigned stride);
/third_party/musl/src/malloc/mallocng/
H A Dmalloc_usable_size.c20 size_t stride = get_stride(g); in malloc_usable_size() local
21 unsigned char *start = g->mem->storage + stride*idx; in malloc_usable_size()
22 unsigned char *end = start + stride - IB; in malloc_usable_size()
/third_party/musl/porting/linux/user/src/malloc/mallocng/
H A Dmalloc_usable_size.c19 size_t stride = get_stride(g); in malloc_usable_size() local
20 unsigned char *start = g->mem->storage + stride*idx; in malloc_usable_size()
21 unsigned char *end = start + stride - IB; in malloc_usable_size()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DVertexDataManager.cpp45 CheckedNumeric<int64_t> stride = ComputeVertexAttributeStride(attrib, binding); in GetMaxAttributeByteOffsetForDraw() local
52 stride * (CheckedNumeric<int64_t>(elementCount) - 1) + size + offset; in GetMaxAttributeByteOffsetForDraw()
62 angle::CheckedNumeric<size_t> stride = ComputeVertexAttributeStride(attrib, binding); in ElementsInBuffer() local
66 auto elementsInBuffer = (bufferSize - (offset % stride) + (stride - elementSize)) / stride; in ElementsInBuffer()
96 // Alignment restrictions: In D3D, vertex data must be aligned to the format stride, or to a in DirectStoragePossible()
134 stride(0), in TranslatedAttribute()
154 CheckedNumeric<unsigned int> checkedStride(stride); in computeOffset()
338 directAttrib->stride in StoreDirectAttrib()
[all...]
/third_party/python/Modules/_decimal/libmpdec/
H A Dtranspose.c81 mpd_size_t b = BUFSIZE, stride; in swap_halfrows_pow2() local
117 stride = (offset + b < cols/2) ? b : cols/2-offset; in swap_halfrows_pow2()
120 memcpy(readbuf, hp+offset, stride*(sizeof *readbuf)); in swap_halfrows_pow2()
128 memcpy(readbuf, hp+offset, stride*(sizeof *readbuf)); in swap_halfrows_pow2()
129 memcpy(hp+offset, writebuf, stride*(sizeof *writebuf)); in swap_halfrows_pow2()
139 memcpy(hp+offset, writebuf, stride*(sizeof *writebuf)); in swap_halfrows_pow2()

Completed in 18 milliseconds

1...<<11121314151617181920>>...73