Home
last modified time | relevance | path

Searched refs:bpp (Results 1 – 25 of 104) sorted by relevance

12345

/hardware/qcom/display/msm8998/libgralloc1/
Dgr_utils.cpp103 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()
Dgr_adreno_info.cpp97 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()
Dgr_adreno_info.h127 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;
Dgr_allocator.cpp231 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/msm8996/libgralloc1/
Dgr_utils.cpp103 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()
Dgr_adreno_info.cpp98 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()
Dgr_adreno_info.h127 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;
Dgr_allocator.cpp230 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 …]
/hardware/google/gchips/libexynosutils/
Dexynos_format_v4l2.c382 int V4L2_PIX_2_YUV_INFO(unsigned int v4l2_pixel_format, unsigned int * bpp, unsigned int * planes) in V4L2_PIX_2_YUV_INFO() argument
392 *bpp = 12; in V4L2_PIX_2_YUV_INFO()
400 *bpp = 12; in V4L2_PIX_2_YUV_INFO()
406 *bpp = 12; in V4L2_PIX_2_YUV_INFO()
416 *bpp = 16; in V4L2_PIX_2_YUV_INFO()
430 unsigned int bpp, planes; in get_yuv_bpp() local
432 if (V4L2_PIX_2_YUV_INFO(v4l2_pixel_format, &bpp, &planes) < 0) in get_yuv_bpp()
433 bpp = -1; in get_yuv_bpp()
435 return bpp; in get_yuv_bpp()
440 unsigned int bpp, planes; in get_yuv_planes() local
[all …]
/hardware/google/gchips/GrallocHAL/src/core/
Dformat_info.cpp41 … .npln = 1, .ncmp = { 3, 0, 0 }, .bps = 6, .bpp_afbc = { 16, 0, 0 }, .bpp = { 16, 0, 0 }, .h…
42 … .npln = 1, .ncmp = { 3, 0, 0 }, .bps = 8, .bpp_afbc = { 24, 0, 0 }, .bpp = { 24, 0, 0 }, .h…
43 … .npln = 1, .ncmp = { 4, 0, 0 }, .bps = 8, .bpp_afbc = { 32, 0, 0 }, .bpp = { 32, 0, 0 }, .h…
44 … .npln = 1, .ncmp = { 4, 0, 0 }, .bps = 8, .bpp_afbc = { 32, 0, 0 }, .bpp = { 32, 0, 0 }, .h…
45 … .npln = 1, .ncmp = { 3, 0, 0 }, .bps = 8, .bpp_afbc = { 32, 0, 0 }, .bpp = { 32, 0, 0 }, .h…
46 … .npln = 1, .ncmp = { 4, 0, 0 }, .bps = 10, .bpp_afbc = { 32, 0, 0 }, .bpp = { 32, 0, 0 }, .h…
47 … .npln = 1, .ncmp = { 4, 0, 0 }, .bps = 16, .bpp_afbc = { 64, 0, 0 }, .bpp = { 64, 0, 0 }, .h…
48 … .npln = 1, .ncmp = { 1, 0, 0 }, .bps = 8, .bpp_afbc = { 8, 0, 0 }, .bpp = { 8, 0, 0 }, .h…
49 … .npln = 1, .ncmp = { 1, 0, 0 }, .bps = 16, .bpp_afbc = { 16, 0, 0 }, .bpp = { 16, 0, 0 }, .h…
51 … .npln = 1, .ncmp = { 3, 0, 0 }, .bps = 8, .bpp_afbc = { 12, 0, 0 }, .bpp = { 0, 0, 0 }, .h…
[all …]
/hardware/google/gchips/gralloc4/src/core/
Dformat_info.cpp41 … .npln = 1, .ncmp = { 3, 0, 0 }, .bps = 6, .bpp_afbc = { 16, 0, 0 }, .bpp = { 16, 0, 0 }, .h…
42 … .npln = 1, .ncmp = { 3, 0, 0 }, .bps = 8, .bpp_afbc = { 24, 0, 0 }, .bpp = { 24, 0, 0 }, .h…
43 … .npln = 1, .ncmp = { 4, 0, 0 }, .bps = 8, .bpp_afbc = { 32, 0, 0 }, .bpp = { 32, 0, 0 }, .h…
44 … .npln = 1, .ncmp = { 4, 0, 0 }, .bps = 8, .bpp_afbc = { 32, 0, 0 }, .bpp = { 32, 0, 0 }, .h…
45 … .npln = 1, .ncmp = { 3, 0, 0 }, .bps = 8, .bpp_afbc = { 32, 0, 0 }, .bpp = { 32, 0, 0 }, .h…
46 … .npln = 1, .ncmp = { 4, 0, 0 }, .bps = 10, .bpp_afbc = { 32, 0, 0 }, .bpp = { 32, 0, 0 }, .h…
47 … .npln = 1, .ncmp = { 4, 0, 0 }, .bps = 16, .bpp_afbc = { 64, 0, 0 }, .bpp = { 64, 0, 0 }, .h…
48 … .npln = 1, .ncmp = { 1, 0, 0 }, .bps = 8, .bpp_afbc = { 8, 0, 0 }, .bpp = { 8, 0, 0 }, .h…
49 … .npln = 1, .ncmp = { 1, 0, 0 }, .bps = 16, .bpp_afbc = { 16, 0, 0 }, .bpp = { 16, 0, 0 }, .h…
51 … .npln = 1, .ncmp = { 3, 0, 0 }, .bps = 8, .bpp_afbc = { 12, 0, 0 }, .bpp = { 0, 0, 0 }, .h…
[all …]
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_utils.cpp115 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 …]
Dgr_adreno_info.cpp106 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()
Dgr_adreno_info.h127 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/
Dgr_utils.cpp115 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 …]
Dgr_adreno_info.cpp106 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()
Dgr_adreno_info.h127 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/msm8998/libc2dcolorconvert/
DC2DColorConverter.cpp502 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/media/msm8996/libc2dcolorconvert/
DC2DColorConverter.cpp499 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/sdm845/display/gralloc/
Dgr_utils.cpp145 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 …]
Dgr_adreno_info.cpp108 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/sdm845/media/libc2dcolorconvert/
DC2DColorConverter.cpp565 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/
DC2DColorConverter.cpp600 int32_t bpp = 0; local
604 bpp = 2;
611 size = alignedw * alignedh * bpp;
615 bpp = 4;
623 size = mSrcStride * alignedh * bpp;
625 size = alignedw * alignedh * bpp;
733 if (ret && req.bpp.denominator > 0) {
734 filled_length = (req.stride * req.sliceHeight * req.bpp.numerator);
735 filled_length /= req.bpp.denominator;
756 req->bpp = calcBytesPerPixel(mSrcFormat);
[all …]
/hardware/qcom/display/msm8226/libgralloc/
Dgr.h130 int (*LINK_adreno_compute_padding) (int width, int bpp,
137 int bpp,
155 int *bpp);
/hardware/qcom/sm7250/media/libc2dcolorconvert/
DC2DColorConverter.cpp655 int32_t bpp = 0; in calcSize() local
659 bpp = 2; in calcSize()
666 size = alignedw * alignedh * bpp; in calcSize()
670 bpp = 4; in calcSize()
678 size = mSrcStride * alignedh * bpp; in calcSize()
680 size = alignedw * alignedh * bpp; in calcSize()
816 req->bpp = calcBytesPerPixel(mSrcFormat); in getBuffReq()
826 req->bpp = calcBytesPerPixel(mDstFormat); in getBuffReq()
876 C2DBytesPerPixel bpp; in calcBytesPerPixel() local
877 bpp.numerator = 0; in calcBytesPerPixel()
[all …]

12345