/third_party/mesa3d/src/util/format/ |
H A D | u_format_bptc.c | 38 unsigned width, unsigned height) in util_format_bptc_rgba_unorm_unpack_rgba_8unorm() 40 decompress_rgba_unorm(width, height, in util_format_bptc_rgba_unorm_unpack_rgba_8unorm() 48 unsigned width, unsigned height) in util_format_bptc_rgba_unorm_pack_rgba_8unorm() 50 compress_rgba_unorm(width, height, in util_format_bptc_rgba_unorm_pack_rgba_8unorm() 58 unsigned width, unsigned height) in util_format_bptc_rgba_unorm_unpack_rgba_float() 61 temp_block = malloc(width * height * 4 * sizeof(uint8_t)); in util_format_bptc_rgba_unorm_unpack_rgba_float() 62 decompress_rgba_unorm(width, height, in util_format_bptc_rgba_unorm_unpack_rgba_float() 68 for (int y = 0; y < height; y++) { in util_format_bptc_rgba_unorm_unpack_rgba_float() 79 unsigned width, unsigned height) in util_format_bptc_rgba_unorm_pack_rgba_float() 82 temp_block = malloc(width * height * in util_format_bptc_rgba_unorm_pack_rgba_float() 36 util_format_bptc_rgba_unorm_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_bptc_rgba_unorm_unpack_rgba_8unorm() argument 46 util_format_bptc_rgba_unorm_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_bptc_rgba_unorm_pack_rgba_8unorm() argument 56 util_format_bptc_rgba_unorm_unpack_rgba_float(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_bptc_rgba_unorm_unpack_rgba_float() argument 77 util_format_bptc_rgba_unorm_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_bptc_rgba_unorm_pack_rgba_float() argument 99 util_format_bptc_rgba_unorm_fetch_rgba(void *restrict dst, const uint8_t *restrict src, unsigned width, unsigned height) util_format_bptc_rgba_unorm_fetch_rgba() argument 114 util_format_bptc_srgba_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_bptc_srgba_unpack_rgba_8unorm() argument 124 util_format_bptc_srgba_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_bptc_srgba_pack_rgba_8unorm() argument 134 util_format_bptc_srgba_unpack_rgba_float(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_bptc_srgba_unpack_rgba_float() argument 157 util_format_bptc_srgba_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_bptc_srgba_pack_rgba_float() argument 168 util_format_bptc_srgba_fetch_rgba(void *restrict dst, const uint8_t *restrict src, unsigned width, unsigned height) util_format_bptc_srgba_fetch_rgba() argument 179 util_format_bptc_rgb_float_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_bptc_rgb_float_unpack_rgba_8unorm() argument 202 util_format_bptc_rgb_float_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_bptc_rgb_float_pack_rgba_8unorm() argument 212 util_format_bptc_rgb_float_unpack_rgba_float(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_bptc_rgb_float_unpack_rgba_float() argument 223 util_format_bptc_rgb_float_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_bptc_rgb_float_pack_rgba_float() argument 234 util_format_bptc_rgb_float_fetch_rgba(void *restrict dst, const uint8_t *restrict src, unsigned width, unsigned height) util_format_bptc_rgb_float_fetch_rgba() argument 242 util_format_bptc_rgb_ufloat_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_bptc_rgb_ufloat_unpack_rgba_8unorm() argument 264 util_format_bptc_rgb_ufloat_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_bptc_rgb_ufloat_pack_rgba_8unorm() argument 274 util_format_bptc_rgb_ufloat_unpack_rgba_float(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_bptc_rgb_ufloat_unpack_rgba_float() argument 285 util_format_bptc_rgb_ufloat_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_bptc_rgb_ufloat_pack_rgba_float() argument 296 util_format_bptc_rgb_ufloat_fetch_rgba(void *restrict dst, const uint8_t *restrict src, unsigned width, unsigned height) util_format_bptc_rgb_ufloat_fetch_rgba() argument [all...] |
H A D | u_format_zs.h | 42 util_format_s8_uint_unpack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 46 util_format_s8_uint_pack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 50 util_format_z16_unorm_unpack_z_float(float *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 54 util_format_z16_unorm_pack_z_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 58 util_format_z16_unorm_unpack_z_32unorm(uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 62 util_format_z16_unorm_pack_z_32unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 66 util_format_z32_unorm_unpack_z_float(float *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 70 util_format_z32_unorm_pack_z_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 74 util_format_z32_unorm_unpack_z_32unorm(uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 78 util_format_z32_unorm_pack_z_32unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); [all...] |
H A D | u_format_zs.c | 116 unsigned width, unsigned height) in util_format_s8_uint_unpack_s_8uint() 119 for(y = 0; y < height; ++y) { in util_format_s8_uint_unpack_s_8uint() 129 unsigned width, unsigned height) in util_format_s8_uint_pack_s_8uint() 132 for(y = 0; y < height; ++y) { in util_format_s8_uint_pack_s_8uint() 142 unsigned width, unsigned height) in util_format_z16_unorm_unpack_z_float() 145 for(y = 0; y < height; ++y) { in util_format_z16_unorm_unpack_z_float() 159 unsigned width, unsigned height) in util_format_z16_unorm_pack_z_float() 162 for(y = 0; y < height; ++y) { in util_format_z16_unorm_pack_z_float() 176 unsigned width, unsigned height) in util_format_z16_unorm_unpack_z_32unorm() 179 for(y = 0; y < height; in util_format_z16_unorm_unpack_z_32unorm() 114 util_format_s8_uint_unpack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_s8_uint_unpack_s_8uint() argument 127 util_format_s8_uint_pack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_s8_uint_pack_s_8uint() argument 140 util_format_z16_unorm_unpack_z_float(float *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z16_unorm_unpack_z_float() argument 157 util_format_z16_unorm_pack_z_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z16_unorm_pack_z_float() argument 174 util_format_z16_unorm_unpack_z_32unorm(uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z16_unorm_unpack_z_32unorm() argument 191 util_format_z16_unorm_pack_z_32unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z16_unorm_pack_z_32unorm() argument 208 util_format_z32_unorm_unpack_z_float(float *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z32_unorm_unpack_z_float() argument 225 util_format_z32_unorm_pack_z_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z32_unorm_pack_z_float() argument 242 util_format_z32_unorm_unpack_z_32unorm(uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z32_unorm_unpack_z_32unorm() argument 255 util_format_z32_unorm_pack_z_32unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z32_unorm_pack_z_32unorm() argument 268 util_format_z32_float_unpack_z_float(float *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z32_float_unpack_z_float() argument 281 util_format_z32_float_pack_z_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z32_float_pack_z_float() argument 294 util_format_z32_float_unpack_z_32unorm(uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z32_float_unpack_z_32unorm() argument 312 util_format_z32_float_pack_z_32unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z32_float_pack_z_32unorm() argument 329 util_format_z16_unorm_s8_uint_unpack_z_float(float *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z16_unorm_s8_uint_unpack_z_float() argument 337 util_format_z16_unorm_s8_uint_pack_z_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z16_unorm_s8_uint_pack_z_float() argument 345 util_format_z16_unorm_s8_uint_unpack_z_32unorm(uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z16_unorm_s8_uint_unpack_z_32unorm() argument 353 util_format_z16_unorm_s8_uint_pack_z_32unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z16_unorm_s8_uint_pack_z_32unorm() argument 361 util_format_z16_unorm_s8_uint_unpack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z16_unorm_s8_uint_unpack_s_8uint() argument 369 util_format_z16_unorm_s8_uint_pack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z16_unorm_s8_uint_pack_s_8uint() argument 377 util_format_z24_unorm_s8_uint_unpack_z_float(float *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z24_unorm_s8_uint_unpack_z_float() argument 394 util_format_z24_unorm_s8_uint_pack_z_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z24_unorm_s8_uint_pack_z_float() argument 415 util_format_z24_unorm_s8_uint_unpack_z24(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z24_unorm_s8_uint_unpack_z24() argument 432 util_format_z24_unorm_s8_uint_pack_z24(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z24_unorm_s8_uint_pack_z24() argument 453 util_format_z24_unorm_s8_uint_unpack_z_32unorm(uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z24_unorm_s8_uint_unpack_z_32unorm() argument 470 util_format_z24_unorm_s8_uint_pack_z_32unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z24_unorm_s8_uint_pack_z_32unorm() argument 490 util_format_z24_unorm_s8_uint_unpack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z24_unorm_s8_uint_unpack_s_8uint() argument 507 util_format_z24_unorm_s8_uint_pack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z24_unorm_s8_uint_pack_s_8uint() argument 527 util_format_z24_unorm_s8_uint_pack_separate(uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t *z_src_row, unsigned z_src_stride, const uint8_t *s_src_row, unsigned s_src_stride, unsigned width, unsigned height) util_format_z24_unorm_s8_uint_pack_separate() argument 547 util_format_z24_unorm_s8_uint_pack_separate_z32(uint8_t *restrict dst_row, unsigned dst_stride, const float *z_src_row, unsigned z_src_stride, const uint8_t *s_src_row, unsigned s_src_stride, unsigned width, unsigned height) util_format_z24_unorm_s8_uint_pack_separate_z32() argument 567 util_format_s8_uint_z24_unorm_unpack_z_float(float *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_s8_uint_z24_unorm_unpack_z_float() argument 584 util_format_s8_uint_z24_unorm_pack_z_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_s8_uint_z24_unorm_pack_z_float() argument 604 util_format_s8_uint_z24_unorm_unpack_z_32unorm(uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_s8_uint_z24_unorm_unpack_z_32unorm() argument 622 util_format_s8_uint_z24_unorm_pack_z_32unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_s8_uint_z24_unorm_pack_z_32unorm() argument 642 util_format_s8_uint_z24_unorm_unpack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_s8_uint_z24_unorm_unpack_s_8uint() argument 659 util_format_s8_uint_z24_unorm_pack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_s8_uint_z24_unorm_pack_s_8uint() argument 679 util_format_z24x8_unorm_unpack_z_float(float *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z24x8_unorm_unpack_z_float() argument 696 util_format_z24x8_unorm_pack_z_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z24x8_unorm_pack_z_float() argument 713 util_format_z24x8_unorm_unpack_z_32unorm(uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z24x8_unorm_unpack_z_32unorm() argument 730 util_format_z24x8_unorm_pack_z_32unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z24x8_unorm_pack_z_32unorm() argument 747 util_format_x8z24_unorm_unpack_z_float(float *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_x8z24_unorm_unpack_z_float() argument 764 util_format_x8z24_unorm_pack_z_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_x8z24_unorm_pack_z_float() argument 781 util_format_x8z24_unorm_unpack_z_32unorm(uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_x8z24_unorm_unpack_z_32unorm() argument 798 util_format_x8z24_unorm_pack_z_32unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_x8z24_unorm_pack_z_32unorm() argument 815 util_format_z32_float_s8x24_uint_unpack_z_float(float *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z32_float_s8x24_uint_unpack_z_float() argument 834 util_format_z32_float_s8x24_uint_pack_z_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z32_float_s8x24_uint_pack_z_float() argument 853 util_format_z32_float_s8x24_uint_unpack_z_32unorm(uint32_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z32_float_s8x24_uint_unpack_z_32unorm() argument 872 util_format_z32_float_s8x24_uint_pack_z_32unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint32_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z32_float_s8x24_uint_pack_z_32unorm() argument 890 util_format_z32_float_s8x24_uint_unpack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z32_float_s8x24_uint_unpack_s_8uint() argument 909 util_format_z32_float_s8x24_uint_pack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_z32_float_s8x24_uint_pack_s_8uint() argument 929 util_format_x24s8_uint_unpack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_x24s8_uint_unpack_s_8uint() argument 937 util_format_x24s8_uint_pack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_x24s8_uint_pack_s_8uint() argument 945 util_format_s8x24_uint_unpack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_s8x24_uint_unpack_s_8uint() argument 953 util_format_s8x24_uint_pack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_s8x24_uint_pack_s_8uint() argument 961 util_format_x32_s8x24_uint_unpack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_x32_s8x24_uint_unpack_s_8uint() argument 972 util_format_x32_s8x24_uint_pack_s_8uint(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_x32_s8x24_uint_pack_s_8uint() argument [all...] |
H A D | u_format_s3tc.c | 125 unsigned width, unsigned height, in util_format_dxtn_rgb_unpack_rgba_8unorm() 131 for(y = 0; y < height; y += bh) { in util_format_dxtn_rgb_unpack_rgba_8unorm() 154 unsigned width, unsigned height) in util_format_dxt1_rgb_unpack_rgba_8unorm() 158 width, height, in util_format_dxt1_rgb_unpack_rgba_8unorm() 166 unsigned width, unsigned height) in util_format_dxt1_rgba_unpack_rgba_8unorm() 170 width, height, in util_format_dxt1_rgba_unpack_rgba_8unorm() 178 unsigned width, unsigned height) in util_format_dxt3_rgba_unpack_rgba_8unorm() 182 width, height, in util_format_dxt3_rgba_unpack_rgba_8unorm() 190 unsigned width, unsigned height) in util_format_dxt5_rgba_unpack_rgba_8unorm() 194 width, height, in util_format_dxt5_rgba_unpack_rgba_8unorm() 123 util_format_dxtn_rgb_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height, util_format_dxtn_fetch_t fetch, unsigned block_size, boolean srgb) util_format_dxtn_rgb_unpack_rgba_8unorm() argument 152 util_format_dxt1_rgb_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt1_rgb_unpack_rgba_8unorm() argument 164 util_format_dxt1_rgba_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt1_rgba_unpack_rgba_8unorm() argument 176 util_format_dxt3_rgba_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt3_rgba_unpack_rgba_8unorm() argument 188 util_format_dxt5_rgba_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt5_rgba_unpack_rgba_8unorm() argument 200 util_format_dxtn_rgb_unpack_rgba_float(float *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height, util_format_dxtn_fetch_t fetch, unsigned block_size, boolean srgb) util_format_dxtn_rgb_unpack_rgba_float() argument 235 util_format_dxt1_rgb_unpack_rgba_float(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt1_rgb_unpack_rgba_float() argument 247 util_format_dxt1_rgba_unpack_rgba_float(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt1_rgba_unpack_rgba_float() argument 259 util_format_dxt3_rgba_unpack_rgba_float(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt3_rgba_unpack_rgba_float() argument 271 util_format_dxt5_rgba_unpack_rgba_float(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt5_rgba_unpack_rgba_float() argument 288 util_format_dxtn_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src, unsigned src_stride, unsigned width, unsigned height, enum util_format_dxtn format, unsigned block_size, boolean srgb) util_format_dxtn_pack_rgba_8unorm() argument 326 util_format_dxt1_rgb_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src, unsigned src_stride, unsigned width, unsigned height) util_format_dxt1_rgb_pack_rgba_8unorm() argument 336 util_format_dxt1_rgba_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src, unsigned src_stride, unsigned width, unsigned height) util_format_dxt1_rgba_pack_rgba_8unorm() argument 346 util_format_dxt3_rgba_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src, unsigned src_stride, unsigned width, unsigned height) util_format_dxt3_rgba_pack_rgba_8unorm() argument 356 util_format_dxt5_rgba_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src, unsigned src_stride, unsigned width, unsigned height) util_format_dxt5_rgba_pack_rgba_8unorm() argument 366 util_format_dxtn_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src, unsigned src_stride, unsigned width, unsigned height, enum util_format_dxtn format, unsigned block_size, boolean srgb) util_format_dxtn_pack_rgba_float() argument 402 util_format_dxt1_rgb_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *src, unsigned src_stride, unsigned width, unsigned height) util_format_dxt1_rgb_pack_rgba_float() argument 412 util_format_dxt1_rgba_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *src, unsigned src_stride, unsigned width, unsigned height) util_format_dxt1_rgba_pack_rgba_float() argument 422 util_format_dxt3_rgba_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *src, unsigned src_stride, unsigned width, unsigned height) util_format_dxt3_rgba_pack_rgba_float() argument 432 util_format_dxt5_rgba_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *src, unsigned src_stride, unsigned width, unsigned height) util_format_dxt5_rgba_pack_rgba_float() argument 539 util_format_dxt1_srgb_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt1_srgb_unpack_rgba_8unorm() argument 549 util_format_dxt1_srgba_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt1_srgba_unpack_rgba_8unorm() argument 559 util_format_dxt3_srgba_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt3_srgba_unpack_rgba_8unorm() argument 569 util_format_dxt5_srgba_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt5_srgba_unpack_rgba_8unorm() argument 579 util_format_dxt1_srgb_unpack_rgba_float(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt1_srgb_unpack_rgba_float() argument 589 util_format_dxt1_srgba_unpack_rgba_float(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt1_srgba_unpack_rgba_float() argument 599 util_format_dxt3_srgba_unpack_rgba_float(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt3_srgba_unpack_rgba_float() argument 609 util_format_dxt5_srgba_unpack_rgba_float(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt5_srgba_unpack_rgba_float() argument 619 util_format_dxt1_srgb_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt1_srgb_pack_rgba_8unorm() argument 627 util_format_dxt1_srgba_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt1_srgba_pack_rgba_8unorm() argument 635 util_format_dxt3_srgba_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt3_srgba_pack_rgba_8unorm() argument 643 util_format_dxt5_srgba_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt5_srgba_pack_rgba_8unorm() argument 651 util_format_dxt1_srgb_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt1_srgb_pack_rgba_float() argument 659 util_format_dxt1_srgba_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt1_srgba_pack_rgba_float() argument 667 util_format_dxt3_srgba_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt3_srgba_pack_rgba_float() argument 675 util_format_dxt5_srgba_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height) util_format_dxt5_srgba_pack_rgba_float() argument [all...] |
H A D | u_format_s3tc.h | 57 int width, int height, 72 util_format_dxt1_rgb_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 75 util_format_dxt1_rgb_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 81 util_format_dxt1_rgba_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 84 util_format_dxt1_rgba_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 90 util_format_dxt3_rgba_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 93 util_format_dxt3_rgba_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 99 util_format_dxt5_rgba_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 102 util_format_dxt5_rgba_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 108 util_format_dxt1_srgb_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); [all...] |
H A D | u_format_bptc.h | 44 unsigned width, unsigned height); 48 unsigned width, unsigned height); 52 unsigned width, unsigned height); 56 unsigned width, unsigned height); 59 unsigned width, unsigned height); 64 unsigned width, unsigned height); 68 unsigned width, unsigned height); 72 unsigned width, unsigned height); 76 unsigned width, unsigned height); 79 unsigned width, unsigned height); [all...] |
H A D | u_format_rgtc.h | 37 util_format_rgtc1_unorm_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 40 util_format_rgtc1_unorm_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 43 util_format_rgtc1_unorm_unpack_rgba_float(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 46 util_format_rgtc1_unorm_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 57 util_format_rgtc1_snorm_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 60 util_format_rgtc1_snorm_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 63 util_format_rgtc1_snorm_pack_rgba_float(uint8_t *restrict dst_row, unsigned dst_stride, const float *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 66 util_format_rgtc1_snorm_unpack_rgba_float(void *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 76 util_format_rgtc2_unorm_unpack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); 79 util_format_rgtc2_unorm_pack_rgba_8unorm(uint8_t *restrict dst_row, unsigned dst_stride, const uint8_t *restrict src_row, unsigned src_stride, unsigned width, unsigned height); [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | tpeldsp.c | 35 int stride, int width, int height) in put_tpel_pixels_mc00_c() 39 put_pixels2_8_c(dst, src, stride, height); in put_tpel_pixels_mc00_c() 42 put_pixels4_8_c(dst, src, stride, height); in put_tpel_pixels_mc00_c() 45 put_pixels8_8_c(dst, src, stride, height); in put_tpel_pixels_mc00_c() 48 put_pixels16_8_c(dst, src, stride, height); in put_tpel_pixels_mc00_c() 54 int stride, int width, int height) in put_tpel_pixels_mc10_c() 58 for (i = 0; i < height; i++) { in put_tpel_pixels_mc10_c() 68 int stride, int width, int height) in put_tpel_pixels_mc20_c() 72 for (i = 0; i < height; i++) { in put_tpel_pixels_mc20_c() 82 int stride, int width, int height) in put_tpel_pixels_mc01_c() 34 put_tpel_pixels_mc00_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) put_tpel_pixels_mc00_c() argument 53 put_tpel_pixels_mc10_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) put_tpel_pixels_mc10_c() argument 67 put_tpel_pixels_mc20_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) put_tpel_pixels_mc20_c() argument 81 put_tpel_pixels_mc01_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) put_tpel_pixels_mc01_c() argument 95 put_tpel_pixels_mc11_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) put_tpel_pixels_mc11_c() argument 110 put_tpel_pixels_mc12_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) put_tpel_pixels_mc12_c() argument 125 put_tpel_pixels_mc02_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) put_tpel_pixels_mc02_c() argument 139 put_tpel_pixels_mc21_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) put_tpel_pixels_mc21_c() argument 154 put_tpel_pixels_mc22_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) put_tpel_pixels_mc22_c() argument 169 avg_tpel_pixels_mc00_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) avg_tpel_pixels_mc00_c() argument 188 avg_tpel_pixels_mc10_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) avg_tpel_pixels_mc10_c() argument 203 avg_tpel_pixels_mc20_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) avg_tpel_pixels_mc20_c() argument 218 avg_tpel_pixels_mc01_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) avg_tpel_pixels_mc01_c() argument 233 avg_tpel_pixels_mc11_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) avg_tpel_pixels_mc11_c() argument 249 avg_tpel_pixels_mc12_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) avg_tpel_pixels_mc12_c() argument 265 avg_tpel_pixels_mc02_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) avg_tpel_pixels_mc02_c() argument 280 avg_tpel_pixels_mc21_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) avg_tpel_pixels_mc21_c() argument 296 avg_tpel_pixels_mc22_c(uint8_t *dst, const uint8_t *src, int stride, int width, int height) avg_tpel_pixels_mc22_c() argument [all...] |
H A D | nuv.c | 41 int width, height; member 75 * @param height height of the video frame 77 static void copy_frame(AVFrame *f, const uint8_t *src, int width, int height) in copy_frame() argument 82 f->format, width, height, 1); in copy_frame() 84 f->format, width, height); in copy_frame() 118 static int codec_reinit(AVCodecContext *avctx, int width, int height, in codec_reinit() argument 125 height = FFALIGN(height, 2); in codec_reinit() 128 if (width != c->width || height ! in codec_reinit() 295 int height = c->height; decode_frame() local [all...] |
H A D | snow_dwt.c | 213 int width, int height, int stride) in spatial_decompose53i() 216 DWTELEM *b0 = buffer + avpriv_mirror(-2 - 1, height - 1) * stride; in spatial_decompose53i() 217 DWTELEM *b1 = buffer + avpriv_mirror(-2, height - 1) * stride; in spatial_decompose53i() 219 for (y = -2; y < height; y += 2) { in spatial_decompose53i() 220 DWTELEM *b2 = buffer + avpriv_mirror(y + 1, height - 1) * stride; in spatial_decompose53i() 221 DWTELEM *b3 = buffer + avpriv_mirror(y + 2, height - 1) * stride; in spatial_decompose53i() 223 if (y + 1 < (unsigned)height) in spatial_decompose53i() 225 if (y + 2 < (unsigned)height) in spatial_decompose53i() 228 if (y + 1 < (unsigned)height) in spatial_decompose53i() 230 if (y + 0 < (unsigned)height) in spatial_decompose53i() 212 spatial_decompose53i(DWTELEM *buffer, DWTELEM *temp, int width, int height, int stride) spatial_decompose53i() argument 285 spatial_decompose97i(DWTELEM *buffer, DWTELEM *temp, int width, int height, int stride) spatial_decompose97i() argument 319 ff_spatial_dwt(DWTELEM *buffer, DWTELEM *temp, int width, int height, int stride, int type, int decomposition_count) ff_spatial_dwt() argument 383 spatial_compose53i_buffered_init(DWTCompose *cs, slice_buffer *sb, int height, int stride_line) spatial_compose53i_buffered_init() argument 392 spatial_compose53i_init(DWTCompose *cs, IDWTELEM *buffer, int height, int stride) spatial_compose53i_init() argument 400 spatial_compose53i_dy_buffered(DWTCompose *cs, slice_buffer *sb, IDWTELEM *temp, int width, int height, int stride_line) spatial_compose53i_dy_buffered() argument 440 spatial_compose53i_dy(DWTCompose *cs, IDWTELEM *buffer, IDWTELEM *temp, int width, int height, int stride) spatial_compose53i_dy() argument 543 spatial_compose97i_buffered_init(DWTCompose *cs, slice_buffer *sb, int height, int stride_line) spatial_compose97i_buffered_init() argument 553 spatial_compose97i_init(DWTCompose *cs, IDWTELEM *buffer, int height, int stride) spatial_compose97i_init() argument 563 spatial_compose97i_dy_buffered(SnowDWTContext *dsp, DWTCompose *cs, slice_buffer * sb, IDWTELEM *temp, int width, int height, int stride_line) spatial_compose97i_dy_buffered() argument 606 spatial_compose97i_dy(DWTCompose *cs, IDWTELEM *buffer, IDWTELEM *temp, int width, int height, int stride) spatial_compose97i_dy() argument 639 ff_spatial_idwt_buffered_init(DWTCompose *cs, slice_buffer *sb, int width, int height, int stride_line, int type, int decomposition_count) ff_spatial_idwt_buffered_init() argument 658 ff_spatial_idwt_buffered_slice(SnowDWTContext *dsp, DWTCompose *cs, slice_buffer *slice_buf, IDWTELEM *temp, int width, int height, int stride_line, int type, int decomposition_count, int y) ff_spatial_idwt_buffered_slice() argument 687 spatial_idwt_init(DWTCompose *cs, IDWTELEM *buffer, int width, int height, int stride, int type, int decomposition_count) spatial_idwt_init() argument 706 spatial_idwt_slice(DWTCompose *cs, IDWTELEM *buffer, IDWTELEM *temp, int width, int height, int stride, int type, int decomposition_count, int y) spatial_idwt_slice() argument 731 ff_spatial_idwt(IDWTELEM *buffer, IDWTELEM *temp, int width, int height, int stride, int type, int decomposition_count) ff_spatial_idwt() argument [all...] |
/third_party/skia/src/gpu/ |
H A D | GrRectanizerPow2.cpp | 10 bool GrRectanizerPow2::addRect(int width, int height, SkIPoint16* loc) { in addRect() argument 12 (unsigned)height > (unsigned)this->height()) { in addRect() 16 int32_t area = width * height; // computed here since height will be modified in addRect() 18 height = GrNextPow2(height); in addRect() 19 if (height < kMIN_HEIGHT_POW2) { in addRect() 20 height = kMIN_HEIGHT_POW2; in addRect() 23 Row* row = &fRows[HeightToRowIndex(height)]; in addRect() [all...] |
/third_party/skia/third_party/externals/angle2/src/image_util/ |
H A D | loadimage.h | 19 size_t height, 29 size_t height, 39 size_t height, 49 size_t height, 59 size_t height, 69 size_t height, 79 size_t height, 89 size_t height, 99 size_t height, 109 size_t height, [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
H A D | esextcTextureCubeMapArraySubImage3D.cpp | 150 glw::GLuint height = resolutions[resolution_index][DL_HEIGHT]; in iterate() local 153 configureCubeMapArrayTexture(width, height, depth, static_cast<STORAGE_TYPE>(storage_index), 0); in iterate() 157 copy_params.init(0, 0, 0, width, height, 1); in iterate() 159 configureDataBuffer(width, height, depth, copy_params, 0); in iterate() 162 testTexSubImage3D(width, height, depth, copy_params, test_passed); in iterate() 163 testCopyTexSubImage3D(width, height, depth, copy_params, test_passed); in iterate() 168 copy_params.init(width / 2, height / 2, 0, width / 2, height / 2, 1); in iterate() 170 configureDataBuffer(width, height, depth, copy_params, 0); in iterate() 173 testTexSubImage3D(width, height, dept in iterate() 233 configureDataBuffer(glw::GLuint width, glw::GLuint height, glw::GLuint depth, const SubImage3DCopyParams& copy_params, glw::GLuint clear_value) configureDataBuffer() argument 313 configureCubeMapArrayTexture(glw::GLuint width, glw::GLuint height, glw::GLuint depth, STORAGE_TYPE storType, glw::GLuint clear_value) configureCubeMapArrayTexture() argument 356 clearCubeMapArrayTexture(glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLuint clear_value) clearCubeMapArrayTexture() argument 432 checkResults(glw::GLuint width, glw::GLuint height, glw::GLuint depth) checkResults() argument 465 testTexSubImage3D(glw::GLuint width, glw::GLuint height, glw::GLuint depth, const SubImage3DCopyParams& copy_params, glw::GLboolean& test_passed) testTexSubImage3D() argument 527 testCopyTexSubImage3D(glw::GLuint width, glw::GLuint height, glw::GLuint depth, const SubImage3DCopyParams& copy_params, glw::GLboolean& test_passed) testCopyTexSubImage3D() argument [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cord_rep_btree_navigator.h | 140 // `height_` contains the height of the current tree, or -1 if empty. 176 int height = height_ = tree->height(); in Init() local 178 node_[height] = tree; in Init() 179 index_[height] = static_cast<uint8_t>(index); in Init() 180 while (--height >= 0) { in Init() 182 node_[height] = tree; in Init() 184 index_[height] = static_cast<uint8_t>(index); in Init() 192 int height = height_; in Seek() local 193 CordRepBtree* edge = node_[height]; in Seek() 229 int height = 0; NextUp() local 247 int height = 0; PreviousUp() local [all...] |
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_util.c | 78 .height = 1, in tu_tiling_config_update_tile_layout() 82 .height = align(fb->height, tile_align_h), in tu_tiling_config_update_tile_layout() 94 tiling->tile_count.height = 2; in tu_tiling_config_update_tile_layout() 96 tiling->tile0.height = align(DIV_ROUND_UP(fb->height, 2), tile_align_h); in tu_tiling_config_update_tile_layout() 106 /* do not exceed max tile height */ in tu_tiling_config_update_tile_layout() 107 while (tiling->tile0.height > max_tile_height) { in tu_tiling_config_update_tile_layout() 108 tiling->tile_count.height++; in tu_tiling_config_update_tile_layout() 109 tiling->tile0.height in tu_tiling_config_update_tile_layout() [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | gmemtool.c | 37 { .minx=0, .miny=0, .width=1536, .height=2048, .gmem_page_align=1, .nr_cbufs=1, .cbuf_cpp = {1,0,0,0,0,0,0,0,}, .zsbuf_cpp = {0,0,}}, 39 { .minx=0, .miny=0, .width=1920, .height=1080, .gmem_page_align=1, .nr_cbufs=1, .cbuf_cpp = {4,0,0,0,0,0,0,0,}, .zsbuf_cpp = {0,0,}}, 40 { .minx=0, .miny=0, .width=1920, .height=1080, .gmem_page_align=1, .nr_cbufs=1, .cbuf_cpp = {4,0,0,0,0,0,0,0,}, .zsbuf_cpp = {4,0,}}, 41 // { .minx=0, .miny=0, .width=64, .height=64, .gmem_page_align=1, .nr_cbufs=1, .cbuf_cpp = {4,0,0,0,0,0,0,0,}, .zsbuf_cpp = {0,0,}}, 42 // { .minx=0, .miny=0, .width=32, .height=32, .gmem_page_align=1, .nr_cbufs=1, .cbuf_cpp = {4,0,0,0,0,0,0,0,}, .zsbuf_cpp = {0,0,}}, 43 // { .minx=0, .miny=0, .width=16, .height=16, .gmem_page_align=1, .nr_cbufs=1, .cbuf_cpp = {4,0,0,0,0,0,0,0,}, .zsbuf_cpp = {0,0,}}, 44 // { .minx=0, .miny=0, .width=8, .height=8, .gmem_page_align=1, .nr_cbufs=1, .cbuf_cpp = {4,0,0,0,0,0,0,0,}, .zsbuf_cpp = {0,0,}}, 45 // { .minx=0, .miny=0, .width=4, .height=4, .gmem_page_align=1, .nr_cbufs=1, .cbuf_cpp = {4,0,0,0,0,0,0,0,}, .zsbuf_cpp = {0,0,}}, 46 // { .minx=0, .miny=0, .width=2, .height=2, .gmem_page_align=1, .nr_cbufs=1, .cbuf_cpp = {4,0,0,0,0,0,0,0,}, .zsbuf_cpp = {0,0,}}, 47 // { .minx=0, .miny=0, .width=1, .height [all...] |
/third_party/ffmpeg/libavfilter/dnn/ |
H A D | dnn_io_proc.c | 43 frame->height, in ff_proc_from_dnn_to_frame() 46 frame->height, in ff_proc_from_dnn_to_frame() 52 av_get_pix_fmt_name(AV_PIX_FMT_GRAYF32), frame->width * 3, frame->height, in ff_proc_from_dnn_to_frame() 53 av_get_pix_fmt_name(AV_PIX_FMT_GRAY8), frame->width * 3, frame->height); in ff_proc_from_dnn_to_frame() 57 (const int[4]){frame->width * 3 * sizeof(float), 0, 0, 0}, 0, frame->height, in ff_proc_from_dnn_to_frame() 64 bytewidth, frame->height); in ff_proc_from_dnn_to_frame() 74 frame->height, in ff_proc_from_dnn_to_frame() 77 frame->height, in ff_proc_from_dnn_to_frame() 83 av_get_pix_fmt_name(AV_PIX_FMT_GRAYF32), frame->width, frame->height, in ff_proc_from_dnn_to_frame() 84 av_get_pix_fmt_name(AV_PIX_FMT_GRAY8), frame->width, frame->height); in ff_proc_from_dnn_to_frame() 202 int left, top, width, height; ff_frame_to_dnn_classify() local 246 0, height, ff_frame_to_dnn_classify() local [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | texstorage.c | 144 GLsizei width, GLsizei height, GLsizei depth, in initialize_texture_fields() 149 GLint level, levelWidth = width, levelHeight = height, levelDepth = depth; in initialize_texture_fields() 276 GLsizei width, GLsizei height, GLsizei depth, in tex_storage_error_check() 286 if (!_mesa_valid_tex_storage_dim(width, height, depth)) { in tex_storage_error_check() 288 "glTex%sStorage%uD(width, height or depth < 1)", in tex_storage_error_check() 318 /* check levels against width/height/depth */ in tex_storage_error_check() 319 if (levels > _mesa_get_tex_max_num_levels(target, width, height, depth)) { in tex_storage_error_check() 356 GLsizei width, GLsizei height, GLsizei depth, in _mesa_sparse_texture_error_check() 370 height > ctx->Const.MaxSparse3DTextureSize || in _mesa_sparse_texture_error_check() 375 height > ct in _mesa_sparse_texture_error_check() 141 initialize_texture_fields(struct gl_context *ctx, struct gl_texture_object *texObj, GLint levels, GLsizei width, GLsizei height, GLsizei depth, GLenum internalFormat, mesa_format texFormat) initialize_texture_fields() argument 271 tex_storage_error_check(struct gl_context *ctx, struct gl_texture_object *texObj, struct gl_memory_object *memObj, GLuint dims, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool dsa) tex_storage_error_check() argument 353 _mesa_sparse_texture_error_check(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, mesa_format format, GLenum target, GLsizei levels, GLsizei width, GLsizei height, GLsizei depth, const char *func) _mesa_sparse_texture_error_check() argument 436 texture_storage(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, struct gl_memory_object *memObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLuint64 offset, bool dsa, bool no_error) texture_storage() argument 548 texture_storage_error(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool dsa) texture_storage_error() argument 560 texture_storage_no_error(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool dsa) texture_storage_no_error() argument 575 texstorage_error(GLuint dims, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, const char *caller) texstorage_error() argument 616 texstorage_no_error(GLuint dims, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) texstorage_no_error() argument 632 texturestorage_error(GLuint dims, GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, const char *caller) texturestorage_error() argument 673 texturestorage_no_error(GLuint dims, GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) texturestorage_no_error() argument 703 _mesa_TexStorage2D_no_error(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) _mesa_TexStorage2D_no_error() argument 712 _mesa_TexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) _mesa_TexStorage2D() argument 721 _mesa_TexStorage3D_no_error(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) _mesa_TexStorage3D_no_error() argument 730 _mesa_TexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) _mesa_TexStorage3D() argument 756 _mesa_TextureStorage2D_no_error(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) _mesa_TextureStorage2D_no_error() argument 765 _mesa_TextureStorage2D(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) _mesa_TextureStorage2D() argument 775 _mesa_TextureStorage3D_no_error(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) _mesa_TextureStorage3D_no_error() argument 785 _mesa_TextureStorage3D(GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) _mesa_TextureStorage3D() argument 811 _mesa_TextureStorage2DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) _mesa_TextureStorage2DEXT() argument 828 _mesa_TextureStorage3DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) _mesa_TextureStorage3DEXT() argument 845 _mesa_texture_storage_memory(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, struct gl_memory_object *memObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLuint64 offset, bool dsa) _mesa_texture_storage_memory() argument [all...] |
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_tiler.c | 166 * - The tile width/height is at most the framebuffer w/h (clamp up to 16 pix) 222 /* If the width-x-height framebuffer is divided into tile_size-x-tile_size 230 pan_tile_count(unsigned width, unsigned height, unsigned tile_width, unsigned tile_height) in pan_tile_count() argument 233 unsigned aligned_height = ALIGN_POT(height, tile_height); in pan_tile_count() 251 unsigned height, in panfrost_hierarchy_size() 267 unsigned tile_count = pan_tile_count(width, height, tile_size, tile_size); in panfrost_hierarchy_size() 287 panfrost_flat_size(unsigned width, unsigned height, unsigned dim, unsigned bytes_per_tile) in panfrost_flat_size() argument 295 unsigned raw = pan_tile_count(width, height, tw, th) * bytes_per_tile; in panfrost_flat_size() 304 panfrost_tiler_header_size(unsigned width, unsigned height, unsigned mask, bool hierarchy) in panfrost_tiler_header_size() argument 307 return panfrost_hierarchy_size(width, height, mas in panfrost_tiler_header_size() 249 panfrost_hierarchy_size( unsigned width, unsigned height, unsigned mask, unsigned bytes_per_tile) panfrost_hierarchy_size() argument 318 panfrost_tiler_full_size(unsigned width, unsigned height, unsigned mask, bool hierarchy) panfrost_tiler_full_size() argument 330 panfrost_choose_tile_size( unsigned width, unsigned height, unsigned vertex_count) panfrost_choose_tile_size() argument 359 panfrost_choose_hierarchy_mask( unsigned width, unsigned height, unsigned vertex_count, bool hierarchy) panfrost_choose_hierarchy_mask() argument [all...] |
/third_party/skia/third_party/externals/libwebp/swig/ |
H A D | libwebp.py | 104 """WebPGetInfo(uint8_t data) -> (width, height)""" 108 """WebPDecodeRGB(uint8_t data) -> (rgb, width, height)""" 112 """WebPDecodeRGBA(uint8_t data) -> (rgb, width, height)""" 116 """WebPDecodeARGB(uint8_t data) -> (rgb, width, height)""" 120 """WebPDecodeBGR(uint8_t data) -> (rgb, width, height)""" 124 """WebPDecodeBGRA(uint8_t data) -> (rgb, width, height)""" 131 def wrap_WebPEncodeRGB(rgb, unused1, unused2, width, height, stride, quality_factor): 133 return _libwebp.wrap_WebPEncodeRGB(rgb, unused1, unused2, width, height, stride, quality_factor) 135 def wrap_WebPEncodeBGR(rgb, unused1, unused2, width, height, stride, quality_factor): 137 return _libwebp.wrap_WebPEncodeBGR(rgb, unused1, unused2, width, height, strid [all...] |
/third_party/skia/modules/canvaskit/htmlcanvas/ |
H A D | imagedata.js | 1 function ImageData(arr, width, height) { 2 if (!width || height === 0) { 3 throw 'invalid dimensions, width and height must be non-zero'; 8 height = height || arr.length/(4*width); 14 Object.defineProperty(this, 'height', { 15 value: height, 27 var height = arguments[1]; 28 var byteLength = 4 * width * height; 30 width, height); [all...] |
/third_party/ffmpeg/libavcodec/tests/ |
H A D | snowenc.c | 32 #define height 256 in main() macro 33 int buffer[2][width*height]; in main() 34 short obuffer[width*height]; in main() 53 for(i=0; i<width*height; i++) in main() 56 ff_spatial_dwt(buffer[0], s.temp_dwt_buffer, width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count); in main() 57 for(i=0; i<width*height; i++) in main() 59 ff_spatial_idwt(obuffer, s.temp_idwt_buffer, width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count); in main() 61 for(i=0; i<width*height; i++) in main() 69 for(i=0; i<width*height; i++) in main() 72 ff_spatial_dwt(buffer[0], s.temp_dwt_buffer, width, height, widt in main() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | TextureCopySplitter.cpp | 32 byteOffsetY / bytesPerRow * blockInfo.height, 0}; in ComputeTexelOffsets() 41 bufferOffset.y * bytesPerRow / blockInfo.height; in OffsetToFirstCopiedTexel() 107 ASSERT(texelOffset.y <= blockInfo.height); in Compute2DTextureCopySubresource() 144 copy.copies[0].bufferSize.height = copySize.height + texelOffset.y; in Compute2DTextureCopySubresource() 192 copy.copies[0].copySize.height = copySize.height; in Compute2DTextureCopySubresource() 197 copy.copies[0].bufferSize.height = copySize.height + texelOffset.y; in Compute2DTextureCopySubresource() 206 ASSERT(texelOffsetForCopy1.y <= blockInfo.height); in Compute2DTextureCopySubresource() [all...] |
/third_party/libdrm/tests/util/ |
H A D | pattern.c | 162 unsigned int height, unsigned int stride) in fill_smpte_yuv_planar() 199 for (y = 0; y < height * 6 / 9; ++y) { in fill_smpte_yuv_planar() 205 for (; y < height * 7 / 9; ++y) { in fill_smpte_yuv_planar() 211 for (; y < height; ++y) { in fill_smpte_yuv_planar() 223 for (y = 0; y < height / ysub * 6 / 9; ++y) { in fill_smpte_yuv_planar() 232 for (; y < height / ysub * 7 / 9; ++y) { in fill_smpte_yuv_planar() 241 for (; y < height / ysub; ++y) { in fill_smpte_yuv_planar() 264 unsigned int width, unsigned int height, in fill_smpte_yuv_packed() 303 for (y = 0; y < height * 6 / 9; ++y) { in fill_smpte_yuv_packed() 309 for (; y < height * in fill_smpte_yuv_packed() 159 fill_smpte_yuv_planar(const struct util_yuv_info *yuv, unsigned char *y_mem, unsigned char *u_mem, unsigned char *v_mem, unsigned int width, unsigned int height, unsigned int stride) fill_smpte_yuv_planar() argument 263 fill_smpte_yuv_packed(const struct util_yuv_info *yuv, void *mem, unsigned int width, unsigned int height, unsigned int stride) fill_smpte_yuv_packed() argument 362 fill_smpte_rgb16(const struct util_rgb_info *rgb, void *mem, unsigned int width, unsigned int height, unsigned int stride) fill_smpte_rgb16() argument 423 fill_smpte_rgb24(const struct util_rgb_info *rgb, void *mem, unsigned int width, unsigned int height, unsigned int stride) fill_smpte_rgb24() argument 486 fill_smpte_rgb32(const struct util_rgb_info *rgb, void *mem, unsigned int width, unsigned int height, unsigned int stride) fill_smpte_rgb32() argument 547 fill_smpte_rgb16fp(const struct util_rgb_info *rgb, void *mem, unsigned int width, unsigned int height, unsigned int stride) fill_smpte_rgb16fp() argument 608 fill_smpte_c8(void *mem, unsigned int width, unsigned int height, unsigned int stride) fill_smpte_c8() argument 681 fill_smpte(const struct util_format_info *info, void *planes[3], unsigned int width, unsigned int height, unsigned int stride) fill_smpte() argument 772 make_pwetty(void *data, unsigned int width, unsigned int height, unsigned int stride, uint32_t format) make_pwetty() argument 842 fill_tiles_yuv_planar(const struct util_format_info *info, unsigned char *y_mem, unsigned char *u_mem, unsigned char *v_mem, unsigned int width, unsigned int height, unsigned int stride) fill_tiles_yuv_planar() argument 876 fill_tiles_yuv_packed(const struct util_format_info *info, void *mem, unsigned int width, unsigned int height, unsigned int stride) fill_tiles_yuv_packed() argument 908 fill_tiles_rgb16(const struct util_format_info *info, void *mem, unsigned int width, unsigned int height, unsigned int stride) fill_tiles_rgb16() argument 934 fill_tiles_rgb24(const struct util_format_info *info, void *mem, unsigned int width, unsigned int height, unsigned int stride) fill_tiles_rgb24() argument 956 fill_tiles_rgb32(const struct util_format_info *info, void *mem, unsigned int width, unsigned int height, unsigned int stride) fill_tiles_rgb32() argument 983 fill_tiles_rgb16fp(const struct util_format_info *info, void *mem, unsigned int width, unsigned int height, unsigned int stride) fill_tiles_rgb16fp() argument 1008 fill_tiles(const struct util_format_info *info, void *planes[3], unsigned int width, unsigned int height, unsigned int stride) fill_tiles() argument 1092 fill_plain(const struct util_format_info *info, void *planes[3], unsigned int height, unsigned int stride) fill_plain() argument 1110 fill_gradient_rgb32(const struct util_rgb_info *rgb, void *mem, unsigned int width, unsigned int height, unsigned int stride) fill_gradient_rgb32() argument 1138 fill_gradient_rgb16fp(const struct util_rgb_info *rgb, void *mem, unsigned int width, unsigned int height, unsigned int stride) fill_gradient_rgb16fp() argument 1191 fill_gradient(const struct util_format_info *info, void *planes[3], unsigned int width, unsigned int height, unsigned int stride) fill_gradient() argument 1236 util_fill_pattern(uint32_t format, enum util_fill_pattern pattern, void *planes[3], unsigned int width, unsigned int height, unsigned int stride) util_fill_pattern() argument [all...] |
/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | picture_rescale_enc.c | 27 // Grab the 'specs' (writer, *opaque, width, height...) from 'src' and copy them 50 int width, int height) { in AdjustAndCheckRectangle() 53 if (width <= 0 || height <= 0) return 0; in AdjustAndCheckRectangle() 55 if ((*top) + height > pic->height) return 0; in AdjustAndCheckRectangle() 68 dst->y, dst->y_stride, dst->width, dst->height); in WebPPictureCopy() 70 HALVE(dst->width), HALVE(dst->height)); in WebPPictureCopy() 72 HALVE(dst->width), HALVE(dst->height)); in WebPPictureCopy() 75 dst->a, dst->a_stride, dst->width, dst->height); in WebPPictureCopy() 80 4 * dst->width, dst->height); in WebPPictureCopy() 48 AdjustAndCheckRectangle(const WebPPicture* const pic, int* const left, int* const top, int width, int height) AdjustAndCheckRectangle() argument 93 WebPPictureView(const WebPPicture* src, int left, int top, int width, int height, WebPPicture* dst) WebPPictureView() argument 126 WebPPictureCrop(WebPPicture* pic, int left, int top, int width, int height) WebPPictureCrop() argument 201 WebPPictureRescale(WebPPicture* pic, int width, int height) WebPPictureRescale() argument 288 WebPPictureView(const WebPPicture* src, int left, int top, int width, int height, WebPPicture* dst) WebPPictureView() argument 300 WebPPictureCrop(WebPPicture* pic, int left, int top, int width, int height) WebPPictureCrop() argument 310 WebPPictureRescale(WebPPicture* pic, int width, int height) WebPPictureRescale() argument [all...] |