/hardware/qcom/display/msm8994/libgralloc/ |
D | alloc_controller.cpp | 830 static void getUBwcBlockSize(int bpp, int& block_width, int& block_height) in getUBwcBlockSize() argument 832 block_width = 0; in getUBwcBlockSize() 839 block_width = 16; in getUBwcBlockSize() 843 block_width = 8; in getUBwcBlockSize() 847 block_width = 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() 873 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); 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 558 *block_width = 0; in GetRgbUBwcBlockSize() 564 *block_width = 16; in GetRgbUBwcBlockSize() 568 *block_width = 8; in GetRgbUBwcBlockSize() 572 *block_width = 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() 596 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); 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 558 *block_width = 0; in GetRgbUBwcBlockSize() 564 *block_width = 16; in GetRgbUBwcBlockSize() 568 *block_width = 8; in GetRgbUBwcBlockSize() 572 *block_width = 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() 596 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); 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 673 *block_width = 0; in GetRgbUBwcBlockSize() 679 *block_width = 16; in GetRgbUBwcBlockSize() 683 *block_width = 8; in GetRgbUBwcBlockSize() 687 *block_width = 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() 711 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); 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 675 *block_width = 0; in GetRgbUBwcBlockSize() 681 *block_width = 16; in GetRgbUBwcBlockSize() 685 *block_width = 8; in GetRgbUBwcBlockSize() 689 *block_width = 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() 713 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); 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 1018 block_width = 0; in getRgbUBwcBlockSize() 1025 block_width = 16; in getRgbUBwcBlockSize() 1029 block_width = 8; in getRgbUBwcBlockSize() 1033 block_width = 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() 1059 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); 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 1015 block_width = 0; in getRgbUBwcBlockSize() 1022 block_width = 16; in getRgbUBwcBlockSize() 1026 block_width = 8; in getRgbUBwcBlockSize() 1030 block_width = 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() 1056 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); 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 1015 block_width = 0; in getRgbUBwcBlockSize() 1022 block_width = 16; in getRgbUBwcBlockSize() 1026 block_width = 8; in getRgbUBwcBlockSize() 1030 block_width = 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() 1056 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); 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 120 self.block_width = block_width 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… 284 if format.block_width > 1:
|
D | u_format_pack.py | 623 ' for (unsigned x = 0; x < width; x += %u) {' % (format.block_width,)) 653 print(' for(x = 0; x < width; x += %u) {' % (format.block_width,))
|
/hardware/qcom/sm8150/display/gralloc/ |
D | gr_utils.cpp | 791 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument 792 *block_width = 0; in GetRgbUBwcBlockSize() 798 *block_width = 16; in GetRgbUBwcBlockSize() 802 *block_width = 8; in GetRgbUBwcBlockSize() 806 *block_width = 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() 830 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); 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 873 *block_width = 0; in GetRgbUBwcBlockSize() 879 *block_width = 16; in GetRgbUBwcBlockSize() 883 *block_width = 8; in GetRgbUBwcBlockSize() 887 *block_width = 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() 911 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); in GetRgbUBwcMetaBufferSize()
|
D | gr_utils.h | 209 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height);
|