Home
last modified time | relevance | path

Searched refs:z_src (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_compute_variance.cpp163 int z_src = (z - zd_start) + offset_z - kernel_radius_z; in compute_pixel_region_variance() local
164 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() local
208 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() local
247 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 …]
/hardware/google/gfxstream/guest/mesa/src/util/format/
Du_format_zs.c534 const uint32_t *z_src = z_src_row; in util_format_z24_unorm_s8_uint_pack_separate() local
538 *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() local
558 *dst++ = (z32_float_to_z24_unorm(*z_src++) & 0x00ffffff) | ((uint32_t)*s_src++ << 24); in util_format_z24_unorm_s8_uint_pack_separate_z32()