Home
last modified time | relevance | path

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

12

/hardware/qcom/display/msm8998/libgralloc1/
Dgr_adreno_info.h80 unsigned int *aligned_w, unsigned int *aligned_h, bool ubwc_enabled,
90 unsigned int *aligned_w, unsigned int *aligned_h);
98 void AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w,
126 int padding_threshold, int *aligned_w,
130 int *aligned_w, int *aligned_h, int *bpp) = NULL;
Dgr_adreno_info.cpp86 unsigned int *aligned_w, unsigned int *aligned_h) { in AlignUnCompressedRGB() argument
87 *aligned_w = (unsigned int)ALIGN(width, 32); in AlignUnCompressedRGB()
118 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h)); in AlignUnCompressedRGB()
121 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB()
132 void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, in AlignCompressedRGB() argument
142 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); in AlignCompressedRGB()
Dgr_allocator.cpp602 void Allocator::GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w, in GetYuvUBwcWidthAndHeight() argument
608 *aligned_w = VENUS_Y_STRIDE(COLOR_FMT_NV12_UBWC, width); in GetYuvUBwcWidthAndHeight()
613 *aligned_w = (VENUS_Y_STRIDE(COLOR_FMT_NV12_BPP10_UBWC, width) * 3) / 4; in GetYuvUBwcWidthAndHeight()
618 *aligned_w = 0; in GetYuvUBwcWidthAndHeight()
760 int aligned_w = width; in GetAlignedWidthAndHeight() local
769 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
772 aligned_w = ALIGN(width, alignment); in GetAlignedWidthAndHeight()
775 aligned_w = ALIGN(width, 16); in GetAlignedWidthAndHeight()
778 aligned_w = ALIGN(width * 10 / 8, 8); in GetAlignedWidthAndHeight()
781 aligned_w = ALIGN(width, 128); in GetAlignedWidthAndHeight()
[all …]
Dgr_allocator.h69 void GetAlignedWidthAndHeight(const BufferDescriptor &d, unsigned int *aligned_w,
80 void GetYuvUBwcWidthAndHeight(int width, int height, int format, unsigned int *aligned_w,
Dgr_buf_mgr.h77 int AllocateBuffer(unsigned int size, int aligned_w, int aligned_h, int unaligned_w,
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_adreno_info.cpp86 unsigned int *aligned_w, unsigned int *aligned_h) { in AlignUnCompressedRGB() argument
87 *aligned_w = (unsigned int)ALIGN(width, 32); in AlignUnCompressedRGB()
118 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h)); in AlignUnCompressedRGB()
121 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB()
132 void AdrenoMemInfo::AlignCompressedRGB(int width, int height, int format, unsigned int *aligned_w, in AlignCompressedRGB() argument
142 reinterpret_cast<int *>(aligned_w), reinterpret_cast<int *>(aligned_h), &bytesPerPixel); 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.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/msm8994/libgralloc/
Dalloc_controller.cpp167 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 …]
Dgr.h122 int usage, int& aligned_w, int& aligned_h);
169 int *aligned_w,
181 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/msm8998/libgralloc/
Dalloc_controller.cpp150 void AdrenoMemInfo::getAlignedWidthAndHeight(const private_handle_t *hnd, int& aligned_w, in getAlignedWidthAndHeight() argument
163 getAlignedWidthAndHeight(w, h, f, usage, aligned_w, aligned_h); in getAlignedWidthAndHeight()
165 aligned_w = hnd->width; in getAlignedWidthAndHeight()
219 int usage, int& aligned_w, int& aligned_h) in getAlignedWidthAndHeight() argument
226 getGpuAlignedWidthHeight(width, height, format, tileEnabled, aligned_w, aligned_h); in getAlignedWidthAndHeight()
228 getYuvUBwcWidthHeight(width, height, format, aligned_w, aligned_h); in getAlignedWidthAndHeight()
230 aligned_w = width; in getAlignedWidthAndHeight()
240 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight()
243 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight()
246 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight()
[all …]
Dgr.h115 int usage, int& aligned_w, int& aligned_h);
123 void getAlignedWidthAndHeight(const private_handle_t *hnd, int& aligned_w, int& aligned_h);
172 int *aligned_w,
182 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/msm8909/libgralloc/
Dalloc_controller.cpp138 int tile_enabled, int& aligned_w, int& aligned_h) in getAlignedWidthAndHeight() argument
140 aligned_w = width; in getAlignedWidthAndHeight()
144 aligned_w = ALIGN(width, 32); in getAlignedWidthAndHeight()
175 &aligned_w, &aligned_h); in getAlignedWidthAndHeight()
179 aligned_w = LINK_adreno_compute_padding(width, bpp, in getAlignedWidthAndHeight()
198 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight()
201 aligned_w = ALIGN(width, alignment); in getAlignedWidthAndHeight()
204 aligned_w = ALIGN(width, 128); in getAlignedWidthAndHeight()
211 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight()
215 aligned_w = VENUS_Y_STRIDE(COLOR_FMT_NV12, width); 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,
/hardware/qcom/display/msm8998/sdm/libs/hwc/
Dblit_engine_c2d.cpp297 int aligned_w = 0; in Prepare() local
302 INT(HAL_PIXEL_FORMAT_RGBA_8888), 0, aligned_w, aligned_h); in Prepare()
303 layer_buffer.width = aligned_w; in Prepare()
345 int aligned_w = 0; in PreCommit() local
356 INT(HAL_PIXEL_FORMAT_RGBA_8888), usage, aligned_w, aligned_h); in PreCommit()
358 target_aligned_width = std::max(target_aligned_width, aligned_w); in PreCommit()
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit_c2d.cpp944 int aligned_w = ALIGN(w, 32); in get_size() local
949 size = ALIGN((aligned_w*h), 2048) + in get_size()
950 ALIGN(aligned_w/2, 32) * (h/2) *2; in get_size()
956 size = aligned_w * h + in get_size()
957 ALIGN(aligned_w/2, 32) * (h/2) * 2; in get_size()
/hardware/qcom/display/msm8996/libcopybit/
Dcopybit_c2d.cpp968 int aligned_w = ALIGN(w, 32); in get_size() local
973 size = ALIGN((aligned_w*h), 2048) + in get_size()
974 ALIGN(aligned_w/2, 32) * (h/2) *2; in get_size()
980 size = aligned_w * h + in get_size()
981 ALIGN(aligned_w/2, 32) * (h/2) * 2; in get_size()
/hardware/qcom/display/msm8998/libcopybit/
Dcopybit_c2d.cpp968 int aligned_w = ALIGN(w, 32); in get_size() local
973 size = ALIGN((aligned_w*h), 2048) + in get_size()
974 ALIGN(aligned_w/2, 32) * (h/2) *2; in get_size()
980 size = aligned_w * h + in get_size()
981 ALIGN(aligned_w/2, 32) * (h/2) * 2; in get_size()

12