Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/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, in TEST_P()
60 src, block_width, pred, block_width); in TEST_P()
63 for (int c = 0; c < block_width; ++c) { in TEST_P()
[all …]
Dpp_filter_test.cc41 const int block_width = 16; in TEST_P() local
45 const int input_width = block_width; in TEST_P()
51 const int output_width = block_width + 16; in TEST_P()
65 reinterpret_cast<uint8_t *>(vpx_memalign(16, block_width)); in TEST_P()
66 (void)vpx_memset(flimits, 255, block_width); in TEST_P()
74 for (int j = 0; j < block_width; ++j) { in TEST_P()
84 output_stride, block_width, flimits, 16)); in TEST_P()
92 for (int j = 0; j < block_width; ++j) { in TEST_P()
/hardware/qcom/display/msm8994/libgralloc/
Dalloc_controller.cpp821 static void getUBwcBlockSize(int bpp, int& block_width, int& block_height) in getUBwcBlockSize() argument
823 block_width = 0; in getUBwcBlockSize()
830 block_width = 16; in getUBwcBlockSize()
834 block_width = 8; in getUBwcBlockSize()
838 block_width = 4; in getUBwcBlockSize()
851 int block_width, block_height; in getUBwcMetaBufferSize() local
853 getUBwcBlockSize(bpp, block_width, block_height); in getUBwcMetaBufferSize()
855 if (!block_width || !block_height) { in getUBwcMetaBufferSize()
864 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); in getUBwcMetaBufferSize()
/hardware/qcom/display/msm8996/libgralloc/
Dalloc_controller.cpp998 static void getRgbUBwcBlockSize(int bpp, int& block_width, int& block_height) in getRgbUBwcBlockSize() argument
1000 block_width = 0; in getRgbUBwcBlockSize()
1007 block_width = 16; in getRgbUBwcBlockSize()
1011 block_width = 8; in getRgbUBwcBlockSize()
1015 block_width = 4; in getRgbUBwcBlockSize()
1028 int block_width, block_height; in getRgbUBwcMetaBufferSize() local
1030 getRgbUBwcBlockSize(bpp, block_width, block_height); in getRgbUBwcMetaBufferSize()
1032 if (!block_width || !block_height) { in getRgbUBwcMetaBufferSize()
1041 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); in getRgbUBwcMetaBufferSize()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_encodeframe.c289 const int block_width = num_8x8_blocks_wide_lookup[bsize]; in duplicate_mode_info_in_sb() local
293 for (i = 0; i < block_width; ++i) { in duplicate_mode_info_in_sb()
430 const int block_width = num_8x8_blocks_wide_lookup[bsize]; in set_vt_partitioning() local
435 assert(block_height == block_width); in set_vt_partitioning()
441 if (mi_col + block_width / 2 < cm->mi_cols && in set_vt_partitioning()
454 set_block_size(cpi, tile, mi_row, mi_col + block_width / 2, subsize); in set_vt_partitioning()
459 if (mi_col + block_width / 2 < cm->mi_cols && in set_vt_partitioning()