/hardware/qcom/display/msm8994/libgralloc/ |
D | alloc_controller.cpp | 830 static void getUBwcBlockSize(int bpp, int& block_width, int& block_height) in getUBwcBlockSize() argument 833 block_height = 0; in getUBwcBlockSize() 840 block_height = 4; in getUBwcBlockSize() 844 block_height = 4; in getUBwcBlockSize() 848 block_height = 4; in getUBwcBlockSize() 860 int block_width, block_height; in getUBwcMetaBufferSize() local 862 getUBwcBlockSize(bpp, block_width, block_height); in getUBwcMetaBufferSize() 864 if (!block_width || !block_height) { in getUBwcMetaBufferSize() 870 meta_height = ALIGN(((height + block_height - 1) / block_height), 16); in getUBwcMetaBufferSize()
|
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_utils.cpp | 557 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument 559 *block_height = 0; in GetRgbUBwcBlockSize() 565 *block_height = 4; in GetRgbUBwcBlockSize() 569 *block_height = 4; in GetRgbUBwcBlockSize() 573 *block_height = 4; in GetRgbUBwcBlockSize() 584 int block_width, block_height; in GetRgbUBwcMetaBufferSize() local 586 GetRgbUBwcBlockSize(bpp, &block_width, &block_height); in GetRgbUBwcMetaBufferSize() 587 if (!block_width || !block_height) { in GetRgbUBwcMetaBufferSize() 593 meta_height = ALIGN(((height + block_height - 1) / block_height), 16); in GetRgbUBwcMetaBufferSize()
|
D | gr_utils.h | 88 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height);
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_utils.cpp | 557 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument 559 *block_height = 0; in GetRgbUBwcBlockSize() 565 *block_height = 4; in GetRgbUBwcBlockSize() 569 *block_height = 4; in GetRgbUBwcBlockSize() 573 *block_height = 4; in GetRgbUBwcBlockSize() 584 int block_width, block_height; in GetRgbUBwcMetaBufferSize() local 586 GetRgbUBwcBlockSize(bpp, &block_width, &block_height); in GetRgbUBwcMetaBufferSize() 587 if (!block_width || !block_height) { in GetRgbUBwcMetaBufferSize() 593 meta_height = ALIGN(((height + block_height - 1) / block_height), 16); in GetRgbUBwcMetaBufferSize()
|
D | gr_utils.h | 88 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height);
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_allocator.cpp | 672 void Allocator::GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument 674 *block_height = 0; in GetRgbUBwcBlockSize() 680 *block_height = 4; in GetRgbUBwcBlockSize() 684 *block_height = 4; in GetRgbUBwcBlockSize() 688 *block_height = 4; in GetRgbUBwcBlockSize() 699 int block_width, block_height; in GetRgbUBwcMetaBufferSize() local 701 GetRgbUBwcBlockSize(bpp, &block_width, &block_height); in GetRgbUBwcMetaBufferSize() 702 if (!block_width || !block_height) { in GetRgbUBwcMetaBufferSize() 708 meta_height = ALIGN(((height + block_height - 1) / block_height), 16); in GetRgbUBwcMetaBufferSize()
|
D | gr_allocator.h | 89 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height);
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_allocator.cpp | 674 void Allocator::GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument 676 *block_height = 0; in GetRgbUBwcBlockSize() 682 *block_height = 4; in GetRgbUBwcBlockSize() 686 *block_height = 4; in GetRgbUBwcBlockSize() 690 *block_height = 4; in GetRgbUBwcBlockSize() 701 int block_width, block_height; in GetRgbUBwcMetaBufferSize() local 703 GetRgbUBwcBlockSize(bpp, &block_width, &block_height); in GetRgbUBwcMetaBufferSize() 704 if (!block_width || !block_height) { in GetRgbUBwcMetaBufferSize() 710 meta_height = ALIGN(((height + block_height - 1) / block_height), 16); in GetRgbUBwcMetaBufferSize()
|
D | gr_allocator.h | 89 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height);
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | alloc_controller.cpp | 1016 static void getRgbUBwcBlockSize(int bpp, int& block_width, int& block_height) in getRgbUBwcBlockSize() argument 1019 block_height = 0; in getRgbUBwcBlockSize() 1026 block_height = 4; in getRgbUBwcBlockSize() 1030 block_height = 4; in getRgbUBwcBlockSize() 1034 block_height = 4; in getRgbUBwcBlockSize() 1046 int block_width, block_height; in getRgbUBwcMetaBufferSize() local 1048 getRgbUBwcBlockSize(bpp, block_width, block_height); in getRgbUBwcMetaBufferSize() 1050 if (!block_width || !block_height) { in getRgbUBwcMetaBufferSize() 1056 meta_height = ALIGN(((height + block_height - 1) / block_height), 16); in getRgbUBwcMetaBufferSize()
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | alloc_controller.cpp | 1013 static void getRgbUBwcBlockSize(int bpp, int& block_width, int& block_height) in getRgbUBwcBlockSize() argument 1016 block_height = 0; in getRgbUBwcBlockSize() 1023 block_height = 4; in getRgbUBwcBlockSize() 1027 block_height = 4; in getRgbUBwcBlockSize() 1031 block_height = 4; in getRgbUBwcBlockSize() 1043 int block_width, block_height; in getRgbUBwcMetaBufferSize() local 1045 getRgbUBwcBlockSize(bpp, block_width, block_height); in getRgbUBwcMetaBufferSize() 1047 if (!block_width || !block_height) { in getRgbUBwcMetaBufferSize() 1053 meta_height = ALIGN(((height + block_height - 1) / block_height), 16); in getRgbUBwcMetaBufferSize()
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | alloc_controller.cpp | 1013 static void getRgbUBwcBlockSize(int bpp, int& block_width, int& block_height) in getRgbUBwcBlockSize() argument 1016 block_height = 0; in getRgbUBwcBlockSize() 1023 block_height = 4; in getRgbUBwcBlockSize() 1027 block_height = 4; in getRgbUBwcBlockSize() 1031 block_height = 4; in getRgbUBwcBlockSize() 1043 int block_width, block_height; in getRgbUBwcMetaBufferSize() local 1045 getRgbUBwcBlockSize(bpp, block_width, block_height); in getRgbUBwcMetaBufferSize() 1047 if (!block_width || !block_height) { in getRgbUBwcMetaBufferSize() 1053 meta_height = ALIGN(((height + block_height - 1) / block_height), 16); in getRgbUBwcMetaBufferSize()
|
/hardware/google/gfxstream/guest/mesa/src/util/format/ |
D | u_format_parse.py | 117 …def __init__(self, name, layout, block_width, block_height, block_depth, le_channels, le_swizzles,… argument 121 self.block_height = block_height 424 block_width, block_height, block_depth = map(int, fields[2:5]) 440 …format = Format(name, layout, block_width, block_height, block_depth, le_channels, le_swizzles, be…
|
D | u_format_table.py | 224 …print(" {%u, %u, %u, %u},\t/* block */" % (format.block_width, format.block_height, format.bl…
|
D | u_format_pack.py | 650 print(' for(y = 0; y < height; y += %u) {' % (format.block_height,))
|
/hardware/qcom/sm8150/display/gralloc/ |
D | gr_utils.cpp | 791 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument 793 *block_height = 0; in GetRgbUBwcBlockSize() 799 *block_height = 4; in GetRgbUBwcBlockSize() 803 *block_height = 4; in GetRgbUBwcBlockSize() 807 *block_height = 4; in GetRgbUBwcBlockSize() 818 int block_width, block_height; in GetRgbUBwcMetaBufferSize() local 820 GetRgbUBwcBlockSize(bpp, &block_width, &block_height); in GetRgbUBwcMetaBufferSize() 821 if (!block_width || !block_height) { in GetRgbUBwcMetaBufferSize() 827 meta_height = ALIGN(((height + block_height - 1) / block_height), 16); in GetRgbUBwcMetaBufferSize()
|
D | gr_utils.h | 194 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height);
|
/hardware/qcom/sm7250/display/gralloc/ |
D | gr_utils.cpp | 872 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument 874 *block_height = 0; in GetRgbUBwcBlockSize() 880 *block_height = 4; in GetRgbUBwcBlockSize() 884 *block_height = 4; in GetRgbUBwcBlockSize() 888 *block_height = 4; in GetRgbUBwcBlockSize() 899 int block_width, block_height; in GetRgbUBwcMetaBufferSize() local 901 GetRgbUBwcBlockSize(bpp, &block_width, &block_height); in GetRgbUBwcMetaBufferSize() 902 if (!block_width || !block_height) { in GetRgbUBwcMetaBufferSize() 908 meta_height = ALIGN(((height + block_height - 1) / block_height), 16); in GetRgbUBwcMetaBufferSize()
|
D | gr_utils.h | 209 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height);
|