Home
last modified time | relevance | path

Searched refs:block_width (Results 1 – 25 of 55) sorted by relevance

123

/external/libaom/libaom/test/
Dsubtract_test.cc45 const int block_width = block_size_wide[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()
56 for (int c = 0; c < block_width * 2; ++c) { in TEST_P()
57 src[r * block_width * 2 + c] = rnd.Rand8(); in TEST_P()
58 pred[r * block_width * 2 + c] = rnd.Rand8(); in TEST_P()
62 GetParam()(block_height, block_width, diff, block_width, src, block_width, in TEST_P()
63 pred, block_width); in TEST_P()
66 for (int c = 0; c < block_width; ++c) { in TEST_P()
[all …]
Dintrapred_test.cc54 : pred_fn(pred), ref_fn(ref), block_width(block_width_value), in IntraPredFunc()
59 int block_width; member
72 const int block_width = params_.block_width; in RunTest() local
81 for (int x = -1; x <= block_width * 2; x++) { in RunTest()
104 stride_ = params_.block_width * 3; in SetUp()
112 const int block_width = params_.block_width; in CheckPrediction() local
115 for (int x = 0; x < block_width; x++) { 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
220 const int uv_block_width = block_width >> ss_x, in ApplyReferenceFilter()
222 const int y_src_stride = block_width, y_pre_stride = block_width; in ApplyReferenceFilter()
224 const int y_diff_stride = block_width, uv_diff_stride = uv_block_width; in ApplyReferenceFilter()
225 const int y_count_stride = block_width, u_count_stride = uv_block_width, in ApplyReferenceFilter()
227 const int y_accum_stride = block_width, u_accum_stride = uv_block_width, in ApplyReferenceFilter()
238 for (int col = 0; col < (int)block_width; col++) { in ApplyReferenceFilter()
[all …]
Dtest_intra_pred_speed.cc56 void Init(int block_width, int block_height, int bd) { in Init()
57 ASSERT_LE(block_width, kBPS); in Init()
61 const int block_size_upto_32 = (block_width <= 32) && (block_height <= 32); in Init()
120 const int block_width = tx_size_wide[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()
893 const int block_width = tx_size_wide[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/pdfium/third_party/libopenjpeg20/
Dsparse_array.c38 OPJ_UINT32 block_width; member
47 OPJ_UINT32 block_width, 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()
63 sa->block_width = block_width; in opj_sparse_array_int32_create()
65 sa->block_count_hor = opj_uint_ceildiv(width, block_width); in opj_sparse_array_int32_create()
119 const OPJ_UINT32 block_width = sa->block_width; in opj_sparse_array_int32_read_or_write() local
134 block_x = x0 / block_width; in opj_sparse_array_int32_read_or_write()
139 x_incr = (x == x0) ? block_width - (x0 % block_width) : block_width; in opj_sparse_array_int32_read_or_write()
140 block_x_offset = block_width - x_incr; in opj_sparse_array_int32_read_or_write()
[all …]
Dsparse_array.h64 OPJ_UINT32 block_width,
/external/libaom/libaom/av1/encoder/
Dtemporal_filter.c143 unsigned int block_width, in apply_temporal_filter_self() argument
152 for (j = 0; j < block_width; j++) { in apply_temporal_filter_self()
162 const uint8_t *pred8, int buf_stride, unsigned int block_width, in highbd_apply_temporal_filter_self() argument
171 for (j = 0; j < block_width; j++) { in highbd_apply_temporal_filter_self()
233 unsigned int block_width, const int *blk_fw, in get_filter_weight() argument
241 if (j < block_width / 2) in get_filter_weight()
246 if (j < block_width / 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
265 const unsigned int uv_block_width = block_width >> ss_x; in av1_apply_temporal_filter_c()
280 block_width, block_height); in av1_apply_temporal_filter_c()
[all …]
Dvar_based_part.c189 const int block_width = mi_size_wide[bsize]; in set_vt_partitioning() local
192 assert(block_height == block_width); in set_vt_partitioning()
197 if (mi_col + block_width > tile->mi_col_end || in set_vt_partitioning()
207 if (mi_col + block_width / 2 < cm->mi_cols && in set_vt_partitioning()
224 if (mi_col + block_width / 2 < cm->mi_cols && in set_vt_partitioning()
241 set_block_size(cpi, x, xd, mi_row, mi_col + block_width / 2, subsize); in set_vt_partitioning()
246 if (mi_col + block_width / 2 < cm->mi_cols) { in set_vt_partitioning()
541 { const int block_width = num_8x8_blocks_wide_lookup[BLOCK_64X64]; const 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/libvpx/libvpx/vp9/encoder/
Dvp9_temporal_filter.c201 unsigned int block_width, int *blk_fw, in get_filter_weight() argument
210 if (j < block_width / 2) in get_filter_weight()
215 if (j < block_width / 2) in get_filter_weight()
227 int uv_buf_stride, unsigned int block_width, unsigned int block_height, in apply_temporal_filter() argument
234 const unsigned int uv_block_width = block_width >> ss_x; in apply_temporal_filter()
252 for (j = 0; j < block_width; j++) { in apply_temporal_filter()
254 y_frame1[i * (int)y_stride + j] - y_pred[i * (int)block_width + j]; in apply_temporal_filter()
272 for (j = 0; j < block_width; j++) { in apply_temporal_filter()
275 get_filter_weight(i, j, block_height, block_width, blk_fw, use_32x32); in apply_temporal_filter()
290 col < (int)block_width) { in apply_temporal_filter()
[all …]
/external/libaom/libaom/av1/encoder/x86/
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
223 assert(block_width == 8); in av1_highbd_apply_temporal_filter_luma_8()
225 (void)block_width; 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
376 const unsigned int mid_width = block_width >> 1, in av1_highbd_apply_temporal_filter_luma()
377 last_width = block_width - blk_col_step; 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
730 const unsigned int uv_width = block_width >> ss_x, in av1_highbd_apply_temporal_filter_chroma()
865 int uv_pre_stride, unsigned int block_width, unsigned int block_height, in av1_highbd_apply_temporal_filter_sse4_1() argument
870 chroma_width = block_width >> ss_x; in av1_highbd_apply_temporal_filter_sse4_1()
[all …]
Dtemporal_filter_sse4.c332 int uv_pre_stride, unsigned int block_width, unsigned int block_height, in av1_apply_temporal_filter_luma_16() argument
359 assert(block_width == 16); in av1_apply_temporal_filter_luma_16()
361 (void)block_width; 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
530 const unsigned int mid_width = block_width >> 1, in av1_apply_temporal_filter_luma()
531 last_width = block_width - blk_col_step; in av1_apply_temporal_filter_luma()
537 if (block_width == 16) { in av1_apply_temporal_filter_luma()
795 int uv_pre_stride, unsigned int block_width, unsigned int block_height, in av1_apply_temporal_filter_chroma() argument
799 const unsigned int uv_width = block_width >> ss_x, in av1_apply_temporal_filter_chroma()
928 int uv_pre_stride, unsigned int block_width, unsigned int block_height, in av1_apply_temporal_filter_sse4_1() argument
[all …]
/external/tensorflow/tensorflow/tools/graph_transforms/
Dflatten_atrous.cc65 const int32 block_width = block_shape.flat<int32>()(1); in FlattenAtrousConv() local
77 (filter_width - 1) * block_width + 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
482 *block_width = 1; in get_tile_size()
486 *block_width = 2; in get_tile_size()
490 *block_width = 4; in get_tile_size()
496 *block_width = 4; in get_tile_size()
501 *block_width = 8; in get_tile_size()
506 *block_width = 8; 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/r200/
Dradeon_tile.c477 void get_tile_size(mesa_format format, unsigned *block_width, unsigned *block_height) in get_tile_size() argument
482 *block_width = 1; in get_tile_size()
486 *block_width = 2; in get_tile_size()
490 *block_width = 4; in get_tile_size()
496 *block_width = 4; in get_tile_size()
501 *block_width = 8; in get_tile_size()
506 *block_width = 8; in get_tile_size()
Dradeon_tile.h38 void get_tile_size(mesa_format format, unsigned *block_width, unsigned *block_height);
/external/minigbm/
Drockchip.c43 const uint32_t block_width = 4 * clump_width; in afbc_bo_from_format() local
46 const uint32_t block_width = 8 * clump_width; in afbc_bo_from_format() local
51 const uint32_t body_block_size = block_width * block_height * pixel_size; in afbc_bo_from_format()
52 const uint32_t width_in_blocks = DIV_ROUND_UP(width, block_width); in afbc_bo_from_format()
66 bo->strides[0] = width_in_blocks * block_width * pixel_size; in afbc_bo_from_format()
/external/mesa3d/src/mesa/main/
Dformat_parser.py229 …def __init__(self, name, layout, block_width, block_height, block_depth, channels, swizzle, colors… argument
250 self.block_width = block_width
365 return self.block_width != 1 or self.block_height != 1 or self.block_depth != 1
557 block_width = int(fields[2])
568 … yield Format(name, layout, block_width, block_height, block_depth, channels, swizzle, colorspace)
/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
110 self.block_width = block_width
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
109 self.block_width = block_width
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
113 self.block_width = block_width
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/tensorflow/tensorflow/contrib/model_pruning/python/
Dpruning_utils.py130 block_height, block_width = block_dims
157 if block_width > 1:
159 _replicate_rows(array_ops.transpose(expanded_tensor), block_width))
/external/gemmlowp/internal/
Dpack.h174 SideMap block(int start_width, int start_depth, int block_width, in block() argument
177 assert(start_width + block_width <= width_); in block()
181 return SideMap(data(start_width, start_depth), block_width, block_depth, in block()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_format.h77 unsigned *block_width,
Dsvga_format.c522 unsigned block_width, block_height, block_bytes; member
1654 unsigned *block_width, in svga_format_size() argument
1659 *block_width = format_cap_table[format].block_width; in svga_format_size()
1663 if (*block_width == 0) in svga_format_size()
1665 assert(*block_width); in svga_format_size()

123