/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
D | PixelFormat.cpp | 23 bool PixelFormat::convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp) in convertFormat() argument 28 bpp = 4; in convertFormat() 32 bpp = 4; in convertFormat() 36 bpp = 4; in convertFormat() 40 bpp = 4; in convertFormat() 44 bpp = 2; in convertFormat()
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
D | PixelFormat.cpp | 24 bool PixelFormat::convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp) in convertFormat() argument 29 bpp = 4; in convertFormat() 33 bpp = 4; in convertFormat() 37 bpp = 4; in convertFormat() 41 bpp = 4; in convertFormat() 45 bpp = 2; in convertFormat()
|
/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 | 96 int bpp = 4; in AlignUnCompressedRGB() local 99 bpp = 3; in AlignUnCompressedRGB() 105 bpp = 2; in AlignUnCompressedRGB() 117 width, height, bpp, tile_enabled, raster_mode, padding_threshold, in AlignUnCompressedRGB() 121 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB()
|
D | gr_allocator.cpp | 211 uint32_t bpp = GetBppForUncompressedRGB(format); in GetSize() local 212 size = alignedw * alignedh * bpp; in GetSize() 340 void Allocator::GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, in GetYuvSPPlaneInfo() argument 344 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo() 350 ycbcr->chroma_step = 2 * bpp; in GetYuvSPPlaneInfo() 655 void Allocator::GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument 659 switch (bpp) { in GetRgbUBwcBlockSize() 674 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in GetRgbUBwcBlockSize() 679 unsigned int Allocator::GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp) { in GetRgbUBwcMetaBufferSize() argument 684 GetRgbUBwcBlockSize(bpp, &block_width, &block_height); in GetRgbUBwcMetaBufferSize() [all …]
|
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.h | 83 void GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, 87 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height); 88 unsigned int GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp);
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
D | vc1parse_bitplane.c | 478 vc1_Bitplane *bpp = &bp; in vc1_DecodeBitplane() local 484 bpp->databits = pInfo->bitplane; in vc1_DecodeBitplane() 487 biplaneSz = initBitplane(bpp, width, height); in vc1_DecodeBitplane() 490 bpp->invert = (uint8_t) tempValue; in vc1_DecodeBitplane() 492 if ((status = vc1_DecodeHuffmanOne(ctxt, &bpp->imode, in vc1_DecodeBitplane() 503 if (bpp->imode == VC1_BITPLANE_NORM2_MODE) in vc1_DecodeBitplane() 505 vc1_Norm2ModeDecode(ctxt, bpp, width, height); in vc1_DecodeBitplane() 507 else if (bpp->imode == VC1_BITPLANE_DIFF2_MODE) in vc1_DecodeBitplane() 509 vc1_Norm2ModeDecode(ctxt, bpp, width, height); in vc1_DecodeBitplane() 510 vc1_InverseDiff(bpp, width, height); in vc1_DecodeBitplane() [all …]
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_utils.cpp | 102 uint32_t bpp = 0; in GetBppForUncompressedRGB() local 108 bpp = 4; in GetBppForUncompressedRGB() 111 bpp = 3; in GetBppForUncompressedRGB() 117 bpp = 2; in GetBppForUncompressedRGB() 124 return bpp; in GetBppForUncompressedRGB()
|
D | gr_adreno_info.cpp | 96 int bpp = 4; in AlignUnCompressedRGB() local 99 bpp = 3; in AlignUnCompressedRGB() 105 bpp = 2; in AlignUnCompressedRGB() 117 width, height, bpp, tile_enabled, raster_mode, padding_threshold, in AlignUnCompressedRGB() 121 *aligned_w = UINT(LINK_adreno_compute_padding(width, bpp, surface_tile_height, raster_mode, in AlignUnCompressedRGB()
|
D | gr_allocator.cpp | 203 uint32_t bpp = GetBppForUncompressedRGB(format); in GetSize() local 204 size = alignedw * alignedh * bpp; in GetSize() 328 void Allocator::GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, in GetYuvSPPlaneInfo() argument 332 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo() 338 ycbcr->chroma_step = 2 * bpp; in GetYuvSPPlaneInfo() 624 void Allocator::GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height) { in GetRgbUBwcBlockSize() argument 628 switch (bpp) { in GetRgbUBwcBlockSize() 643 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in GetRgbUBwcBlockSize() 648 unsigned int Allocator::GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp) { in GetRgbUBwcMetaBufferSize() argument 653 GetRgbUBwcBlockSize(bpp, &block_width, &block_height); in GetRgbUBwcMetaBufferSize() [all …]
|
D | gr_adreno_info.h | 122 int (*LINK_adreno_compute_padding)(int width, int bpp, int surface_tile_height, 124 void (*LINK_adreno_compute_aligned_width_and_height)(int width, int height, int bpp, 130 int *aligned_w, int *aligned_h, int *bpp) = NULL;
|
D | gr_allocator.h | 82 void GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, 86 void GetRgbUBwcBlockSize(uint32_t bpp, int *block_width, int *block_height); 87 unsigned int GetRgbUBwcMetaBufferSize(int width, int height, uint32_t bpp);
|
/hardware/qcom/media/msm8996/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 488 int32_t bpp = 0; in calcSize() local 492 bpp = 2; in calcSize() 493 … mAdrenoComputeAlignedWidthAndHeight(width, height, bpp, tile_mode, raster_mode, padding_threshold, in calcSize() 495 size = alignedw * alignedh * bpp; in calcSize() 499 bpp = 4; in calcSize() 500 … mAdrenoComputeAlignedWidthAndHeight(width, height, bpp, tile_mode, raster_mode, padding_threshold, in calcSize() 503 size = mSrcStride * alignedh * bpp; in calcSize() 505 size = alignedw * alignedh * bpp; in calcSize() 591 req->bpp = calcBytesPerPixel(mSrcFormat); in getBuffReq() 601 req->bpp = calcBytesPerPixel(mDstFormat); in getBuffReq() [all …]
|
/hardware/qcom/media/msm8998/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 495 int32_t bpp = 0; in calcSize() local 499 bpp = 2; in calcSize() 500 … mAdrenoComputeAlignedWidthAndHeight(width, height, bpp, tile_mode, raster_mode, padding_threshold, in calcSize() 502 size = alignedw * alignedh * bpp; in calcSize() 506 bpp = 4; in calcSize() 507 … mAdrenoComputeAlignedWidthAndHeight(width, height, bpp, tile_mode, raster_mode, padding_threshold, in calcSize() 510 size = mSrcStride * alignedh * bpp; in calcSize() 512 size = alignedw * alignedh * bpp; in calcSize() 598 req->bpp = calcBytesPerPixel(mSrcFormat); in getBuffReq() 608 req->bpp = calcBytesPerPixel(mDstFormat); in getBuffReq() [all …]
|
/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 …]
|
D | gr.h | 158 int (*LINK_adreno_compute_padding) (int width, int bpp, 165 int bpp, 183 int *bpp);
|
/hardware/qcom/media/msm8974/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 538 req->bpp = calcBytesPerPixel(mSrcFormat); in getBuffReq() 548 req->bpp = calcBytesPerPixel(mDstFormat); in getBuffReq() 586 C2DBytesPerPixel bpp; in calcBytesPerPixel() local 587 bpp.numerator = 0; in calcBytesPerPixel() 588 bpp.denominator = 1; in calcBytesPerPixel() 592 bpp.numerator = 2; in calcBytesPerPixel() 595 bpp.numerator = 4; in calcBytesPerPixel() 603 bpp.numerator = 3; in calcBytesPerPixel() 604 bpp.denominator = 2; in calcBytesPerPixel() 609 return bpp; in calcBytesPerPixel() [all …]
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | gr.h | 130 int (*LINK_adreno_compute_padding) (int width, int bpp, 137 int bpp, 155 int *bpp);
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | gr.h | 130 int (*LINK_adreno_compute_padding) (int width, int bpp, 137 int bpp, 155 int *bpp);
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | alloc_controller.cpp | 339 int bpp = 4; in getGpuAlignedWidthHeight() local 343 bpp = 8; in getGpuAlignedWidthHeight() 346 bpp = 3; in getGpuAlignedWidthHeight() 352 bpp = 2; in getGpuAlignedWidthHeight() 364 height, bpp, tile_enabled, in getGpuAlignedWidthHeight() 370 aligned_w = LINK_adreno_compute_padding(width, bpp, in getGpuAlignedWidthHeight() 763 void getYuvSPPlaneInfo(uint64_t base, int width, int height, int bpp, in getYuvSPPlaneInfo() argument 768 ystride = cstride = width * bpp; in getYuvSPPlaneInfo() 774 ycbcr->chroma_step = 2 * bpp; in getYuvSPPlaneInfo() 1014 static void getRgbUBwcBlockSize(int bpp, int& block_width, int& block_height) in getRgbUBwcBlockSize() argument [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/src/ |
D | vidc_color_converter.cpp | 181 if (!cret && (req.bpp.denominator > 0)) { in get_output_filled_length() 182 filled_length = (req.stride * req.sliceHeight * req.bpp.numerator); in get_output_filled_length() 183 filled_length /= req.bpp.denominator; in get_output_filled_length()
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/src/ |
D | vidc_color_converter.cpp | 181 if (!cret && (req.bpp.denominator > 0)) { in get_output_filled_length() 182 filled_length = (req.stride * req.sliceHeight * req.bpp.numerator); in get_output_filled_length() 183 filled_length /= req.bpp.denominator; in get_output_filled_length()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/src/ |
D | vidc_color_converter.cpp | 181 if (!cret && (req.bpp.denominator > 0)) { in get_output_filled_length() 182 filled_length = (req.stride * req.sliceHeight * req.bpp.numerator); in get_output_filled_length() 183 filled_length /= req.bpp.denominator; in get_output_filled_length()
|