/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_utils.cpp | 103 uint32_t bpp = 0; in GetBppForUncompressedRGB() local 106 bpp = 8; in GetBppForUncompressedRGB() 120 bpp = 4; in GetBppForUncompressedRGB() 123 bpp = 3; in GetBppForUncompressedRGB() 129 bpp = 2; in GetBppForUncompressedRGB() 136 return bpp; in GetBppForUncompressedRGB()
|
D | gr_adreno_info.cpp | 98 int bpp = 4; in AlignUnCompressedRGB() local 101 bpp = 3; in AlignUnCompressedRGB() 107 bpp = 2; in AlignUnCompressedRGB() 119 width, height, bpp, tile_enabled, raster_mode, padding_threshold, in AlignUnCompressedRGB() 123 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB()
|
D | gr_adreno_info.h | 127 int (*LINK_adreno_compute_padding)(int width, int bpp, int surface_tile_height, 129 void (*LINK_adreno_compute_aligned_width_and_height)(int width, int height, int bpp, 135 int *aligned_w, int *aligned_h, int *bpp) = NULL;
|
D | gr_allocator.cpp | 230 uint32_t bpp = GetBppForUncompressedRGB(format); in GetSize() local 231 size = alignedw * alignedh * bpp; in GetSize() 356 void Allocator::GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, in GetYuvSPPlaneInfo() argument 360 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo() 366 ycbcr->chroma_step = 2 * bpp; in GetYuvSPPlaneInfo() 672 void Allocator::GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument 676 switch (bpp) { in GetRgbUBwcBlockSize() 691 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in GetRgbUBwcBlockSize() 696 unsigned int Allocator::GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp) { in GetRgbUBwcMetaBufferSize() argument 701 GetRgbUBwcBlockSize(bpp, &block_width, &block_height); in GetRgbUBwcMetaBufferSize() [all …]
|
D | gr_allocator.h | 85 void GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, 89 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height); 90 unsigned int GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp);
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_utils.cpp | 103 uint32_t bpp = 0; in GetBppForUncompressedRGB() local 106 bpp = 8; in GetBppForUncompressedRGB() 120 bpp = 4; in GetBppForUncompressedRGB() 123 bpp = 3; in GetBppForUncompressedRGB() 129 bpp = 2; in GetBppForUncompressedRGB() 136 return bpp; in GetBppForUncompressedRGB()
|
D | gr_adreno_info.cpp | 97 int bpp = 4; in AlignUnCompressedRGB() local 100 bpp = 3; in AlignUnCompressedRGB() 106 bpp = 2; in AlignUnCompressedRGB() 118 width, height, bpp, tile_enabled, raster_mode, padding_threshold, in AlignUnCompressedRGB() 122 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB()
|
D | gr_adreno_info.h | 127 int (*LINK_adreno_compute_padding)(int width, int bpp, int surface_tile_height, 129 void (*LINK_adreno_compute_aligned_width_and_height)(int width, int height, int bpp, 135 int *aligned_w, int *aligned_h, int *bpp) = NULL;
|
D | gr_allocator.cpp | 231 uint32_t bpp = GetBppForUncompressedRGB(format); in GetSize() local 232 size = alignedw * alignedh * bpp; in GetSize() 357 void Allocator::GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, in GetYuvSPPlaneInfo() argument 361 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo() 367 ycbcr->chroma_step = 2 * bpp; in GetYuvSPPlaneInfo() 674 void Allocator::GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument 678 switch (bpp) { in GetRgbUBwcBlockSize() 693 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in GetRgbUBwcBlockSize() 698 unsigned int Allocator::GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp) { in GetRgbUBwcMetaBufferSize() argument 703 GetRgbUBwcBlockSize(bpp, &block_width, &block_height); in GetRgbUBwcMetaBufferSize() [all …]
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_utils.cpp | 115 uint32_t bpp = 0; in GetBppForUncompressedRGB() local 118 bpp = 8; in GetBppForUncompressedRGB() 132 bpp = 4; in GetBppForUncompressedRGB() 136 bpp = 3; in GetBppForUncompressedRGB() 142 bpp = 2; in GetBppForUncompressedRGB() 149 return bpp; in GetBppForUncompressedRGB() 191 uint32_t bpp = GetBppForUncompressedRGB(format); in GetSize() local 192 size = alignedw * alignedh * bpp; in GetSize() 336 void GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, in GetYuvSPPlaneInfo() argument 340 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo() [all …]
|
D | gr_adreno_info.cpp | 106 int bpp = 4; in AlignUnCompressedRGB() local 110 bpp = 3; in AlignUnCompressedRGB() 116 bpp = 2; in AlignUnCompressedRGB() 128 width, height, bpp, tile_enabled, raster_mode, padding_threshold, in AlignUnCompressedRGB() 132 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB()
|
D | gr_adreno_info.h | 127 int (*LINK_adreno_compute_padding)(int width, int bpp, int surface_tile_height, 129 void (*LINK_adreno_compute_aligned_width_and_height)(int width, int height, int bpp, 135 int *aligned_w, int *aligned_h, int *bpp) = NULL;
|
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_utils.cpp | 115 uint32_t bpp = 0; in GetBppForUncompressedRGB() local 118 bpp = 8; in GetBppForUncompressedRGB() 132 bpp = 4; in GetBppForUncompressedRGB() 136 bpp = 3; in GetBppForUncompressedRGB() 142 bpp = 2; in GetBppForUncompressedRGB() 149 return bpp; in GetBppForUncompressedRGB() 191 uint32_t bpp = GetBppForUncompressedRGB(format); in GetSize() local 192 size = alignedw * alignedh * bpp; in GetSize() 336 void GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, in GetYuvSPPlaneInfo() argument 340 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo() [all …]
|
D | gr_adreno_info.cpp | 106 int bpp = 4; in AlignUnCompressedRGB() local 110 bpp = 3; in AlignUnCompressedRGB() 116 bpp = 2; in AlignUnCompressedRGB() 128 width, height, bpp, tile_enabled, raster_mode, padding_threshold, in AlignUnCompressedRGB() 132 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB()
|
D | gr_adreno_info.h | 127 int (*LINK_adreno_compute_padding)(int width, int bpp, int surface_tile_height, 129 void (*LINK_adreno_compute_aligned_width_and_height)(int width, int height, int bpp, 135 int *aligned_w, int *aligned_h, int *bpp) = NULL;
|
/hardware/qcom/media/msm8996/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 499 int32_t bpp = 0; in calcSize() local 503 bpp = 2; in calcSize() 504 … mAdrenoComputeAlignedWidthAndHeight(width, height, bpp, tile_mode, raster_mode, padding_threshold, in calcSize() 506 size = alignedw * alignedh * bpp; in calcSize() 510 bpp = 4; in calcSize() 511 … mAdrenoComputeAlignedWidthAndHeight(width, height, bpp, tile_mode, raster_mode, padding_threshold, in calcSize() 514 size = mSrcStride * alignedh * bpp; in calcSize() 516 size = alignedw * alignedh * bpp; in calcSize() 602 req->bpp = calcBytesPerPixel(mSrcFormat); in getBuffReq() 612 req->bpp = calcBytesPerPixel(mDstFormat); in getBuffReq() [all …]
|
/hardware/qcom/media/msm8998/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 502 int32_t bpp = 0; in calcSize() local 506 bpp = 2; in calcSize() 507 … mAdrenoComputeAlignedWidthAndHeight(width, height, bpp, tile_mode, raster_mode, padding_threshold, in calcSize() 509 size = alignedw * alignedh * bpp; in calcSize() 513 bpp = 4; in calcSize() 514 … mAdrenoComputeAlignedWidthAndHeight(width, height, bpp, tile_mode, raster_mode, padding_threshold, in calcSize() 517 size = mSrcStride * alignedh * bpp; in calcSize() 519 size = alignedw * alignedh * bpp; in calcSize() 605 req->bpp = calcBytesPerPixel(mSrcFormat); in getBuffReq() 615 req->bpp = calcBytesPerPixel(mDstFormat); in getBuffReq() [all …]
|
/hardware/qcom/sdm845/media/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 565 int32_t bpp = 0; in calcSize() local 569 bpp = 2; in calcSize() 576 size = alignedw * alignedh * bpp; in calcSize() 580 bpp = 4; in calcSize() 588 size = mSrcStride * alignedh * bpp; in calcSize() 590 size = alignedw * alignedh * bpp; in calcSize() 687 if (ret && req.bpp.denominator > 0) { in getBuffFilledLen() 688 filled_length = (req.stride * req.sliceHeight * req.bpp.numerator); in getBuffFilledLen() 689 filled_length /= req.bpp.denominator; in getBuffFilledLen() 710 req->bpp = calcBytesPerPixel(mSrcFormat); in getBuffReq() [all …]
|
/hardware/qcom/sm8150/media/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 584 int32_t bpp = 0; in calcSize() local 588 bpp = 2; in calcSize() 595 size = alignedw * alignedh * bpp; in calcSize() 599 bpp = 4; in calcSize() 607 size = mSrcStride * alignedh * bpp; in calcSize() 609 size = alignedw * alignedh * bpp; in calcSize() 711 if (ret && req.bpp.denominator > 0) { in getBuffFilledLen() 712 filled_length = (req.stride * req.sliceHeight * req.bpp.numerator); in getBuffFilledLen() 713 filled_length /= req.bpp.denominator; in getBuffFilledLen() 734 req->bpp = calcBytesPerPixel(mSrcFormat); in getBuffReq() [all …]
|
/hardware/qcom/sdm845/display/gralloc/ |
D | gr_utils.cpp | 145 uint32_t bpp = 0; in GetBppForUncompressedRGB() local 148 bpp = 8; in GetBppForUncompressedRGB() 162 bpp = 4; in GetBppForUncompressedRGB() 166 bpp = 3; in GetBppForUncompressedRGB() 172 bpp = 2; in GetBppForUncompressedRGB() 179 return bpp; in GetBppForUncompressedRGB() 252 uint32_t bpp = GetBppForUncompressedRGB(format); in GetSize() local 253 size = alignedw * alignedh * bpp; in GetSize() 409 void GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, in GetYuvSPPlaneInfo() argument 413 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo() [all …]
|
D | gr_adreno_info.cpp | 108 int bpp = 4; in AlignUnCompressedRGB() local 112 bpp = 3; in AlignUnCompressedRGB() 118 bpp = 2; in AlignUnCompressedRGB() 138 width, height, bpp, tile_enabled, raster_mode, padding_threshold, in AlignUnCompressedRGB() 142 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB()
|
/hardware/qcom/sm8150/display/gralloc/ |
D | gr_utils.cpp | 147 uint32_t bpp = 0; in GetBppForUncompressedRGB() local 150 bpp = 8; in GetBppForUncompressedRGB() 164 bpp = 4; in GetBppForUncompressedRGB() 168 bpp = 3; in GetBppForUncompressedRGB() 174 bpp = 2; in GetBppForUncompressedRGB() 181 return bpp; in GetBppForUncompressedRGB() 279 uint32_t bpp = GetBppForUncompressedRGB(format); in GetSize() local 280 size = alignedw * alignedh * bpp; in GetSize() 439 void GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, in GetYuvSPPlaneInfo() argument 443 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo() [all …]
|
D | gr_adreno_info.cpp | 108 int bpp = 4; in AlignUnCompressedRGB() local 112 bpp = 3; in AlignUnCompressedRGB() 118 bpp = 2; in AlignUnCompressedRGB() 138 width, height, bpp, tile_enabled, raster_mode, padding_threshold, in AlignUnCompressedRGB() 142 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB()
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | gr.h | 130 int (*LINK_adreno_compute_padding) (int width, int bpp, 137 int bpp, 155 int *bpp);
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | alloc_controller.cpp | 282 int bpp = 4; in getGpuAlignedWidthHeight() local 286 bpp = 8; in getGpuAlignedWidthHeight() 289 bpp = 3; in getGpuAlignedWidthHeight() 294 bpp = 2; in getGpuAlignedWidthHeight() 306 height, bpp, tile_enabled, in getGpuAlignedWidthHeight() 312 aligned_w = LINK_adreno_compute_padding(width, bpp, in getGpuAlignedWidthHeight() 830 static void getUBwcBlockSize(int bpp, int& block_width, int& block_height) in getUBwcBlockSize() argument 835 switch(bpp) in getUBwcBlockSize() 851 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in getUBwcBlockSize() 856 static unsigned int getUBwcMetaBufferSize(int width, int height, int bpp) in getUBwcMetaBufferSize() argument [all …]
|