Home
last modified time | relevance | path

Searched refs:stride (Results 276 - 300 of 1883) sorted by relevance

1...<<11121314151617181920>>...76

/third_party/skia/src/core/
H A DSkOpts_erms.cpp77 for (int stride = rowBytes/sizeof(v); height --> 0; dst += stride) { in rect_memset16()
86 for (int stride = rowBytes/sizeof(v); height --> 0; dst += stride) { in rect_memset32()
95 for (int stride = rowBytes/sizeof(v); height --> 0; dst += stride) { in rect_memset64()
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Dlossless_enc_sse41.c50 static void CollectColorBlueTransforms_SSE41(const uint32_t* argb, int stride, in CollectColorBlueTransforms_SSE41() argument
61 const uint32_t* const src = argb + y * stride; in CollectColorBlueTransforms_SSE41()
89 VP8LCollectColorBlueTransforms_C(argb + tile_width - left_over, stride, in CollectColorBlueTransforms_SSE41()
96 static void CollectColorRedTransforms_SSE41(const uint32_t* argb, int stride, in CollectColorRedTransforms_SSE41() argument
105 const uint32_t* const src = argb + y * stride; in CollectColorRedTransforms_SSE41()
131 VP8LCollectColorRedTransforms_C(argb + tile_width - left_over, stride, in CollectColorRedTransforms_SSE41()
/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dnear_lossless_enc.c75 int stride, int limit_bits, uint32_t* copy_buffer, in NearLossless()
83 memcpy(next_row, argb_src + stride, xsize * sizeof(argb_src[0])); in NearLossless()
85 for (y = 0; y < ysize; ++y, argb_src += stride, argb_dst += xsize) { in NearLossless()
89 memcpy(next_row, argb_src + stride, xsize * sizeof(argb_src[0])); in NearLossless()
115 const int stride = picture->argb_stride; in VP8ApplyNearLossless() local
137 NearLossless(xsize, ysize, picture->argb, stride, limit_bits, copy_buffer, in VP8ApplyNearLossless()
74 NearLossless(int xsize, int ysize, const uint32_t* argb_src, int stride, int limit_bits, uint32_t* copy_buffer, uint32_t* argb_dst) NearLossless() argument
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_draw.c100 if (buffer->stride != 0) { in util_draw_max_index()
103 buffer_max_index = buffer_size / buffer->stride; in util_draw_max_index()
164 unsigned map_size = (draw_count - 1) * indirect->stride + (num_params * sizeof(uint32_t)); in util_draw_indirect_read()
184 params += indirect->stride / 4; in util_draw_indirect_read()
226 if (indirect->stride) in util_draw_indirect()
227 num_params = MIN2(indirect->stride / 4, num_params); in util_draw_indirect()
251 params += indirect->stride / 4; in util_draw_indirect()
/third_party/ffmpeg/libavcodec/
H A Drawdec.c174 int stride; in raw_decode() local
188 stride = avctx->width / 8 + (avctx->width & 7 ? 1 : 0); in raw_decode()
190 stride = avctx->width; in raw_decode()
192 stride = avpkt->size / avctx->height; in raw_decode()
194 av_log(avctx, AV_LOG_DEBUG, "PACKET SIZE: %d, STRIDE: %d\n", avpkt->size, stride); in raw_decode()
196 if (stride == 0 || avpkt->size < stride * avctx->height) { in raw_decode()
265 i += stride - (i % stride) - 1; in raw_decode()
276 i += stride in raw_decode()
[all...]
H A Daasc.c87 int compr, i, stride, psize, ret; in aasc_decode_frame() local
109 stride = (avctx->width * psize + psize) & ~psize; in aasc_decode_frame()
110 if (buf_size < stride * avctx->height) in aasc_decode_frame()
114 buf += stride; in aasc_decode_frame()
115 buf_size -= stride; in aasc_decode_frame()
H A Dv410dec.c32 int stride; member
56 int stride = td->stride; in v410_decode_slice() local
60 const uint8_t *src = td->buf + stride * slice_start; in v410_decode_slice()
96 td.stride = avctx->width * 4; in v410_decode_frame()
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_blit.c91 * destination surface) to determine the stride. This may be wrong in vc4_tile_blit()
95 * determine the stride (which could be fixed by explicitly supplying in vc4_tile_blit()
100 uint32_t stride; in vc4_tile_blit() local
103 stride = align(dst_surface_width, 32) * 4 * rsc->cpp; in vc4_tile_blit()
105 stride = align(dst_surface_width * rsc->cpp, 128); in vc4_tile_blit()
107 stride = align(dst_surface_width * rsc->cpp, 16); in vc4_tile_blit()
109 if (stride != rsc->slices[info->src.level].stride) in vc4_tile_blit()
261 glsl_int, "stride"); in vc4_get_yuv_fs()
262 nir_ssa_def *stride in vc4_get_yuv_fs() local
358 uint32_t stride = src->slices[info->src.level].stride; vc4_yuv_blit() local
[all...]
/third_party/mesa3d/src/virtio/venus-protocol/
H A Dvn_protocol_driver_query_pool.h197 static inline size_t vn_sizeof_vkGetQueryPoolResults(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) in vn_sizeof_vkGetQueryPoolResults() argument
209 cmd_size += vn_sizeof_VkDeviceSize(&stride); in vn_sizeof_vkGetQueryPoolResults()
215 static inline void vn_encode_vkGetQueryPoolResults(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) in vn_encode_vkGetQueryPoolResults() argument
228 vn_encode_VkDeviceSize(enc, &stride); in vn_encode_vkGetQueryPoolResults()
232 static inline size_t vn_sizeof_vkGetQueryPoolResults_reply(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) in vn_sizeof_vkGetQueryPoolResults_reply() argument
250 /* skip stride */ in vn_sizeof_vkGetQueryPoolResults_reply()
256 static inline VkResult vn_decode_vkGetQueryPoolResults_reply(struct vn_cs_decoder *dec, VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) in vn_decode_vkGetQueryPoolResults_reply() argument
276 /* skip stride */ in vn_decode_vkGetQueryPoolResults_reply()
376 static inline void vn_submit_vkGetQueryPoolResults(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags, struct vn_instance_submit_command *submit) in vn_submit_vkGetQueryPoolResults() argument
380 size_t cmd_size = vn_sizeof_vkGetQueryPoolResults(device, queryPool, firstQuery, queryCount, dataSize, pData, stride, flag in vn_submit_vkGetQueryPoolResults()
459 vn_call_vkGetQueryPoolResults(struct vn_instance *vn_instance, VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) vn_call_vkGetQueryPoolResults() argument
475 vn_async_vkGetQueryPoolResults(struct vn_instance *vn_instance, VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) vn_async_vkGetQueryPoolResults() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_resource.c106 rsc->levels[0].stride % 256 == 0) ) in etna_screen_resource_alloc_ts()
174 mip->stride = util_format_get_stride(prsc->format, mip->padded_width); in setup_miptree()
176 mip->layer_stride = mip->stride * util_format_get_nblocksy(prsc->format, mip->padded_height); in setup_miptree()
285 rsc->levels[0].stride = handle.stride; in etna_resource_alloc()
506 level->stride = handle->stride; in etna_resource_from_handle()
520 level->layer_stride = level->stride * util_format_get_nblocksy(prsc->format, in etna_resource_from_handle()
525 * The stride of the BO must be greater or equal to our padded in etna_resource_from_handle()
526 * stride in etna_resource_from_handle()
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_test_dma.c41 unsigned stride; member
47 tex->stride = align(templ->width0 * bpp, RAND_NUM_SIZE); in alloc_cpu_texture()
48 tex->layer_stride = (uint64_t)tex->stride * templ->height0; in alloc_cpu_texture()
70 (map + t->layer_stride*z + t->stride*y); in set_random_pixels()
72 (cpu->ptr + cpu->layer_stride*z + cpu->stride*y); in set_random_pixels()
73 unsigned size = cpu->stride / RAND_NUM_SIZE; in set_random_pixels()
75 assert(t->stride % RAND_NUM_SIZE == 0); in set_random_pixels()
76 assert(cpu->stride % RAND_NUM_SIZE == 0); in set_random_pixels()
104 uint8_t *ptr = map + t->layer_stride*z + t->stride*y; in compare_textures()
106 cpu->layer_stride*z + cpu->stride* in compare_textures()
[all...]
/third_party/ffmpeg/libavcodec/loongarch/
H A Dh264_intrapred_lasx.h27 void ff_h264_pred16x16_plane_h264_8_lasx(uint8_t *src, ptrdiff_t stride);
28 void ff_h264_pred16x16_plane_rv40_8_lasx(uint8_t *src, ptrdiff_t stride);
29 void ff_h264_pred16x16_plane_svq3_8_lasx(uint8_t *src, ptrdiff_t stride);
H A Dvideodsp_init.c25 static void prefetch_loongarch(uint8_t *mem, ptrdiff_t stride, int h) in prefetch_loongarch() argument
34 "add.d %[p], %[p], %[stride] \n\t" in prefetch_loongarch()
38 : [stride] "r" (stride) in prefetch_loongarch()
H A Dh264chroma_lasx.h29 void ff_put_h264_chroma_mc4_lasx(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
31 void ff_put_h264_chroma_mc8_lasx(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
33 void ff_avg_h264_chroma_mc8_lasx(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
/third_party/ffmpeg/libavcodec/mips/
H A Dhevc_idct_msa.c716 static void hevc_addblk_4x4_msa(int16_t *coeffs, uint8_t *dst, int32_t stride) in hevc_addblk_4x4_msa() argument
724 LW4(dst, stride, dst0, dst1, dst2, dst3); in hevc_addblk_4x4_msa()
730 ST_W4(dst_vec, 0, 1, 2, 3, dst, stride); in hevc_addblk_4x4_msa()
733 static void hevc_addblk_8x8_msa(int16_t *coeffs, uint8_t *dst, int32_t stride) in hevc_addblk_8x8_msa() argument
744 LD4(temp_dst, stride, dst0, dst1, dst2, dst3); in hevc_addblk_8x8_msa()
745 temp_dst += (4 * stride); in hevc_addblk_8x8_msa()
755 ST_D4(dst_r0, dst_r1, 0, 1, 0, 1, dst, stride); in hevc_addblk_8x8_msa()
757 LD4(temp_dst, stride, dst0, dst1, dst2, dst3); in hevc_addblk_8x8_msa()
766 ST_D4(dst_r0, dst_r1, 0, 1, 0, 1, dst + 4 * stride, stride); in hevc_addblk_8x8_msa()
769 hevc_addblk_16x16_msa(int16_t *coeffs, uint8_t *dst, int32_t stride) hevc_addblk_16x16_msa() argument
836 hevc_addblk_32x32_msa(int16_t *coeffs, uint8_t *dst, int32_t stride) hevc_addblk_32x32_msa() argument
983 ff_hevc_addblk_4x4_msa(uint8_t *dst, int16_t *coeffs, ptrdiff_t stride) ff_hevc_addblk_4x4_msa() argument
988 ff_hevc_addblk_8x8_msa(uint8_t *dst, int16_t *coeffs, ptrdiff_t stride) ff_hevc_addblk_8x8_msa() argument
993 ff_hevc_addblk_16x16_msa(uint8_t *dst, int16_t *coeffs, ptrdiff_t stride) ff_hevc_addblk_16x16_msa() argument
998 ff_hevc_addblk_32x32_msa(uint8_t *dst, int16_t *coeffs, ptrdiff_t stride) ff_hevc_addblk_32x32_msa() argument
[all...]
H A Dvideodsp_init.c27 static void prefetch_mips(uint8_t *mem, ptrdiff_t stride, int h) in prefetch_mips() argument
36 PTR_ADDU " %[p], %[p], %[stride] \n\t" in prefetch_mips()
41 : [stride] "r" (stride) in prefetch_mips()
H A Dmpegvideoencdsp_msa.c24 static int32_t sum_u8src_16width_msa(uint8_t *src, int32_t stride) in sum_u8src_16width_msa() argument
30 LD_UB8(src, stride, in0, in1, in2, in3, in4, in5, in6, in7); in sum_u8src_16width_msa()
31 src += (8 * stride); in sum_u8src_16width_msa()
32 LD_UB8(src, stride, in8, in9, in10, in11, in12, in13, in14, in15); in sum_u8src_16width_msa()
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_fs_copy_propagation.cpp372 unsigned arg, unsigned stride, in can_take_stride()
377 if (stride > 4) in can_take_stride()
381 * of the corresponding channel of the destination, and the provided stride in can_take_stride()
385 !(type_sz(inst->src[arg].type) * stride == in can_take_stride()
386 type_sz(dst_type) * inst->dst.stride || in can_take_stride()
387 stride == 0)) in can_take_stride()
391 * they can take. They can only take a stride of 1 (the usual case), or 0 in can_take_stride()
393 * 64-bit datatypes, so if the source type is 64-bit then only a stride of in can_take_stride()
402 return stride == 1; in can_take_stride()
404 return stride in can_take_stride()
371 can_take_stride(fs_inst *inst, brw_reg_type dst_type, unsigned arg, unsigned stride, const struct brw_compiler *compiler) can_take_stride() argument
[all...]
/third_party/ffmpeg/libavcodec/x86/
H A Dhevcdsp.h247 void ff_hevc_add_residual_4_8_mmxext(uint8_t *dst, int16_t *res, ptrdiff_t stride);
248 void ff_hevc_add_residual_8_8_sse2(uint8_t *dst, int16_t *res, ptrdiff_t stride);
249 void ff_hevc_add_residual_16_8_sse2(uint8_t *dst, int16_t *res, ptrdiff_t stride);
250 void ff_hevc_add_residual_32_8_sse2(uint8_t *dst, int16_t *res, ptrdiff_t stride);
252 void ff_hevc_add_residual_8_8_avx(uint8_t *dst, int16_t *res, ptrdiff_t stride);
253 void ff_hevc_add_residual_16_8_avx(uint8_t *dst, int16_t *res, ptrdiff_t stride);
254 void ff_hevc_add_residual_32_8_avx(uint8_t *dst, int16_t *res, ptrdiff_t stride);
256 void ff_hevc_add_residual_32_8_avx2(uint8_t *dst, int16_t *res, ptrdiff_t stride);
258 void ff_hevc_add_residual_4_10_mmxext(uint8_t *dst, int16_t *res, ptrdiff_t stride);
259 void ff_hevc_add_residual_8_10_sse2(uint8_t *dst, int16_t *res, ptrdiff_t stride);
[all...]
H A Dh264_intrapred_10bit.asm55 ; ptrdiff_t stride)
94 ; ptrdiff_t stride)
134 ; ptrdiff_t stride)
176 ; void ff_pred4x4_dc_10(pixel *src, const pixel *topright, ptrdiff_t stride)
202 ; ptrdiff_t stride)
233 ; ptrdiff_t stride)
263 ; ptrdiff_t stride)
297 ; void ff_pred8x8_vertical_10(pixel *src, ptrdiff_t stride)
313 ; void ff_pred8x8_horizontal_10(pixel *src, ptrdiff_t stride)
333 ; void ff_predict_8x8_dc_10(pixel *src, ptrdiff_t stride)
[all...]
/third_party/mesa3d/src/gallium/frontends/dri/
H A Ddrisw.c70 unsigned width, unsigned height, unsigned stride) in put_image2()
76 x, y, width, height, stride, in put_image2()
83 unsigned width, unsigned height, unsigned stride) in put_image_shm()
91 x, y, width, height, stride, in put_image_shm()
95 x, y, width, height, stride, in put_image_shm()
111 get_image2(__DRIdrawable *dPriv, int x, int y, int width, int height, int stride, void *data) in get_image2() argument
121 x, y, width, height, stride, in get_image2()
159 int x, int y, unsigned width, unsigned height, unsigned stride, in drisw_get_image()
166 get_image2(dPriv, x, y, draw_w, draw_h, stride, data); in drisw_get_image()
181 unsigned stride) in drisw_put_image2()
69 put_image2(__DRIdrawable *dPriv, void *data, int x, int y, unsigned width, unsigned height, unsigned stride) put_image2() argument
81 put_image_shm(__DRIdrawable *dPriv, int shmid, char *shmaddr, unsigned offset, unsigned offset_x, int x, int y, unsigned width, unsigned height, unsigned stride) put_image_shm() argument
158 drisw_get_image(struct dri_drawable *drawable, int x, int y, unsigned width, unsigned height, unsigned stride, void *data) drisw_get_image() argument
179 drisw_put_image2(struct dri_drawable *drawable, void *data, int x, int y, unsigned width, unsigned height, unsigned stride) drisw_put_image2() argument
189 drisw_put_image_shm(struct dri_drawable *drawable, int shmid, char *shmaddr, unsigned offset, unsigned offset_x, int x, int y, unsigned width, unsigned height, unsigned stride) drisw_put_image_shm() argument
[all...]
/third_party/vk-gl-cts/framework/opengl/
H A DgluDrawUtil.cpp48 int stride; //!< Stride or 0 if using default stride. member
63 , stride (stride_) in VertexAttributeDescriptor()
74 , stride (0) in VertexAttributeDescriptor()
289 0, // default stride in appendAttributeNonStrided()
308 const bool srcHasCustomStride = srcPtr.stride != 0 && srcPtr.stride != elementSize; in copyToLayout()
309 const bool dstHasCustomStride = dstVA.stride != 0 && dstVA.stride != elementSize; in copyToLayout()
313 const int dstStride = dstVA.stride ! in copyToLayout()
[all...]
/third_party/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_resource.c284 vws->transfer_get(vws, res->hw_res, &xfer->base.box, xfer->base.stride, in virgl_resource_transfer_prepare()
302 * transfer map. Also return the stride and layer_stride for the corresponding
312 unsigned stride; in virgl_transfer_map_size() local
319 stride = util_format_get_stride(pres->format, box->width); in virgl_transfer_map_size()
320 layer_stride = util_format_get_2d_size(pres->format, stride, box->height); in virgl_transfer_map_size()
328 size = box->depth * stride; in virgl_transfer_map_size()
333 *out_stride = stride; in virgl_transfer_map_size()
347 unsigned stride; in virgl_staging_map() local
354 size = virgl_transfer_map_size(vtransfer, &stride, &layer_stride); in virgl_staging_map()
395 vtransfer->base.stride in virgl_staging_map()
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_gmem.c57 uint32_t stride = 0; in emit_mrt() local
86 stride = gmem->bin_w * gmem->cbuf_cpp[i]; in emit_mrt()
87 size = stride * gmem->bin_h; in emit_mrt()
90 stride = fd_resource_pitch(rsc, psurf->u.tex.level); in emit_mrt()
107 OUT_RING(ring, A5XX_RB_MRT_PITCH(stride)); in emit_mrt()
141 uint32_t stride = 0; in emit_zs() local
145 stride = cpp * gmem->bin_w; in emit_zs()
146 size = stride * gmem->bin_h; in emit_zs()
148 stride = fd_resource_pitch(rsc, zsbuf->u.tex.level); in emit_zs()
162 OUT_RING(ring, A5XX_RB_DEPTH_BUFFER_PITCH(stride)); in emit_zs()
512 uint32_t stride, size; emit_mem2gmem_surf() local
[all...]
/third_party/libsnd/src/ALAC/
H A DALACEncoder.h58 int32_t EncodeStereo (struct BitBuffer * bitstream, void * input, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) ;
59 int32_t EncodeStereoFast (struct BitBuffer * bitstream, void * input, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) ;
60 int32_t EncodeStereoEscape (struct BitBuffer * bitstream, void * input, uint32_t stride, uint32_t numSamples) ;
61 int32_t EncodeMono (struct BitBuffer * bitstream, void * input, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) ;

Completed in 17 milliseconds

1...<<11121314151617181920>>...76