Home
last modified time | relevance | path

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

123

/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 …]
/external/libaom/libaom/test/
Dsubtract_test.cc46 const int block_height = block_size_high[bsize]; in TEST_P() local
48 aom_memalign(16, sizeof(*diff) * block_width * block_height * 2)); in TEST_P()
50 aom_memalign(16, block_width * block_height * 2)); in TEST_P()
52 aom_memalign(16, block_width * block_height * 2)); in TEST_P()
55 for (int r = 0; r < block_height; ++r) { in TEST_P()
62 GetParam()(block_height, block_width, diff, block_width, src, block_width, in TEST_P()
65 for (int r = 0; r < block_height; ++r) { in TEST_P()
73 GetParam()(block_height, block_width, diff, block_width * 2, src, in TEST_P()
76 for (int r = 0; r < block_height; ++r) { in TEST_P()
Dintrapred_test.cc55 block_height(block_height_value), bit_depth(bit_depth_value) {} in IntraPredFunc()
60 int block_height; member
73 const int block_height = params_.block_height; in RunTest() local
88 for (int y = 0; y < block_height; y++) { in RunTest()
113 const int block_height = params_.block_height; in CheckPrediction() local
114 for (int y = 0; y < block_height; y++) { in CheckPrediction()
Dyuv_temporal_filter_test.cc31 int uv_pre_stride, unsigned int block_width, unsigned int block_height,
49 unsigned int block_height, unsigned int block_width, in GetFilterWeight() argument
55 return blk_fw[2 * (row >= block_height / 2) + (col >= block_width / 2)]; in GetFilterWeight()
214 unsigned int block_width, unsigned int block_height, in ApplyReferenceFilter() argument
221 uv_block_height = block_height >> ss_y; in ApplyReferenceFilter()
237 for (int row = 0; row < (int)block_height; row++) { in ApplyReferenceFilter()
257 for (int row = 0; row < (int)block_height; row++) { in ApplyReferenceFilter()
261 const int filter_weight = GetFilterWeight(row, col, block_height, in ApplyReferenceFilter()
275 if (sub_row >= 0 && sub_row < (int)block_height && sub_col >= 0 && in ApplyReferenceFilter()
387 unsigned int block_width, unsigned int block_height,
[all …]
Dtest_intra_pred_speed.cc56 void Init(int block_width, int block_height, int bd) { in Init()
58 ASSERT_LE(block_height, kBPS); in Init()
61 const int block_size_upto_32 = (block_width <= 32) && (block_height <= 32); in Init()
121 const int block_height = tx_size_high[tx_size]; in TestIntraPred() local
123 block_width * block_height * kNumAv1IntraFuncs; in TestIntraPred()
126 intra_pred_test_mem.Init(block_width, block_height, 8); in TestIntraPred()
894 const int block_height = tx_size_high[tx_size]; in TestHighbdIntraPred() local
896 block_width * block_height * kNumAv1IntraFuncs; in TestHighbdIntraPred()
900 intra_pred_test_mem.Init(block_width, block_height, bd); in TestHighbdIntraPred()
/external/tensorflow/tensorflow/core/kernels/
Ddepthwise_conv_op_gpu.h58 const DepthwiseArgs& args, const int block_height) { in CanLaunchDepthwiseConv2dBackpropFilterGPUSmall() argument
63 args.pad_cols < args.filter_cols && block_height <= args.in_rows && in CanLaunchDepthwiseConv2dBackpropFilterGPUSmall()
64 args.filter_rows * args.filter_cols <= args.in_cols * block_height; in CanLaunchDepthwiseConv2dBackpropFilterGPUSmall()
197 const int block_height = blockDim.z; in DepthwiseConv2dGPUKernelNHWCSmall() local
201 const int block_size = block_height * in_width * kBlockDepth; in DepthwiseConv2dGPUKernelNHWCSmall()
211 const int tile_offset = block_height * tile_row_size; in DepthwiseConv2dGPUKernelNHWCSmall()
216 kKnownEvenHeight ? in_size / 2 : block_height * in_row_size; in DepthwiseConv2dGPUKernelNHWCSmall()
250 !kKnownEvenHeight && thread_row + (in_height & 1) == block_height; in DepthwiseConv2dGPUKernelNHWCSmall()
482 const int block_height = blockDim.y; in DepthwiseConv2dGPUKernelNCHWSmall() local
486 const int block_pixels = in_width * block_height; in DepthwiseConv2dGPUKernelNCHWSmall()
[all …]
/external/libaom/libaom/av1/encoder/
Dtemporal_filter.c144 unsigned int block_height, in apply_temporal_filter_self() argument
151 for (i = 0; i < block_height; i++) { in apply_temporal_filter_self()
163 unsigned int block_height, int filter_weight, uint32_t *accumulator, in highbd_apply_temporal_filter_self() argument
170 for (i = 0; i < block_height; i++) { in highbd_apply_temporal_filter_self()
232 unsigned int block_height, in get_filter_weight() argument
240 if (i < block_height / 2) { in get_filter_weight()
258 int uv_buf_stride, unsigned int block_width, unsigned int block_height, in av1_apply_temporal_filter_c() argument
266 const unsigned int uv_block_height = block_height >> ss_y; in av1_apply_temporal_filter_c()
280 block_width, block_height); in av1_apply_temporal_filter_c()
286 for (i = 0, k = 0, m = 0; i < block_height; i++) { in av1_apply_temporal_filter_c()
[all …]
Dvar_based_part.c190 const int block_height = mi_size_high[bsize]; in set_vt_partitioning() local
192 assert(block_height == block_width); in set_vt_partitioning()
198 mi_row + block_height > tile->mi_row_end) in set_vt_partitioning()
208 mi_row + block_height / 2 < cm->mi_rows && in set_vt_partitioning()
225 mi_row + block_height / 2 < cm->mi_rows && in set_vt_partitioning()
232 if (mi_row + block_height / 2 < cm->mi_rows) { in set_vt_partitioning()
255 set_block_size(cpi, x, xd, mi_row + block_height / 2, mi_col, subsize); in set_vt_partitioning()
542 int block_height = num_8x8_blocks_high_lookup[BLOCK_64X64]; if (mi_col + in av1_choose_var_based_partitioning()
543 block_width / 2 < cm->mi_cols && mi_row + block_height / 2 < cm->mi_rows) in av1_choose_var_based_partitioning()
/external/libaom/libaom/av1/encoder/x86/
Dtemporal_filter_sse4.c332 int uv_pre_stride, unsigned int block_width, unsigned int block_height, in av1_apply_temporal_filter_luma_16() argument
414 for (h = 1; h < block_height - 1; ++h) { in av1_apply_temporal_filter_luma_16()
416 if (!use_whole_blk && h == block_height / 2) { in av1_apply_temporal_filter_luma_16()
524 int uv_pre_stride, unsigned int block_width, unsigned int block_height, in av1_apply_temporal_filter_luma() argument
548 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in av1_apply_temporal_filter_luma()
557 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in av1_apply_temporal_filter_luma()
571 v_pre + uv_blk_col, uv_pre_stride, 16, block_height, ss_x, ss_y, strength, in av1_apply_temporal_filter_luma()
586 u_pre + uv_blk_col, v_pre + uv_blk_col, uv_pre_stride, 16, block_height, in av1_apply_temporal_filter_luma()
604 u_pre + uv_blk_col, v_pre + uv_blk_col, uv_pre_stride, 16, block_height, in av1_apply_temporal_filter_luma()
616 v_pre + uv_blk_col, uv_pre_stride, 16, block_height, ss_x, ss_y, strength, in av1_apply_temporal_filter_luma()
[all …]
Dhighbd_temporal_filter_sse4.c197 int uv_pre_stride, unsigned int block_width, unsigned int block_height, in av1_highbd_apply_temporal_filter_luma_8() argument
276 for (h = 1; h < block_height - 1; ++h) { in av1_highbd_apply_temporal_filter_luma_8()
278 if (!use_whole_blk && h == block_height / 2) { in av1_highbd_apply_temporal_filter_luma_8()
370 int uv_pre_stride, unsigned int block_width, unsigned int block_height, in av1_highbd_apply_temporal_filter_luma() argument
389 v_pre + uv_blk_col, uv_pre_stride, blk_col_step, block_height, ss_x, ss_y, in av1_highbd_apply_temporal_filter_luma()
405 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in av1_highbd_apply_temporal_filter_luma()
423 block_height, ss_x, ss_y, strength, use_whole_blk, y_accum + blk_col, in av1_highbd_apply_temporal_filter_luma()
434 v_pre + uv_blk_col, uv_pre_stride, blk_col_step, block_height, ss_x, ss_y, in av1_highbd_apply_temporal_filter_luma()
726 int uv_pre_stride, unsigned int block_width, unsigned int block_height, in av1_highbd_apply_temporal_filter_chroma() argument
731 uv_height = block_height >> ss_y; in av1_highbd_apply_temporal_filter_chroma()
[all …]
/external/tensorflow/tensorflow/tools/graph_transforms/
Dflatten_atrous.cc64 const int32 block_height = block_shape.flat<int32>()(0); in FlattenAtrousConv() local
75 (filter_height - 1) * block_height + 1; in FlattenAtrousConv()
91 upsampled_filter_eigen(block_height * h, block_width * w, c_in, in FlattenAtrousConv()
/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()
/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()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_temporal_filter.c200 unsigned int block_height, in get_filter_weight() argument
209 if (i < block_height / 2) { in get_filter_weight()
227 int uv_buf_stride, unsigned int block_width, unsigned int block_height, in apply_temporal_filter() argument
235 const unsigned int uv_block_height = block_height >> ss_y; in apply_temporal_filter()
251 for (i = 0; i < block_height; i++) { in apply_temporal_filter()
271 for (i = 0, k = 0, m = 0; i < block_height; i++) { in apply_temporal_filter()
275 get_filter_weight(i, j, block_height, block_width, blk_fw, use_32x32); in apply_temporal_filter()
289 if (row >= 0 && row < (int)block_height && col >= 0 && in apply_temporal_filter()
368 unsigned int block_height, int strength, in vp9_temporal_filter_apply_c() argument
382 for (i = 0, k = 0; i < block_height; i++) { in vp9_temporal_filter_apply_c()
[all …]
/external/mesa3d/src/mesa/main/
Dformat_parser.py229 …def __init__(self, name, layout, block_width, block_height, block_depth, channels, swizzle, colors… argument
251 self.block_height = block_height
365 return self.block_width != 1 or self.block_height != 1 or self.block_depth != 1
558 block_height = int(fields[3])
568 … yield Format(name, layout, block_width, block_height, block_depth, channels, swizzle, colorspace)
/external/libaom/libaom/aom_dsp/x86/
Dhighbd_subpel_variance_impl_sse2.asm109 %define block_height heightd
118 %define block_height dword heightm
124 %define block_height heightd
150 %define block_height dword heightm
156 %define block_height heightd
168 sar block_height, 1
217 dec block_height
268 dec block_height
366 dec block_height
424 dec block_height
[all …]
Dsubpel_variance_sse2.asm131 %define block_height heightd
139 %define block_height dword heightm
145 %define block_height heightd
171 %define block_height dword heightm
177 %define block_height heightd
491 dec block_height
572 dec block_height
675 dec block_height
969 dec block_height
/external/libvpx/libvpx/vpx_dsp/x86/
Dhighbd_subpel_variance_impl_sse2.asm106 %define block_height heightd
115 %define block_height dword heightm
121 %define block_height heightd
147 %define block_height dword heightm
153 %define block_height heightd
165 sar block_height, 1
214 dec block_height
265 dec block_height
363 dec block_height
421 dec block_height
[all …]
Dsubpel_variance_sse2.asm128 %define block_height heightd
136 %define block_height dword heightm
142 %define block_height heightd
168 %define block_height dword heightm
174 %define block_height heightd
488 dec block_height
569 dec block_height
672 dec block_height
966 dec block_height
/external/virglrenderer/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…
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_parse.py106 …def __init__(self, name, layout, block_width, block_height, le_channels, le_swizzles, be_channels,… argument
110 self.block_height = block_height
338 block_width, block_height = map(int, fields[2:4])
361 …format = Format(name, layout, block_width, block_height, le_channels, le_swizzles, be_channels, be…
/external/mesa3d/src/amd/vulkan/
Dvk_format_parse.py110 …def __init__(self, name, layout, block_width, block_height, le_channels, le_swizzles, be_channels,… argument
114 self.block_height = block_height
357 block_width, block_height = map(int, fields[2:4])
380 …format = Format(name, layout, block_width, block_height, le_channels, le_swizzles, be_channels, be…
/external/minigbm/
Drockchip.c44 const uint32_t block_height = 4 * clump_height; in afbc_bo_from_format() local
47 const uint32_t block_height = 2 * clump_height; in afbc_bo_from_format() local
51 const uint32_t body_block_size = block_width * block_height * pixel_size; in afbc_bo_from_format()
53 const uint32_t height_in_blocks = DIV_ROUND_UP(height, block_height); in afbc_bo_from_format()
/external/tensorflow/tensorflow/contrib/model_pruning/python/
Dpruning_utils.py130 block_height, block_width = block_dims
153 if block_height > 1:
154 expanded_tensor = _replicate_rows(tensor, block_height)
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Ddepthwiseconv_uint8_transitional.h430 const int block_height = function_params.inbound_block_height;
466 int copy_block_height = block_height;
543 const int block_height = function_params.inbound_block_height;
552 for (int k_height = 0; k_height < block_height; ++k_height) {
623 const int block_height = function_params->inbound_block_height;
646 int copy_block_height = block_height;
728 const int block_height = function_params->inbound_block_height;
753 for (int k_height = 0; k_height < block_height; ++k_height) {
859 block_height * workspace_height_stride);
895 const int block_height = function_params->inbound_block_height;
[all …]

123