Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/auxiliary/util/
Du_format_zs.c116 const uint8_t *src_row, unsigned src_stride, in util_format_s8_uint_unpack_s_8uint() argument
121 memcpy(dst_row, src_row, width); in util_format_s8_uint_unpack_s_8uint()
122 src_row += src_stride/sizeof(*src_row); in util_format_s8_uint_unpack_s_8uint()
129 const uint8_t *src_row, unsigned src_stride, in util_format_s8_uint_pack_s_8uint() argument
134 memcpy(dst_row, src_row, width); in util_format_s8_uint_pack_s_8uint()
135 src_row += src_stride/sizeof(*src_row); in util_format_s8_uint_pack_s_8uint()
142 const uint8_t *src_row, unsigned src_stride, in util_format_z16_unorm_unpack_z_float() argument
148 const uint16_t *src = (const uint16_t *)src_row; in util_format_z16_unorm_unpack_z_float()
156 src_row += src_stride/sizeof(*src_row); in util_format_z16_unorm_unpack_z_float()
163 const float *src_row, unsigned src_stride, in util_format_z16_unorm_pack_z_float() argument
[all …]
Du_format_zs.h37 util_format_s8_uint_unpack_s_8uint(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, u…
41 util_format_s8_uint_pack_s_8uint(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, uns…
45 util_format_z16_unorm_unpack_z_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, u…
49 util_format_z16_unorm_pack_z_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, uns…
53 …_unpack_z_32unorm(uint32_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
57 util_format_z16_unorm_pack_z_32unorm(uint8_t *dst_row, unsigned dst_stride, const uint32_t *src_row
61 util_format_z32_unorm_unpack_z_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, u…
65 util_format_z32_unorm_pack_z_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, uns…
69 …_unpack_z_32unorm(uint32_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
73 util_format_z32_unorm_pack_z_32unorm(uint8_t *dst_row, unsigned dst_stride, const uint32_t *src_row
[all …]
Du_format_yuv.h126 const uint8_t *src_row, unsigned src_stride,
131 const uint8_t *src_row, unsigned src_stride,
136 const float *src_row, unsigned src_stride,
141 const uint8_t *src_row, unsigned src_stride,
150 const uint8_t *src_row, unsigned src_stride,
155 const uint8_t *src_row, unsigned src_stride,
160 const float *src_row, unsigned src_stride,
165 const uint8_t *src_row, unsigned src_stride,
175 const uint8_t *src_row, unsigned src_stride,
179 const uint8_t *src_row, unsigned src_stride,
[all …]
Du_format_other.c37 const uint8_t *src_row, unsigned src_stride, in util_format_r9g9b9e5_float_unpack_rgba_float() argument
43 const uint8_t *src = src_row; in util_format_r9g9b9e5_float_unpack_rgba_float()
54 src_row += src_stride; in util_format_r9g9b9e5_float_unpack_rgba_float()
61 const float *src_row, unsigned src_stride, in util_format_r9g9b9e5_float_pack_rgba_float() argument
66 const float *src = src_row; in util_format_r9g9b9e5_float_pack_rgba_float()
78 src_row += src_stride/sizeof(*src_row); in util_format_r9g9b9e5_float_pack_rgba_float()
97 const uint8_t *src_row, unsigned src_stride, in util_format_r9g9b9e5_float_unpack_rgba_8unorm() argument
104 const uint8_t *src = src_row; in util_format_r9g9b9e5_float_unpack_rgba_8unorm()
118 src_row += src_stride; in util_format_r9g9b9e5_float_unpack_rgba_8unorm()
126 const uint8_t *src_row, unsigned src_stride, in util_format_r9g9b9e5_float_pack_rgba_8unorm() argument
[all …]
Du_format_s3tc.h73 …unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
76 util_format_dxt1_rgb_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row
82 …unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
85 …a_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
91 …unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
94 …a_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
100 …unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
103 …a_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
109 …unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
112 …b_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
[all …]
Du_format_yuv.c42 const uint8_t *src_row, unsigned src_stride, in util_format_r8g8_b8g8_unorm_unpack_rgba_float() argument
49 const uint32_t *src = (const uint32_t *)src_row; in util_format_r8g8_b8g8_unorm_unpack_rgba_float()
96 src_row += src_stride/sizeof(*src_row); in util_format_r8g8_b8g8_unorm_unpack_rgba_float()
104 const uint8_t *src_row, unsigned src_stride, in util_format_r8g8_b8g8_unorm_unpack_rgba_8unorm() argument
111 const uint32_t *src = (const uint32_t *)src_row; in util_format_r8g8_b8g8_unorm_unpack_rgba_8unorm()
158 src_row += src_stride/sizeof(*src_row); in util_format_r8g8_b8g8_unorm_unpack_rgba_8unorm()
166 const float *src_row, unsigned src_stride, in util_format_r8g8_b8g8_unorm_pack_rgba_float() argument
172 const float *src = src_row; in util_format_r8g8_b8g8_unorm_pack_rgba_float()
216 src_row += src_stride/sizeof(*src_row); in util_format_r8g8_b8g8_unorm_pack_rgba_float()
223 const uint8_t *src_row, unsigned src_stride, in util_format_r8g8_b8g8_unorm_pack_rgba_8unorm() argument
[all …]
Du_format_rgtc.h35 …unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
38 …m_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
41 …rm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
44 util_format_rgtc1_unorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row
55 …unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
58 …m_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
61 util_format_rgtc1_snorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row
64 …rm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
74 …unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
77 …m_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
[all …]
Du_format_other.h38 const uint8_t *src_row, unsigned src_stride,
43 const float *src_row, unsigned src_stride,
52 const uint8_t *src_row, unsigned src_stride,
57 const uint8_t *src_row, unsigned src_stride,
63 const uint8_t *src_row, unsigned src_stride,
68 const float *src_row, unsigned src_stride,
77 const uint8_t *src_row, unsigned src_stride,
82 const uint8_t *src_row, unsigned src_stride,
88 const uint8_t *src_row, unsigned src_stride,
93 const float *src_row, unsigned src_stride,
[all …]
Du_format_rgtc.c51 …unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str… in util_format_rgtc1_unorm_unpack_rgba_8unorm() argument
58 const uint8_t *src = src_row; in util_format_rgtc1_unorm_unpack_rgba_8unorm()
71 src_row += src_stride; in util_format_rgtc1_unorm_unpack_rgba_8unorm()
76 …format_rgtc1_unorm_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, in util_format_rgtc1_unorm_pack_rgba_8unorm() argument
88 tmp[j][i] = src_row[(y + j)*src_stride/sizeof(*src_row) + (x + i)*4]; in util_format_rgtc1_unorm_pack_rgba_8unorm()
99 …rm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str… in util_format_rgtc1_unorm_unpack_rgba_float() argument
104 const uint8_t *src = src_row; in util_format_rgtc1_unorm_unpack_rgba_float()
119 src_row += src_stride; in util_format_rgtc1_unorm_unpack_rgba_float()
124 util_format_rgtc1_unorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row in util_format_rgtc1_unorm_pack_rgba_float() argument
135 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_latc.c56 …unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str… in util_format_latc1_unorm_unpack_rgba_8unorm() argument
58 …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()
62 …_format_latc1_unorm_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, in util_format_latc1_unorm_pack_rgba_8unorm() argument
65 … 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()
69 …rm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str… in util_format_latc1_unorm_unpack_rgba_float() argument
75 const uint8_t *src = src_row; in util_format_latc1_unorm_unpack_rgba_float()
90 src_row += src_stride; in util_format_latc1_unorm_unpack_rgba_float()
95 util_format_latc1_unorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row in util_format_latc1_unorm_pack_rgba_float() argument
97 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()
119 …unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str… in util_format_latc1_snorm_unpack_rgba_8unorm() argument
[all …]
Du_format_latc.h35 …unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
38 …m_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
41 …rm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
44 util_format_latc1_unorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row
55 …unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
58 …m_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
61 util_format_latc1_snorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row
64 …rm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
74 …unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
77 …m_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
[all …]
Du_format_s3tc.c245 const uint8_t *src_row, unsigned src_stride, in util_format_dxtn_rgb_unpack_rgba_8unorm() argument
253 const uint8_t *src = src_row; in util_format_dxtn_rgb_unpack_rgba_8unorm()
263 src_row += src_stride; in util_format_dxtn_rgb_unpack_rgba_8unorm()
269 const uint8_t *src_row, unsigned src_stride, in util_format_dxt1_rgb_unpack_rgba_8unorm() argument
273 src_row, src_stride, in util_format_dxt1_rgb_unpack_rgba_8unorm()
280 const uint8_t *src_row, unsigned src_stride, in util_format_dxt1_rgba_unpack_rgba_8unorm() argument
284 src_row, src_stride, in util_format_dxt1_rgba_unpack_rgba_8unorm()
291 const uint8_t *src_row, unsigned src_stride, in util_format_dxt3_rgba_unpack_rgba_8unorm() argument
295 src_row, src_stride, in util_format_dxt3_rgba_unpack_rgba_8unorm()
302 const uint8_t *src_row, unsigned src_stride, in util_format_dxt5_rgba_unpack_rgba_8unorm() argument
[all …]
Du_format.c256 const uint8_t *src_row; in util_format_read_4f() local
264 src_row = (const uint8_t *)src + y*src_stride + x*(format_desc->block.bits/8); in util_format_read_4f()
267 format_desc->unpack_rgba_float(dst_row, dst_stride, src_row, src_stride, w, h); in util_format_read_4f()
279 const float *src_row; in util_format_write_4f() local
287 src_row = src; in util_format_write_4f()
289 format_desc->pack_rgba_float(dst_row, dst_stride, src_row, src_stride, w, h); in util_format_write_4f()
297 const uint8_t *src_row; in util_format_read_4ub() local
305 src_row = (const uint8_t *)src + y*src_stride + x*(format_desc->block.bits/8); in util_format_read_4ub()
308 format_desc->unpack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, w, h); in util_format_read_4ub()
317 const uint8_t *src_row; in util_format_write_4ub() local
[all …]
Du_format_etc.c14 …unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *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()
20 …8_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str… in util_format_etc1_rgb8_pack_rgba_8unorm() argument
26 util_format_etc1_rgb8_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row in util_format_etc1_rgb8_unpack_rgba_float() argument
33 const uint8_t *src = src_row; in util_format_etc1_rgb8_unpack_rgba_float()
55 src_row += src_stride; in util_format_etc1_rgb8_unpack_rgba_float()
60 util_format_etc1_rgb8_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, … in util_format_etc1_rgb8_pack_rgba_float() argument
Du_format_etc.h32 …unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
35 …8_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_str…
38 util_format_etc1_rgb8_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row
41 util_format_etc1_rgb8_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, …
/external/opencv3/modules/imgproc/test/
Dtest_color.cpp66 virtual void convert_row_bgr2abc_32f_c3( const float* src_row, float* dst_row, int n );
69 virtual void convert_row_abc2bgr_32f_c3( const float* src_row, float* dst_row, int n );
226 const uchar* src_row = src.ptr(i); in convert_forward() local
231 src_buf[j*3] = src_row[j*cn + blue_idx]*c8u; in convert_forward()
232 src_buf[j*3+1] = src_row[j*cn + 1]*c8u; in convert_forward()
233 src_buf[j*3+2] = src_row[j*cn + (blue_idx^2)]*c8u; in convert_forward()
247 const ushort* src_row = src.ptr<ushort>(i); in convert_forward() local
252 src_buf[j*3] = src_row[j*cn + blue_idx]*c16u; in convert_forward()
253 src_buf[j*3+1] = src_row[j*cn + 1]*c16u; in convert_forward()
254 src_buf[j*3+2] = src_row[j*cn + (blue_idx^2)]*c16u; in convert_forward()
[all …]
/external/pdfium/core/src/fxge/dib/
Dfx_dib_transform.cpp521 int src_col, src_row; in Continue() local
522 result2stretch_fix.Transform(col, row, src_col, src_row); in Continue()
523 if (src_col >= 0 && src_col <= stretch_width && src_row >= 0 && in Continue()
524 src_row <= stretch_height) { in Continue()
528 if (src_row == stretch_height) { in Continue()
529 src_row--; in Continue()
532 stretch_buf_mask[src_row * stretch_pitch_mask + src_col]; in Continue()
604 int src_col, src_row; in Continue() local
605 result2stretch_fix.Transform(col, row, src_col, src_row); in Continue()
606 if (src_col >= 0 && src_col <= stretch_width && src_row >= 0 && in Continue()
[all …]
/external/opencv3/modules/stitching/src/
Dblenders.cpp94 const Point3_<short> *src_row = img.ptr<Point3_<short> >(y); in feed() local
102 dst_row[dx + x] = src_row[x]; in feed()
146 const Point3_<short>* src_row = img.ptr<Point3_<short> >(y); in feed() local
153 dst_row[dx + x].x += static_cast<short>(src_row[x].x * weight_row[x]); in feed()
154 dst_row[dx + x].y += static_cast<short>(src_row[x].y * weight_row[x]); in feed()
155 dst_row[dx + x].z += static_cast<short>(src_row[x].z * weight_row[x]); in feed()
384 const Point3_<short>* src_row = _src_pyr_laplace.ptr<Point3_<short> >(y); in feed() local
391 dst_row[x].x += static_cast<short>(src_row[x].x * weight_row[x]); in feed()
392 dst_row[x].y += static_cast<short>(src_row[x].y * weight_row[x]); in feed()
393 dst_row[x].z += static_cast<short>(src_row[x].z * weight_row[x]); in feed()
[all …]
Dtimelapsers.cpp79 const Point3_<short> *src_row = img.ptr<Point3_<short> >(y); in process() local
86 dst_row[dx + x] = src_row[x]; in process()
/external/mesa3d/src/mesa/main/
Dtexcompress_etc.c95 const uint8_t *src_row, in _mesa_etc1_unpack_rgba8888() argument
101 src_row, src_stride, in _mesa_etc1_unpack_rgba8888()
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()
Dtexcompress_etc.h44 const uint8_t *src_row,
/external/opencv3/modules/cudafilters/src/cuda/
Drow_filter.hpp81 const T* src_row = src.ptr(y); in linearRowFilter() local
90 …smem[threadIdx.y][threadIdx.x + j * BLOCK_DIM_X] = saturate_cast<sum_t>(src_row[xStart - (HALO_SIZ… in linearRowFilter()
97 …* BLOCK_DIM_X] = saturate_cast<sum_t>(brd.at_low(xStart - (HALO_SIZE - j) * BLOCK_DIM_X, src_row)); in linearRowFilter()
105 …dx.x + HALO_SIZE * BLOCK_DIM_X + j * BLOCK_DIM_X] = saturate_cast<sum_t>(src_row[xStart + j * BLOC… in linearRowFilter()
110 …OCK + HALO_SIZE) * BLOCK_DIM_X + j * BLOCK_DIM_X] = saturate_cast<sum_t>(src_row[xStart + (PATCH_P… in linearRowFilter()
117 …CK_DIM_X + j * BLOCK_DIM_X] = saturate_cast<sum_t>(brd.at_high(xStart + j * BLOCK_DIM_X, src_row)); in linearRowFilter()
122 …_DIM_X] = saturate_cast<sum_t>(brd.at_high(xStart + (PATCH_PER_BLOCK + j) * BLOCK_DIM_X, src_row)); in linearRowFilter()
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp214 const uint8_t* src_row = src; in copyFTBitmap() local
218 byte = *src_row++; in copyFTBitmap()
231 const uint8_t* src_row = src; in copyFTBitmap() local
234 uint8_t b = *src_row++; in copyFTBitmap()
235 uint8_t g = *src_row++; in copyFTBitmap()
236 uint8_t r = *src_row++; in copyFTBitmap()
237 uint8_t a = *src_row++; in copyFTBitmap()
/external/pdfium/core/src/fxcodec/lbmp/
Dfx_bmp.cpp730 size = bmp_ptr->src_pitch * bmp_ptr->src_row * in _bmp_encode_bitfields()
784 for (int32_t row_num = bmp_ptr->src_row - 1; row_num > -1; row_num--, i = 0) { in _bmp_encode_bitfields()
820 size = dst_pitch * bmp_ptr->src_row; in _bmp_encode_rgb()
828 for (int32_t row_num = bmp_ptr->src_row - 1; row_num > -1; row_num--) { in _bmp_encode_rgb()
852 size = bmp_ptr->src_pitch * bmp_ptr->src_row * 2; in _bmp_encode_rle8()
860 for (int32_t row_num = bmp_ptr->src_row - 1, i = 0; row_num > -1;) { in _bmp_encode_rle8()
900 size = bmp_ptr->src_pitch * bmp_ptr->src_row; in _bmp_encode_rle4()
908 for (int32_t row_num = bmp_ptr->src_row - 1, i = 0; row_num > -1; in _bmp_encode_rle4()

12