Home
last modified time | relevance | path

Searched refs:src_stride (Results 1 – 25 of 182) sorted by relevance

12345678

/third_party/mesa3d/src/util/format/
Du_format_zs.h42 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
46 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
50 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
54 … dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width,…
58 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
62 …t_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_stride, unsigned width,…
66 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
70 … dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width,…
74 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
78 …t_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_stride, unsigned width,…
[all …]
Du_format_zs.c115 const uint8_t *restrict src_row, unsigned src_stride, in util_format_s8_uint_unpack_s_8uint() argument
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
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
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
169 src_row += src_stride/sizeof(*src_row); in util_format_z16_unorm_pack_z_float()
175 const uint8_t *restrict src_row, unsigned src_stride, in util_format_z16_unorm_unpack_z_32unorm() argument
185 src_row += src_stride/sizeof(*src_row); in util_format_z16_unorm_unpack_z_32unorm()
[all …]
Du_format_s3tc.c124 const uint8_t *restrict src_row, unsigned src_stride, in util_format_dxtn_rgb_unpack_rgba_8unorm() argument
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
193 src_row, src_stride, in util_format_dxt5_rgba_unpack_rgba_8unorm()
[all …]
Du_format_s3tc.h50 (*util_format_dxtn_fetch_t)( int src_stride,
72 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
75 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
81 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
84 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
90 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
93 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
99 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
102 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
108 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
[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_rgtc.h37 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
40 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
43 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
46 … dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width,…
57 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
60 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
63 … dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width,…
66 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
76 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
79 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
[all …]
Du_format_bptc.h43 const uint8_t *restrict src_row, unsigned src_stride,
47 const uint8_t *restrict src_row, unsigned src_stride,
51 const uint8_t *restrict src_row, unsigned src_stride,
55 const float *restrict src_row, unsigned src_stride,
63 const uint8_t *restrict src_row, unsigned src_stride,
67 const uint8_t *restrict src_row, unsigned src_stride,
71 const uint8_t *restrict src_row, unsigned src_stride,
75 const float *restrict src_row, unsigned src_stride,
83 const uint8_t *restrict src_row, unsigned src_stride,
87 const uint8_t *restrict src_row, unsigned src_stride,
[all …]
Du_format_latc.h37 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
40 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
43 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
46 … dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width,…
57 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
60 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
63 … dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width,…
66 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
76 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
79 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
[all …]
Du_format_latc.c46 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,… 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()
53 unsigned src_stride, unsigned width, unsigned height) 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 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,… in util_format_latc1_unorm_unpack_rgba_float() argument
80 src_row += src_stride; in util_format_latc1_unorm_unpack_rgba_float()
85 … dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width,… 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
120 … UNUSED const uint8_t *restrict src_row, UNUSED unsigned src_stride, in util_format_latc1_snorm_pack_rgba_8unorm() argument
[all …]
Du_format_yuv.h127 const uint8_t *restrict src_row, unsigned src_stride,
132 const uint8_t *restrict src_row, unsigned src_stride,
137 const float *restrict src_row, unsigned src_stride,
142 const uint8_t *restrict src_row, unsigned src_stride,
151 const uint8_t *restrict src_row, unsigned src_stride,
156 const uint8_t *restrict src_row, unsigned src_stride,
161 const float *restrict src_row, unsigned src_stride,
166 const uint8_t *restrict src_row, unsigned src_stride,
175 const uint8_t *restrict src_row, unsigned src_stride,
180 const uint8_t *restrict src_row, unsigned src_stride,
[all …]
Du_format_rgtc.c41 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,… in util_format_rgtc1_unorm_unpack_rgba_8unorm() argument
61 src_row += src_stride; in util_format_rgtc1_unorm_unpack_rgba_8unorm()
67 unsigned src_stride, unsigned width, unsigned height) 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 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,… in util_format_rgtc1_unorm_unpack_rgba_float() argument
109 src_row += src_stride; in util_format_rgtc1_unorm_unpack_rgba_float()
114 … dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width,… 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()
156 … UNUSED const uint8_t *restrict src_row, UNUSED unsigned src_stride, in util_format_rgtc1_snorm_unpack_rgba_8unorm() argument
164 … UNUSED const uint8_t *restrict src_row, UNUSED unsigned src_stride, in util_format_rgtc1_snorm_pack_rgba_8unorm() argument
[all …]
Du_format_fxt1.h42 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
45 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
51 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
54 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
60 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
63 … dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width,…
69 …st_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width,…
72 … dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width,…
/third_party/ffmpeg/libavcodec/mips/
Dhpeldsp_msa.c55 static void common_hz_bil_4w_msa(const uint8_t *src, int32_t src_stride, in common_hz_bil_4w_msa() argument
65 LD_UB2(src, src_stride, src0, src1); in common_hz_bil_4w_msa()
66 src += (2 * src_stride); in common_hz_bil_4w_msa()
80 static void common_hz_bil_8w_msa(const uint8_t *src, int32_t src_stride, in common_hz_bil_8w_msa() argument
89 LD_SB4(src, src_stride, src0, src1, src2, src3); in common_hz_bil_8w_msa()
90 src += (4 * src_stride); in common_hz_bil_8w_msa()
100 static void common_hz_bil_16w_msa(const uint8_t *src, int32_t src_stride, in common_hz_bil_16w_msa() argument
109 LD_UB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); in common_hz_bil_16w_msa()
110 LD_UB8((src + 1), src_stride, in common_hz_bil_16w_msa()
112 src += (8 * src_stride); in common_hz_bil_16w_msa()
[all …]
Dvp8_mc_msa.c159 static void common_hz_6t_4x4_msa(uint8_t *src, int32_t src_stride, in common_hz_6t_4x4_msa() argument
177 LD_SB4(src, src_stride, src0, src1, src2, src3); in common_hz_6t_4x4_msa()
187 static void common_hz_6t_4x8_msa(uint8_t *src, int32_t src_stride, in common_hz_6t_4x8_msa() argument
205 LD_SB4(src, src_stride, src0, src1, src2, src3); in common_hz_6t_4x8_msa()
207 src += (4 * src_stride); in common_hz_6t_4x8_msa()
210 LD_SB4(src, src_stride, src0, src1, src2, src3); in common_hz_6t_4x8_msa()
223 uint8_t *src, ptrdiff_t src_stride, in ff_put_vp8_epel4_h6_msa() argument
229 common_hz_6t_4x4_msa(src, src_stride, dst, dst_stride, filter); in ff_put_vp8_epel4_h6_msa()
231 common_hz_6t_4x8_msa(src, src_stride, dst, dst_stride, filter); in ff_put_vp8_epel4_h6_msa()
236 uint8_t *src, ptrdiff_t src_stride, in ff_put_vp8_epel8_h6_msa() argument
[all …]
Dqpeldsp_msa.c309 int32_t src_stride, in horiz_mc_qpel_aver_src0_8width_msa() argument
326 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in horiz_mc_qpel_aver_src0_8width_msa()
327 src += (4 * src_stride); in horiz_mc_qpel_aver_src0_8width_msa()
343 int32_t src_stride, in horiz_mc_qpel_aver_src0_16width_msa() argument
357 LD_UB4(src, src_stride, inp0, inp2, inp4, inp6); in horiz_mc_qpel_aver_src0_16width_msa()
358 LD_UB4((src + 1), src_stride, inp1, inp3, inp5, inp7); in horiz_mc_qpel_aver_src0_16width_msa()
359 src += (4 * src_stride); in horiz_mc_qpel_aver_src0_16width_msa()
387 int32_t src_stride, in horiz_mc_qpel_8width_msa() argument
404 LD_UB4(src, src_stride, inp0, inp1, inp2, inp3); in horiz_mc_qpel_8width_msa()
405 src += (4 * src_stride); in horiz_mc_qpel_8width_msa()
[all …]
Dvp9_mc_msa.c159 static void common_hz_8t_4x4_msa(const uint8_t *src, int32_t src_stride, in common_hz_8t_4x4_msa() argument
178 LD_SB4(src, src_stride, src0, src1, src2, src3); in common_hz_8t_4x4_msa()
188 static void common_hz_8t_4x8_msa(const uint8_t *src, int32_t src_stride, in common_hz_8t_4x8_msa() argument
208 LD_SB4(src, src_stride, src0, src1, src2, src3); in common_hz_8t_4x8_msa()
210 src += (4 * src_stride); in common_hz_8t_4x8_msa()
213 LD_SB4(src, src_stride, src0, src1, src2, src3); in common_hz_8t_4x8_msa()
225 static void common_hz_8t_4w_msa(const uint8_t *src, int32_t src_stride, in common_hz_8t_4w_msa() argument
230 common_hz_8t_4x4_msa(src, src_stride, dst, dst_stride, filter); in common_hz_8t_4w_msa()
232 common_hz_8t_4x8_msa(src, src_stride, dst, dst_stride, filter); in common_hz_8t_4w_msa()
236 static void common_hz_8t_8x4_msa(const uint8_t *src, int32_t src_stride, in common_hz_8t_8x4_msa() argument
[all …]
Dhevc_mc_uni_msa.c104 static void copy_width8_msa(uint8_t *src, int32_t src_stride, in copy_width8_msa() argument
112 LD2(src, src_stride, out0, out1); in copy_width8_msa()
117 LD4(src, src_stride, out0, out1, out2, out3); in copy_width8_msa()
118 src += (4 * src_stride); in copy_width8_msa()
121 LD2(src, src_stride, out0, out1); in copy_width8_msa()
127 LD4(src, src_stride, out0, out1, out2, out3); in copy_width8_msa()
128 src += (4 * src_stride); in copy_width8_msa()
129 LD4(src, src_stride, out4, out5, out6, out7); in copy_width8_msa()
130 src += (4 * src_stride); in copy_width8_msa()
138 LD4(src, src_stride, out0, out1, out2, out3); in copy_width8_msa()
[all …]
Dvp9_mc_mmi.c73 static void convolve_horiz_mmi(const uint8_t *src, int32_t src_stride, in convolve_horiz_mmi() argument
81 src_stride -= w; in convolve_horiz_mmi()
142 [src_stride]"r"((mips_reg)src_stride), in convolve_horiz_mmi()
148 static void convolve_vert_mmi(const uint8_t *src, int32_t src_stride, in convolve_vert_mmi() argument
155 ptrdiff_t addr = src_stride; in convolve_vert_mmi()
156 src_stride -= w; in convolve_vert_mmi()
236 [src_stride]"r"((mips_reg)src_stride), in convolve_vert_mmi()
243 static void convolve_avg_horiz_mmi(const uint8_t *src, int32_t src_stride, in convolve_avg_horiz_mmi() argument
251 src_stride -= w; in convolve_avg_horiz_mmi()
324 [src_stride]"r"((mips_reg)src_stride), in convolve_avg_horiz_mmi()
[all …]
Dpixblockdsp_msa.c42 static void copy_8bit_to_16bit_width8_msa(const uint8_t *src, int32_t src_stride, in copy_8bit_to_16bit_width8_msa() argument
54 LD_UB4(src, src_stride, src0, src1, src2, src3); in copy_8bit_to_16bit_width8_msa()
55 src += (4 * src_stride); in copy_8bit_to_16bit_width8_msa()
65 static void copy_16multx8mult_msa(const uint8_t *src, int32_t src_stride, in copy_16multx8mult_msa() argument
79 LD_UB8(src_tmp, src_stride, in copy_16multx8mult_msa()
81 src_tmp += (8 * src_stride); in copy_16multx8mult_msa()
93 static void copy_width16_msa(const uint8_t *src, int32_t src_stride, in copy_width16_msa() argument
102 LD_UB8(src, src_stride, in copy_width16_msa()
104 src += (8 * src_stride); in copy_width16_msa()
109 LD_UB4(src, src_stride, src0, src1, src2, src3); in copy_width16_msa()
[all …]
Dhevcdsp_msa.c32 static void hevc_copy_4w_msa(uint8_t *src, int32_t src_stride, in hevc_copy_4w_msa() argument
42 LD_SB2(src, src_stride, src0, src1); in hevc_copy_4w_msa()
52 LD_SB4(src, src_stride, src0, src1, src2, src3); in hevc_copy_4w_msa()
65 LD_SB8(src, src_stride, in hevc_copy_4w_msa()
67 src += (8 * src_stride); in hevc_copy_4w_msa()
80 static void hevc_copy_6w_msa(uint8_t *src, int32_t src_stride, in hevc_copy_6w_msa() argument
90 LD_SB8(src, src_stride, src0, src1, src2, src3, src4, src5, src6, src7); in hevc_copy_6w_msa()
91 src += (8 * src_stride); in hevc_copy_6w_msa()
104 static void hevc_copy_8w_msa(uint8_t *src, int32_t src_stride, in hevc_copy_8w_msa() argument
114 LD_SB2(src, src_stride, src0, src1); in hevc_copy_8w_msa()
[all …]
Dme_cmp_msa.c24 static uint32_t sad_8width_msa(uint8_t *src, int32_t src_stride, in sad_8width_msa() argument
33 LD_UB4(src, src_stride, src0, src1, src2, src3); in sad_8width_msa()
34 src += (4 * src_stride); in sad_8width_msa()
46 static uint32_t sad_16width_msa(uint8_t *src, int32_t src_stride, in sad_16width_msa() argument
55 LD_UB2(src, src_stride, src0, src1); in sad_16width_msa()
56 src += (2 * src_stride); in sad_16width_msa()
61 LD_UB2(src, src_stride, src0, src1); in sad_16width_msa()
62 src += (2 * src_stride); in sad_16width_msa()
72 int32_t src_stride, in sad_horiz_bilinear_filter_8width_msa() argument
83 LD_UB4(src, src_stride, src0, src1, src2, src3); in sad_horiz_bilinear_filter_8width_msa()
[all …]
Dhevc_mc_bi_msa.c62 int32_t src_stride, in hevc_bi_copy_4w_msa() argument
77 LW2(src0_ptr, src_stride, tp0, tp1); in hevc_bi_copy_4w_msa()
91 LW4(src0_ptr, src_stride, tp0, tp1, tp2, tp3); in hevc_bi_copy_4w_msa()
103 LW4(src0_ptr, src_stride, tp0, tp1, tp2, tp3); in hevc_bi_copy_4w_msa()
104 src0_ptr += 4 * src_stride; in hevc_bi_copy_4w_msa()
106 LW4(src0_ptr, src_stride, tp0, tp1, tp2, tp3); in hevc_bi_copy_4w_msa()
107 src0_ptr += 4 * src_stride; in hevc_bi_copy_4w_msa()
130 int32_t src_stride, in hevc_bi_copy_6w_msa() argument
146 LD4(src0_ptr, src_stride, tp0, tp1, tp2, tp3); in hevc_bi_copy_6w_msa()
147 src0_ptr += (4 * src_stride); in hevc_bi_copy_6w_msa()
[all …]
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_tiling.h67 void *src, uint32_t src_stride,
70 void *src, uint32_t src_stride,
73 void *src, uint32_t src_stride,
76 void *src, uint32_t src_stride,
79 void *src, uint32_t src_stride,
83 void *src, uint32_t src_stride,
89 void *src, uint32_t src_stride, in vc4_load_lt_image() argument
94 vc4_load_lt_image_neon(dst, dst_stride, src, src_stride, in vc4_load_lt_image()
99 vc4_load_lt_image_base(dst, dst_stride, src, src_stride, in vc4_load_lt_image()
105 void *src, uint32_t src_stride, in vc4_store_lt_image() argument
[all …]
/third_party/mesa3d/src/panfrost/shared/
Dpan_tiling.c173 uint32_t src_stride, \
179 pixel_t *source = src + (src_y * src_stride); \
204 unsigned source_start = src_y * src_stride; \
250 uint32_t src_stride, in panfrost_access_tiled_image_generic() argument
275 #define OFFSET(src, _x, _y) (void *) ((uint8_t *) src + ((_y) - orig_y) * src_stride + (((_x) - ori…
282 uint32_t src_stride, in panfrost_access_tiled_image() argument
295 assert((src_stride % (bpp / 8)) == 0 && "unaligned source stride"); in panfrost_access_tiled_image()
300 dst_stride, src_stride, desc, is_store); in panfrost_access_tiled_image()
319 dst_stride, src_stride, desc, is_store); in panfrost_access_tiled_image()
334 dst_stride, src_stride, desc, is_store); in panfrost_access_tiled_image()
[all …]
/third_party/skia/third_party/externals/libwebp/src/enc/
Dpicture_psnr_enc.c25 typedef double (*AccumulateFunc)(const uint8_t* src, int src_stride,
37 static double AccumulateLSIM(const uint8_t* src, int src_stride, in AccumulateLSIM() argument
52 const uint8_t* const s = src + j * src_stride; in AccumulateLSIM()
66 static double AccumulateSSE(const uint8_t* src, int src_stride, in AccumulateSSE() argument
73 src += src_stride; in AccumulateSSE()
81 static double AccumulateSSIM(const uint8_t* src, int src_stride, in AccumulateSSIM() argument
92 sum += VP8SSIMGetClipped(src, src_stride, ref, ref_stride, x, y, w, h); in AccumulateSSIM()
97 sum += VP8SSIMGetClipped(src, src_stride, ref, ref_stride, x, y, w, h); in AccumulateSSIM()
100 const int off1 = x - VP8_SSIM_KERNEL + (y - VP8_SSIM_KERNEL) * src_stride; in AccumulateSSIM()
102 sum += VP8SSIMGet(src + off1, src_stride, ref + off2, ref_stride); in AccumulateSSIM()
[all …]

12345678