Home
last modified time | relevance | path

Searched refs:pixsize (Results 1 – 9 of 9) sorted by relevance

/external/opencv3/modules/imgproc/src/opencl/
Dwarp_affine.cl76 #define pixsize (int)sizeof(T)
85 #define pixsize ((int)sizeof(T1)*3)
103 int dst_index = mad24(dy0, dst_step, mad24(dx, pixsize, dst_offset));
115 int src_index = mad24(sy, src_step, mad24(sx, pixsize, src_offset));
162 … v0 = convertToWT(loadpix(srcptr + mad24(sy, src_step, mad24(sx, pixsize, src_offset))));
164 … v2 = convertToWT(loadpix(srcptr + mad24(sy+1, src_step, mad24(sx, pixsize, src_offset))));
169 … v1 = convertToWT(loadpix(srcptr + mad24(sy, src_step, mad24(sx+1, pixsize, src_offset))));
171 … v3 = convertToWT(loadpix(srcptr + mad24(sy+1, src_step, mad24(sx+1, pixsize, src_offset))));
177 int dst_index = mad24(dy, dst_step, mad24(dx, pixsize, dst_offset));
195 int src_index0 = mad24(sy, src_step, mad24(sx, pixsize, src_offset)), src_index;
[all …]
Dwarp_perspective.cl75 #define pixsize (int)sizeof(T)
84 #define pixsize ((int)sizeof(T1)*3)
105 int dst_index = mad24(dy, dst_step, dx * pixsize + dst_offset);
109 int src_index = mad24(sy, src_step, sx * pixsize + src_offset);
140 convertToWT(loadpix(srcptr + mad24(sy, src_step, src_offset + sx * pixsize))) : scalar;
142 … convertToWT(loadpix(srcptr + mad24(sy, src_step, src_offset + (sx+1) * pixsize))) : scalar;
144 … convertToWT(loadpix(srcptr + mad24(sy+1, src_step, src_offset + sx * pixsize))) : scalar;
146 … convertToWT(loadpix(srcptr + mad24(sy+1, src_step, src_offset + (sx+1) * pixsize))) : scalar;
151 int dst_index = mad24(dy, dst_step, dst_offset + dx * pixsize);
207 … convertToWT(loadpix(srcptr + mad24(sy+y, src_step, src_offset + (sx+x) * pixsize))) : scalar;
[all …]
/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture_desc.c61 unsigned pixsize = util_format_get_blocksize(format); in r300_get_pixel_alignment() local
65 assert(pixsize <= 16); in r300_get_pixel_alignment()
70 if (pixsize == 4) in r300_get_pixel_alignment()
75 tile = table[macrotile][util_logbase2(pixsize)][microtile][dim]; in r300_get_pixel_alignment()
79 h_tile = table[macrotile][util_logbase2(pixsize)][microtile][DIM_HEIGHT]; in r300_get_pixel_alignment()
80 align = 64 / (pixsize * h_tile); in r300_get_pixel_alignment()
Dr300_fs.c339 OUT_CB_REG(R300_US_PIXSIZE, code->pixsize); in r300_emit_fs_code_to_buffer()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dr300_fragprog_emit.c85 if (index > code->pixsize) in use_temporary()
86 code->pixsize = index; in use_temporary()
504 if (code->pixsize >= compiler->Base.max_temp_regs) in r300BuildFragmentProgramHwCode()
546 if (code->pixsize >= R300_PFS_NUM_TEMP_REGS in r300BuildFragmentProgramHwCode()
Dradeon_code.h218 uint32_t pixsize; /* US_PIXSIZE */ member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dr600_blit.c273 unsigned pixsize = util_format_get_blocksize(rtex->real_format); in r600_compressed_to_blittable() local
285 if (pixsize == 8) in r600_compressed_to_blittable()
/external/opencv3/modules/imgproc/src/
Dsamplers.cpp471 size_t pixsize = img.elemSize(); in cvSampleLine() local
478 for( size_t k = 0; k < pixsize; k++ ) in cvSampleLine()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_blit.c575 unsigned pixsize = util_format_get_blocksize(rtex->resource.b.b.format); in r600_compressed_to_blittable() local
587 if (pixsize == 8) in r600_compressed_to_blittable()