/hardware/google/gfxstream/guest/mesa/src/util/format/ |
D | u_format_zs.c | 115 const uint8_t *restrict src_row, unsigned src_stride, in util_format_s8_uint_unpack_s_8uint() argument 120 memcpy(dst_row, src_row, width); in util_format_s8_uint_unpack_s_8uint() 121 src_row += src_stride/sizeof(*src_row); in util_format_s8_uint_unpack_s_8uint() 128 const uint8_t *restrict src_row, unsigned src_stride, in util_format_s8_uint_pack_s_8uint() argument 133 memcpy(dst_row, src_row, width); in util_format_s8_uint_pack_s_8uint() 134 src_row += src_stride/sizeof(*src_row); in util_format_s8_uint_pack_s_8uint() 141 const uint8_t *restrict src_row, unsigned src_stride, in util_format_z16_unorm_unpack_z_float() argument 147 const uint16_t *src = (const uint16_t *)src_row; in util_format_z16_unorm_unpack_z_float() 151 src_row += src_stride/sizeof(*src_row); in util_format_z16_unorm_unpack_z_float() 158 const float *restrict src_row, unsigned src_stride, in util_format_z16_unorm_pack_z_float() argument [all …]
|
D | u_format_zs.h | 42 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 46 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 50 …at(float *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 54 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str… 58 …uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 62 …uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_str… 66 …at(float *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 70 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str… 74 …uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 78 …uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_str… [all …]
|
D | u_format_rgtc.h | 37 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 40 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 43 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 46 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 49 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str… 60 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 63 …m(int8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 66 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 69 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str… 72 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… [all …]
|
D | u_format_bptc.c | 36 const uint8_t *restrict src_row, unsigned src_stride, in util_format_bptc_rgba_unorm_unpack_rgba_8unorm() argument 40 src_row, src_stride, in util_format_bptc_rgba_unorm_unpack_rgba_8unorm() 46 const uint8_t *restrict src_row, unsigned src_stride, in util_format_bptc_rgba_unorm_pack_rgba_8unorm() argument 50 src_row, src_stride, in util_format_bptc_rgba_unorm_pack_rgba_8unorm() 56 const uint8_t *restrict src_row, unsigned src_stride, in util_format_bptc_rgba_unorm_unpack_rgba_float() argument 62 src_row, src_stride, in util_format_bptc_rgba_unorm_unpack_rgba_float() 77 const float *restrict src_row, unsigned src_stride, in util_format_bptc_rgba_unorm_pack_rgba_float() argument 88 (uint8_t *)src_row + src_stride * y, in util_format_bptc_rgba_unorm_pack_rgba_float() 114 const uint8_t *restrict src_row, unsigned src_stride, in util_format_bptc_srgba_unpack_rgba_8unorm() argument 118 src_row, src_stride, in util_format_bptc_srgba_unpack_rgba_8unorm() [all …]
|
D | u_format_s3tc.h | 72 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 75 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 81 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 84 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 90 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 93 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 99 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 102 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 108 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 111 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… [all …]
|
D | u_format_bptc.h | 43 const uint8_t *restrict src_row, unsigned src_stride, 47 const uint8_t *restrict src_row, unsigned src_stride, 51 const uint8_t *restrict src_row, unsigned src_stride, 55 const float *restrict src_row, unsigned src_stride, 63 const uint8_t *restrict src_row, unsigned src_stride, 67 const uint8_t *restrict src_row, unsigned src_stride, 71 const uint8_t *restrict src_row, unsigned src_stride, 75 const float *restrict src_row, unsigned src_stride, 83 const uint8_t *restrict src_row, unsigned src_stride, 87 const uint8_t *restrict src_row, unsigned src_stride, [all …]
|
D | u_format_other.c | 37 const uint8_t *restrict src_row, in util_format_r9g9b9e5_float_unpack_rgba_float() argument 42 const uint8_t *src = src_row; in util_format_r9g9b9e5_float_unpack_rgba_float() 54 const float *restrict src_row, unsigned src_stride, in util_format_r9g9b9e5_float_pack_rgba_float() argument 59 const float *src = src_row; in util_format_r9g9b9e5_float_pack_rgba_float() 68 src_row += src_stride/sizeof(*src_row); in util_format_r9g9b9e5_float_pack_rgba_float() 85 const uint8_t *restrict src_row, in util_format_r9g9b9e5_float_unpack_rgba_8unorm() argument 91 const uint8_t *src = src_row; in util_format_r9g9b9e5_float_unpack_rgba_8unorm() 107 const uint8_t *restrict src_row, unsigned src_stride, in util_format_r9g9b9e5_float_pack_rgba_8unorm() argument 113 const uint8_t *src = src_row; in util_format_r9g9b9e5_float_pack_rgba_8unorm() 126 src_row += src_stride/sizeof(*src_row); in util_format_r9g9b9e5_float_pack_rgba_8unorm() [all …]
|
D | u_format_latc.h | 37 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 40 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 43 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 46 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str… 57 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 60 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 63 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str… 66 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 76 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 79 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… [all …]
|
D | u_format_other.h | 39 const uint8_t *restrict src_row, 44 const float *restrict src_row, unsigned src_stride, 53 const uint8_t *restrict src_row, 58 const uint8_t *restrict src_row, unsigned src_stride, 64 const uint8_t *restrict src_row, 69 const float *restrict src_row, unsigned src_stride, 78 const uint8_t *restrict src_row, 83 const uint8_t *restrict src_row, unsigned src_stride, 89 const uint8_t *restrict src_row, 94 const float *restrict src_row, unsigned src_stride, [all …]
|
D | u_format_yuv.h | 127 const uint8_t *restrict src_row, unsigned src_stride, 132 const uint8_t *restrict src_row, unsigned src_stride, 137 const float *restrict src_row, unsigned src_stride, 142 const uint8_t *restrict src_row, unsigned src_stride, 151 const uint8_t *restrict src_row, unsigned src_stride, 156 const uint8_t *restrict src_row, unsigned src_stride, 161 const float *restrict src_row, unsigned src_stride, 166 const uint8_t *restrict src_row, unsigned src_stride, 175 const uint8_t *restrict src_row, unsigned src_stride, 180 const uint8_t *restrict src_row, unsigned src_stride, [all …]
|
D | u_format_latc.c | 46 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… in util_format_latc1_unorm_unpack_rgba_8unorm() argument 48 …util_format_rgtc1_unorm_unpack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, width, height… in util_format_latc1_unorm_unpack_rgba_8unorm() 52 …m_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, in util_format_latc1_unorm_pack_rgba_8unorm() argument 55 … util_format_rgtc1_unorm_pack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, width, height); in util_format_latc1_unorm_pack_rgba_8unorm() 59 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… in util_format_latc1_unorm_unpack_rgba_float() argument 65 const uint8_t *src = src_row; in util_format_latc1_unorm_unpack_rgba_float() 80 src_row += src_stride; in util_format_latc1_unorm_unpack_rgba_float() 85 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str… in util_format_latc1_unorm_pack_rgba_float() argument 87 util_format_rgtc1_unorm_pack_rgba_float(dst_row, dst_stride, src_row, src_stride, width, height); in util_format_latc1_unorm_pack_rgba_float() 112 … UNUSED const uint8_t *restrict src_row, UNUSED unsigned src_stride, in util_format_latc1_snorm_unpack_rgba_8unorm() argument [all …]
|
D | u_format_rgtc.c | 41 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… in util_format_rgtc1_unorm_unpack_r_8unorm() argument 48 const uint8_t *src = src_row; in util_format_rgtc1_unorm_unpack_r_8unorm() 60 src_row += src_stride; in util_format_rgtc1_unorm_unpack_r_8unorm() 65 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… in util_format_rgtc1_unorm_unpack_rgba_8unorm() argument 72 const uint8_t *src = src_row; in util_format_rgtc1_unorm_unpack_rgba_8unorm() 87 src_row += src_stride; in util_format_rgtc1_unorm_unpack_rgba_8unorm() 92 …m_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, in util_format_rgtc1_unorm_pack_rgba_8unorm() argument 104 tmp[j][i] = src_row[(y + j)*src_stride/sizeof(*src_row) + (x + i)*4]; in util_format_rgtc1_unorm_pack_rgba_8unorm() 115 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… in util_format_rgtc1_unorm_unpack_rgba_float() argument 120 const uint8_t *src = src_row; in util_format_rgtc1_unorm_unpack_rgba_float() [all …]
|
D | u_format_s3tc.c | 124 const uint8_t *restrict src_row, unsigned src_stride, in util_format_dxtn_rgb_unpack_rgba_8unorm() argument 132 const uint8_t *src = src_row; in util_format_dxtn_rgb_unpack_rgba_8unorm() 149 src_row += src_stride; in util_format_dxtn_rgb_unpack_rgba_8unorm() 155 const uint8_t *restrict src_row, unsigned src_stride, in util_format_dxt1_rgb_unpack_rgba_8unorm() argument 159 src_row, src_stride, in util_format_dxt1_rgb_unpack_rgba_8unorm() 167 const uint8_t *restrict src_row, unsigned src_stride, in util_format_dxt1_rgba_unpack_rgba_8unorm() argument 171 src_row, src_stride, in util_format_dxt1_rgba_unpack_rgba_8unorm() 179 const uint8_t *restrict src_row, unsigned src_stride, in util_format_dxt3_rgba_unpack_rgba_8unorm() argument 183 src_row, src_stride, in util_format_dxt3_rgba_unpack_rgba_8unorm() 191 const uint8_t *restrict src_row, unsigned src_stride, in util_format_dxt5_rgba_unpack_rgba_8unorm() argument [all …]
|
D | u_format_yuv.c | 43 const uint8_t *restrict src_row, unsigned src_stride, in util_format_r8g8_b8g8_unorm_unpack_rgba_float() argument 50 const uint32_t *src = (const uint32_t *)src_row; in util_format_r8g8_b8g8_unorm_unpack_rgba_float() 89 src_row = (uint8_t *)src_row + src_stride; in util_format_r8g8_b8g8_unorm_unpack_rgba_float() 97 const uint8_t *restrict src_row, unsigned src_stride, in util_format_r8g8_b8g8_unorm_unpack_rgba_8unorm() argument 104 const uint32_t *src = (const uint32_t *)src_row; in util_format_r8g8_b8g8_unorm_unpack_rgba_8unorm() 143 src_row += src_stride/sizeof(*src_row); in util_format_r8g8_b8g8_unorm_unpack_rgba_8unorm() 151 const float *restrict src_row, unsigned src_stride, in util_format_r8g8_b8g8_unorm_pack_rgba_float() argument 157 const float *src = src_row; in util_format_r8g8_b8g8_unorm_pack_rgba_float() 193 src_row += src_stride/sizeof(*src_row); in util_format_r8g8_b8g8_unorm_pack_rgba_float() 200 const uint8_t *restrict src_row, unsigned src_stride, in util_format_r8g8_b8g8_unorm_pack_rgba_8unorm() argument [all …]
|
D | u_format_fxt1.h | 42 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 45 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 51 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 54 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 60 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 63 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str… 69 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 72 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str…
|
D | u_format_etc.c | 14 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… in util_format_etc1_rgb8_unpack_rgba_8unorm() argument 16 etc1_unpack_rgba8888(dst_row, dst_stride, src_row, src_stride, width, height); in util_format_etc1_rgb8_unpack_rgba_8unorm() 21 … UNUSED const uint8_t *restrict src_row, UNUSED unsigned src_stride, in util_format_etc1_rgb8_pack_rgba_8unorm() argument 28 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… in util_format_etc1_rgb8_unpack_rgba_float() argument 35 const uint8_t *src = src_row; in util_format_etc1_rgb8_unpack_rgba_float() 57 src_row += src_stride; in util_format_etc1_rgb8_unpack_rgba_float() 63 … UNUSED const float *restrict src_row, UNUSED unsigned src_stride, in util_format_etc1_rgb8_pack_rgba_float() argument
|
D | u_format_etc.h | 34 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 37 …(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 40 …oat(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_str… 43 …at(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_str…
|
D | u_format.c | 415 const uint8_t *src_row; in util_format_read_4() local 422 src_row = (const uint8_t *)src + (uint64_t)y*src_stride + x*(format_desc->block.bits/8); in util_format_read_4() 424 util_format_unpack_rgba_rect(format, dst, dst_stride, src_row, src_stride, w, h); in util_format_read_4() 459 const uint8_t *src_row; in util_format_read_4ub() local 466 src_row = (const uint8_t *)src + (uint64_t)y*src_stride + x*(format_desc->block.bits/8); in util_format_read_4ub() 468 util_format_unpack_rgba_8unorm_rect(format, dst, dst_stride, src_row, src_stride, w, h); in util_format_read_4ub() 479 const uint8_t *src_row; in util_format_write_4ub() local 487 src_row = src; in util_format_write_4ub() 489 pack->pack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, w, h); in util_format_write_4ub() 660 const uint8_t *src_row; in util_format_translate() local [all …]
|
D | texcompress_etc_tmp.h | 141 const uint8_t *src_row, in etc1_unpack_rgba8888() argument 151 const uint8_t *src = src_row; in etc1_unpack_rgba8888() 168 src_row += src_stride; in etc1_unpack_rgba8888()
|
D | u_format_fxt1.c | 1551 const uint8_t *restrict src_row, unsigned src_stride, in util_format_fxtn_rgb_unpack_rgba_8unorm() argument 1558 const uint8_t *src = src_row; in util_format_fxtn_rgb_unpack_rgba_8unorm() 1570 src_row += src_stride; in util_format_fxtn_rgb_unpack_rgba_8unorm() 1576 const uint8_t *restrict src_row, unsigned src_stride, in util_format_fxt1_rgb_unpack_rgba_8unorm() argument 1580 src_row, src_stride, in util_format_fxt1_rgb_unpack_rgba_8unorm() 1587 const uint8_t *restrict src_row, unsigned src_stride, in util_format_fxt1_rgba_unpack_rgba_8unorm() argument 1591 src_row, src_stride, in util_format_fxt1_rgba_unpack_rgba_8unorm() 1598 const uint8_t *restrict src_row, unsigned src_stride, in util_format_fxtn_rgb_unpack_rgba_float() argument 1605 const uint8_t *src = src_row; in util_format_fxtn_rgb_unpack_rgba_float() 1623 src_row += src_stride; in util_format_fxtn_rgb_unpack_rgba_float() [all …]
|