Home
last modified time | relevance | path

Searched refs:stride (Results 476 - 500 of 1820) sorted by relevance

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

/third_party/vk-gl-cts/external/amber/src/src/vulkan/
H A Dvertex_buffer.cc44 uint32_t stride) { in SetData()
54 vertex_binding_desc_.back().stride = stride; in SetData()
39 SetData(uint8_t location, Buffer* buffer, InputRate rate, Format* format, uint32_t offset, uint32_t stride) SetData() argument
/third_party/vk-gl-cts/framework/delibs/deimage/
H A DdeTarga.c43 int stride; in deImage_loadTarga() local
62 stride = width * bitsPerPixel / 8; in deImage_loadTarga()
65 bufSize = stride; in deImage_loadTarga()
/third_party/ffmpeg/libavcodec/
H A Dtscc2.c100 static void tscc2_idct4_put(int *in, int q[3], uint8_t *dst, int stride) in tscc2_idct4_put() argument
119 dst += stride; in tscc2_idct4_put()
124 uint8_t *dst, int stride, int plane) in tscc2_decode_mb()
133 for (i = 0; i < 8; i++, dst += stride) in tscc2_decode_mb()
141 dst += stride; in tscc2_decode_mb()
175 tscc2_idct4_put(c->block, q, dst + k * 4, stride); in tscc2_decode_mb()
177 dst += 4 * stride; in tscc2_decode_mb()
123 tscc2_decode_mb(TSCC2Context *c, int *q, int vlc_set, uint8_t *dst, int stride, int plane) tscc2_decode_mb() argument
H A Drpza.c69 row_ptr += stride * 4; \
77 int stride, row_inc, ret; in rpza_decode_stream() local
115 stride = s->frame->linesize[0] / 2; in rpza_decode_stream()
116 row_inc = stride - 4; in rpza_decode_stream()
H A Daacpsdsp_template.c48 ptrdiff_t stride, int n) in ps_hybrid_analysis_c()
67 out[i * stride][0] = (int)((sum_re + 0x40000000) >> 31); in ps_hybrid_analysis_c()
68 out[i * stride][1] = (int)((sum_im + 0x40000000) >> 31); in ps_hybrid_analysis_c()
70 out[i * stride][0] = sum_re; in ps_hybrid_analysis_c()
71 out[i * stride][1] = sum_im; in ps_hybrid_analysis_c()
46 ps_hybrid_analysis_c(INTFLOAT (out)[2], INTFLOAT (*in)[2], const INTFLOAT (*filter)[8][2], ptrdiff_t stride, int n) ps_hybrid_analysis_c() argument
/third_party/ffmpeg/libavfilter/
H A Dvf_vmafmotion.c193 s->width, s->height, ref->linesize[0], s->stride); in ff_vmafmotion_process()
195 s->width, s->height, s->stride, s->stride); in ff_vmafmotion_process()
201 s->width, s->height, s->stride, s->stride); in ff_vmafmotion_process()
246 s->stride = FFALIGN(w * sizeof(uint16_t), 32); in ff_vmafmotion_init()
248 data_sz = (size_t) s->stride * h; in ff_vmafmotion_init()
/third_party/astc-encoder/Source/
H A Dastcenc_compute_variance.cpp46 * @param stride The item spacing in the array; i.e. dense arrays should use 1.
51 int stride in brent_kung_prefix_sum()
65 vfloat4 *da = d + (start * stride); in brent_kung_prefix_sum()
66 ptrdiff_t ofs = -static_cast<ptrdiff_t>(step * stride); in brent_kung_prefix_sum()
67 size_t ofs_stride = stride << log2_stride; in brent_kung_prefix_sum()
89 vfloat4 *da = d + (start * stride); in brent_kung_prefix_sum()
90 ptrdiff_t ofs = -static_cast<ptrdiff_t>(step * stride); in brent_kung_prefix_sum()
91 size_t ofs_stride = stride << log2_stride; in brent_kung_prefix_sum()
/third_party/mesa3d/src/gallium/frontends/vdpau/
H A Dsurface.c272 i, j, transfer->stride, sv->texture->array_size, in vlVdpVideoSurfaceGetBitsYCbCr()
276 i, j, transfer->stride, sv->texture->array_size, in vlVdpVideoSurfaceGetBitsYCbCr()
280 i, j, transfer->stride, sv->texture->array_size, in vlVdpVideoSurfaceGetBitsYCbCr()
285 box.width, box.height, map, transfer->stride, 0, 0); in vlVdpVideoSurfaceGetBitsYCbCr()
411 i, j, transfer->stride, tex->array_size, in vlVdpVideoSurfacePutBitsYCbCr()
546 result->stride = whandle.stride; in vlVdpVideoSurfaceDMABuf()
/third_party/skia/experimental/graphite/src/
H A DUniformManager.cpp38 * stride are set to match the base alignment of a single array element, according
68 * For an array of scalars or vectors this returns the stride between array elements. For
69 * matrices or arrays of matrices this returns the stride between columns of the matrix. Note
70 * that for single (non-array) scalars or vectors we don't require a stride.
77 // This is a matrix or array of matrices. We return the stride between columns. in Stride()
102 * alignment and stride of arrays of scalars and vectors in rule 4 and of structures in rule 9 are
113 // This is a matrix or array of matrices. We return the stride between columns. in Stride()
127 // GrMtlPipelineStateDataManger. Everything is tight except 3-component which have the stride of
136 // This is a matrix or array of matrices. We return the stride between columns. in Stride()
175 size_t stride in Write() local
197 size_t stride = 3 * Rules<UniformType, 3, 3>::Stride(1); WriteSkMatrices() local
[all...]
/third_party/ffmpeg/tests/checkasm/
H A Dh264pred.c148 declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *src, const uint8_t *topright, ptrdiff_t stride); in check_pred4x4()
167 declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *src, ptrdiff_t stride); in check_pred8x8()
187 declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *src, ptrdiff_t stride); in check_pred16x16()
207 declare_func_emms(AV_CPU_FLAG_MMXEXT, void, uint8_t *src, int topleft, int topright, ptrdiff_t stride); in check_pred8x8l()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_opt_memcpy.c95 unsigned stride = glsl_get_explicit_stride(type); in type_is_tightly_packed() local
96 if (stride == 0) in type_is_tightly_packed()
105 if (elem_size != stride) in type_is_tightly_packed()
108 size = stride * glsl_get_length(type); in type_is_tightly_packed()
/third_party/mesa3d/src/compiler/glsl/
H A Dgl_nir_link_xfb.c54 * Note the "must be", meaning that explicit buffer, offset and stride are in gl_nir_link_assign_xfb_resources()
56 * need to calculate the offset or the stride. in gl_nir_link_assign_xfb_resources()
96 prog->TransformFeedback.BufferStride[buf] = xfb_info->buffers[buf].stride; in gl_nir_link_assign_xfb_resources()
187 if (xfb_info->buffers[buf].stride > 0) { in gl_nir_link_assign_xfb_resources()
188 linked_xfb->Buffers[buf].Stride = xfb_info->buffers[buf].stride / 4; in gl_nir_link_assign_xfb_resources()
211 xfb->buffers[i].stride = info->Buffers[i].Stride * 4; in gl_to_nir_xfb_info()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_shader_cache.c48 blob_write_bytes(blob, &state->stream_output.stride, in write_stream_out_to_cache()
49 sizeof(state->stream_output.stride)); in write_stream_out_to_cache()
133 blob_copy_bytes(blob_reader, &state->stream_output.stride, in read_stream_out_from_cache()
134 sizeof(state->stream_output.stride)); in read_stream_out_from_cache()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_rast.h117 unsigned stride; /* how much to advance data between a0, dadx, dady */ member
209 return (float (*)[4]) (p + 1 * inputs->stride); in GET_DADX()
220 return (float (*)[4]) (p + 2 * inputs->stride); in GET_DADY()
227 return (struct lp_rast_plane *) (p + 3 * tri->inputs.stride); in GET_PLANES()
H A Dlp_rast_linear_fallback.c99 const unsigned stride = scene->cbufs[0].stride; in shade_quads() local
100 uint8_t *cbufs[1] = { scene->cbufs[0].map + y * stride + x * 4 }; in shade_quads()
101 unsigned strides[1] = { stride }; in shade_quads()
/third_party/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_winsys.h58 uint32_t stride, uint32_t layer_stride,
64 uint32_t stride, uint32_t layer_stride,
88 uint32_t *stride,
103 uint32_t stride,
H A Dvirgl_texture.c177 trans->base.stride = trans->resolve_transfer->stride; in texture_transfer_map_resolve()
190 trans->base.stride, in texture_transfer_map_resolve()
195 trans->resolve_transfer->stride, in texture_transfer_map_resolve()
253 trans->base.stride, trans->l_stride, trans->offset, in flush_data()
/third_party/mesa3d/src/panfrost/shared/test/
H A Dtest-tiling.cpp54 tiled_offset(unsigned x, unsigned y, unsigned stride, unsigned tilesize, unsigned blocksize)
64 unsigned row_offset = tile_y * stride;
72 linear_offset(unsigned x, unsigned y, unsigned stride, unsigned blocksize)
74 return (stride * y) + (x * blocksize);
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Dlossless.h141 const uint32_t* argb, int stride,
147 const uint32_t* argb, int stride,
156 void VP8LCollectColorRedTransforms_C(const uint32_t* argb, int stride,
159 void VP8LCollectColorBlueTransforms_C(const uint32_t* argb, int stride,
H A Dlossless_enc_mips_dsp_r2.c175 int stride, in CollectColorBlueTransforms_MIPSdspR2()
187 argb += stride; in CollectColorBlueTransforms_MIPSdspR2()
229 int stride, in CollectColorRedTransforms_MIPSdspR2()
238 argb += stride; in CollectColorRedTransforms_MIPSdspR2()
174 CollectColorBlueTransforms_MIPSdspR2(const uint32_t* argb, int stride, int tile_width, int tile_height, int green_to_blue, int red_to_blue, int histo[]) CollectColorBlueTransforms_MIPSdspR2() argument
228 CollectColorRedTransforms_MIPSdspR2(const uint32_t* argb, int stride, int tile_width, int tile_height, int green_to_red, int histo[]) CollectColorRedTransforms_MIPSdspR2() argument
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-set.hh89 void add_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) in add_array()
90 { s.add_array (array, count, stride); } in add_array()
97 bool add_sorted_array (const T *array, unsigned int count, unsigned int stride=sizeof(T)) in add_sorted_array()
98 { return s.add_sorted_array (array, count, stride); } in add_sorted_array()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
H A Dparser_impl_function_header_test.cc79 auto p = parser("fn main() -> [[location(1), stride(16)]] array<f32, 4>"); in TEST_F()
94 auto* stride = array_type->decorations[0]->As<ast::StrideDecoration>(); in TEST_F() local
95 ASSERT_TRUE(stride != nullptr); in TEST_F()
96 EXPECT_EQ(stride->stride, 16u); in TEST_F()
/third_party/mesa3d/src/egl/wayland/wayland-drm/
H A Dwayland-drm.c81 buffer->stride[0] = stride0; in create_buffer()
83 buffer->stride[1] = stride1; in create_buffer()
85 buffer->stride[2] = stride2; in create_buffer()
111 uint32_t stride, uint32_t format) in drm_create_buffer()
131 name, -1, width, height, format, 0, stride, 0, 0, 0, 0); in drm_create_buffer()
109 drm_create_buffer(struct wl_client *client, struct wl_resource *resource, uint32_t id, uint32_t name, int32_t width, int32_t height, uint32_t stride, uint32_t format) drm_create_buffer() argument
/third_party/mesa3d/src/imagination/rogue/
H A Drogue_regalloc.c53 data[ROGUE_REG_CLASS_TEMP].stride = 1; in rogue_reg_data_init()
57 data[ROGUE_REG_CLASS_VEC4].stride = 4; in rogue_reg_data_init()
112 size_t stride = reg_data->stride; in rogue_ra_init() local
114 for (size_t r = offset; r < end; r += stride) in rogue_ra_init()
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_prim_assembler.c121 asmblr->output_verts->count * asmblr->output_verts->stride; in copy_verts()
122 unsigned input_offset = asmblr->input_verts->stride * idx; in copy_verts()
138 unsigned input_offset = asmblr->input_verts->stride * idx; in inject_primid()
293 output_verts->stride = input_verts->stride; in draw_prim_assembler_run()

Completed in 14 milliseconds

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