Home
last modified time | relevance | path

Searched refs:src_row (Results 1 – 25 of 39) sorted by relevance

12

/third_party/mesa3d/src/util/format/
Du_format_zs.c115 const uint8_t *restrict src_row, unsigned src_stride, in util_format_s8_uint_unpack_s_8uint() argument
120 memcpy(dst_row, src_row, width); in util_format_s8_uint_unpack_s_8uint()
121 src_row += src_stride/sizeof(*src_row); in util_format_s8_uint_unpack_s_8uint()
128 const uint8_t *restrict src_row, unsigned src_stride, in util_format_s8_uint_pack_s_8uint() argument
133 memcpy(dst_row, src_row, width); in util_format_s8_uint_pack_s_8uint()
134 src_row += src_stride/sizeof(*src_row); in util_format_s8_uint_pack_s_8uint()
141 const uint8_t *restrict src_row, unsigned src_stride, in util_format_z16_unorm_unpack_z_float() argument
147 const uint16_t *src = (const uint16_t *)src_row; in util_format_z16_unorm_unpack_z_float()
151 src_row += src_stride/sizeof(*src_row); in util_format_z16_unorm_unpack_z_float()
158 const float *restrict src_row, unsigned src_stride, in util_format_z16_unorm_pack_z_float() argument
[all …]
Du_format_zs.h40 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
44 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
48 …at(float *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
52 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str…
56 …uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
60 …uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_str…
64 …at(float *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
68 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str…
72 …uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
76 …uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_str…
[all …]
Du_format_bptc.c37 const uint8_t *restrict src_row, unsigned src_stride, in util_format_bptc_rgba_unorm_unpack_rgba_8unorm() argument
41 src_row, src_stride, in util_format_bptc_rgba_unorm_unpack_rgba_8unorm()
47 const uint8_t *restrict src_row, unsigned src_stride, in util_format_bptc_rgba_unorm_pack_rgba_8unorm() argument
51 src_row, src_stride, in util_format_bptc_rgba_unorm_pack_rgba_8unorm()
57 const uint8_t *restrict src_row, unsigned src_stride, in util_format_bptc_rgba_unorm_unpack_rgba_float() argument
63 src_row, src_stride, in util_format_bptc_rgba_unorm_unpack_rgba_float()
78 const float *restrict src_row, unsigned src_stride, in util_format_bptc_rgba_unorm_pack_rgba_float() argument
89 (uint8_t *)src_row + src_stride * y, in util_format_bptc_rgba_unorm_pack_rgba_float()
115 const uint8_t *restrict src_row, unsigned src_stride, in util_format_bptc_srgba_unpack_rgba_8unorm() argument
119 src_row, src_stride, in util_format_bptc_srgba_unpack_rgba_8unorm()
[all …]
Du_format_s3tc.h70 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
73 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
79 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
82 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
88 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
91 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
97 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
100 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
106 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
109 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
[all …]
Du_format_other.c37 const uint8_t *restrict src_row, in util_format_r9g9b9e5_float_unpack_rgba_float() argument
42 const uint8_t *src = src_row; in util_format_r9g9b9e5_float_unpack_rgba_float()
54 const float *restrict src_row, unsigned src_stride, in util_format_r9g9b9e5_float_pack_rgba_float() argument
59 const float *src = src_row; in util_format_r9g9b9e5_float_pack_rgba_float()
68 src_row += src_stride/sizeof(*src_row); in util_format_r9g9b9e5_float_pack_rgba_float()
85 const uint8_t *restrict src_row, in util_format_r9g9b9e5_float_unpack_rgba_8unorm() argument
91 const uint8_t *src = src_row; in util_format_r9g9b9e5_float_unpack_rgba_8unorm()
107 const uint8_t *restrict src_row, unsigned src_stride, in util_format_r9g9b9e5_float_pack_rgba_8unorm() argument
113 const uint8_t *src = src_row; in util_format_r9g9b9e5_float_pack_rgba_8unorm()
126 src_row += src_stride/sizeof(*src_row); in util_format_r9g9b9e5_float_pack_rgba_8unorm()
[all …]
Du_format_rgtc.h35 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
38 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
41 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
44 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str…
55 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
58 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
61 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str…
64 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
74 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
77 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
[all …]
Du_format_rgtc.c41 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… in util_format_rgtc1_unorm_unpack_rgba_8unorm() argument
48 const uint8_t *src = src_row; in util_format_rgtc1_unorm_unpack_rgba_8unorm()
61 src_row += src_stride; in util_format_rgtc1_unorm_unpack_rgba_8unorm()
66 …_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, in util_format_rgtc1_unorm_pack_rgba_8unorm() argument
78 tmp[j][i] = src_row[(y + j)*src_stride/sizeof(*src_row) + (x + i)*4]; in util_format_rgtc1_unorm_pack_rgba_8unorm()
89 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… in util_format_rgtc1_unorm_unpack_rgba_float() argument
94 const uint8_t *src = src_row; in util_format_rgtc1_unorm_unpack_rgba_float()
109 src_row += src_stride; in util_format_rgtc1_unorm_unpack_rgba_float()
114 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str… in util_format_rgtc1_unorm_pack_rgba_float() argument
125 tmp[j][i] = float_to_ubyte(src_row[(y + j)*src_stride/sizeof(*src_row) + (x + i)*4]); in util_format_rgtc1_unorm_pack_rgba_float()
[all …]
Du_format_bptc.h41 const uint8_t *restrict src_row, unsigned src_stride,
45 const uint8_t *restrict src_row, unsigned src_stride,
49 const uint8_t *restrict src_row, unsigned src_stride,
53 const float *restrict src_row, unsigned src_stride,
61 const uint8_t *restrict src_row, unsigned src_stride,
65 const uint8_t *restrict src_row, unsigned src_stride,
69 const uint8_t *restrict src_row, unsigned src_stride,
73 const float *restrict src_row, unsigned src_stride,
81 const uint8_t *restrict src_row, unsigned src_stride,
85 const uint8_t *restrict src_row, unsigned src_stride,
[all …]
Du_format_s3tc.c124 const uint8_t *restrict src_row, unsigned src_stride, in util_format_dxtn_rgb_unpack_rgba_8unorm() argument
132 const uint8_t *src = src_row; in util_format_dxtn_rgb_unpack_rgba_8unorm()
147 src_row += src_stride; in util_format_dxtn_rgb_unpack_rgba_8unorm()
153 const uint8_t *restrict src_row, unsigned src_stride, in util_format_dxt1_rgb_unpack_rgba_8unorm() argument
157 src_row, src_stride, in util_format_dxt1_rgb_unpack_rgba_8unorm()
165 const uint8_t *restrict src_row, unsigned src_stride, in util_format_dxt1_rgba_unpack_rgba_8unorm() argument
169 src_row, src_stride, in util_format_dxt1_rgba_unpack_rgba_8unorm()
177 const uint8_t *restrict src_row, unsigned src_stride, in util_format_dxt3_rgba_unpack_rgba_8unorm() argument
181 src_row, src_stride, in util_format_dxt3_rgba_unpack_rgba_8unorm()
189 const uint8_t *restrict src_row, unsigned src_stride, in util_format_dxt5_rgba_unpack_rgba_8unorm() argument
[all …]
Du_format_latc.c46 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… in util_format_latc1_unorm_unpack_rgba_8unorm() argument
48 …util_format_rgtc1_unorm_unpack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, width, height… in util_format_latc1_unorm_unpack_rgba_8unorm()
52 …m_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, in util_format_latc1_unorm_pack_rgba_8unorm() argument
55 … util_format_rgtc1_unorm_pack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, width, height); in util_format_latc1_unorm_pack_rgba_8unorm()
59 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… in util_format_latc1_unorm_unpack_rgba_float() argument
65 const uint8_t *src = src_row; in util_format_latc1_unorm_unpack_rgba_float()
80 src_row += src_stride; in util_format_latc1_unorm_unpack_rgba_float()
85 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str… in util_format_latc1_unorm_pack_rgba_float() argument
87 util_format_rgtc1_unorm_pack_rgba_float(dst_row, dst_stride, src_row, src_stride, width, height); in util_format_latc1_unorm_pack_rgba_float()
112 … UNUSED const uint8_t *restrict src_row, UNUSED unsigned src_stride, in util_format_latc1_snorm_unpack_rgba_8unorm() argument
[all …]
Du_format_latc.h35 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
38 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
41 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
44 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str…
55 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
58 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
61 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str…
64 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
74 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
77 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
[all …]
Du_format_yuv.c43 const uint8_t *restrict src_row, unsigned src_stride, in util_format_r8g8_b8g8_unorm_unpack_rgba_float() argument
50 const uint32_t *src = (const uint32_t *)src_row; in util_format_r8g8_b8g8_unorm_unpack_rgba_float()
89 src_row = (uint8_t *)src_row + src_stride; in util_format_r8g8_b8g8_unorm_unpack_rgba_float()
97 const uint8_t *restrict src_row, unsigned src_stride, in util_format_r8g8_b8g8_unorm_unpack_rgba_8unorm() argument
104 const uint32_t *src = (const uint32_t *)src_row; in util_format_r8g8_b8g8_unorm_unpack_rgba_8unorm()
143 src_row += src_stride/sizeof(*src_row); in util_format_r8g8_b8g8_unorm_unpack_rgba_8unorm()
151 const float *restrict src_row, unsigned src_stride, in util_format_r8g8_b8g8_unorm_pack_rgba_float() argument
157 const float *src = src_row; in util_format_r8g8_b8g8_unorm_pack_rgba_float()
193 src_row += src_stride/sizeof(*src_row); in util_format_r8g8_b8g8_unorm_pack_rgba_float()
200 const uint8_t *restrict src_row, unsigned src_stride, in util_format_r8g8_b8g8_unorm_pack_rgba_8unorm() argument
[all …]
Du_format_other.h38 const uint8_t *restrict src_row,
43 const float *restrict src_row, unsigned src_stride,
52 const uint8_t *restrict src_row,
57 const uint8_t *restrict src_row, unsigned src_stride,
63 const uint8_t *restrict src_row,
68 const float *restrict src_row, unsigned src_stride,
77 const uint8_t *restrict src_row,
82 const uint8_t *restrict src_row, unsigned src_stride,
88 const uint8_t *restrict src_row,
93 const float *restrict src_row, unsigned src_stride,
[all …]
Du_format_yuv.h126 const uint8_t *restrict src_row, unsigned src_stride,
131 const uint8_t *restrict src_row, unsigned src_stride,
136 const float *restrict src_row, unsigned src_stride,
141 const uint8_t *restrict src_row, unsigned src_stride,
150 const uint8_t *restrict src_row, unsigned src_stride,
155 const uint8_t *restrict src_row, unsigned src_stride,
160 const float *restrict src_row, unsigned src_stride,
165 const uint8_t *restrict src_row, unsigned src_stride,
174 const uint8_t *restrict src_row, unsigned src_stride,
179 const uint8_t *restrict src_row, unsigned src_stride,
[all …]
Du_format_fxt1.h40 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
43 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
49 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
52 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
58 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
61 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str…
67 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
70 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str…
Du_format_etc.c14 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… in util_format_etc1_rgb8_unpack_rgba_8unorm() argument
16 etc1_unpack_rgba8888(dst_row, dst_stride, src_row, src_stride, width, height); in util_format_etc1_rgb8_unpack_rgba_8unorm()
21 … UNUSED const uint8_t *restrict src_row, UNUSED unsigned src_stride, in util_format_etc1_rgb8_pack_rgba_8unorm() argument
28 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… in util_format_etc1_rgb8_unpack_rgba_float() argument
35 const uint8_t *src = src_row; in util_format_etc1_rgb8_unpack_rgba_float()
57 src_row += src_stride; in util_format_etc1_rgb8_unpack_rgba_float()
63 … UNUSED const float *restrict src_row, UNUSED unsigned src_stride, in util_format_etc1_rgb8_pack_rgba_float() argument
Du_format_etc.h32 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
35 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
38 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str…
41 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str…
Du_format.c412 const uint8_t *src_row; in util_format_read_4() local
419 src_row = (const uint8_t *)src + y*src_stride + x*(format_desc->block.bits/8); in util_format_read_4()
421 util_format_unpack_rgba_rect(format, dst, dst_stride, src_row, src_stride, w, h); in util_format_read_4()
456 const uint8_t *src_row; in util_format_read_4ub() local
463 src_row = (const uint8_t *)src + y*src_stride + x*(format_desc->block.bits/8); in util_format_read_4ub()
465 util_format_unpack_rgba_8unorm_rect(format, dst, dst_stride, src_row, src_stride, w, h); in util_format_read_4ub()
476 const uint8_t *src_row; in util_format_write_4ub() local
484 src_row = src; in util_format_write_4ub()
486 pack->pack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, w, h); in util_format_write_4ub()
655 const uint8_t *src_row; in util_format_translate() local
[all …]
/third_party/mesa3d/src/mesa/main/
Dtexcompress_etc.c140 const uint8_t *src_row, in _mesa_etc1_unpack_rgba8888() argument
146 src_row, src_stride, in _mesa_etc1_unpack_rgba8888()
674 const uint8_t *src_row, in etc2_unpack_rgb8() argument
684 const uint8_t *src = src_row; in etc2_unpack_rgb8()
714 src_row += src_stride; in etc2_unpack_rgb8()
721 const uint8_t *src_row, in etc2_unpack_srgb8() argument
733 const uint8_t *src = src_row; in etc2_unpack_srgb8()
762 src_row += src_stride; in etc2_unpack_srgb8()
769 const uint8_t *src_row, in etc2_unpack_rgba8() argument
783 const uint8_t *src = src_row; in etc2_unpack_rgba8()
[all …]
Dtexcompress_etc.h69 const uint8_t *src_row,
76 const uint8_t *src_row,
Dtexcompress_etc_tmp.h141 const uint8_t *src_row, in etc1_unpack_rgba8888() argument
151 const uint8_t *src = src_row; in etc1_unpack_rgba8888()
168 src_row += src_stride; in etc1_unpack_rgba8888()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_linear_sampler.c88 const uint32_t *src_row = in fetch_bgra_memcpy() local
95 src_row = &src_row[s >> FIXED16_SHIFT]; in fetch_bgra_memcpy()
97 if (((uintptr_t)src_row & 0xf) == 0) { in fetch_bgra_memcpy()
99 row = src_row; in fetch_bgra_memcpy()
101 memcpy(samp->row, src_row, width * sizeof *row); in fetch_bgra_memcpy()
118 const uint32_t *src_row = in fetch_bgrx_memcpy() local
126 src_row = &src_row[s >> FIXED16_SHIFT]; in fetch_bgrx_memcpy()
129 row[i] = src_row[i] | 0xff000000; in fetch_bgrx_memcpy()
152 const uint32_t *src_row = in fetch_bgra_axis_aligned() local
162 row[i] = src_row[s>>FIXED16_SHIFT]; in fetch_bgra_axis_aligned()
[all …]
Dlp_state_fs_linear.c182 const uint32_t *src_row = in fetch_row() local
191 row[i] = src_row[acc>>8]; in fetch_row()
210 const uint32_t *src_row = in fetch_row_clamped() local
220 row[i] = src_row[CLAMP(util_iround(src_x0 + i*scale_x),0,texture->width-1)]; in fetch_row_clamped()
246 const uint32_t *src_row = in fetch_row_xy_clamped() local
251 row[i] = src_row[CLAMP(xx,0,texture->width-1)]; in fetch_row_xy_clamped()
456 const uint32_t *src_row = (const uint32_t *)src; in blit_rgb1_blit() local
460 *dst_row++ = *src_row++ | 0xff000000; in blit_rgb1_blit()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Dsplice_fp32.cc50 int src_row = src_shape.at(DIMENSION_1D); in Run() local
63 if (parameter_->forward_indexes_[i] >= src_row) { in Run()
72 SpliceFp32(input_data, src_row, src_col, parameter_, output_data, dst_row, dst_col); in Run()
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/fp32/
Dsplice_fp32_coder.cc35 int src_row = src_shape.at(kWeightIndex); in DoCode() local
53 …code.CodeFunction("SpliceFp32", input_tensor_, src_row, src_col, "&splice_parameter", output_tenso… in DoCode()

12