/third_party/astc-encoder/Source/ |
D | astcenc_entry.cpp | 230 unsigned int block_x, in validate_block_size() argument 235 bool is_legal = (((block_z <= 1) && is_legal_2d_block_size(block_x, block_y)) || in validate_block_size() 236 ((block_z >= 2) && is_legal_3d_block_size(block_x, block_y, block_z))); in validate_block_size() 243 bool have_capacity = (block_x * block_y * block_z) <= BLOCK_MAX_TEXELS; in validate_block_size() 409 status = validate_block_size(config.block_x, config.block_y, config.block_z); in validate_config() 460 unsigned int block_x, in astcenc_config_init() argument 475 status = validate_block_size(block_x, block_y, block_z); in astcenc_config_init() 481 config.block_x = block_x; in astcenc_config_init() 485 float texels = static_cast<float>(block_x * block_y * block_z); in astcenc_config_init() 498 int texels_int = block_x * block_y * block_z; in astcenc_config_init() [all …]
|
D | astcenc.h | 430 unsigned int block_x; member 603 unsigned int block_x; member 687 unsigned int block_x,
|
D | astcenccli_toplevel.cpp | 469 unsigned int block_x = 0; in init_astcenc_config() local 476 block_x = comp_image.block_x; in init_astcenc_config() 497 &block_x, &block_y, &cnt2D, &block_z, &cnt3D); in init_astcenc_config() 612 astcenc_error status = astcenc_config_init(profile, block_x, block_y, block_z, in init_astcenc_config() 1091 printf(" Block size: %ux%u\n", config.block_x, config.block_y); in print_astcenc_config() 1095 …printf(" Block size: %ux%ux%u\n", config.block_x, config.block_y, config.block_… in print_astcenc_config() 1098 …printf(" Bitrate: %3.2f bpp\n", 128.0 / (config.block_x * config.block_y * c… in print_astcenc_config() 1639 unsigned int blocks_x = (image_uncomp_in->dim_x + config.block_x - 1) / config.block_x; in main() 1689 …if (work.calQualityEnable && !CheckQuality(work.mse, blocks_x * blocks_y, config.block_x * config.… in main() 1700 image_comp.block_x = config.block_x; in main()
|
D | astcenccli_image_load_store.cpp | 1260 img.block_x = fmt->x; in load_ktx_compressed_image() 1291 unsigned int fmt = get_format(img.block_x, img.block_y, img.block_z, is_srgb); in store_ktx_compressed_image() 2318 uint8_t block_x; member 2369 unsigned int block_x = astc::max(static_cast<unsigned int>(hdr.block_x), 1u); in load_cimage() local 2383 unsigned int xblocks = (dim_x + block_x - 1) / block_x; in load_cimage() 2399 img.block_x = block_x; in load_cimage() 2420 hdr.block_x = static_cast<uint8_t>(img.block_x); in store_cimage()
|
D | astcenccli_internal.h | 39 unsigned int block_x; member
|
/third_party/astc-encoder/Utils/Example/ |
D | astc_api_example.cpp | 56 static const unsigned int block_x = 6; in main() local 76 unsigned int block_count_x = (image_x + block_x - 1) / block_x; in main() 82 config.block_x = block_x; in main() 87 status = astcenc_config_init(profile, block_x, block_y, block_z, quality, 0, &config); in main()
|
/third_party/ffmpeg/libavcodec/ |
D | msvideo1.c | 91 int block_x, block_y; /* block width and height iterators */ in msvideo1_decode_8bit() local 115 for (block_x = blocks_wide; block_x > 0; block_x--) { in msvideo1_decode_8bit() 191 int block_x, block_y; /* block width and height iterators */ in msvideo1_decode_16bit() local 215 for (block_x = blocks_wide; block_x > 0; block_x--) { in msvideo1_decode_16bit()
|
D | escape130.c | 204 block_index, block_x = 0; in escape130_decode_frame() local 299 block_x++; in escape130_decode_frame() 300 if (block_x * 2 == avctx->width) { in escape130_decode_frame() 301 block_x = 0; in escape130_decode_frame()
|
D | mjpegdec.c | 1403 int block_x, block_y; in shift_output() local 1407 for (block_x=0; block_x<size; block_x++) in shift_output() 1408 *(uint16_t*)(ptr + 2*block_x + block_y*linesize) <<= 16 - s->bits; in shift_output() 1411 for (block_x=0; block_x<size; block_x++) in shift_output() 1412 *(ptr + block_x + block_y*linesize) <<= 8 - s->bits; in shift_output()
|
/third_party/astc-encoder/Test/ |
D | astc_trace_analysis.py | 56 def __init__(self, block_x, block_y, block_z): argument 57 self.block_x = block_x 357 dat = (data.block_x, data.block_y, data.block_z) 360 dat = (data.block_x, data.block_y)
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_compute_blit.c | 533 set_work_size(struct pipe_grid_info *info, unsigned block_x, unsigned block_y, unsigned block_z, in set_work_size() argument 536 info->block[0] = block_x; in set_work_size() 742 int block_x, block_y; in si_compute_copy_image() local 748 block_x = 64 / block_y; in si_compute_copy_image() 750 block_x = util_next_power_of_two(src_box->width); in si_compute_copy_image() 751 block_y = 64 / block_x; in si_compute_copy_image() 753 block_x = 64; in si_compute_copy_image() 756 block_x = 8; in si_compute_copy_image() 764 set_work_size(&info, block_x, block_y, block_z, in si_compute_copy_image()
|
/third_party/astc-encoder/Docs/ |
D | FileFormat.md | 18 uint8_t block_x;
|
/third_party/ffmpeg/tests/checkasm/ |
D | h264dsp.c | 275 int block_x = index % 16; in check_idct_multiple() local 276 int offset = (block_y * 16 + block_x) * SIZEOF_PIXEL; in check_idct_multiple()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_setup.c | 190 block_x(int x) in block_x() function 209 const int minleft = block_x(MIN2(xleft0, xleft1)); in flush_spans()
|