Home
last modified time | relevance | path

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

12

/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()
DPixelFormat.h35 static bool convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& bpp);
/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()
DPixelFormat.h35 static bool convertFormat(uint32_t grallocFormat, uint32_t& spriteFormat, int& 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/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 …]
DC2DColorConverter.h68 typedef void (*LINK_AdrenoComputeAlignedWidthAndHeight) (int width, int height, int bpp, int tile_m…
99 C2DBytesPerPixel bpp; member
/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/msm8996/libgralloc/
Dalloc_controller.cpp331 int bpp = 4; in getGpuAlignedWidthHeight() local
335 bpp = 3; in getGpuAlignedWidthHeight()
341 bpp = 2; in getGpuAlignedWidthHeight()
353 height, bpp, tile_enabled, in getGpuAlignedWidthHeight()
359 aligned_w = LINK_adreno_compute_padding(width, bpp, in getGpuAlignedWidthHeight()
755 void getYuvSPPlaneInfo(private_handle_t* hnd, int bpp, in getYuvSPPlaneInfo() argument
762 ystride = cstride = width * bpp; in getYuvSPPlaneInfo()
768 ycbcr->chroma_step = 2 * bpp; in getYuvSPPlaneInfo()
998 static void getRgbUBwcBlockSize(int bpp, int& block_width, int& block_height) in getRgbUBwcBlockSize() argument
1003 switch(bpp) in getRgbUBwcBlockSize()
[all …]
Dgr.h169 int (*LINK_adreno_compute_padding) (int width, int bpp,
176 int bpp,
194 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/msm8909/libgralloc/
Dgr.h130 int (*LINK_adreno_compute_padding) (int width, int bpp,
137 int bpp,
155 int *bpp);
/hardware/qcom/display/msm8084/libgralloc/
Dgr.h130 int (*LINK_adreno_compute_padding) (int width, int bpp,
137 int bpp,
155 int *bpp);
Dalloc_controller.cpp149 int bpp = 4; in getAlignedWidthAndHeight() local
153 bpp = 3; in getAlignedWidthAndHeight()
156 bpp = 2; in getAlignedWidthAndHeight()
167 height, bpp, tile_enabled, in getAlignedWidthAndHeight()
173 aligned_w = LINK_adreno_compute_padding(width, bpp, in getAlignedWidthAndHeight()
/hardware/qcom/display/msm8994/libgralloc/
Dalloc_controller.cpp280 int bpp = 4; in getGpuAlignedWidthHeight() local
284 bpp = 3; in getGpuAlignedWidthHeight()
289 bpp = 2; in getGpuAlignedWidthHeight()
301 height, bpp, tile_enabled, in getGpuAlignedWidthHeight()
307 aligned_w = LINK_adreno_compute_padding(width, bpp, in getGpuAlignedWidthHeight()
821 static void getUBwcBlockSize(int bpp, int& block_width, int& block_height) in getUBwcBlockSize() argument
826 switch(bpp) in getUBwcBlockSize()
842 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in getUBwcBlockSize()
847 static unsigned int getUBwcMetaBufferSize(int width, int height, int bpp) in getUBwcMetaBufferSize() argument
853 getUBwcBlockSize(bpp, block_width, block_height); in getUBwcMetaBufferSize()
[all …]
Dgr.h158 int (*LINK_adreno_compute_padding) (int width, int bpp,
165 int bpp,
183 int *bpp);
/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()
/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/intel/img/hwcomposer/merrifield/ips/tangier/
DTngSpritePlane.cpp39 int bpp; in setDataBuffer() local
58 if (!PixelFormat::convertFormat(mapper.getFormat(), spriteFormat, bpp)) { in setDataBuffer()
68 linoff = (mapper.getCrop().h + srcY - 1) * stride + (srcX + mapper.getCrop().w - 1) * bpp; in setDataBuffer()
70 linoff = srcY * stride + srcX * bpp; in setDataBuffer()
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DAnnRGBPlane.cpp90 int bpp; in setDataBuffer() local
110 if (!PixelFormat::convertFormat(mapper.getFormat(), spriteFormat, bpp)) { in setDataBuffer()
123 …linoff = srcY * stride + srcX * bpp + (mapper.getCrop().h - 1) * stride + (mapper.getCrop().w - 1… in setDataBuffer()
125 linoff = srcY * stride + srcX * bpp; in setDataBuffer()
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DAnnRGBPlane.cpp149 int bpp; in setDataBuffer() local
169 if (!PixelFormat::convertFormat(mapper.getFormat(), spriteFormat, bpp)) { in setDataBuffer()
182 …linoff = srcY * stride + srcX * bpp + (mapper.getCrop().h - 1) * stride + (mapper.getCrop().w - 1… in setDataBuffer()
184 linoff = srcY * stride + srcX * bpp; in setDataBuffer()
/hardware/qcom/display/msm8960/libgralloc/
Dalloc_controller.cpp110 int bpp = 4; in getStride() local
114 bpp = 3; in getStride()
117 bpp = 2; in getStride()
127 stride = LINK_adreno_compute_padding(stride, bpp, in getStride()
/hardware/ti/omap4xxx/camera/
DEncoder_libjpeg.cpp364 int bpp = 2; // for uyvy in encode() local
390 bpp = 1; in encode()
433 row_uv = src + out_width * out_height * bpp; in encode()
447 row_src = row_src + out_width*bpp; in encode()
452 row_uv = row_uv + out_width * bpp; in encode()
/hardware/intel/img/hwcomposer/merrifield/ips/penwell/
DPnwGrallocBuffer.h33 int bpp; member
DPnwGrallocBuffer.cpp40 mBpp = grallocHandle->bpp; in PnwGrallocBuffer()

12