HomeSort by: relevance | last modified time | path
    Searched refs:dst_size (Results 1 - 24 of 24) sorted by relevancy

  /xsrc/external/mit/MesaLib/dist/src/util/format/
format_utils.h 150 _mesa_unsigned_to_unsigned(unsigned src, unsigned dst_size)
152 return MIN2(src, u_uintN_max(dst_size));
156 _mesa_unsigned_to_signed(unsigned src, unsigned dst_size)
158 return MIN2(src, (unsigned)u_intN_max(dst_size));
162 _mesa_signed_to_signed(int src, unsigned dst_size)
164 return CLAMP(src, u_intN_min(dst_size), u_intN_max(dst_size));
168 _mesa_signed_to_unsigned(int src, unsigned dst_size)
170 return CLAMP(src, 0, u_uintN_max(dst_size));
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
format_utils.h 163 _mesa_unsigned_to_unsigned(unsigned src, unsigned dst_size)
165 return MIN2(src, MAX_UINT(dst_size));
169 _mesa_unsigned_to_signed(unsigned src, unsigned dst_size)
171 return MIN2(src, (unsigned)MAX_INT(dst_size));
175 _mesa_signed_to_signed(int src, unsigned dst_size)
177 return CLAMP(src, MIN_INT(dst_size), MAX_INT(dst_size));
181 _mesa_signed_to_unsigned(int src, unsigned dst_size)
183 return CLAMP(src, 0, MAX_UINT(dst_size));
  /xsrc/external/mit/mesa-demos/dist/src/rbug/
bin_to_bmp.c 64 unsigned dst_size; local
74 dst_size = util_format_get_2d_size(dst_format, dst_stride, width);
75 rgba = MALLOC(dst_size);
  /xsrc/external/mit/pixman/dist/test/
scaling-crash-test.c 131 do_test (int32_t dst_size,
143 if (run_test (dst_size, 1,
157 if (run_test (1, dst_size,
cover-test.c 163 calc_translate (int dst_size,
180 ref_dst = pixman_int_to_fixed (dst_size) - pixman_fixed_1 / 2;
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/
vl_vlc.h 69 vl_vlc_init_table(struct vl_vlc_entry *dst, unsigned dst_size, const struct vl_vlc_compressed *src, unsigned src_size)
71 unsigned i, bits = util_logbase2(dst_size);
73 assert(dst && dst_size);
76 for (i=0;i<dst_size;++i) {
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/vl/
vl_vlc.h 69 vl_vlc_init_table(struct vl_vlc_entry *dst, unsigned dst_size, const struct vl_vlc_compressed *src, unsigned src_size)
71 unsigned i, bits = util_logbase2(dst_size);
73 assert(dst && dst_size);
76 for (i=0;i<dst_size;++i) {
  /xsrc/external/mit/xf86-video-nouveau/dist/src/
nv04_xv_blit.c 62 CARD32 dst_size, dst_point; local
78 dst_size = ((dstBox->y2 - dstBox->y1) << 16) |
147 PUSH_DATA (push, dst_size);
  /xsrc/external/mit/xf86-video-intel/dist/test/
dri3-test.c 543 int dst_stride, dst_size; local
595 dst_size = lseek(dst_fd, 0, SEEK_END);
597 width, height, dst_stride, dst_size);
611 if (!check_pixel(device, dst, dst_stride, dst_size,
653 int dst_stride, dst_size, dst_fd; local
663 dst_size = PAGE_ALIGN(dst_stride * height);
665 width, height, dst_stride, dst_size, domain);
667 dst = gem_create(device, dst_size);
674 gem_fill(device, dst, ~pixel, dst_size, domain);
682 dst_fd, bpp, dst_stride, dst_size);
    [all...]
  /xsrc/external/mit/xf86-video-intel-2014/dist/test/
dri3-test.c 548 int dst_stride, dst_size; local
600 dst_size = lseek(dst_fd, 0, SEEK_END);
602 width, height, dst_stride, dst_size);
616 if (!check_pixel(device, dst, dst_stride, dst_size,
658 int dst_stride, dst_size, dst_fd; local
668 dst_size = PAGE_ALIGN(dst_stride * height);
670 width, height, dst_stride, dst_size, domain);
672 dst = gem_create(device, dst_size);
679 gem_fill(device, dst, ~pixel, dst_size, domain);
687 dst_fd, bpp, dst_stride, dst_size);
    [all...]
  /xsrc/external/mit/freetype/dist/src/sfnt/
sfwoff2.c 213 FT_ULong* dst_size,
229 if ( ( *offset + size ) > *dst_size )
232 *dst_size, (*offset + size) ));
234 (FT_ULong)( *dst_size ),
238 *dst_size = *offset + size;
315 FT_ULong dst_size,
323 FT_Offset uncompressed_size = (FT_Offset)dst_size;
333 uncompressed_size != dst_size )
538 FT_ULong dst_size,
593 if ( flag_offset >= dst_size )
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
radv_query.c 809 uint32_t dst_stride, size_t dst_size, uint32_t count, uint32_t flags,
836 uint64_t dst_buffer_size = dst_stride * (count - 1) + dst_size;
1221 size_t dst_size = radv_query_result_size(pool, flags); local
1257 dst_buffer->offset + dstOffset, pool->stride, stride, dst_size, queryCount,
1276 pool->stride, stride, dst_size, queryCount, flags, pool->pipeline_stats_mask,
1299 dst_buffer->offset + dstOffset, pool->stride, stride, dst_size, queryCount,
1320 dst_buffer->offset + dstOffset, pool->stride, stride, dst_size, queryCount,
  /xsrc/external/mit/MesaLib/dist/src/compiler/nir/
nir_lower_io.c 2367 write_constant(void *dst, size_t dst_size,
2378 assert(num_components * 4 <= dst_size);
2386 assert(num_components * byte_size <= dst_size);
2402 assert(elem_offset < dst_size);
2403 write_constant((char *)dst + elem_offset, dst_size - elem_offset,
2411 assert(field_offset >= 0 && field_offset < dst_size);
2413 write_constant((char *)dst + field_offset, dst_size - field_offset,
2421 void *dst, size_t dst_size,
2431 assert(var->data.driver_location < dst_size);
2433 dst_size - var->data.driver_location
    [all...]
nir.h 4775 void *dst, size_t dst_size,
  /xsrc/external/mit/xf86-video-ati/dist/src/
r600_exa.c 106 accel_state->dst_size = dst->pitch * dst->height * (dst->bpp/8);
109 accel_state->dst_size = dst->surface->bo_size;
122 accel_state->dst_size = 0;
evergreen_accel.c 1497 accel_state->dst_size, accel_state->dst_obj.offset,
r6xx_accel.c 1320 accel_state->dst_size, accel_state->dst_obj.offset,
radeon.h 740 uint32_t dst_size; member in struct:radeon_accel_state
  /xsrc/external/mit/xf86-video-ati-kms/dist/src/
r600_exa.c 91 accel_state->dst_size = dst->pitch * dst->height * (dst->bpp/8);
93 accel_state->dst_size = dst->surface->bo_size;
103 accel_state->dst_size = 0;
radeon.h 476 uint32_t dst_size; member in struct:radeon_accel_state
evergreen_accel.c 1486 accel_state->dst_size, 0,
r6xx_accel.c 1249 accel_state->dst_size, 0,
  /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
brw_fs.cpp 6437 const unsigned dst_size = inst->size_written /
6441 const fs_reg tmp = lbld_after.vgrf(inst->dst.type, dst_size);
6451 for (unsigned k = 0; k < dst_size; ++k) {
6460 for (unsigned k = 0; k < dst_size; ++k) {
6502 const unsigned dst_size = inst->size_written /
6575 split_inst.dst.component_size(lower_width) * dst_size;
  /xsrc/external/mit/MesaLib/dist/src/intel/compiler/
brw_fs.cpp 7750 const unsigned dst_size = inst->size_written /
7754 const fs_reg tmp = lbld_after.vgrf(inst->dst.type, dst_size);
7764 for (unsigned k = 0; k < dst_size; ++k) {
7773 for (unsigned k = 0; k < dst_size; ++k) {
7815 const unsigned dst_size = inst->size_written /
7888 split_inst.dst.component_size(lower_width) * dst_size;

Completed in 44 milliseconds