Home
last modified time | relevance | path

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

123

/hardware/intel/img/hwcomposer/merrifield/ips/common/
DPixelFormat.cpp23 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/
DPixelFormat.cpp24 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/
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.cpp96 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()
Dgr_allocator.cpp211 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 …]
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.h83 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/
Dvc1parse_bitplane.c478 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/
Dgr_utils.cpp102 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()
Dgr_adreno_info.cpp96 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()
Dgr_allocator.cpp203 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 …]
Dgr_adreno_info.h122 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;
Dgr_allocator.h82 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/
DC2DColorConverter.cpp488 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/
DC2DColorConverter.cpp495 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/
Dgr.h130 int (*LINK_adreno_compute_padding) (int width, int bpp,
137 int bpp,
155 int *bpp);
/hardware/qcom/display/msm8994/libgralloc/
Dalloc_controller.cpp282 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 …]
Dgr.h158 int (*LINK_adreno_compute_padding) (int width, int bpp,
165 int bpp,
183 int *bpp);
/hardware/qcom/media/msm8974/libc2dcolorconvert/
DC2DColorConverter.cpp538 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/
Dgr.h130 int (*LINK_adreno_compute_padding) (int width, int bpp,
137 int bpp,
155 int *bpp);
/hardware/qcom/display/msm8909/libgralloc/
Dgr.h130 int (*LINK_adreno_compute_padding) (int width, int bpp,
137 int bpp,
155 int *bpp);
/hardware/qcom/display/msm8996/libgralloc/
Dalloc_controller.cpp339 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/
Dvidc_color_converter.cpp181 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/
Dvidc_color_converter.cpp181 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/
Dvidc_color_converter.cpp181 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()

123