/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_adreno_info.cpp | 87 unsigned int *aligned_w, unsigned int *aligned_h) { in AlignUnCompressedRGB() argument 88 *aligned_w = (unsigned int)ALIGN(width, 32); in AlignUnCompressedRGB() 119 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h)); in AlignUnCompressedRGB() 122 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB() 133 void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, in AlignCompressedRGB() argument 143 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB() 145 *aligned_w = (unsigned int)ALIGN(width, 32); in AlignCompressedRGB()
|
D | gr_adreno_info.h | 85 unsigned int *aligned_w, unsigned int *aligned_h, bool ubwc_enabled, 95 unsigned int *aligned_w, unsigned int *aligned_h); 103 void AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, 131 int padding_threshold, int *aligned_w, 135 int *aligned_w, int *aligned_h, int *bpp) = NULL;
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_adreno_info.h | 85 unsigned int *aligned_w, unsigned int *aligned_h, bool ubwc_enabled, 95 unsigned int *aligned_w, unsigned int *aligned_h); 103 void AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, 131 int padding_threshold, int *aligned_w, 135 int *aligned_w, int *aligned_h, int *bpp) = NULL;
|
D | gr_adreno_info.cpp | 88 unsigned int *aligned_w, unsigned int *aligned_h) { in AlignUnCompressedRGB() argument 89 *aligned_w = (unsigned int)ALIGN(width, 32); in AlignUnCompressedRGB() 120 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h)); in AlignUnCompressedRGB() 123 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB() 134 void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, in AlignCompressedRGB() argument 144 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB()
|
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_adreno_info.h | 81 unsigned int *aligned_w, unsigned int *aligned_h, bool ubwc_enabled, 91 unsigned int *aligned_w, unsigned int *aligned_h); 99 void AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, 131 int padding_threshold, int *aligned_w, 135 int *aligned_w, int *aligned_h, int *bpp) = NULL;
|
D | gr_adreno_info.cpp | 96 unsigned int *aligned_w, unsigned int *aligned_h) { in AlignUnCompressedRGB() argument 97 *aligned_w = (unsigned int)ALIGN(width, 32); in AlignUnCompressedRGB() 129 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h)); in AlignUnCompressedRGB() 132 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB() 143 void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, in AlignCompressedRGB() argument 153 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB() 155 *aligned_w = (unsigned int)ALIGN(width, 32); in AlignCompressedRGB()
|
D | gr_utils.cpp | 530 void GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, in GetYuvUBwcWidthAndHeight() argument 536 *aligned_w = VENUS_Y_STRIDE(COLOR_FMT_NV12_UBWC, width); in GetYuvUBwcWidthAndHeight() 541 *aligned_w = (VENUS_Y_STRIDE(COLOR_FMT_NV12_BPP10_UBWC, width) * 3) / 4; in GetYuvUBwcWidthAndHeight() 546 *aligned_w = (VENUS_Y_STRIDE(COLOR_FMT_P010_UBWC, width) / 2); in GetYuvUBwcWidthAndHeight() 551 *aligned_w = 0; in GetYuvUBwcWidthAndHeight() 703 int aligned_w = width; in GetAlignedWidthAndHeight() local 715 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight() 718 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight() 723 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight() 726 aligned_w = ALIGN(width * 12 / 8, 8); in GetAlignedWidthAndHeight() [all …]
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_adreno_info.h | 81 unsigned int *aligned_w, unsigned int *aligned_h, bool ubwc_enabled, 91 unsigned int *aligned_w, unsigned int *aligned_h); 99 void AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, 131 int padding_threshold, int *aligned_w, 135 int *aligned_w, int *aligned_h, int *bpp) = NULL;
|
D | gr_adreno_info.cpp | 96 unsigned int *aligned_w, unsigned int *aligned_h) { in AlignUnCompressedRGB() argument 97 *aligned_w = (unsigned int)ALIGN(width, 32); in AlignUnCompressedRGB() 129 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h)); in AlignUnCompressedRGB() 132 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB() 143 void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, in AlignCompressedRGB() argument 153 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB() 155 *aligned_w = (unsigned int)ALIGN(width, 32); in AlignCompressedRGB()
|
D | gr_utils.cpp | 530 void GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, in GetYuvUBwcWidthAndHeight() argument 536 *aligned_w = VENUS_Y_STRIDE(COLOR_FMT_NV12_UBWC, width); in GetYuvUBwcWidthAndHeight() 541 *aligned_w = (VENUS_Y_STRIDE(COLOR_FMT_NV12_BPP10_UBWC, width) * 3) / 4; in GetYuvUBwcWidthAndHeight() 546 *aligned_w = (VENUS_Y_STRIDE(COLOR_FMT_P010_UBWC, width) / 2); in GetYuvUBwcWidthAndHeight() 551 *aligned_w = 0; in GetYuvUBwcWidthAndHeight() 703 int aligned_w = width; in GetAlignedWidthAndHeight() local 715 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight() 718 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight() 723 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight() 726 aligned_w = ALIGN(width * 12 / 8, 8); in GetAlignedWidthAndHeight() [all …]
|
/hardware/qcom/sdm845/display/gralloc/ |
D | gr_adreno_info.h | 95 unsigned int *aligned_w, unsigned int *aligned_h, bool ubwc_enabled, 105 unsigned int *aligned_w, unsigned int *aligned_h); 113 void AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, 171 int padding_threshold, int *aligned_w, 176 int padding_threshold, int *aligned_w, 180 int *aligned_w, int *aligned_h, int *bpp) = NULL;
|
D | gr_adreno_info.cpp | 104 unsigned int *aligned_w, unsigned int *aligned_h) { in AlignUnCompressedRGB() argument 105 *aligned_w = (unsigned int)ALIGN(width, 32); in AlignUnCompressedRGB() 134 raster_mode, padding_threshold, reinterpret_cast<int *>(aligned_w), in AlignUnCompressedRGB() 139 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h)); in AlignUnCompressedRGB() 142 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB() 154 void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, in AlignCompressedRGB() argument 164 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB() 166 *aligned_w = (unsigned int)ALIGN(width, 32); in AlignCompressedRGB()
|
/hardware/qcom/sm8150/display/gralloc/ |
D | gr_adreno_info.h | 131 unsigned int *aligned_w, unsigned int *aligned_h, bool ubwc_enabled, 141 unsigned int *aligned_w, unsigned int *aligned_h); 149 void AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, 213 int padding_threshold, int *aligned_w, 218 int padding_threshold, int *aligned_w, 222 int *aligned_w, int *aligned_h, int *bpp) = NULL;
|
D | gr_adreno_info.cpp | 99 unsigned int *aligned_w, unsigned int *aligned_h) { in AlignUnCompressedRGB() argument 100 *aligned_w = (unsigned int)ALIGN(width, 32); in AlignUnCompressedRGB() 129 raster_mode, padding_threshold, reinterpret_cast<int *>(aligned_w), in AlignUnCompressedRGB() 134 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h)); in AlignUnCompressedRGB() 137 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB() 149 void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, in AlignCompressedRGB() argument 159 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB() 161 *aligned_w = (unsigned int)ALIGN(width, 32); in AlignCompressedRGB()
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | alloc_controller.cpp | 154 void AdrenoMemInfo::getAlignedWidthAndHeight(const private_handle_t *hnd, int& aligned_w, in getAlignedWidthAndHeight() argument 167 getAlignedWidthAndHeight(w, h, f, usage, aligned_w, aligned_h); in getAlignedWidthAndHeight() 169 aligned_w = hnd->width; in getAlignedWidthAndHeight() 223 int usage, int& aligned_w, int& aligned_h) in getAlignedWidthAndHeight() argument 230 getGpuAlignedWidthHeight(width, height, format, tileEnabled, aligned_w, aligned_h); in getAlignedWidthAndHeight() 232 getYuvUBwcWidthHeight(width, height, format, aligned_w, aligned_h); in getAlignedWidthAndHeight() 234 aligned_w = width; in getAlignedWidthAndHeight() 244 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight() 247 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight() 252 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() [all …]
|
D | gr.h | 118 int usage, int& aligned_w, int& aligned_h); 126 void getAlignedWidthAndHeight(const private_handle_t *hnd, int& aligned_w, int& aligned_h); 175 int *aligned_w, 185 int *aligned_w,
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | alloc_controller.cpp | 154 void AdrenoMemInfo::getAlignedWidthAndHeight(const private_handle_t *hnd, int& aligned_w, in getAlignedWidthAndHeight() argument 167 getAlignedWidthAndHeight(w, h, f, usage, aligned_w, aligned_h); in getAlignedWidthAndHeight() 169 aligned_w = hnd->width; in getAlignedWidthAndHeight() 223 int usage, int& aligned_w, int& aligned_h) in getAlignedWidthAndHeight() argument 230 getGpuAlignedWidthHeight(width, height, format, tileEnabled, aligned_w, aligned_h); in getAlignedWidthAndHeight() 232 getYuvUBwcWidthHeight(width, height, format, aligned_w, aligned_h); in getAlignedWidthAndHeight() 234 aligned_w = width; in getAlignedWidthAndHeight() 244 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight() 247 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight() 252 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() [all …]
|
D | gr.h | 118 int usage, int& aligned_w, int& aligned_h); 126 void getAlignedWidthAndHeight(const private_handle_t *hnd, int& aligned_w, int& aligned_h); 175 int *aligned_w, 185 int *aligned_w,
|
/hardware/qcom/sm7250/display/gralloc/ |
D | gr_adreno_info.h | 137 unsigned int *aligned_w, unsigned int *aligned_h, bool ubwc_enabled, 147 unsigned int *aligned_w, unsigned int *aligned_h); 155 void AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, 221 int padding_threshold, int *aligned_w, 228 int padding_threshold, int *aligned_w, 233 int *aligned_w, int *aligned_h, int *bpp) = NULL;
|
D | gr_adreno_info.cpp | 99 unsigned int *aligned_w, unsigned int *aligned_h) { in AlignUnCompressedRGB() argument 100 *aligned_w = (unsigned int)ALIGN(width, 32); in AlignUnCompressedRGB() 130 raster_mode, padding_threshold, reinterpret_cast<int *>(aligned_w), in AlignUnCompressedRGB() 135 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h)); in AlignUnCompressedRGB() 138 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB() 150 void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, in AlignCompressedRGB() argument 159 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB() 161 *aligned_w = (unsigned int)ALIGN(width, 32); in AlignCompressedRGB()
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | alloc_controller.cpp | 167 int usage, int& aligned_w, int& aligned_h) in getAlignedWidthAndHeight() argument 174 height, format, tileEnabled, aligned_w, aligned_h); in getAlignedWidthAndHeight() 179 getUBwcWidthAndHeight(width, height, format, aligned_w, aligned_h); in getAlignedWidthAndHeight() 183 aligned_w = width; in getAlignedWidthAndHeight() 189 aligned_w = ALIGN(width, 32); in getAlignedWidthAndHeight() 192 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() 195 aligned_w = ALIGN(width * 10 /8, 8); in getAlignedWidthAndHeight() 198 aligned_w = ALIGN(width, 128); in getAlignedWidthAndHeight() 206 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() 210 aligned_w = VENUS_Y_STRIDE(COLOR_FMT_NV12, width); in getAlignedWidthAndHeight() [all …]
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | alloc_controller.cpp | 161 void AdrenoMemInfo::getAlignedWidthAndHeight(const private_handle_t *hnd, int& aligned_w, in getAlignedWidthAndHeight() argument 174 getAlignedWidthAndHeight(w, h, f, usage, aligned_w, aligned_h); in getAlignedWidthAndHeight() 176 aligned_w = hnd->width; in getAlignedWidthAndHeight() 218 int usage, int& aligned_w, int& aligned_h) in getAlignedWidthAndHeight() argument 225 getGpuAlignedWidthHeight(width, height, format, tileEnabled, aligned_w, aligned_h); in getAlignedWidthAndHeight() 227 getYuvUBwcWidthHeight(width, height, format, aligned_w, aligned_h); in getAlignedWidthAndHeight() 229 aligned_w = width; in getAlignedWidthAndHeight() 239 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight() 242 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight() 245 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() [all …]
|
D | gr.h | 123 int usage, int& aligned_w, int& aligned_h); 131 void getAlignedWidthAndHeight(const private_handle_t *hnd, int& aligned_w, int& aligned_h); 180 int *aligned_w, 192 int *aligned_w,
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | alloc_controller.cpp | 130 int tile_enabled, int& aligned_w, int& aligned_h) in getAlignedWidthAndHeight() argument 132 aligned_w = width; in getAlignedWidthAndHeight() 136 aligned_w = ALIGN(width, 32); in getAlignedWidthAndHeight() 167 &aligned_w, &aligned_h); in getAlignedWidthAndHeight() 171 aligned_w = LINK_adreno_compute_padding(width, bpp, in getAlignedWidthAndHeight() 186 aligned_w = ALIGN(width, 32); in getAlignedWidthAndHeight() 189 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() 192 aligned_w = ALIGN(width * 10 /8, 16); in getAlignedWidthAndHeight() 195 aligned_w = ALIGN(width, 128); in getAlignedWidthAndHeight() 203 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() [all …]
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | alloc_controller.cpp | 130 int tile_enabled, int& aligned_w, int& aligned_h) in getAlignedWidthAndHeight() argument 132 aligned_w = width; in getAlignedWidthAndHeight() 136 aligned_w = ALIGN(width, 32); in getAlignedWidthAndHeight() 167 &aligned_w, &aligned_h); in getAlignedWidthAndHeight() 171 aligned_w = LINK_adreno_compute_padding(width, bpp, in getAlignedWidthAndHeight() 187 aligned_w = ALIGN(width, 32); in getAlignedWidthAndHeight() 190 aligned_w = ALIGN(width, 128); in getAlignedWidthAndHeight() 198 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() 202 aligned_w = VENUS_Y_STRIDE(COLOR_FMT_NV12, width); in getAlignedWidthAndHeight() 208 aligned_w = ALIGN(width, 64); in getAlignedWidthAndHeight() [all …]
|