/third_party/ffmpeg/libavfilter/ |
H A D | vf_vaguedenoiser.c | 63 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 D | vf_siti.c | 181 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 D | rnndec.c | 349 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 D | nv30_miptree.c | 60 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 D | etnaviv_blt.c | 73 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 D | VkDescriptorSetLayout.cpp | 298 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 D | VkPromotedExtensions.cpp | 235 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 D | anim_util.c | 119 // 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 D | anim_diff.c | 37 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 D | glsFragOpInteractionCase.cpp | 79 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 D | hevc_lpf_sao_msa.c | 24 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 D | hevcdsp_lsx.h | 204 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 D | mscc.c | 215 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 D | audio_mix_matrix.c | 90 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 D | intel_bufmgr.c | 66 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 D | p_state.h | 274 /** 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 D | vmw_screen_dri.c | 65 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 D | meta.h | 213 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 D | meta.h | 213 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 D | m_debug_xform.c | 146 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 D | nouveau_screen.c | 129 *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 D | vl_vertex_buffers.c | 50 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 D | capture_gles_1_0_params.cpp | 39 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 D | Context_gles_1_0_autogen.h | 24 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 D | quant_levels_dec_utils.c | 47 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()
|