Home
last modified time | relevance | path

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

12

/external/libvpx/libvpx/test/
Dvp9_subtract_test.cc42 const int block_width = 4 * num_4x4_blocks_wide_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()
53 for (int c = 0; c < block_width * 2; ++c) { in TEST_P()
54 src[r * block_width * 2 + c] = rnd.Rand8(); in TEST_P()
55 pred[r * block_width * 2 + c] = rnd.Rand8(); in TEST_P()
59 GetParam()(block_height, block_width, diff, block_width, src, block_width, in TEST_P()
60 pred, block_width); in TEST_P()
63 for (int c = 0; c < block_width; ++c) { in TEST_P()
[all …]
Dpp_filter_test.cc55 const int block_width = 16; in TEST_P() local
59 Buffer<uint8_t> src_image = Buffer<uint8_t>(block_width, block_height, 2); in TEST_P()
65 Buffer<uint8_t>(block_width, block_height, 8, 16, 8, 8); in TEST_P()
68 reinterpret_cast<uint8_t *>(vpx_memalign(16, block_width)); in TEST_P()
69 (void)memset(flimits, 255, block_width); in TEST_P()
82 dst_image.stride(), block_width, flimits, 16)); in TEST_P()
90 for (int j = 0; j < block_width; ++j) { in TEST_P()
104 const int block_width = 136; in TEST_P() local
110 Buffer<uint8_t>(block_width, block_height, 2, 2, 10, 2); in TEST_P()
118 Buffer<uint8_t>(block_width, block_height, 8, 8, 16, 8); in TEST_P()
[all …]
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_image.h85 unsigned block_width; member
157 unsigned block_width; member
216 assert(pos_x % img->block_width == 0); in ilo_image_pos_to_mem()
219 *mem_x = pos_x / img->block_width * img->block_size; in ilo_image_pos_to_mem()
313 assert(w % img->block_width == 0); in ilo_image_get_slice_size()
316 return (w / img->block_width * img->block_size) * in ilo_image_get_slice_size()
Dilo_image.c238 info->block_size / (info->block_width * info->block_height); in image_get_gen6_estimated_size()
432 *align_i = (info->compressed) ? info->block_width : 4; in image_get_gen6_alignments()
502 i = info->block_width; in image_get_gen7_alignments()
588 layout->align_i = info->block_width; in image_init_gen6_transfer_layout()
615 w = align(w, info->block_width); in image_get_gen6_slice_size()
990 assert(layout->align_i % info->block_width == 0); in image_get_gen6_layout()
996 assert(util_is_power_of_two(info->block_width) && in image_get_gen6_layout()
1002 assert(layout->monolithic_width % info->block_width == 0); in image_get_gen6_layout()
1019 stride = (layout->monolithic_width / info->block_width) * info->block_size; in image_set_gen6_bo_size()
1411 img->block_width = info->block_width; in ilo_image_init()
/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/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/main/
Dformat_parser.py230 …def __init__(self, name, layout, block_width, block_height, block_depth, channels, swizzle, colors… argument
251 self.block_width = block_width
366 return self.block_width != 1 or self.block_height != 1 or self.block_depth != 1
558 block_width = int(fields[2])
569 … yield Format(name, layout, block_width, block_height, block_depth, channels, swizzle, colorspace)
Dformat_info.py188 print ' {0}, {1}, {2}, {3},'.format(fmat.block_width, fmat.block_height,
/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
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…
Du_format_table.py132 …print " {%u, %u, %u},\t/* block */" % (format.block_width, format.block_height, format.block_siz…
/external/libvpx/libvpx/vp9/encoder/
Dvp9_temporal_filter.c99 unsigned int block_width, in vp9_temporal_filter_apply_c() argument
115 for (j = 0; j < block_width; j++, k++) { in vp9_temporal_filter_apply_c()
128 col < (int)block_width) { in vp9_temporal_filter_apply_c()
130 frame2[idy * (int)block_width + idx]; in vp9_temporal_filter_apply_c()
161 byte += stride - block_width; 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
178 for (j = 0; j < block_width; j++, k++) { in vp9_highbd_temporal_filter_apply_c()
189 col < (int)block_width) { in vp9_highbd_temporal_filter_apply_c()
191 frame2[idy * (int)block_width + idx]; in vp9_highbd_temporal_filter_apply_c()
220 byte += stride - block_width; in vp9_highbd_temporal_filter_apply_c()
/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
114 self.block_width = block_width
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/svga/
Dsvga_format.h77 unsigned *block_width,
Dsvga_format.c482 unsigned block_width, block_height, block_bytes; member
1907 unsigned *block_width, in svga_format_size() argument
1912 *block_width = format_cap_table[format].block_width; in svga_format_size()
1916 if (*block_width == 0) in svga_format_size()
1918 assert(*block_width); in svga_format_size()
/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/libvpx/config/mips32/
Dvp9_rtcd.h78 …t8_t *frame1, unsigned int stride, const uint8_t *frame2, unsigned int block_width, unsigned int b…
/external/libvpx/config/generic/
Dvp9_rtcd.h78 …t8_t *frame1, unsigned int stride, const uint8_t *frame2, unsigned int block_width, unsigned int b…
/external/libvpx/config/mips64/
Dvp9_rtcd.h78 …t8_t *frame1, unsigned int stride, const uint8_t *frame2, unsigned int block_width, unsigned int b…
/external/libvpx/config/arm/
Dvp9_rtcd.h78 …t8_t *frame1, unsigned int stride, const uint8_t *frame2, unsigned int block_width, unsigned int b…
/external/libvpx/config/mips32-dspr2/
Dvp9_rtcd.h81 …t8_t *frame1, unsigned int stride, const uint8_t *frame2, unsigned int block_width, unsigned int b…
/external/libvpx/config/mips64-msa/
Dvp9_rtcd.h86 …t8_t *frame1, unsigned int stride, const uint8_t *frame2, unsigned int block_width, unsigned int b…
/external/libvpx/config/arm-neon/
Dvp9_rtcd.h83 …t8_t *frame1, unsigned int stride, const uint8_t *frame2, unsigned int block_width, unsigned int b…

12