Home
last modified time | relevance | path

Searched refs:width (Results 1 – 25 of 983) sorted by relevance

12345678910>>...40

/hardware/qcom/msm8994/original-kernel-headers/media/
Dmsm_media_info.h319 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument
322 (void)width; in VENUS_EXTRADATA_SIZE()
331 static inline unsigned int VENUS_Y_STRIDE(int color_fmt, int width) in VENUS_Y_STRIDE() argument
334 if (!width) in VENUS_Y_STRIDE()
343 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
347 stride = MSM_MEDIA_ALIGN(width * 4/3, alignment); in VENUS_Y_STRIDE()
356 static inline unsigned int VENUS_UV_STRIDE(int color_fmt, int width) in VENUS_UV_STRIDE() argument
359 if (!width) in VENUS_UV_STRIDE()
368 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
372 stride = MSM_MEDIA_ALIGN(width * 4/3, alignment); in VENUS_UV_STRIDE()
[all …]
/hardware/qcom/msm8994/kernel-headers/media/
Dmsm_media_info.h319 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument
322 (void)width; in VENUS_EXTRADATA_SIZE()
331 static inline unsigned int VENUS_Y_STRIDE(int color_fmt, int width) in VENUS_Y_STRIDE() argument
334 if (!width) in VENUS_Y_STRIDE()
343 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
347 stride = MSM_MEDIA_ALIGN(width * 4/3, alignment); in VENUS_Y_STRIDE()
356 static inline unsigned int VENUS_UV_STRIDE(int color_fmt, int width) in VENUS_UV_STRIDE() argument
359 if (!width) in VENUS_UV_STRIDE()
368 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
372 stride = MSM_MEDIA_ALIGN(width * 4/3, alignment); in VENUS_UV_STRIDE()
[all …]
/hardware/qcom/msm8996/kernel-headers/media/
Dmsm_media_info.h404 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument
407 (void)width; in VENUS_EXTRADATA_SIZE()
416 static inline unsigned int VENUS_Y_STRIDE(int color_fmt, int width) in VENUS_Y_STRIDE() argument
419 if (!width) in VENUS_Y_STRIDE()
428 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
432 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE()
442 static inline unsigned int VENUS_UV_STRIDE(int color_fmt, int width) in VENUS_UV_STRIDE() argument
445 if (!width) in VENUS_UV_STRIDE()
454 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
458 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_UV_STRIDE()
[all …]
/hardware/qcom/msm8x09/original-kernel-headers/media/
Dmsm_media_info.h404 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument
407 (void)width; in VENUS_EXTRADATA_SIZE()
416 static inline unsigned int VENUS_Y_STRIDE(int color_fmt, int width) in VENUS_Y_STRIDE() argument
419 if (!width) in VENUS_Y_STRIDE()
428 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
432 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE()
442 static inline unsigned int VENUS_UV_STRIDE(int color_fmt, int width) in VENUS_UV_STRIDE() argument
445 if (!width) in VENUS_UV_STRIDE()
454 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
458 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_UV_STRIDE()
[all …]
/hardware/qcom/msm8996/original-kernel-headers/media/
Dmsm_media_info.h404 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument
407 (void)width; in VENUS_EXTRADATA_SIZE()
416 static inline unsigned int VENUS_Y_STRIDE(int color_fmt, int width) in VENUS_Y_STRIDE() argument
419 if (!width) in VENUS_Y_STRIDE()
428 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
432 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE()
442 static inline unsigned int VENUS_UV_STRIDE(int color_fmt, int width) in VENUS_UV_STRIDE() argument
445 if (!width) in VENUS_UV_STRIDE()
454 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
458 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_UV_STRIDE()
[all …]
/hardware/qcom/msm8x09/kernel-headers/media/
Dmsm_media_info.h404 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument
407 (void)width; in VENUS_EXTRADATA_SIZE()
416 static inline unsigned int VENUS_Y_STRIDE(int color_fmt, int width) in VENUS_Y_STRIDE() argument
419 if (!width) in VENUS_Y_STRIDE()
428 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
432 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE()
442 static inline unsigned int VENUS_UV_STRIDE(int color_fmt, int width) in VENUS_UV_STRIDE() argument
445 if (!width) in VENUS_UV_STRIDE()
454 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
458 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_UV_STRIDE()
[all …]
/hardware/qcom/msm8998/kernel-headers/media/
Dmsm_media_info.h593 static __inline__ unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument
596 (void)width; in VENUS_EXTRADATA_SIZE()
605 static __inline__ unsigned int VENUS_Y_STRIDE(int color_fmt, int width) in VENUS_Y_STRIDE() argument
609 if (!width) in VENUS_Y_STRIDE()
618 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
622 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE()
627 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE()
636 static __inline__ unsigned int VENUS_UV_STRIDE(int color_fmt, int width) in VENUS_UV_STRIDE() argument
640 if (!width) in VENUS_UV_STRIDE()
649 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
[all …]
/hardware/qcom/msm8998/original-kernel-headers/media/
Dmsm_media_info.h593 static __inline__ unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument
596 (void)width; in VENUS_EXTRADATA_SIZE()
605 static __inline__ unsigned int VENUS_Y_STRIDE(int color_fmt, int width) in VENUS_Y_STRIDE() argument
609 if (!width) in VENUS_Y_STRIDE()
618 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
622 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE()
627 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE()
636 static __inline__ unsigned int VENUS_UV_STRIDE(int color_fmt, int width) in VENUS_UV_STRIDE() argument
640 if (!width) in VENUS_UV_STRIDE()
649 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
[all …]
/hardware/qcom/msm8x84/kernel-headers/media/
Dmsm_media_info.h140 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument
143 (void)width; in VENUS_EXTRADATA_SIZE()
152 static inline unsigned int VENUS_Y_STRIDE(int color_fmt, int width) in VENUS_Y_STRIDE() argument
155 if (!width) in VENUS_Y_STRIDE()
163 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
172 static inline unsigned int VENUS_UV_STRIDE(int color_fmt, int width) in VENUS_UV_STRIDE() argument
175 if (!width) in VENUS_UV_STRIDE()
183 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
233 int color_fmt, int width, int height) in VENUS_BUFFER_SIZE() argument
235 const unsigned int extra_size = VENUS_EXTRADATA_SIZE(width, height); in VENUS_BUFFER_SIZE()
[all …]
/hardware/qcom/msm8x84/original-kernel-headers/media/
Dmsm_media_info.h140 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) in VENUS_EXTRADATA_SIZE() argument
143 (void)width; in VENUS_EXTRADATA_SIZE()
152 static inline unsigned int VENUS_Y_STRIDE(int color_fmt, int width) in VENUS_Y_STRIDE() argument
155 if (!width) in VENUS_Y_STRIDE()
163 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE()
172 static inline unsigned int VENUS_UV_STRIDE(int color_fmt, int width) in VENUS_UV_STRIDE() argument
175 if (!width) in VENUS_UV_STRIDE()
183 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE()
233 int color_fmt, int width, int height) in VENUS_BUFFER_SIZE() argument
235 const unsigned int extra_size = VENUS_EXTRADATA_SIZE(width, height); in VENUS_BUFFER_SIZE()
[all …]
/hardware/qcom/display/msm8909/gralloc/
Dgr_utils.cpp181 int width = info.width; in GetSize() local
187 return GetUBwcSize(width, height, format, alignedw, alignedh); in GetSize()
219 size += (unsigned int)ALIGN(2 * ALIGN(width / 2, 32) * ALIGN(height / 2, 32), SIZE_4K); in GetSize()
229 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width & 1) || (height & 1))) { in GetSize()
248 if (width & 1) { in GetSize()
256 size = VENUS_BUFFER_SIZE(COLOR_FMT_NV12, width, height); in GetSize()
259 size = VENUS_BUFFER_SIZE(COLOR_FMT_NV21, width, height); in GetSize()
267 size = (unsigned int)width; in GetSize()
286 void GetYuvUbwcSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, in GetYuvUbwcSPPlaneInfo() argument
295 y_meta_stride = VENUS_Y_META_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
[all …]
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_utils.cpp181 int width = info.width; in GetSize() local
187 return GetUBwcSize(width, height, format, alignedw, alignedh); in GetSize()
219 size += (unsigned int)ALIGN(2 * ALIGN(width / 2, 32) * ALIGN(height / 2, 32), SIZE_4K); in GetSize()
229 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width & 1) || (height & 1))) { in GetSize()
248 if (width & 1) { in GetSize()
256 size = VENUS_BUFFER_SIZE(COLOR_FMT_NV12, width, height); in GetSize()
259 size = VENUS_BUFFER_SIZE(COLOR_FMT_NV21, width, height); in GetSize()
267 size = (unsigned int)width; in GetSize()
286 void GetYuvUbwcSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, in GetYuvUbwcSPPlaneInfo() argument
295 y_meta_stride = VENUS_Y_META_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
[all …]
/hardware/qcom/sdm845/display/gralloc/
Dgr_utils.cpp240 int width = info.width; in GetSize() local
250 size = GetUBwcSize(width, height, format, alignedw, alignedh); in GetSize()
272 size += (unsigned int) ALIGN(2 * ALIGN(width / 2, 32) * ALIGN(height / 2, 32), SIZE_4K); in GetSize()
282 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width & 1) || (height & 1))) { in GetSize()
298 width, in GetSize()
306 if (width & 1) { in GetSize()
314 size = VENUS_BUFFER_SIZE(COLOR_FMT_NV12, width, height); in GetSize()
318 size = VENUS_BUFFER_SIZE(COLOR_FMT_NV21, width, height); in GetSize()
326 size = (unsigned int) width; in GetSize()
358 void GetYuvUbwcSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, int color_format, in GetYuvUbwcSPPlaneInfo() argument
[all …]
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dalloc_controller.cpp169 aligned_w = hnd->width; in getAlignedWidthAndHeight()
222 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, 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()
255 aligned_w = ALIGN(width * 12 / 8, 8); in getAlignedWidthAndHeight()
258 aligned_w = ALIGN(width * 10 / 8, 8); in getAlignedWidthAndHeight()
[all …]
/hardware/qcom/display/msm8909/libgralloc/
Dalloc_controller.cpp169 aligned_w = hnd->width; in getAlignedWidthAndHeight()
222 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, 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()
255 aligned_w = ALIGN(width * 12 / 8, 8); in getAlignedWidthAndHeight()
258 aligned_w = ALIGN(width * 10 / 8, 8); in getAlignedWidthAndHeight()
[all …]
/hardware/qcom/display/msm8909/libcopybit/
Dsoftware_converter.cpp52 unsigned int width = src->w - src->horiz_padding; in convertYV12toYCrCb420SP() local
57 unsigned int chromaPadding = c_width - width/2; in convertYV12toYCrCb420SP()
100 if(j == width) { in convertYV12toYCrCb420SP()
105 if (j+1 == width) { in convertYV12toYCrCb420SP()
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
116 if (i == width/2 ) { in convertYV12toYCrCb420SP()
127 int width; member
[all …]
/hardware/qcom/display/msm8084/libcopybit/
Dsoftware_converter.cpp52 unsigned int width = src->w - src->horiz_padding; in convertYV12toYCrCb420SP() local
57 unsigned int chromaPadding = c_width - width/2; in convertYV12toYCrCb420SP()
100 if(j == width) { in convertYV12toYCrCb420SP()
105 if (j+1 == width) { in convertYV12toYCrCb420SP()
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
116 if (i == width/2 ) { in convertYV12toYCrCb420SP()
127 int width; member
[all …]
/hardware/qcom/display/msm8226/libcopybit/
Dsoftware_converter.cpp52 unsigned int width = src->w - src->horiz_padding; in convertYV12toYCrCb420SP() local
57 unsigned int chromaPadding = c_width - width/2; in convertYV12toYCrCb420SP()
100 if(j == width) { in convertYV12toYCrCb420SP()
105 if (j+1 == width) { in convertYV12toYCrCb420SP()
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
116 if (i == width/2 ) { in convertYV12toYCrCb420SP()
127 int width; member
[all …]
/hardware/qcom/display/msm8996/libcopybit/
Dsoftware_converter.cpp52 unsigned int width = src->w - src->horiz_padding; in convertYV12toYCrCb420SP() local
57 unsigned int chromaPadding = c_width - width/2; in convertYV12toYCrCb420SP()
100 if(j == width) { in convertYV12toYCrCb420SP()
105 if (j+1 == width) { in convertYV12toYCrCb420SP()
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
116 if (i == width/2 ) { in convertYV12toYCrCb420SP()
127 int width; member
[all …]
/hardware/qcom/display/msm8994/libcopybit/
Dsoftware_converter.cpp53 unsigned int width = src->w - src->horiz_padding; in convertYV12toYCrCb420SP() local
58 unsigned int chromaPadding = c_width - width/2; in convertYV12toYCrCb420SP()
101 if(j == width) { in convertYV12toYCrCb420SP()
106 if (j+1 == width) { in convertYV12toYCrCb420SP()
107 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
109 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
112 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
113 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
117 if (i == width/2 ) { in convertYV12toYCrCb420SP()
128 int width; member
[all …]
/hardware/qcom/display/msm8960/libcopybit/
Dsoftware_converter.cpp52 unsigned int width = src->w - src->horiz_padding; in convertYV12toYCrCb420SP() local
57 unsigned int chromaPadding = c_width - width/2; in convertYV12toYCrCb420SP()
100 if(j == width) { in convertYV12toYCrCb420SP()
105 if (j+1 == width) { in convertYV12toYCrCb420SP()
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
116 if (i == width/2 ) { in convertYV12toYCrCb420SP()
127 int width; member
[all …]
/hardware/qcom/sm8150/display/libcopybit/
Dsoftware_converter.cpp52 unsigned int width = src->w - src->horiz_padding; in convertYV12toYCrCb420SP() local
57 unsigned int chromaPadding = c_width - width/2; in convertYV12toYCrCb420SP()
100 if(j == width) { in convertYV12toYCrCb420SP()
105 if (j+1 == width) { in convertYV12toYCrCb420SP()
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
116 if (i == width/2 ) { in convertYV12toYCrCb420SP()
127 int width; member
[all …]
/hardware/qcom/display/msm8998/libcopybit/
Dsoftware_converter.cpp54 unsigned int width = src->w - src->horiz_padding; in convertYV12toYCrCb420SP() local
59 unsigned int chromaPadding = c_width - width/2; in convertYV12toYCrCb420SP()
102 if(j == width) { in convertYV12toYCrCb420SP()
107 if (j+1 == width) { in convertYV12toYCrCb420SP()
108 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
110 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
113 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
114 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
118 if (i == width/2 ) { in convertYV12toYCrCb420SP()
129 int width; member
[all …]
/hardware/qcom/sdm845/display/libcopybit/
Dsoftware_converter.cpp52 unsigned int width = src->w - src->horiz_padding; in convertYV12toYCrCb420SP() local
57 unsigned int chromaPadding = c_width - width/2; in convertYV12toYCrCb420SP()
100 if(j == width) { in convertYV12toYCrCb420SP()
105 if (j+1 == width) { in convertYV12toYCrCb420SP()
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP()
112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
116 if (i == width/2 ) { in convertYV12toYCrCb420SP()
127 int width; member
[all …]
/hardware/qcom/display/msm8996/libgralloc/
Dalloc_controller.cpp176 aligned_w = hnd->width; in getAlignedWidthAndHeight()
217 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, 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()
248 aligned_w = ALIGN(width * 10 / 8, 8); in getAlignedWidthAndHeight()
251 aligned_w = ALIGN(width, 128); in getAlignedWidthAndHeight()
[all …]

12345678910>>...40