| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| H A D | format_utils.h | 56 _mesa_unorm_to_float(unsigned x, unsigned src_bits) argument 58 return x * (1.0f / (float)MAX_UINT(src_bits)); 62 _mesa_snorm_to_float(int x, unsigned src_bits) argument 64 if (x <= -MAX_INT(src_bits)) 67 return x * (1.0f / (float)MAX_INT(src_bits)); 71 _mesa_unorm_to_half(unsigned x, unsigned src_bits) argument 73 return _mesa_float_to_half(_mesa_unorm_to_float(x, src_bits)); 77 _mesa_snorm_to_half(int x, unsigned src_bits) argument 79 return _mesa_float_to_half(_mesa_snorm_to_float(x, src_bits)); 100 _mesa_unorm_to_unorm(unsigned x, unsigned src_bits, unsigne argument 120 _mesa_snorm_to_unorm(int x,unsigned src_bits,unsigned dst_bits) argument 146 _mesa_unorm_to_snorm(unsigned x,unsigned src_bits,unsigned dst_bits) argument 152 _mesa_snorm_to_snorm(int x,unsigned src_bits,unsigned dst_bits) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/format/ |
| H A D | format_utils.h | 43 _mesa_unorm_to_float(unsigned x, unsigned src_bits) argument 45 return x * (1.0f / (float)u_uintN_max(src_bits)); 49 _mesa_snorm_to_float(int x, unsigned src_bits) argument 51 if (x <= -u_intN_max(src_bits)) 54 return x * (1.0f / (float)u_intN_max(src_bits)); 58 _mesa_unorm_to_half(unsigned x, unsigned src_bits) argument 60 return _mesa_float_to_half(_mesa_unorm_to_float(x, src_bits)); 64 _mesa_snorm_to_half(int x, unsigned src_bits) argument 66 return _mesa_float_to_half(_mesa_snorm_to_float(x, src_bits)); 87 _mesa_unorm_to_unorm(unsigned x, unsigned src_bits, unsigne argument 107 _mesa_snorm_to_unorm(int x,unsigned src_bits,unsigned dst_bits) argument 133 _mesa_unorm_to_snorm(unsigned x,unsigned src_bits,unsigned dst_bits) argument 139 _mesa_snorm_to_snorm(int x,unsigned src_bits,unsigned dst_bits) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/ |
| H A D | intel_blit.h | 51 GLubyte *src_bits, GLuint src_size,
|
| H A D | intel_blit.c | 499 GLubyte *src_bits, GLuint src_size, 562 intel_batchbuffer_data(intel, src_bits, dwords * 4); 497 intelEmitImmediateColorExpandBlit(struct intel_context * intel,GLuint cpp,GLubyte * src_bits,GLuint src_size,GLuint fg_color,GLshort dst_pitch,drm_intel_bo * dst_buffer,GLuint dst_offset,uint32_t dst_tiling,GLshort x,GLshort y,GLshort w,GLshort h,enum gl_logicop_mode logic_op) argument
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/ |
| H A D | intel_blit.h | 51 GLubyte *src_bits, GLuint src_size,
|
| H A D | intel_blit.c | 499 GLubyte *src_bits, GLuint src_size, 562 intel_batchbuffer_data(intel, src_bits, dwords * 4); 497 intelEmitImmediateColorExpandBlit(struct intel_context * intel,GLuint cpp,GLubyte * src_bits,GLuint src_size,GLuint fg_color,GLshort dst_pitch,drm_intel_bo * dst_buffer,GLuint dst_offset,uint32_t dst_tiling,GLshort x,GLshort y,GLshort w,GLshort h,enum gl_logicop_mode logic_op) argument
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| H A D | intel_blit.h | 55 GLubyte *src_bits, GLuint src_size,
|
| H A D | intel_blit.c | 623 GLubyte *src_bits, GLuint src_size, 694 intel_batchbuffer_data(brw, src_bits, dwords * 4); 621 intelEmitImmediateColorExpandBlit(struct brw_context * brw,GLuint cpp,GLubyte * src_bits,GLuint src_size,GLuint fg_color,GLshort dst_pitch,struct brw_bo * dst_buffer,GLuint dst_offset,enum isl_tiling dst_tiling,GLshort x,GLshort y,GLshort w,GLshort h,enum gl_logicop_mode logic_op) argument
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| H A D | brw_blit.h | 55 GLubyte *src_bits, GLuint src_size,
|
| H A D | brw_blit.c | 631 GLubyte *src_bits, GLuint src_size, 702 brw_batch_data(brw, src_bits, dwords * 4); 629 brw_emit_immediate_color_expand_blit(struct brw_context * brw,GLuint cpp,GLubyte * src_bits,GLuint src_size,GLuint fg_color,GLshort dst_pitch,struct brw_bo * dst_buffer,GLuint dst_offset,enum isl_tiling dst_tiling,GLshort x,GLshort y,GLshort w,GLshort h,enum gl_logicop_mode logic_op) argument
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_format_convert.h | 179 unsigned src_bits, unsigned dst_bits) 181 assert(src->bit_size >= src_bits && src->bit_size >= dst_bits); 182 assert(src_bits == 8 || src_bits == 16 || src_bits == 32); 185 if (src_bits == dst_bits) 189 DIV_ROUND_UP(src->num_components * src_bits, dst_bits); 193 if (dst_bits > src_bits) { 205 shift += src_bits; 221 if (shift >= src_bits) { 178 nir_format_bitcast_uvec_unmasked(nir_builder * b,nir_ssa_def * src,unsigned src_bits,unsigned dst_bits) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_format_convert.h | 157 unsigned src_bits, unsigned dst_bits) 159 assert(src->bit_size >= src_bits && src->bit_size >= dst_bits); 160 assert(src_bits == 8 || src_bits == 16 || src_bits == 32); 163 if (src_bits == dst_bits) 167 DIV_ROUND_UP(src->num_components * src_bits, dst_bits); 171 if (dst_bits > src_bits) { 183 shift += src_bits; 199 if (shift >= src_bits) { 156 nir_format_bitcast_uvec_unmasked(nir_builder * b,nir_ssa_def * src,unsigned src_bits,unsigned dst_bits) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_format_aos.c | 152 int src_bits, 160 if (src_bits == 1 && dst_bits > 1) { 173 else if (dst_bits > src_bits) { 175 int db = dst_bits - src_bits; 183 if (db <= src_bits) { 188 src_bits - db), 192 } else if (db > src_bits) { 196 for (n = src_bits; n < dst_bits; n *= 2) { 206 assert (dst_bits == src_bits); 151 scale_bits_up(struct gallivm_state * gallivm,int src_bits,int dst_bits,LLVMValueRef src,struct lp_type src_type) argument
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_format_aos.c | 152 int src_bits, 160 if (src_bits == 1 && dst_bits > 1) { 173 else if (dst_bits > src_bits) { 175 int db = dst_bits - src_bits; 183 if (db <= src_bits) { 188 src_bits - db), 192 } else if (db > src_bits) { 196 for (n = src_bits; n < dst_bits; n *= 2) { 206 assert (dst_bits == src_bits); 151 scale_bits_up(struct gallivm_state * gallivm,int src_bits,int dst_bits,LLVMValueRef src,struct lp_type src_type) argument
|
| /xsrc/external/mit/pixman/dist/pixman/ |
| H A D | pixman-arm-simd.c | 141 uint32_t * src_bits, 164 (uint8_t *)(((char *) src_bits) + 172 (uint16_t *)(((char *) src_bits) + 180 (uint32_t *)(((char *) src_bits) + 140 arm_simd_blt(pixman_implementation_t * imp,uint32_t * src_bits,uint32_t * dst_bits,int src_stride,int dst_stride,int src_bpp,int dst_bpp,int src_x,int src_y,int dest_x,int dest_y,int width,int height) argument
|
| H A D | pixman-implementation.c | 234 uint32_t * src_bits, 250 (*imp->blt) (imp, src_bits, dst_bits, src_stride, dst_stride, 233 _pixman_implementation_blt(pixman_implementation_t * imp,uint32_t * src_bits,uint32_t * dst_bits,int src_stride,int dst_stride,int src_bpp,int dst_bpp,int src_x,int src_y,int dest_x,int dest_y,int width,int height) argument
|
| H A D | pixman-mips-dspr2.c | 214 uint32_t * src_bits, 239 src_bytes =(uint8_t *)(((uint16_t *)src_bits) 259 src_bytes = (uint8_t *)(((uint32_t *)src_bits) 213 mips_dspr2_blt(pixman_implementation_t * imp,uint32_t * src_bits,uint32_t * dst_bits,int src_stride,int dst_stride,int src_bpp,int dst_bpp,int src_x,int src_y,int dest_x,int dest_y,int width,int height) argument
|
| H A D | pixman-arm-neon.c | 232 uint32_t * src_bits, 255 (uint16_t *)(((char *) src_bits) + 263 (uint32_t *)(((char *) src_bits) + 231 arm_neon_blt(pixman_implementation_t * imp,uint32_t * src_bits,uint32_t * dst_bits,int src_stride,int dst_stride,int src_bpp,int dst_bpp,int src_x,int src_y,int dest_x,int dest_y,int width,int height) argument
|
| H A D | pixman-private.h | 490 uint32_t * src_bits, 572 uint32_t * src_bits,
|
| /xsrc/external/mit/xorg-server/dist/glamor/ |
| H A D | glamor_picture.c | 240 void *src_bits, 252 src_image = pixman_image_create_bits(src_format, w, h, src_bits, src_stride); 238 glamor_get_converted_image(PictFormatShort dst_format,PictFormatShort src_format,void * src_bits,int src_stride,int w,int h) argument
|
| H A D | glamor_copy.c | 263 FbBits *src_bits; local in function:glamor_copy_cpu_fbo 268 fbGetDrawable(src, src_bits, src_stride, src_bpp, src_xoff, src_yoff); 271 (uint8_t *) src_bits, src_stride * sizeof (FbBits));
|
| /xsrc/external/mit/xorg-server.old/dist/hw/sun/ |
| H A D | sunCursor.c | 77 sunCursorRepad(ScreenPtr pScreen, CursorBitsPtr bits, unsigned char *src_bits, unsigned char *dst_bits, DDXPointPtr ptSrc, int w, int h) argument 85 PixmapBytePad(bits->width,1), src_bits)))
|
| /xsrc/external/mit/xorg-server/dist/hw/sun/ |
| H A D | sunCursor.c | 77 sunCursorRepad(ScreenPtr pScreen, CursorBitsPtr bits, unsigned char *src_bits, unsigned char *dst_bits, DDXPointPtr ptSrc, int w, int h) argument 85 PixmapBytePad(bits->width,1), src_bits)))
|
| /xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/ |
| H A D | nir_to_dxil.c | 1614 unsigned src_bits = nir_src_bit_size(alu->src[0].src); local in function:get_cast_op 1627 assert(dst_bits != src_bits); 1628 if (dst_bits < src_bits) 1637 assert(dst_bits != src_bits); 1638 if (dst_bits < src_bits) 1647 assert(dst_bits != src_bits); 1648 if (dst_bits < src_bits) 1773 unsigned src_bits = nir_src_bit_size(alu->src[0].src); local in function:emit_unary_intin 1774 enum overload_type overload = get_overload(info->input_types[0], src_bits); 1895 unsigned src_bits local in function:emit_ufind_msb [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_state_fs.c | 1114 * Scale a normalized value from src_bits to dst_bits. 1126 * src_mask = (1 << src_bits) - 1 1133 int src_bits, 1141 if (dst_bits < src_bits) { 1142 int delta_bits = src_bits - dst_bits; 1192 * Approximate the division by src_mask with a src_bits shift. 1204 } else if (dst_bits > src_bits) { 1206 int db = dst_bits - src_bits; 1214 if (db <= src_bits) { 1218 lp_build_const_int_vec(gallivm, src_type, src_bits 1132 scale_bits(struct gallivm_state * gallivm,int src_bits,int dst_bits,LLVMValueRef src,struct lp_type src_type) argument [all...] |