Home
last modified time | relevance | path

Searched refs:stride (Results 601 - 625 of 1948) sorted by relevance

1...<<21222324252627282930>>...78

/third_party/ffmpeg/libavfilter/
H A Dvf_vaguedenoiser.c63 const int stride, const float threshold,
332 const int stride, const float threshold, in hard_thresholding()
343 block += stride; in hard_thresholding()
347 static void soft_thresholding(float *block, const int width, const int height, const int stride, in soft_thresholding() argument
362 block += stride; in soft_thresholding()
367 const int stride, const float threshold, in qian_thresholding()
385 block += stride; in qian_thresholding()
390 const int stride, const float threshold) in bayes_threshold()
398 block += stride; in bayes_threshold()
331 hard_thresholding(float *block, const int width, const int height, const int stride, const float threshold, const float percent) hard_thresholding() argument
366 qian_thresholding(float *block, const int width, const int height, const int stride, const float threshold, const float percent) qian_thresholding() argument
389 bayes_threshold(float *block, const int width, const int height, const int stride, const float threshold) bayes_threshold() argument
H A Dvf_siti.c181 int stride = linesize / s->pixel_depth; in convolve_sobel() local
196 index = (j + kj) * stride + (i + ki); \ in convolve_sobel()
218 int stride = linesize / s->pixel_depth; in calculate_motion() local
234 curr_index = j * stride + i; \ in calculate_motion()
/third_party/mesa3d/src/freedreno/rnn/
H A Drnndec.c349 if ((o <= addr) && (addr < (o + elem->stride))) { in get_array_idx_offset()
360 *idx = (addr - elem->offset) / elem->stride; in get_array_idx_offset()
361 *offset = (addr - elem->offset) % elem->stride; in get_array_idx_offset()
382 if (elems[i]->stride) { in trymatch()
383 idx = (addr-elems[i]->offset)/elems[i]->stride; in trymatch()
384 offset = (addr-elems[i]->offset)%elems[i]->stride; in trymatch()
416 if (addr < elems[i]->offset + elems[i]->stride * idx) in trymatch()
418 offset = addr - (elems[i]->offset + elems[i]->stride * idx); in trymatch()
539 *offset += elem->offset + (idx * elem->stride); in tryreg()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_miptree.c60 unsigned stride; in nv30_miptree_get_handle() local
65 stride = mt->level[0].pitch; in nv30_miptree_get_handle()
67 return nouveau_screen_bo_get_handle(pscreen, mt->base.bo, stride, handle); in nv30_miptree_get_handle()
299 tx->base.stride = align(util_format_get_nblocksx(pt->format, box->width) * in nv30_miptree_transfer_map()
302 tx->base.stride; in nv30_miptree_transfer_map()
321 tx->tmp.pitch = tx->base.stride; in nv30_miptree_transfer_map()
512 unsigned stride; in nv30_miptree_from_handle() local
526 mt->base.bo = nouveau_screen_bo_from_handle(pscreen, handle, &stride); in nv30_miptree_from_handle()
535 mt->uniform_pitch = stride; in nv30_miptree_from_handle()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_blt.c73 VIVS_BLT_DEST_STRIDE_STRIDE(img->stride); in blt_compute_stride_bits()
226 clr.dest.stride = surf->surf.stride; in etna_blit_clear_color_blt()
305 clr.dest.stride = surf->surf.stride; in etna_blit_clear_zs_blt()
465 op.src.stride = src_lev->stride; in etna_try_blt_blit()
485 op.dest.stride = dst_lev->stride; in etna_try_blt_blit()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkDescriptorSetLayout.cpp298 auto update = reinterpret_cast<VkDescriptorImageInfo const *>(src + entry.offset + entry.stride * i);
313 auto update = reinterpret_cast<VkBufferView const *>(src + entry.offset + entry.stride * i);
347 auto *update = reinterpret_cast<VkDescriptorImageInfo const *>(src + entry.offset + entry.stride * i);
454 auto *update = reinterpret_cast<VkDescriptorImageInfo const *>(src + entry.offset + entry.stride * i);
489 auto update = reinterpret_cast<VkBufferView const *>(src + entry.offset + entry.stride * i);
512 auto update = reinterpret_cast<VkDescriptorBufferInfo const *>(src + entry.offset + entry.stride * i);
578 e.stride = sizeof(VkBufferView);
587 e.stride = sizeof(VkDescriptorImageInfo);
595 e.stride = sizeof(VkDescriptorBufferInfo);
H A DVkPromotedExtensions.cpp235 VKAPI_ATTR void VKAPI_CALL vkCmdDrawIndirectCountKHR(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) in vkCmdDrawIndirectCountKHR() argument
237 vkCmdDrawIndirectCount(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride); in vkCmdDrawIndirectCountKHR()
240 VKAPI_ATTR void VKAPI_CALL vkCmdDrawIndexedIndirectCountKHR(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) in vkCmdDrawIndexedIndirectCountKHR() argument
242 vkCmdDrawIndexedIndirectCount(commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride); in vkCmdDrawIndexedIndirectCountKHR()
/third_party/skia/third_party/externals/libwebp/examples/
H A Danim_util.c119 // Copy pixels in the given rectangle from 'src' to 'dst' honoring the 'stride'.
120 static void CopyFrameRectangle(const uint8_t* src, uint8_t* dst, int stride, in CopyFrameRectangle() argument
125 const size_t offset = y_offset * stride + x_offset * kNumChannels; in CopyFrameRectangle()
126 assert(width_in_bytes <= stride); in CopyFrameRectangle()
131 src += stride; in CopyFrameRectangle()
132 dst += stride; in CopyFrameRectangle()
740 const uint32_t stride = width * kNumChannels; in GetDiffAndPSNR() local
746 for (x = 0; x < stride; x += kNumChannels) { in GetDiffAndPSNR()
748 const size_t offset = (size_t)y * stride + x; in GetDiffAndPSNR()
770 sse /= stride * heigh in GetDiffAndPSNR()
[all...]
H A Danim_diff.c37 const int stride = width * 4; // Always true for 'DecodedFrame.rgba'. in FramesAreEqual() local
38 return !memcmp(rgba1, rgba2, stride * height); in FramesAreEqual()
65 const int stride = width * 4; in FramesAreSimilar() local
66 const size_t offset = j * stride + i; in FramesAreSimilar()
/third_party/vk-gl-cts/modules/glshared/
H A DglsFragOpInteractionCase.cpp79 static void computeVertexLayout (const vector<rsg::ShaderInput*>& attributes, int numVertices, vector<glu::VertexArrayBinding>* layout, int* stride) in computeVertexLayout() argument
100 vaIter->pointer.stride = curOffset; in computeVertexLayout()
102 *stride = curOffset; in computeVertexLayout()
126 int stride = 0; in VertexDataStorage() local
127 computeVertexLayout(attributes, numVertices, &m_layout, &stride); in VertexDataStorage()
128 m_data.resize(stride * numVertices); in VertexDataStorage()
138 entry.pointer.stride, in getEntryWithPointer()
150 float* dst = (float*)((deUint8*)pointer.data + pointer.stride*vertexNdx); in setVertex()
323 ctx.vertexAttribPointer(attribLoc, bindingPtr.pointer.numComponents, GL_FLOAT, GL_FALSE, bindingPtr.pointer.stride, bindingPtr.pointer.data);
/third_party/ffmpeg/libavcodec/mips/
H A Dhevc_lpf_sao_msa.c24 static void hevc_loopfilter_luma_hor_msa(uint8_t *src, int32_t stride, in hevc_loopfilter_luma_hor_msa() argument
28 uint8_t *p3 = src - (stride << 2); in hevc_loopfilter_luma_hor_msa()
29 uint8_t *p2 = src - ((stride << 1) + stride); in hevc_loopfilter_luma_hor_msa()
30 uint8_t *p1 = src - (stride << 1); in hevc_loopfilter_luma_hor_msa()
31 uint8_t *p0 = src - stride; in hevc_loopfilter_luma_hor_msa()
33 uint8_t *q1 = src + stride; in hevc_loopfilter_luma_hor_msa()
34 uint8_t *q2 = src + (stride << 1); in hevc_loopfilter_luma_hor_msa()
35 uint8_t *q3 = src + (stride << 1) + stride; in hevc_loopfilter_luma_hor_msa()
450 hevc_loopfilter_luma_ver_msa(uint8_t *src, int32_t stride, int32_t beta, int32_t *tc, uint8_t *p_is_pcm, uint8_t *q_is_pcm) hevc_loopfilter_luma_ver_msa() argument
916 hevc_loopfilter_chroma_hor_msa(uint8_t *src, int32_t stride, int32_t *tc, uint8_t *p_is_pcm, uint8_t *q_is_pcm) hevc_loopfilter_chroma_hor_msa() argument
979 hevc_loopfilter_chroma_ver_msa(uint8_t *src, int32_t stride, int32_t *tc, uint8_t *p_is_pcm, uint8_t *q_is_pcm) hevc_loopfilter_chroma_ver_msa() argument
[all...]
/third_party/ffmpeg/libavcodec/loongarch/
H A Dhevcdsp_lsx.h204 void ff_hevc_loop_filter_luma_h_8_lsx(uint8_t *src, ptrdiff_t stride,
208 void ff_hevc_loop_filter_luma_v_8_lsx(uint8_t *src, ptrdiff_t stride,
212 void ff_hevc_loop_filter_chroma_h_8_lsx(uint8_t *src, ptrdiff_t stride,
216 void ff_hevc_loop_filter_chroma_v_8_lsx(uint8_t *src, ptrdiff_t stride,
/third_party/ffmpeg/libavcodec/
H A Dmscc.c215 int stride; in decode_init() local
228 stride = 4 * ((avctx->width * avctx->bits_per_coded_sample + 31) / 32); in decode_init()
230 s->decomp_size = 2 * avctx->height * stride; in decode_init()
234 s->uncomp_size = avctx->height * stride; in decode_init()
/third_party/ffmpeg/libavresample/
H A Daudio_mix_matrix.c90 double *matrix_out, int stride, in avresample_build_matrix()
108 memset(matrix_out, 0, out_channels * stride * sizeof(*matrix_out)); in avresample_build_matrix()
276 matrix_out[out_i * stride + out_j] = matrix[i][j]; in avresample_build_matrix()
290 matrix_out[i * stride + j] /= maxcoef; in avresample_build_matrix()
87 avresample_build_matrix(uint64_t in_layout, uint64_t out_layout, double center_mix_level, double surround_mix_level, double lfe_mix_level, int normalize, double *matrix_out, int stride, enum AVMatrixEncoding matrix_encoding) avresample_build_matrix() argument
/third_party/libdrm/intel/
H A Dintel_bufmgr.c66 uint32_t stride, in drm_intel_bo_alloc_userptr()
72 stride, size, flags); in drm_intel_bo_alloc_userptr()
240 uint32_t stride) in drm_intel_bo_set_tiling()
243 return bo->bufmgr->bo_set_tiling(bo, tiling_mode, stride); in drm_intel_bo_set_tiling()
63 drm_intel_bo_alloc_userptr(drm_intel_bufmgr *bufmgr, const char *name, void *addr, uint32_t tiling_mode, uint32_t stride, unsigned long size, unsigned long flags) drm_intel_bo_alloc_userptr() argument
239 drm_intel_bo_set_tiling(drm_intel_bo *bo, uint32_t * tiling_mode, uint32_t stride) drm_intel_bo_set_tiling() argument
/third_party/mesa3d/src/gallium/include/pipe/
H A Dp_state.h274 /** stride for an entire vertex for each buffer in dwords */
275 uint16_t stride[PIPE_MAX_SO_BUFFERS]; member
610 unsigned stride; /**< row stride in bytes */ member
611 unsigned layer_stride; /**< image/layer stride in bytes */
627 uint16_t stride; /**< stride to same attrib in next vertex, in bytes */ member
762 unsigned stride; /**< must be 4 byte aligned */ member
/third_party/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_screen_dri.c65 unsigned stride,
327 unsigned stride, in vmw_drm_surface_get_handle()
339 whandle->stride = stride; in vmw_drm_surface_get_handle()
325 vmw_drm_surface_get_handle(struct svga_winsys_screen *sws, struct svga_winsys_surface *surface, unsigned stride, struct winsys_handle *whandle) vmw_drm_surface_get_handle() argument
/third_party/musl/src/malloc/mallocng/
H A Dmeta.h213 size_t stride = get_stride(g); in enframe() local
214 size_t slack = (stride-IB-n)/UNIT; in enframe()
215 unsigned char *p = g->mem->storage + stride*idx; in enframe()
216 unsigned char *end = p+stride-IB; in enframe()
/third_party/musl/porting/linux/user/src/malloc/mallocng/
H A Dmeta.h213 size_t stride = get_stride(g); in enframe() local
214 size_t slack = (stride-IB-n)/UNIT; in enframe()
215 unsigned char *p = g->mem->storage + stride*idx; in enframe()
216 unsigned char *end = p+stride-IB; in enframe()
/third_party/mesa3d/src/mesa/math/
H A Dm_debug_xform.c146 s = (GLfloat *)((char *)s + src->stride); in ref_transform()
224 source->stride = sizeof(s[0]); in test_transform_function()
231 dest->stride = sizeof(float[4]); in test_transform_function()
238 ref->stride = sizeof(float[4]); in test_transform_function()
/third_party/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_screen.c129 *out_stride = whandle->stride; in nouveau_screen_bo_from_handle()
137 unsigned stride, in nouveau_screen_bo_get_handle()
140 whandle->stride = stride; in nouveau_screen_bo_get_handle()
135 nouveau_screen_bo_get_handle(struct pipe_screen *pscreen, struct nouveau_bo *bo, unsigned stride, struct winsys_handle *whandle) nouveau_screen_bo_get_handle() argument
/third_party/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_vertex_buffers.c50 quad.stride = sizeof(struct vertex2f); in vl_vb_upload_quads()
95 pos.stride = sizeof(struct vertex2s); in vl_vb_upload_pos()
270 buf.stride = sizeof(struct vl_ycbcr_block); in vl_vb_get_ycbcr()
285 buf.stride = sizeof(struct vl_motionvector); in vl_vb_get_mv()
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
H A Dcapture_gles_1_0_params.cpp39 GLsizei stride, in CaptureColorPointer_pointer()
275 GLsizei stride, in CaptureNormalPointer_pointer()
304 GLsizei stride, in CaptureTexCoordPointer_pointer()
357 GLsizei stride, in CaptureVertexPointer_pointer()
35 CaptureColorPointer_pointer(const State &glState, bool isCallValid, GLint size, VertexAttribType typePacked, GLsizei stride, const void *pointer, ParamCapture *paramCapture) CaptureColorPointer_pointer() argument
272 CaptureNormalPointer_pointer(const State &glState, bool isCallValid, VertexAttribType typePacked, GLsizei stride, const void *pointer, ParamCapture *paramCapture) CaptureNormalPointer_pointer() argument
300 CaptureTexCoordPointer_pointer(const State &glState, bool isCallValid, GLint size, VertexAttribType typePacked, GLsizei stride, const void *pointer, ParamCapture *paramCapture) CaptureTexCoordPointer_pointer() argument
353 CaptureVertexPointer_pointer(const State &glState, bool isCallValid, GLint size, VertexAttribType typePacked, GLsizei stride, const void *pointer, ParamCapture *paramCapture) CaptureVertexPointer_pointer() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DContext_gles_1_0_autogen.h24 void colorPointer(GLint size, VertexAttribType typePacked, GLsizei stride, \
73 void normalPointer(VertexAttribType typePacked, GLsizei stride, const void *pointer); \
91 void texCoordPointer(GLint size, VertexAttribType typePacked, GLsizei stride, \
106 void vertexPointer(GLint size, VertexAttribType typePacked, GLsizei stride, \
/third_party/skia/third_party/externals/libwebp/src/utils/
H A Dquant_levels_dec_utils.c47 int stride_; // stride in bytes
216 static int InitParams(uint8_t* const data, int width, int height, int stride, in InitParams() argument
241 p->stride_ = stride; in InitParams()
262 int WebPDequantizeLevels(uint8_t* const data, int width, int height, int stride, in WebPDequantizeLevels() argument
276 if (!InitParams(data, width, height, stride, radius, &p)) return 0; in WebPDequantizeLevels()

Completed in 21 milliseconds

1...<<21222324252627282930>>...78