/hardware/qcom/display/msm8960/libgralloc/ |
D | alloc_controller.cpp | 107 int stride = ALIGN(width, 32); in getStride() 135 stride = ALIGN(width, 32); in getStride() 138 stride = ALIGN(width, 128); in getStride() 148 stride = ALIGN(width, 16); in getStride() 262 alignedh = ALIGN(height, 32); in getBufferSizeAndDimensions() 279 size = ALIGN(alignedw*alignedh, 4096); in getBufferSizeAndDimensions() 280 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); in getBufferSizeAndDimensions() 286 alignedw = ALIGN(alignedw, 128); in getBufferSizeAndDimensions() 287 size = ALIGN( alignedw * alignedh, 8192); in getBufferSizeAndDimensions() 288 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); in getBufferSizeAndDimensions() [all …]
|
/hardware/qcom/media/msm8974/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 43 #define ALIGN( num, to ) (((num) + (to-1)) & (~(to-1))) macro 401 return ALIGN(width, ALIGN32) * 2; // RGB565 has width as twice in calcStride() 406 return ALIGN(width, ALIGN32) * 4; in calcStride() 408 return ALIGN(width, ALIGN128); in calcStride() 410 return ALIGN(width, ALIGN16); in calcStride() 412 return ALIGN(width, ALIGN16); in calcStride() 414 return ALIGN(width, ALIGN128); in calcStride() 418 return ALIGN(width, ALIGN16); in calcStride() 428 return (ALIGN(width, ALIGN16) * height); in calcYSize() 432 return ALIGN(width, ALIGN16) * height; in calcYSize() [all …]
|
/hardware/qcom/media/msm8996/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 44 #define ALIGN( num, to ) (((num) + (to-1)) & (~(to-1))) macro 435 return ALIGN(width, ALIGN32) * 2; // RGB565 has width as twice in calcStride() 440 return ALIGN(width, ALIGN32) * 4; in calcStride() 442 return ALIGN(width, ALIGN128); in calcStride() 444 return ALIGN(width, ALIGN16); in calcStride() 446 return ALIGN(width, ALIGN16); in calcStride() 448 return ALIGN(width, ALIGN128); in calcStride() 450 return ALIGN(width, ALIGN16); in calcStride() 452 return ALIGN(width, ALIGN16); in calcStride() 464 return (ALIGN(width, ALIGN16) * height); in calcYSize() [all …]
|
/hardware/qcom/media/msm8998/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 44 #define ALIGN( num, to ) (((num) + (to-1)) & (~(to-1))) macro 441 return ALIGN(width, ALIGN32) * 2; // RGB565 has width as twice in calcStride() 446 return ALIGN(width, ALIGN32) * 4; in calcStride() 448 return ALIGN(width, ALIGN128); in calcStride() 450 return ALIGN(width, ALIGN16); in calcStride() 452 return ALIGN(width, ALIGN16); in calcStride() 454 return ALIGN(width, ALIGN128); in calcStride() 456 return ALIGN(width, ALIGN16); in calcStride() 458 return ALIGN(width, ALIGN16); in calcStride() 470 return (ALIGN(width, ALIGN16) * height); in calcYSize() [all …]
|
/hardware/qcom/sdm845/media/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 495 return ALIGN(width, ALIGN32) * 2; // RGB565 has width as twice in calcStride() 500 return ALIGN(width, ALIGN32) * 4; in calcStride() 502 return ALIGN(width, ALIGN128); in calcStride() 504 return ALIGN(width, ALIGN16); in calcStride() 506 return ALIGN(width, ALIGN16); in calcStride() 508 return ALIGN(width, ALIGN128); in calcStride() 510 return ALIGN(width, ALIGN16); in calcStride() 512 return ALIGN(width, ALIGN16); in calcStride() 527 return (ALIGN(width, ALIGN16) * height); in calcYSize() 529 return ALIGN(width, ALIGN16) * height; in calcYSize() [all …]
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | alloc_controller.cpp | 136 aligned_w = ALIGN(width, 32); in getAlignedWidthAndHeight() 137 aligned_h = ALIGN(height, 32); 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() 214 aligned_w = ALIGN(width, 64); in getAlignedWidthAndHeight() 215 aligned_h = ALIGN(height, 64); in getAlignedWidthAndHeight() 416 size = ALIGN(alignedw * alignedh, 4096); in getSize() [all …]
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_utils.cpp | 209 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 218 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 219 size += (unsigned int)ALIGN(2 * ALIGN(width / 2, 32) * ALIGN(height / 2, 32), SIZE_4K); in GetSize() 225 size = ALIGN(alignedw * alignedh, SIZE_8K); in GetSize() 226 size += ALIGN(alignedw * (unsigned int)ALIGN(height / 2, 32), SIZE_8K); in GetSize() 233 size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2; in GetSize() 234 size = ALIGN(size, (unsigned int)SIZE_4K); in GetSize() 238 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2 + 1, SIZE_4K); in GetSize() 241 size = ALIGN((alignedw * alignedh * 2) + (alignedw * alignedh) + 1, SIZE_4K); in GetSize() 252 size = ALIGN(alignedw * alignedh * 2, SIZE_4K); in GetSize() [all …]
|
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_utils.cpp | 209 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 218 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 219 size += (unsigned int)ALIGN(2 * ALIGN(width / 2, 32) * ALIGN(height / 2, 32), SIZE_4K); in GetSize() 225 size = ALIGN(alignedw * alignedh, SIZE_8K); in GetSize() 226 size += ALIGN(alignedw * (unsigned int)ALIGN(height / 2, 32), SIZE_8K); in GetSize() 233 size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2; in GetSize() 234 size = ALIGN(size, (unsigned int)SIZE_4K); in GetSize() 238 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2 + 1, SIZE_4K); in GetSize() 241 size = ALIGN((alignedw * alignedh * 2) + (alignedw * alignedh) + 1, SIZE_4K); in GetSize() 252 size = ALIGN(alignedw * alignedh * 2, SIZE_4K); in GetSize() [all …]
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_allocator.cpp | 241 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 250 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 251 size += (unsigned int)ALIGN(2 * ALIGN(width / 2, 32) * ALIGN(height / 2, 32), SIZE_4K); in GetSize() 257 size = ALIGN(alignedw * alignedh, SIZE_8K); in GetSize() 258 size += ALIGN(alignedw * (unsigned int)ALIGN(height / 2, 32), SIZE_8K); in GetSize() 265 size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2; in GetSize() 266 size = ALIGN(size, (unsigned int)SIZE_4K); in GetSize() 270 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2 + 1, SIZE_4K); in GetSize() 273 size = ALIGN((alignedw * alignedh * 2) + (alignedw * alignedh) + 1, SIZE_4K); in GetSize() 283 size = ALIGN(alignedw * alignedh * 2, SIZE_4K); in GetSize() [all …]
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_allocator.cpp | 242 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 251 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 252 size += (unsigned int)ALIGN(2 * ALIGN(width / 2, 32) * ALIGN(height / 2, 32), SIZE_4K); in GetSize() 258 size = ALIGN(alignedw * alignedh, SIZE_8K); in GetSize() 259 size += ALIGN(alignedw * (unsigned int)ALIGN(height / 2, 32), SIZE_8K); in GetSize() 266 size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2; in GetSize() 267 size = ALIGN(size, (unsigned int)SIZE_4K); in GetSize() 271 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2 + 1, SIZE_4K); in GetSize() 274 size = ALIGN((alignedw * alignedh * 2) + (alignedw * alignedh) + 1, SIZE_4K); in GetSize() 284 size = ALIGN(alignedw * alignedh * 2, SIZE_4K); in GetSize() [all …]
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | alloc_controller.cpp | 136 aligned_w = ALIGN(width, 32); in getAlignedWidthAndHeight() 137 aligned_h = ALIGN(height, 32); 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() 208 aligned_w = ALIGN(width, 64); in getAlignedWidthAndHeight() 209 aligned_h = ALIGN(height, 64); in getAlignedWidthAndHeight() 417 size = ALIGN(alignedw*alignedh, 4096); in getSize() 418 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); in getSize() 424 size = ALIGN( alignedw * alignedh, 8192); in getSize() [all …]
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | alloc_controller.cpp | 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() 217 aligned_w = ALIGN(width, 64); in getAlignedWidthAndHeight() 218 aligned_h = ALIGN(height, 64); in getAlignedWidthAndHeight() 270 aligned_w = ALIGN(width, 32); in getGpuAlignedWidthHeight() 271 aligned_h = ALIGN(height, 32); in getGpuAlignedWidthHeight() 514 size = ALIGN(alignedw * alignedh, 4096); in getSize() [all …]
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | alloc_controller.cpp | 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() 261 aligned_w = ALIGN(width, 8); in getAlignedWidthAndHeight() 264 aligned_w = ALIGN(width, 128); in getAlignedWidthAndHeight() 273 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() 288 aligned_w = ALIGN(width, 64); in getAlignedWidthAndHeight() 289 aligned_h = ALIGN(height, 64); in getAlignedWidthAndHeight() [all …]
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | alloc_controller.cpp | 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() 261 aligned_w = ALIGN(width, 8); in getAlignedWidthAndHeight() 264 aligned_w = ALIGN(width, 128); in getAlignedWidthAndHeight() 273 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() 288 aligned_w = ALIGN(width, 64); in getAlignedWidthAndHeight() 289 aligned_h = ALIGN(height, 64); in getAlignedWidthAndHeight() [all …]
|
/hardware/qcom/sdm845/display/gralloc/ |
D | gr_utils.cpp | 263 case HAL_PIXEL_FORMAT_RAW12:size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 271 size = ALIGN(alignedw * alignedh, SIZE_4K); in GetSize() 272 size += (unsigned int) ALIGN(2 * ALIGN(width / 2, 32) * ALIGN(height / 2, 32), SIZE_4K); in GetSize() 278 size = ALIGN(alignedw * alignedh, SIZE_8K); in GetSize() 279 size += ALIGN(alignedw * (unsigned int) ALIGN(height / 2, 32), SIZE_8K); in GetSize() 286 size = alignedw * alignedh + (ALIGN(alignedw / 2, 16) * (alignedh / 2)) * 2; in GetSize() 287 size = ALIGN(size, (unsigned int) SIZE_4K); in GetSize() 291 size = ALIGN((alignedw * alignedh) + (alignedw * alignedh) / 2 + 1, SIZE_4K); in GetSize() 294 size = ALIGN((alignedw * alignedh * 2) + (alignedw * alignedh) + 1, SIZE_4K); in GetSize() 310 size = ALIGN(alignedw * alignedh * 2, SIZE_4K); in GetSize() [all …]
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | alloc_controller.cpp | 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() 258 aligned_w = ALIGN(width, 16); in getAlignedWidthAndHeight() 273 aligned_w = ALIGN(width, 64); in getAlignedWidthAndHeight() 274 aligned_h = ALIGN(height, 64); in getAlignedWidthAndHeight() 327 aligned_w = ALIGN(width, 32); in getGpuAlignedWidthHeight() 328 aligned_h = ALIGN(height, 32); in getGpuAlignedWidthHeight() [all …]
|
/hardware/qcom/display/msm8909w_3100/libcopybit/ |
D | software_converter.cpp | 55 unsigned int c_width = ALIGN(stride/2, (unsigned int)16); in convertYV12toYCrCb420SP() 197 info.src_stride = ALIGN(info.width, 32); in convert_yuv_c2d_to_yuv_android() 198 info.dst_stride = ALIGN(info.width, 16); in convert_yuv_c2d_to_yuv_android() 207 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 208 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 242 info.src_stride = ALIGN(hnd->width, 16); in convert_yuv_android_to_yuv_c2d() 243 info.dst_stride = ALIGN(info.width, 32); in convert_yuv_android_to_yuv_c2d() 252 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d() 253 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d()
|
/hardware/qcom/display/msm8909/libcopybit/ |
D | software_converter.cpp | 55 unsigned int c_width = ALIGN(stride/2, (unsigned int)16); in convertYV12toYCrCb420SP() 197 info.src_stride = ALIGN(info.width, 32); in convert_yuv_c2d_to_yuv_android() 198 info.dst_stride = ALIGN(info.width, 16); in convert_yuv_c2d_to_yuv_android() 207 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 208 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 242 info.src_stride = ALIGN(hnd->width, 16); in convert_yuv_android_to_yuv_c2d() 243 info.dst_stride = ALIGN(info.width, 32); in convert_yuv_android_to_yuv_c2d() 252 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d() 253 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d()
|
/hardware/qcom/display/msm8226/libcopybit/ |
D | software_converter.cpp | 55 unsigned int c_width = ALIGN(stride/2, (unsigned int)16); in convertYV12toYCrCb420SP() 197 info.src_stride = ALIGN(info.width, 32); in convert_yuv_c2d_to_yuv_android() 198 info.dst_stride = ALIGN(info.width, 16); in convert_yuv_c2d_to_yuv_android() 207 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 208 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 242 info.src_stride = ALIGN(hnd->width, 16); in convert_yuv_android_to_yuv_c2d() 243 info.dst_stride = ALIGN(info.width, 32); in convert_yuv_android_to_yuv_c2d() 252 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d() 253 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d()
|
/hardware/qcom/sdm845/display/libcopybit/ |
D | software_converter.cpp | 55 unsigned int c_width = ALIGN(stride/2, (unsigned int)16); in convertYV12toYCrCb420SP() 197 info.src_stride = ALIGN(info.width, 32); in convert_yuv_c2d_to_yuv_android() 198 info.dst_stride = ALIGN(info.width, 16); in convert_yuv_c2d_to_yuv_android() 207 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 208 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 242 info.src_stride = ALIGN(hnd->width, 16); in convert_yuv_android_to_yuv_c2d() 243 info.dst_stride = ALIGN(info.width, 32); in convert_yuv_android_to_yuv_c2d() 252 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d() 253 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d()
|
/hardware/qcom/display/msm8998/libcopybit/ |
D | software_converter.cpp | 57 unsigned int c_width = ALIGN(stride/2, (unsigned int)16); in convertYV12toYCrCb420SP() 199 info.src_stride = ALIGN(info.width, 32); in convert_yuv_c2d_to_yuv_android() 200 info.dst_stride = ALIGN(info.width, 16); in convert_yuv_c2d_to_yuv_android() 209 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 210 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 244 info.src_stride = ALIGN(hnd->width, 16); in convert_yuv_android_to_yuv_c2d() 245 info.dst_stride = ALIGN(info.width, 32); in convert_yuv_android_to_yuv_c2d() 254 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d() 255 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d()
|
/hardware/qcom/display/msm8996/libcopybit/ |
D | software_converter.cpp | 55 unsigned int c_width = ALIGN(stride/2, (unsigned int)16); in convertYV12toYCrCb420SP() 197 info.src_stride = ALIGN(info.width, 32); in convert_yuv_c2d_to_yuv_android() 198 info.dst_stride = ALIGN(info.width, 16); in convert_yuv_c2d_to_yuv_android() 207 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 208 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 242 info.src_stride = ALIGN(hnd->width, 16); in convert_yuv_android_to_yuv_c2d() 243 info.dst_stride = ALIGN(info.width, 32); in convert_yuv_android_to_yuv_c2d() 252 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d() 253 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d()
|
/hardware/qcom/display/msm8960/libcopybit/ |
D | software_converter.cpp | 55 unsigned int c_width = ALIGN(stride/2, 16); in convertYV12toYCrCb420SP() 196 info.src_stride = ALIGN(info.width, 32); in convert_yuv_c2d_to_yuv_android() 197 info.dst_stride = ALIGN(info.width, 16); in convert_yuv_c2d_to_yuv_android() 206 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 207 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 241 info.src_stride = ALIGN(hnd->width, 16); in convert_yuv_android_to_yuv_c2d() 242 info.dst_stride = ALIGN(info.width, 32); in convert_yuv_android_to_yuv_c2d() 251 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d() 252 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d()
|
/hardware/qcom/display/msm8994/libcopybit/ |
D | software_converter.cpp | 56 unsigned int c_width = ALIGN(stride/2, (unsigned int)16); in convertYV12toYCrCb420SP() 198 info.src_stride = ALIGN(info.width, 32); in convert_yuv_c2d_to_yuv_android() 199 info.dst_stride = ALIGN(info.width, 16); in convert_yuv_c2d_to_yuv_android() 208 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 209 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 243 info.src_stride = ALIGN(hnd->width, 16); in convert_yuv_android_to_yuv_c2d() 244 info.dst_stride = ALIGN(info.width, 32); in convert_yuv_android_to_yuv_c2d() 253 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d() 254 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d()
|
/hardware/qcom/display/msm8084/libcopybit/ |
D | software_converter.cpp | 55 unsigned int c_width = ALIGN(stride/2, (unsigned int)16); in convertYV12toYCrCb420SP() 197 info.src_stride = ALIGN(info.width, 32); in convert_yuv_c2d_to_yuv_android() 198 info.dst_stride = ALIGN(info.width, 16); in convert_yuv_c2d_to_yuv_android() 207 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 208 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_c2d_to_yuv_android() 242 info.src_stride = ALIGN(hnd->width, 16); in convert_yuv_android_to_yuv_c2d() 243 info.dst_stride = ALIGN(info.width, 32); in convert_yuv_android_to_yuv_c2d() 252 info.src_plane1_offset = ALIGN(info.src_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d() 253 info.dst_plane1_offset = ALIGN(info.dst_stride*info.height, 2048); in convert_yuv_android_to_yuv_c2d()
|