Searched refs:z_src (Results 1 – 2 of 2) sorted by relevance
163 int z_src = (z - zd_start) + offset_z - kernel_radius_z; in compute_pixel_region_variance() local164 z_src = astc::clamp(z_src, 0, static_cast<int>(img->dim_z - 1)); in compute_pixel_region_variance()165 uint8_t* data8 = static_cast<uint8_t*>(img->data[z_src]); in compute_pixel_region_variance()207 int z_src = (z - zd_start) + offset_z - kernel_radius_z; in compute_pixel_region_variance() local208 z_src = astc::clamp(z_src, 0, static_cast<int>(img->dim_z - 1)); in compute_pixel_region_variance()209 uint16_t* data16 = static_cast<uint16_t*>(img->data[z_src]); in compute_pixel_region_variance()246 int z_src = (z - zd_start) + offset_z - kernel_radius_z; in compute_pixel_region_variance() local247 z_src = astc::clamp(z_src, 0, static_cast<int>(img->dim_z - 1)); in compute_pixel_region_variance()248 float* data32 = static_cast<float*>(img->data[z_src]); in compute_pixel_region_variance()358 int z_src = z + kernel_radius_z; in compute_pixel_region_variance() local[all …]
534 const uint32_t *z_src = z_src_row; in util_format_z24_unorm_s8_uint_pack_separate() local538 *dst++ = (*z_src++ & 0x00ffffff) | ((uint32_t)*s_src++ << 24); in util_format_z24_unorm_s8_uint_pack_separate()554 const float *z_src = z_src_row; in util_format_z24_unorm_s8_uint_pack_separate_z32() local558 *dst++ = (z32_float_to_z24_unorm(*z_src++) & 0x00ffffff) | ((uint32_t)*s_src++ << 24); in util_format_z24_unorm_s8_uint_pack_separate_z32()