/hardware/qcom/display/msm8996/libgralloc1/ |
H A D | gr_adreno_info.cpp | 86 unsigned int *aligned_w, unsigned int *aligned_h) { 87 *aligned_w = (unsigned int)ALIGN(width, 32); 118 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h)); 121 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, 132 void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, argument 142 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); 85 AlignUnCompressedRGB(int width, int height, int format, int tile_enabled, unsigned int *aligned_w, unsigned int *aligned_h) argument
|
H A D | gr_allocator.cpp | 633 void Allocator::GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, argument 639 *aligned_w = VENUS_Y_STRIDE(COLOR_FMT_NV12_UBWC, width); 644 *aligned_w = (VENUS_Y_STRIDE(COLOR_FMT_NV12_BPP10_UBWC, width) * 3) / 4; 649 *aligned_w = 0; 793 int aligned_w = width; local 802 aligned_w = ALIGN(width, alignment); 805 aligned_w = ALIGN(width, alignment); 808 aligned_w = ALIGN(width, 16); 811 aligned_w = ALIGN(width * 12 / 8, 8); 814 aligned_w [all...] |
/hardware/qcom/display/msm8998/libgralloc1/ |
H A D | gr_adreno_info.cpp | 86 unsigned int *aligned_w, unsigned int *aligned_h) { 87 *aligned_w = (unsigned int)ALIGN(width, 32); 118 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h)); 121 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, 132 void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, argument 142 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); 85 AlignUnCompressedRGB(int width, int height, int format, int tile_enabled, unsigned int *aligned_w, unsigned int *aligned_h) argument
|
H A D | gr_allocator.cpp | 602 void Allocator::GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, argument 608 *aligned_w = VENUS_Y_STRIDE(COLOR_FMT_NV12_UBWC, width); 613 *aligned_w = (VENUS_Y_STRIDE(COLOR_FMT_NV12_BPP10_UBWC, width) * 3) / 4; 618 *aligned_w = 0; 760 int aligned_w = width; local 769 aligned_w = ALIGN(width, alignment); 772 aligned_w = ALIGN(width, alignment); 775 aligned_w = ALIGN(width, 16); 778 aligned_w = ALIGN(width * 10 / 8, 8); 781 aligned_w [all...] |
H A D | gr_buf_mgr.cpp | 403 int BufferManager::AllocateBuffer(unsigned int size, int aligned_w, int aligned_h, int unaligned_w, argument 443 aligned_w,
|
/hardware/qcom/display/msm8084/libgralloc/ |
H A D | alloc_controller.cpp | 130 int tile_enabled, int& aligned_w, int& aligned_h) 132 aligned_w = width; 136 aligned_w = ALIGN(width, 32); 167 &aligned_w, &aligned_h); 171 aligned_w = LINK_adreno_compute_padding(width, bpp, 186 aligned_w = ALIGN(width, 32); 189 aligned_w = ALIGN(width, 16); 192 aligned_w = ALIGN(width * 10 /8, 16); 195 aligned_w = ALIGN(width, 128); 203 aligned_w 129 getAlignedWidthAndHeight(int width, int height, int format, int tile_enabled, int& aligned_w, int& aligned_h) argument [all...] |
/hardware/qcom/display/msm8226/libgralloc/ |
H A D | alloc_controller.cpp | 130 int tile_enabled, int& aligned_w, int& aligned_h) 132 aligned_w = width; 136 aligned_w = ALIGN(width, 32); 167 &aligned_w, &aligned_h); 171 aligned_w = LINK_adreno_compute_padding(width, bpp, 187 aligned_w = ALIGN(width, 32); 190 aligned_w = ALIGN(width, 128); 198 aligned_w = ALIGN(width, 16); 202 aligned_w = VENUS_Y_STRIDE(COLOR_FMT_NV12, width); 208 aligned_w 129 getAlignedWidthAndHeight(int width, int height, int format, int tile_enabled, int& aligned_w, int& aligned_h) argument [all...] |
/hardware/qcom/display/msm8909/libgralloc/ |
H A D | alloc_controller.cpp | 138 int tile_enabled, int& aligned_w, int& aligned_h) 140 aligned_w = width; 144 aligned_w = ALIGN(width, 32); 175 &aligned_w, &aligned_h); 179 aligned_w = LINK_adreno_compute_padding(width, bpp, 198 aligned_w = ALIGN(width, alignment); 201 aligned_w = ALIGN(width, alignment); 204 aligned_w = ALIGN(width, 128); 211 aligned_w = ALIGN(width, 16); 215 aligned_w 137 getAlignedWidthAndHeight(int width, int height, int format, int tile_enabled, int& aligned_w, int& aligned_h) argument [all...] |
/hardware/qcom/display/msm8994/libgralloc/ |
H A D | alloc_controller.cpp | 167 int usage, int& aligned_w, int& aligned_h) 174 height, format, tileEnabled, aligned_w, aligned_h); 179 getUBwcWidthAndHeight(width, height, format, aligned_w, aligned_h); 183 aligned_w = width; 189 aligned_w = ALIGN(width, 32); 192 aligned_w = ALIGN(width, 16); 195 aligned_w = ALIGN(width * 10 /8, 8); 198 aligned_w = ALIGN(width, 128); 206 aligned_w = ALIGN(width, 16); 210 aligned_w 166 getAlignedWidthAndHeight(int width, int height, int format, int usage, int& aligned_w, int& aligned_h) argument 267 getGpuAlignedWidthHeight(int width, int height, int format, int tile_enabled, int& aligned_w, int& aligned_h) argument 811 getUBwcWidthAndHeight(int width, int height, int format, int& aligned_w, int& aligned_h) argument [all...] |
/hardware/qcom/display/msm8996/libgralloc/ |
H A D | alloc_controller.cpp | 161 void AdrenoMemInfo::getAlignedWidthAndHeight(const private_handle_t *hnd, int& aligned_w, argument 174 getAlignedWidthAndHeight(w, h, f, usage, aligned_w, aligned_h); 176 aligned_w = hnd->width; 218 int usage, int& aligned_w, int& aligned_h) 225 getGpuAlignedWidthHeight(width, height, format, tileEnabled, aligned_w, aligned_h); 227 getYuvUBwcWidthHeight(width, height, format, aligned_w, aligned_h); 229 aligned_w = width; 239 aligned_w = ALIGN(width, alignment); 242 aligned_w = ALIGN(width, alignment); 245 aligned_w 217 getAlignedWidthAndHeight(int width, int height, int format, int usage, int& aligned_w, int& aligned_h) argument 324 getGpuAlignedWidthHeight(int width, int height, int format, int tile_enabled, int& aligned_w, int& aligned_h) argument 991 getYuvUBwcWidthHeight(int width, int height, int format, int& aligned_w, int& aligned_h) argument [all...] |
/hardware/qcom/display/msm8998/libgralloc/ |
H A D | alloc_controller.cpp | 150 void AdrenoMemInfo::getAlignedWidthAndHeight(const private_handle_t *hnd, int& aligned_w, argument 163 getAlignedWidthAndHeight(w, h, f, usage, aligned_w, aligned_h); 165 aligned_w = hnd->width; 219 int usage, int& aligned_w, int& aligned_h) 226 getGpuAlignedWidthHeight(width, height, format, tileEnabled, aligned_w, aligned_h); 228 getYuvUBwcWidthHeight(width, height, format, aligned_w, aligned_h); 230 aligned_w = width; 240 aligned_w = ALIGN(width, alignment); 243 aligned_w = ALIGN(width, alignment); 246 aligned_w 218 getAlignedWidthAndHeight(int width, int height, int format, int usage, int& aligned_w, int& aligned_h) argument 327 getGpuAlignedWidthHeight(int width, int height, int format, int tile_enabled, int& aligned_w, int& aligned_h) argument 953 getYuvUBwcWidthHeight(int width, int height, int format, int& aligned_w, int& aligned_h) argument [all...] |
/hardware/qcom/display/msm8998/sdm/libs/hwc/ |
H A D | blit_engine_c2d.cpp | 297 int aligned_w = 0; local 302 INT(HAL_PIXEL_FORMAT_RGBA_8888), 0, aligned_w, aligned_h); 303 layer_buffer.width = aligned_w; 345 int aligned_w = 0; local 356 INT(HAL_PIXEL_FORMAT_RGBA_8888), usage, aligned_w, aligned_h); 358 target_aligned_width = std::max(target_aligned_width, aligned_w);
|
/hardware/qcom/display/msm8084/libcopybit/ |
H A D | copybit_c2d.cpp | 936 // The width parameter in the handle contains the aligned_w. We check if we 964 int aligned_w = ALIGN(w, 32); local 969 size = ALIGN((aligned_w*h), 2048) + 970 ALIGN(aligned_w/2, 32) * (h/2) *2; 976 size = aligned_w * h + 977 ALIGN(aligned_w/2, 32) * (h/2) * 2;
|
/hardware/qcom/display/msm8226/libcopybit/ |
H A D | copybit_c2d.cpp | 942 // The width parameter in the handle contains the aligned_w. We check if we 970 int aligned_w = ALIGN(w, 32); local 975 size = ALIGN((aligned_w*h), 2048) + 976 ALIGN(aligned_w/2, 32) * (h/2) *2; 982 size = aligned_w * h + 983 ALIGN(aligned_w/2, 32) * (h/2) * 2;
|
/hardware/qcom/display/msm8909/libcopybit/ |
H A D | copybit_c2d.cpp | 920 // The width parameter in the handle contains the aligned_w. We check if we 948 int aligned_w = ALIGN(w, 32); local 953 size = ALIGN((aligned_w*h), 2048) + 954 ALIGN(aligned_w/2, 32) * (h/2) *2; 960 size = aligned_w * h + 961 ALIGN(aligned_w/2, 32) * (h/2) * 2;
|
/hardware/qcom/display/msm8960/libcopybit/ |
H A D | copybit_c2d.cpp | 916 // The width parameter in the handle contains the aligned_w. We check if we 944 int aligned_w = ALIGN(w, 32); local 949 size = ALIGN((aligned_w*h), 2048) + 950 ALIGN(aligned_w/2, 32) * (h/2) *2; 956 size = aligned_w * h + 957 ALIGN(aligned_w/2, 32) * (h/2) * 2;
|
/hardware/qcom/display/msm8994/libcopybit/ |
H A D | copybit_c2d.cpp | 945 // The width parameter in the handle contains the aligned_w. We check if we 973 int aligned_w = ALIGN(w, 32); local 978 size = ALIGN((aligned_w*h), 2048) + 979 ALIGN(aligned_w/2, 32) * (h/2) *2; 985 size = aligned_w * h + 986 ALIGN(aligned_w/2, 32) * (h/2) * 2;
|
/hardware/qcom/display/msm8996/libcopybit/ |
H A D | copybit_c2d.cpp | 940 // The width parameter in the handle contains the aligned_w. We check if we 968 int aligned_w = ALIGN(w, 32); local 973 size = ALIGN((aligned_w*h), 2048) + 974 ALIGN(aligned_w/2, 32) * (h/2) *2; 980 size = aligned_w * h + 981 ALIGN(aligned_w/2, 32) * (h/2) * 2;
|
/hardware/qcom/display/msm8998/libcopybit/ |
H A D | copybit_c2d.cpp | 940 // The width parameter in the handle contains the aligned_w. We check if we 968 int aligned_w = ALIGN(w, 32); local 973 size = ALIGN((aligned_w*h), 2048) + 974 ALIGN(aligned_w/2, 32) * (h/2) *2; 980 size = aligned_w * h + 981 ALIGN(aligned_w/2, 32) * (h/2) * 2;
|