Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8994/libgralloc/
Dalloc_controller.cpp830 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/msm8909w_3100/libgralloc1/
Dgr_utils.cpp557 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()
Dgr_utils.h88 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height);
/hardware/qcom/display/msm8909/gralloc/
Dgr_utils.cpp557 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()
Dgr_utils.h88 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height);
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_allocator.cpp672 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()
Dgr_allocator.h89 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height);
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_allocator.cpp674 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()
Dgr_allocator.h89 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height);
/hardware/qcom/display/msm8996/libgralloc/
Dalloc_controller.cpp1016 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/
Dalloc_controller.cpp1013 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/sdm845/display/gralloc/
Dgr_utils.cpp639 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument
640 *block_width = 0; in GetRgbUBwcBlockSize()
646 *block_width = 16; in GetRgbUBwcBlockSize()
650 *block_width = 8; in GetRgbUBwcBlockSize()
654 *block_width = 4; in GetRgbUBwcBlockSize()
666 int block_width, block_height; in GetRgbUBwcMetaBufferSize() local
668 GetRgbUBwcBlockSize(bpp, &block_width, &block_height); in GetRgbUBwcMetaBufferSize()
669 if (!block_width || !block_height) { in GetRgbUBwcMetaBufferSize()
678 meta_width = ALIGN(((width + block_width - 1) / block_width), 64); in GetRgbUBwcMetaBufferSize()
Dgr_utils.h100 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height);
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dalloc_controller.cpp1013 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()