/third_party/ffmpeg/libavcodec/x86/ |
H A D | simple_idct10.asm | 116 %define PASS4ROWS(base, stride, stride3) \ 117 [base], [base + stride], [base + 2*stride], [base + stride3]
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_split_64bit_vec3_and_vec4.c | 116 int stride = glsl_array_size((*p)->type); in get_linear_array_offset() local 117 if (stride >= 0) in get_linear_array_offset() 118 offset = nir_iadd(b, offset, nir_amul_imm(b, index, stride)); in get_linear_array_offset()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_android.c | 153 *out_stride = native_buffer->stride /*in pixels*/ * in v3dv_gralloc_info_other() 170 int stride[4]; member 188 *out_stride = info.stride[0]; in v3dv_gralloc_info_cros()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_gem.c | 282 uint32_t gem_handle, uint32_t stride, uint32_t tiling) in anv_gem_set_tiling() 299 .stride = stride, in anv_gem_set_tiling() 281 anv_gem_set_tiling(struct anv_device *device, uint32_t gem_handle, uint32_t stride, uint32_t tiling) anv_gem_set_tiling() argument
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_tile.c | 60 util_copy_rect(dst, pt->resource->format, dst_stride, 0, 0, w, h, src, pt->stride, x, y); in pipe_get_tile_raw() 81 util_copy_rect(dst, format, pt->stride, x, y, w, h, src, src_stride, 0, 0); in pipe_put_tile_raw() 376 dst, pt->stride, in pipe_put_tile_rgba()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pt_so_emit.c | 166 buffer_total_bytes[ob] += state->stride[ob] * sizeof(float); in so_emit_prim() 222 target->internal_offset += state->stride[ob] * sizeof(float); in so_emit_prim() 307 emit->input_vertex_stride = input_verts[stream].stride; in draw_pt_so_emit()
|
/third_party/mesa3d/src/gbm/main/ |
H A D | gbm_abi_check.c | 79 uint32_t flags, uint32_t *stride, 118 uint32_t stride; member 377 CHECK_MEMBER_CURRENT(gbm_bo_v0, _abi0, stride); in main()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_transfer.c | 188 /* Set the stride. */ in r300_texture_transfer_map() 189 trans->transfer.stride = in r300_texture_transfer_map() 204 trans->transfer.stride = tex->tex.stride_in_bytes[level]; in r300_texture_transfer_map() 238 box->y / util_format_get_blockheight(format) * trans->transfer.stride + in r300_texture_transfer_map()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A D | VertexBuffer.cpp | 240 : formatID(angle::FormatID::NONE), stride(0), offset(0) in AttributeSignature() 249 if (formatID != attrib.format->id || static_cast<GLuint>(stride) != attribStride) in matchesAttribute() 263 offset = stride = static_cast<GLuint>(ComputeVertexAttributeStride(attrib, binding)); in set()
|
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
H A D | FrameBufferDD.cpp | 355 int stride = DDSD.lPitch; in screenshot() local 363 (char*&)sourceBuffer += stride; in screenshot() 426 stride = DDSD.lPitch; in lock()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkCommandBuffer.hpp | 86 Buffer *dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags); 128 void drawIndirect(Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride); 129 void drawIndexedIndirect(Buffer *buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride);
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_device_generated_commands.c | 426 nir_ssa_def *stride = nir_channel(&b, stream_data, 3); in build_dgc_prepare_shader() local 435 stride = nir_bcsel(&b, dyn_stride, stride, old_stride); in build_dgc_prepare_shader() 456 nir_push_if(&b, nir_ieq_imm(&b, stride, 0)); in build_dgc_prepare_shader() 467 stride), in build_dgc_prepare_shader() 481 nir_iand(&b, convert_cond, nir_ieq_imm(&b, stride, 0)); in build_dgc_prepare_shader() 484 &b, nir_imul(&b, nir_iadd_imm(&b, nir_load_var(&b, num_records), -1), stride), in build_dgc_prepare_shader() 493 nir_push_if(&b, nir_ine_imm(&b, stride, 0)); in build_dgc_prepare_shader() 496 nir_iadd_imm(&b, stride, -1)); in build_dgc_prepare_shader() 497 nir_store_var(&b, num_records, nir_udiv(&b, r, stride), in build_dgc_prepare_shader() [all...] |
/third_party/mesa3d/src/mesa/vbo/ |
H A D | vbo_save_api.c | 288 GLuint stride, GLbitfield64 vao_enabled, in compare_vao() 304 if (vao->BufferBinding[0].Stride != stride) in compare_vao() 342 GLuint stride, GLbitfield64 vbo_enabled, in update_vao() 354 if (compare_vao(mode, *vao, bo, buffer_offset, stride, in update_vao() 363 * assert(stride <= ctx->Const.MaxVertexAttribStride); in update_vao() 369 _mesa_bind_vertex_buffer(ctx, *vao, 0, bo, buffer_offset, stride, false, in update_vao() 531 const GLsizei stride = save->vertex_size*sizeof(GLfloat); in compile_vertex_list() local 555 vertex_offset = (node->cold->vertex_count - 1) * stride; in compile_vertex_list() 771 if (old_offset != save->current_bo_bytes_used && stride > 0) { in compile_vertex_list() 775 offset_diff % stride ! in compile_vertex_list() 285 compare_vao(gl_vertex_processing_mode mode, const struct gl_vertex_array_object *vao, const struct gl_buffer_object *bo, GLintptr buffer_offset, GLuint stride, GLbitfield64 vao_enabled, const GLubyte size[VBO_ATTRIB_MAX], const GLenum16 type[VBO_ATTRIB_MAX], const GLuint offset[VBO_ATTRIB_MAX]) compare_vao() argument 338 update_vao(struct gl_context *ctx, gl_vertex_processing_mode mode, struct gl_vertex_array_object **vao, struct gl_buffer_object *bo, GLintptr buffer_offset, GLuint stride, GLbitfield64 vbo_enabled, const GLubyte size[VBO_ATTRIB_MAX], const GLenum16 type[VBO_ATTRIB_MAX], const GLuint offset[VBO_ATTRIB_MAX]) update_vao() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationES1.cpp | 85 GLsizei stride, in ValidateBuiltinVertexAttributeCommon() 90 if (stride < 0) in ValidateBuiltinVertexAttributeCommon() 785 GLsizei stride, in ValidateColorPointer() 789 size, type, stride, pointer); in ValidateColorPointer() 1274 GLsizei stride, in ValidateNormalPointer() 1278 3, type, stride, pointer); in ValidateNormalPointer() 1484 GLsizei stride, in ValidateTexCoordPointer() 1488 context, entryPoint, ClientVertexArrayType::TextureCoord, size, type, stride, pointer); in ValidateTexCoordPointer() 1627 GLsizei stride, in ValidateVertexPointer() 1631 size, type, stride, pointe in ValidateVertexPointer() 80 ValidateBuiltinVertexAttributeCommon(const Context *context, angle::EntryPoint entryPoint, ClientVertexArrayType arrayType, GLint size, VertexAttribType type, GLsizei stride, const void *pointer) ValidateBuiltinVertexAttributeCommon() argument 781 ValidateColorPointer(const Context *context, angle::EntryPoint entryPoint, GLint size, VertexAttribType type, GLsizei stride, const void *pointer) ValidateColorPointer() argument 1271 ValidateNormalPointer(const Context *context, angle::EntryPoint entryPoint, VertexAttribType type, GLsizei stride, const void *pointer) ValidateNormalPointer() argument 1480 ValidateTexCoordPointer(const Context *context, angle::EntryPoint entryPoint, GLint size, VertexAttribType type, GLsizei stride, const void *pointer) ValidateTexCoordPointer() argument 1623 ValidateVertexPointer(const Context *context, angle::EntryPoint entryPoint, GLint size, VertexAttribType type, GLsizei stride, const void *pointer) ValidateVertexPointer() argument 1724 ValidateMatrixIndexPointerOES(const Context *context, angle::EntryPoint entryPoint, GLint size, GLenum type, GLsizei stride, const void *pointer) ValidateMatrixIndexPointerOES() argument 1735 ValidateWeightPointerOES(const Context *context, angle::EntryPoint entryPoint, GLint size, GLenum type, GLsizei stride, const void *pointer) ValidateWeightPointerOES() argument 1746 ValidatePointSizePointerOES(const Context *context, angle::EntryPoint entryPoint, VertexAttribType type, GLsizei stride, const void *pointer) ValidatePointSizePointerOES() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_texture.c | 177 unsigned *stride, in r600_texture_get_offset() 180 *stride = rtex->surface.u.legacy.level[level].nblk_x * in r600_texture_get_offset() 289 metadata->u.legacy.stride = surface->u.legacy.level[0].nblk_x * surface->bpe; in r600_texture_init_metadata() 451 unsigned stride = 0; in r600_texture_get_info() local 459 stride = rtex->surface.u.legacy.level[0].nblk_x * in r600_texture_get_info() 464 *pstride = stride; in r600_texture_get_info() 482 unsigned stride, offset, slice_size; in r600_texture_get_handle() local 557 r600_texture_get_info(screen, resource, &stride, &offset); in r600_texture_get_handle() 571 whandle->stride = stride; in r600_texture_get_handle() 174 r600_texture_get_offset(struct r600_common_screen *rscreen, struct r600_texture *rtex, unsigned level, const struct pipe_box *box, unsigned *stride, unsigned *layer_stride) r600_texture_get_offset() argument [all...] |
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/ |
H A D | drawing_sample_canvaskit0310.cpp | 198 constexpr uint32_t stride = 4; in DoDrawData() local 199 int32_t addrSize = width * height * stride; in DoDrawData() 219 constexpr uint32_t stride = 4; in DoDrawBaseData() local 220 int32_t addrSize = width * height * stride; in DoDrawBaseData() 254 LOGI("ProduceBuffer: width: %{public}d height:%{public}d stride:%{public}d size:%{public}d", in ProduceBuffer() 255 buffer->GetWidth(), buffer->GetHeight(), buffer->GetBufferHandle()->stride, buffer->GetSize()); in ProduceBuffer()
|
/third_party/ffmpeg/libavcodec/ |
H A D | libdav1d.c | 117 p->stride[0] = linesize[0]; in libdav1d_picture_allocator() 118 p->stride[1] = linesize[1]; in libdav1d_picture_allocator() 379 frame->linesize[0] = p->stride[0]; in libdav1d_receive_frame() 380 frame->linesize[1] = p->stride[1]; in libdav1d_receive_frame() 381 frame->linesize[2] = p->stride[1]; in libdav1d_receive_frame()
|
H A D | rv40.c | 313 uint8_t *src, int stride, int dmode, in rv40_adaptive_loop_filter() 322 strong = rdsp->rv40_loop_filter_strength[dir](src, stride, beta, beta2, in rv40_adaptive_loop_filter() 328 rdsp->rv40_strong_loop_filter[dir](src, stride, alpha, in rv40_adaptive_loop_filter() 331 rdsp->rv40_weak_loop_filter[dir](src, stride, 1, 1, alpha, beta, in rv40_adaptive_loop_filter() 334 rdsp->rv40_weak_loop_filter[dir](src, stride, filter_p1, filter_q1, in rv40_adaptive_loop_filter() 312 rv40_adaptive_loop_filter(RV34DSPContext *rdsp, uint8_t *src, int stride, int dmode, int lim_q1, int lim_p1, int alpha, int beta, int beta2, int chroma, int edge, int dir) rv40_adaptive_loop_filter() argument
|
/third_party/ffmpeg/libavcodec/ppc/ |
H A D | vc1dsp_altivec.c | 233 static void vc1_inv_trans_8x4_altivec(uint8_t *dest, ptrdiff_t stride, in vc1_inv_trans_8x4_altivec() argument 311 p1 = vec_lvsl (stride, dest); in vc1_inv_trans_8x4_altivec() 331 ADD (dest, src0, perm0) dest += stride; in vc1_inv_trans_8x4_altivec() 332 ADD (dest, src1, perm1) dest += stride; in vc1_inv_trans_8x4_altivec() 333 ADD (dest, src2, perm0) dest += stride; in vc1_inv_trans_8x4_altivec()
|
/third_party/libsnd/src/ALAC/ |
H A D | alac_decoder.c | 54 static void Zero32 (int32_t * buffer, uint32_t numItems, uint32_t stride) ; 641 static void Zero32 (int32_t * buffer, uint32_t numItems, uint32_t stride) in Zero32() argument 643 if (stride == 1) in Zero32() 649 for (uint32_t indx = 0 ; indx < (numItems * stride) ; indx += stride) in Zero32()
|
/third_party/mesa3d/src/gallium/auxiliary/driver_noop/ |
H A D | noop_pipe.c | 107 unsigned stride; in noop_resource_create() local 113 stride = util_format_get_stride(templ->format, templ->width0); in noop_resource_create() 116 nresource->size = stride * templ->height0 * templ->depth0; in noop_resource_create() 238 transfer->stride = 1; in noop_transfer_map() 271 unsigned stride, in noop_texture_subdata() 265 noop_texture_subdata(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) noop_texture_subdata() argument
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_query_hw.c | 399 unsigned qoffset = 0, stride; in nvc0_hw_get_query_result_resource() local 461 stride = 2; in nvc0_hw_get_query_result_resource() 464 stride = 12; in nvc0_hw_get_query_result_resource() 472 stride = 1; in nvc0_hw_get_query_result_resource() 484 16 * (index + stride), in nvc0_hw_get_query_result_resource()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
H A D | vktComputeShaderBuiltinVarTests.cpp | 228 << "}stride;\n" in genBuiltinVarSource() 236 << " highp uint offset = stride.u_stride.x*gl_GlobalInvocationID.z + stride.u_stride.y*gl_GlobalInvocationID.y + gl_GlobalInvocationID.x;\n"; in genBuiltinVarSource() 433 const tcu::UVec2 stride (globalSize[0] * globalSize[1], globalSize[0]); in iterate() 434 const deUint32 sizeOfUniformBuffer = sizeof(stride); in iterate() 463 memcpy(alloc.getHostPtr(), &stride, sizeOfUniformBuffer); in iterate() 547 const deUint32 refOffset = stride.x()*refGlobalID.z() + stride.y()*refGlobalID.y() + refGlobalID.x(); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/ |
H A D | vktComputeShaderBuiltinVarTests.cpp | 218 << "}stride;\n" in genBuiltinVarSource() 226 << " highp uint offset = stride.u_stride.x*gl_GlobalInvocationID.z + stride.u_stride.y*gl_GlobalInvocationID.y + gl_GlobalInvocationID.x;\n"; in genBuiltinVarSource() 421 const tcu::UVec2 stride (globalSize[0] * globalSize[1], globalSize[0]); in iterate() 422 const deUint32 sizeOfUniformBuffer = sizeof(stride); in iterate() 451 memcpy(alloc.getHostPtr(), &stride, sizeOfUniformBuffer); in iterate() 535 const deUint32 refOffset = stride.x()*refGlobalID.z() + stride.y()*refGlobalID.y() + refGlobalID.x(); in iterate()
|
/third_party/skia/src/gpu/ops/ |
H A D | TriangulatingPathRenderer.cpp | 108 void* lock(size_t stride, int eagerCount) override { 110 SkASSERT(stride && eagerCount); 112 size_t size = eagerCount * stride; 122 fVertices = sk_malloc_throw(eagerCount * stride); 125 fLockStride = stride;
|