Home
last modified time | relevance | path

Searched refs:aligned_w (Results 1 – 25 of 34) sorted by relevance

12

/hardware/qcom/display/msm8998/libgralloc1/
Dgr_adreno_info.cpp87 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()
Dgr_adreno_info.h85 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;
Dgr_allocator.cpp635 void Allocator::GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, in GetYuvUBwcWidthAndHeight() argument
641 *aligned_w = VENUS_Y_STRIDE(COLOR_FMT_NV12_UBWC, width); in GetYuvUBwcWidthAndHeight()
646 *aligned_w = (VENUS_Y_STRIDE(COLOR_FMT_NV12_BPP10_UBWC, width) * 3) / 4; in GetYuvUBwcWidthAndHeight()
651 *aligned_w = 0; in GetYuvUBwcWidthAndHeight()
795 int aligned_w = width; in GetAlignedWidthAndHeight() local
804 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
807 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
810 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight()
813 aligned_w = ALIGN(width * 12 / 8, 8); in GetAlignedWidthAndHeight()
816 aligned_w = ALIGN(width * 10 / 8, 8); in GetAlignedWidthAndHeight()
[all …]
Dgr_allocator.h70 void GetAlignedWidthAndHeight(const BufferDescriptor &d, unsigned int *aligned_w,
81 void GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w,
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_adreno_info.h85 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;
Dgr_adreno_info.cpp88 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()
Dgr_allocator.cpp633 void Allocator::GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, in GetYuvUBwcWidthAndHeight() argument
639 *aligned_w = VENUS_Y_STRIDE(COLOR_FMT_NV12_UBWC, width); in GetYuvUBwcWidthAndHeight()
644 *aligned_w = (VENUS_Y_STRIDE(COLOR_FMT_NV12_BPP10_UBWC, width) * 3) / 4; in GetYuvUBwcWidthAndHeight()
649 *aligned_w = 0; in GetYuvUBwcWidthAndHeight()
793 int aligned_w = width; in GetAlignedWidthAndHeight() local
802 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
805 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
808 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight()
811 aligned_w = ALIGN(width * 12 / 8, 8); in GetAlignedWidthAndHeight()
814 aligned_w = ALIGN(width * 10 / 8, 8); in GetAlignedWidthAndHeight()
[all …]
Dgr_allocator.h70 void GetAlignedWidthAndHeight(const BufferDescriptor &d, unsigned int *aligned_w,
81 void GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w,
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_adreno_info.h81 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;
Dgr_adreno_info.cpp96 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()
Dgr_utils.cpp530 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/msm8909/gralloc/
Dgr_adreno_info.h81 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;
Dgr_adreno_info.cpp96 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()
Dgr_utils.cpp530 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 …]
Dgr_utils.h72 void GetAlignedWidthAndHeight(const BufferInfo &d, unsigned int *aligned_w,
80 void GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w,
/hardware/qcom/display/msm8909/libgralloc/
Dalloc_controller.cpp154 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 …]
Dgr.h118 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/msm8909w_3100/libgralloc/
Dalloc_controller.cpp154 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 …]
Dgr.h118 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/msm8996/libgralloc/
Dalloc_controller.cpp161 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 …]
Dgr.h123 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/
Dalloc_controller.cpp130 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 …]
Dgr.h141 int *aligned_w,
153 int *aligned_w,
/hardware/qcom/display/msm8226/libgralloc/
Dalloc_controller.cpp130 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 …]
Dgr.h141 int *aligned_w,
153 int *aligned_w,

12