Home
last modified time | relevance | path

Searched refs:block_h (Results 1 – 16 of 16) sorted by relevance

/external/pytorch/torch/ao/pruning/sparsifier/
Dweight_norm_sparsifier.py117 block_h, block_w = sparse_block_shape
118 dh = (block_h - h % block_h) % block_h
171 block_h, block_w = sparse_block_shape
172 dh = (block_h - h % block_h) % block_h
/external/igt-gpu-tools/tests/amdgpu/
Damd_bypass.c103 const int block_h = h * 4; /* block height of R-G-B-White rectangles */ in draw_dp_test_pattern_color_ramp() local
126 if ((y % block_h) < h) { /* Red */ in draw_dp_test_pattern_color_ramp()
130 } else if ((y % block_h) < 2 * h) { /* Green */ in draw_dp_test_pattern_color_ramp()
134 } else if ((y % block_h) < 3 * h) { /* Blue */ in draw_dp_test_pattern_color_ramp()
243 const int block_h = h * 2; /* block height of the repetition pattern */ in draw_dp_test_pattern_color_squares_vesa() local
275 j = (y % block_h) / h; in draw_dp_test_pattern_color_squares_vesa()
/external/libaom/av1/encoder/
Dtune_vmaf.c105 const int block_h = mi_size_high[block_size] * 4; in frame_average_variance() local
111 for (row = 0; row < frame->y_height / block_h; ++row) { in frame_average_variance()
114 const int row_offset_y = row * block_h; in frame_average_variance()
259 const int block_h = mi_size_high[block_size] * 4; in gaussian_blur() local
261 const int num_rows = (source->y_height + block_h - 1) / block_h; in gaussian_blur()
271 const int row_offset_y = row * block_h; in gaussian_blur()
282 CONVERT_TO_SHORTPTR(dst_buf), dst->y_stride, block_w, block_h, in gaussian_blur()
286 block_w, block_h, &filter, &filter, 0, 0, in gaussian_blur()
482 const int block_h = mi_size_high[block_size] * 4; in av1_vmaf_blk_preprocessing() local
484 const int num_rows = (source->y_height + block_h - 1) / block_h; in av1_vmaf_blk_preprocessing()
[all …]
Dtune_butteraugli.c55 const int block_h = num_mi_h << 2; in set_mb_butteraugli_rdmult_scaling() local
63 const int y_start = row * block_h; in set_mb_butteraugli_rdmult_scaling()
70 for (int y = y_start; y < y_start + block_h && y < height; y++) { in set_mb_butteraugli_rdmult_scaling()
79 const int y_end = AOMMIN((y_start >> ss_y) + (block_h >> ss_y), in set_mb_butteraugli_rdmult_scaling()
/external/mesa3d/src/mesa/main/
Dtexcompress_astc.cpp539 Decoder(int block_w, int block_h, int block_d, bool srgb, bool output_unorm8) in Decoder() argument
540 : block_w(block_w), block_h(block_h), block_d(block_d), srgb(srgb), in Decoder()
545 int block_w, block_h, block_d; member in Decoder
634 void compute_infill_weights(int block_w, int block_h, int block_d);
650 for (int i = 0; i < block_w * block_h * block_d; ++i) { in decode()
1257 void Block::compute_infill_weights(int block_w, int block_h, int block_d) in compute_infill_weights() argument
1260 int Dt = block_h <= 1 ? 0 : (1024 + block_h / 2) / (block_h - 1); in compute_infill_weights()
1263 for (int t = 0; t < block_h; ++t) { in compute_infill_weights()
1305 infill_weights[0][s + t*block_w + r*block_w*block_h] = i0; in compute_infill_weights()
1306 infill_weights[1][s + t*block_w + r*block_w*block_h] = i1; in compute_infill_weights()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_texcompress_compute.c559 unsigned block_h) in get_astc_partition_table_view() argument
565 _mesa_get_astc_decoder_partition_table(block_w, block_h, &lut_width, &lut_height); in get_astc_partition_table_view()
625 unsigned block_w, block_h; in cs_decode_astc() local
626 _mesa_get_format_block_size(astc_format, &block_w, &block_h); in cs_decode_astc()
629 get_compute_program(st, astc_id, astc_source, block_w, block_h); in cs_decode_astc()
635 get_astc_partition_table_view(st, block_w, block_h); in cs_decode_astc()
643 DIV_ROUND_UP(height_px, block_h)); in cs_decode_astc()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_context.h39 int block_w, block_h; member
169 uint16_t block_w, block_h; member
Dlima_job.c96 fb->block_h = height; in lima_get_fb_info()
403 assert((fb->block_h & PLBU_BLOCK_H_MASK) == fb->block_h); in lima_pack_head_plbu_cmd()
412 fb->block_w * fb->block_h); in lima_pack_head_plbu_cmd()
614 .block_h = fb->block_h, in lima_update_damage_pp_stream()
649 s->key.block_h = fb->block_h; in lima_update_damage_pp_stream()
Dlima_job.h58 int block_w, block_h; member
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c473 const uint32_t block_h = in copy_image_to_buffer_tlb() local
476 const uint32_t height = DIV_ROUND_UP(region->imageExtent.height, block_h); in copy_image_to_buffer_tlb()
1210 const uint32_t block_h = in copy_image_tfu() local
1213 uint32_t height = DIV_ROUND_UP(region->extent.height, block_h); in copy_image_tfu()
1364 const uint32_t block_h = in copy_image_tlb() local
1367 const uint32_t height = DIV_ROUND_UP(region->extent.height, block_h); in copy_image_tlb()
1916 const uint32_t block_h = in copy_buffer_to_image_tfu() local
1919 height = DIV_ROUND_UP(height, block_h); in copy_buffer_to_image_tfu()
2047 const uint32_t block_h = in copy_buffer_to_image_tlb() local
2050 const uint32_t height = DIV_ROUND_UP(region->imageExtent.height, block_h); in copy_buffer_to_image_tlb()
[all …]
/external/bcc/libbpf-tools/loongarch/
Dvmlinux_602.h41343 u8 block_h[4]; member
Dvmlinux.h41343 u8 block_h[4]; member
/external/bcc/libbpf-tools/riscv/
Dvmlinux_602.h83751 u8 block_h[4]; member
Dvmlinux.h83751 u8 block_h[4]; member
/external/bcc/libbpf-tools/arm64/
Dvmlinux_608.h45703 u8 block_h[4]; member
Dvmlinux.h45703 u8 block_h[4]; member