Home
last modified time | relevance | path

Searched refs:block_height (Results 1 – 25 of 44) sorted by relevance

12

/external/libvpx/libvpx/test/
Dvp9_subtract_test.cc43 const int block_height = 4 * num_4x4_blocks_high_lookup[bsize]; in TEST_P() local
45 vpx_memalign(16, sizeof(*diff) * block_width * block_height * 2)); in TEST_P()
47 vpx_memalign(16, block_width * block_height * 2)); in TEST_P()
49 vpx_memalign(16, block_width * block_height * 2)); in TEST_P()
52 for (int r = 0; r < block_height; ++r) { in TEST_P()
59 GetParam()(block_height, block_width, diff, block_width, src, block_width, in TEST_P()
62 for (int r = 0; r < block_height; ++r) { in TEST_P()
70 GetParam()(block_height, block_width, diff, block_width * 2, src, in TEST_P()
73 for (int r = 0; r < block_height; ++r) { in TEST_P()
Dpp_filter_test.cc56 const int block_height = 16; in TEST_P() local
59 Buffer<uint8_t> src_image = Buffer<uint8_t>(block_width, block_height, 2); in TEST_P()
66 Buffer<uint8_t>(block_width, block_height, 8, 16, 8, 8); in TEST_P()
86 static const uint8_t kExpectedOutput[block_height] = { in TEST_P()
91 for (int i = 0; i < block_height; ++i) { in TEST_P()
107 const int block_height = 16; in TEST_P() local
112 Buffer<uint8_t>(block_width, block_height, 2, 2, 10, 2); in TEST_P()
121 Buffer<uint8_t>(block_width, block_height, 8, 8, 16, 8); in TEST_P()
123 Buffer<uint8_t> dst_image_ref = Buffer<uint8_t>(block_width, block_height, 8); in TEST_P()
153 block_height); in TEST_P()
[all …]
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_image.h86 unsigned block_height; member
158 unsigned block_height; member
217 assert(pos_y % img->block_height == 0); in ilo_image_pos_to_mem()
220 *mem_y = pos_y / img->block_height; in ilo_image_pos_to_mem()
299 assert(h % img->block_height == 0); in ilo_image_get_slice_stride()
301 return (h / img->block_height) * img->bo_stride; in ilo_image_get_slice_stride()
314 assert(h % img->block_height == 0); in ilo_image_get_slice_size()
317 (h / img->block_height); in ilo_image_get_slice_size()
358 img->bo_height * img->block_height); in ilo_image_get_slice_pos()
Dilo_image.c238 info->block_size / (info->block_width * info->block_height); in image_get_gen6_estimated_size()
434 *align_j = info->block_height; in image_get_gen6_alignments()
503 j = info->block_height; in image_get_gen7_alignments()
589 layout->align_j = info->block_height; in image_init_gen6_transfer_layout()
616 h = align(h, info->block_height); in image_get_gen6_slice_size()
991 assert(layout->align_j % info->block_height == 0); in image_get_gen6_layout()
997 util_is_power_of_two(info->block_height)); in image_get_gen6_layout()
1001 assert(layout->walk_layer_height % info->block_height == 0); in image_get_gen6_layout()
1003 assert(layout->monolithic_height % info->block_height == 0); in image_get_gen6_layout()
1020 height = layout->monolithic_height / info->block_height; in image_set_gen6_bo_size()
[all …]
/external/pdfium/third_party/libopenjpeg20/
Dsparse_array.c39 OPJ_UINT32 block_height; member
48 OPJ_UINT32 block_height) in opj_sparse_array_int32_create() argument
52 if (width == 0 || height == 0 || block_width == 0 || block_height == 0) { in opj_sparse_array_int32_create()
55 if (block_width > ((OPJ_UINT32)~0U) / block_height / sizeof(OPJ_INT32)) { in opj_sparse_array_int32_create()
64 sa->block_height = block_height; in opj_sparse_array_int32_create()
66 sa->block_count_ver = opj_uint_ceildiv(height, block_height); in opj_sparse_array_int32_create()
125 block_y = y0 / sa->block_height; in opj_sparse_array_int32_read_or_write()
130 y_incr = (y == y0) ? sa->block_height - (y0 % sa->block_height) : in opj_sparse_array_int32_read_or_write()
131 sa->block_height; in opj_sparse_array_int32_read_or_write()
132 block_y_offset = sa->block_height - y_incr; in opj_sparse_array_int32_read_or_write()
[all …]
Dsparse_array.h65 OPJ_UINT32 block_height);
/external/tensorflow/tensorflow/core/kernels/
Ddepthwise_conv_op_gpu.cu.cc55 const DepthwiseArgs& args, const int block_height) { in CanLaunchDepthwiseConv2dBackpropFilterGPUSmall() argument
60 args.pad_cols < args.filter_cols && block_height <= args.in_rows && in CanLaunchDepthwiseConv2dBackpropFilterGPUSmall()
61 args.filter_rows * args.filter_cols <= args.in_cols * block_height; in CanLaunchDepthwiseConv2dBackpropFilterGPUSmall()
191 const int block_height = blockDim.z; in DepthwiseConv2dGPUKernelNHWCSmall() local
195 const int block_size = block_height * in_width * kBlockDepth; in DepthwiseConv2dGPUKernelNHWCSmall()
205 const int tile_offset = block_height * tile_row_size; in DepthwiseConv2dGPUKernelNHWCSmall()
210 kKnownEvenHeight ? in_size / 2 : block_height * in_row_size; in DepthwiseConv2dGPUKernelNHWCSmall()
244 !kKnownEvenHeight && thread_row + (in_height & 1) == block_height; in DepthwiseConv2dGPUKernelNHWCSmall()
472 const int block_height = blockDim.y; in DepthwiseConv2dGPUKernelNCHWSmall() local
476 const int block_pixels = in_width * block_height; in DepthwiseConv2dGPUKernelNCHWSmall()
[all …]
/external/tensorflow/tensorflow/tools/graph_transforms/
Dflatten_atrous.cc65 const int32 block_height = block_shape.flat<int32>()(0); in FlattenAtrousConv() local
76 (filter_height - 1) * block_height + 1; in FlattenAtrousConv()
92 upsampled_filter_eigen(block_height * h, block_width * w, c_in, in FlattenAtrousConv()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tile.c477 void get_tile_size(mesa_format format, unsigned *block_width, unsigned *block_height) in get_tile_size() argument
483 *block_height = 1; in get_tile_size()
487 *block_height = 2; in get_tile_size()
491 *block_height = 2; in get_tile_size()
497 *block_height = 4; in get_tile_size()
502 *block_height = 2; in get_tile_size()
507 *block_height = 4; in get_tile_size()
Dradeon_tile.h38 void get_tile_size(mesa_format format, unsigned *block_width, unsigned *block_height);
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tile.c477 void get_tile_size(mesa_format format, unsigned *block_width, unsigned *block_height) in get_tile_size() argument
483 *block_height = 1; in get_tile_size()
487 *block_height = 2; in get_tile_size()
491 *block_height = 2; in get_tile_size()
497 *block_height = 4; in get_tile_size()
502 *block_height = 2; in get_tile_size()
507 *block_height = 4; in get_tile_size()
Dradeon_tile.h38 void get_tile_size(mesa_format format, unsigned *block_width, unsigned *block_height);
/external/libvpx/libvpx/vpx_dsp/x86/
Dhighbd_subpel_variance_impl_sse2.asm105 %define block_height heightd
115 %define block_height dword heightm
135 %define block_height heightd
160 %define block_height heightd
163 %define block_height dword heightm
169 %define block_height heightd
181 sar block_height, 1
230 dec block_height
281 dec block_height
379 dec block_height
[all …]
Dsubpel_variance_sse2.asm128 %define block_height heightd
138 %define block_height dword heightm
158 %define block_height heightd
183 %define block_height heightd
186 %define block_height dword heightm
192 %define block_height heightd
507 dec block_height
588 dec block_height
691 dec block_height
985 dec block_height
/external/mesa3d/src/mesa/main/
Dformat_parser.py230 …def __init__(self, name, layout, block_width, block_height, block_depth, channels, swizzle, colors… argument
252 self.block_height = block_height
366 return self.block_width != 1 or self.block_height != 1 or self.block_depth != 1
559 block_height = int(fields[3])
569 … yield Format(name, layout, block_width, block_height, block_depth, channels, swizzle, colorspace)
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_parse.py107 …def __init__(self, name, layout, block_width, block_height, le_channels, le_swizzles, be_channels,… argument
111 self.block_height = block_height
339 block_width, block_height = map(int, fields[2:4])
362 …format = Format(name, layout, block_width, block_height, le_channels, le_swizzles, be_channels, be…
Du_format_table.py132 …print " {%u, %u, %u},\t/* block */" % (format.block_width, format.block_height, format.block_siz…
/external/mesa3d/src/amd/vulkan/
Dvk_format_parse.py111 …def __init__(self, name, layout, block_width, block_height, le_channels, le_swizzles, be_channels,… argument
115 self.block_height = block_height
358 block_width, block_height = map(int, fields[2:4])
381 …format = Format(name, layout, block_width, block_height, le_channels, le_swizzles, be_channels, be…
Dvk_format_table.py134 …print " {%u, %u, %u},\t/* block */" % (format.block_width, format.block_height, format.block_siz…
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c867 unsigned block_height, in load_unswizzled_block() argument
874 unsigned row_size = dst_count / block_height; in load_unswizzled_block()
878 assert((block_width * block_height) % dst_count == 0); in load_unswizzled_block()
912 unsigned block_height, in store_unswizzled_block() argument
919 unsigned row_size = src_count / block_height; in store_unswizzled_block()
923 assert((block_width * block_height) % src_count == 0); in store_unswizzled_block()
1600 const unsigned block_height, in convert_alpha() argument
1612 lp_bld_quad_twiddle(gallivm, alpha_type, src_alpha, block_height, src_alpha); in convert_alpha()
1618 for (i = 0; i < block_height; ++i) { in convert_alpha()
1628 lp_build_concat_n(gallivm, alpha_type, src_alpha, block_height, src_alpha, src_count); in convert_alpha()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_temporal_filter.c100 unsigned int block_height, int strength, in vp9_temporal_filter_apply_c() argument
114 for (i = 0, k = 0; i < block_height; i++) { in vp9_temporal_filter_apply_c()
127 if (row >= 0 && row < (int)block_height && col >= 0 && in vp9_temporal_filter_apply_c()
168 unsigned int block_width, unsigned int block_height, int strength, in vp9_highbd_temporal_filter_apply_c() argument
177 for (i = 0, k = 0; i < block_height; i++) { in vp9_highbd_temporal_filter_apply_c()
188 if (row >= 0 && row < (int)block_height && col >= 0 && in vp9_highbd_temporal_filter_apply_c()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_format.h78 unsigned *block_height,
Dsvga_format.c482 unsigned block_width, block_height, block_bytes; member
1908 unsigned *block_height, in svga_format_size() argument
1913 *block_height = format_cap_table[format].block_height; in svga_format_size()
1919 assert(*block_height); in svga_format_size()
/external/tensorflow/tensorflow/contrib/lite/toco/graph_transformations/
Dpropagate_fixed_sizes.cc877 auto block_height = block_shape_data[0]; in ProcessSpaceToBatchNDOperator() local
890 QCHECK_EQ(height_with_paddings % block_height, 0); in ProcessSpaceToBatchNDOperator()
892 int output_height = height_with_paddings / block_height; in ProcessSpaceToBatchNDOperator()
896 .copy_shape(Shape({input_shape.dims(0) * block_height * block_width, in ProcessSpaceToBatchNDOperator()
926 auto block_height = block_shape_data[0]; in ProcessBatchToSpaceNDOperator() local
942 QCHECK_EQ(input_shape.dims(0) % (block_height * block_width), 0); in ProcessBatchToSpaceNDOperator()
944 int output_height = input_height * block_height; in ProcessBatchToSpaceNDOperator()
948 .copy_shape(Shape({input_shape.dims(0) / (block_height * block_width), in ProcessBatchToSpaceNDOperator()
/external/tensorflow/tensorflow/contrib/model_pruning/
DREADME.md49 | block_height|integer | 1 | Number of rows in a block for block sparse matrices|
137block_height* and *block_width* hyperparameters to the desired block configuration (2x2, 4x4, 4x1,…

12