Home
last modified time | relevance | path

Searched refs:bpp (Results 1 – 25 of 43) 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/libhardware/modules/gralloc/
Dgralloc.cpp209 int bpp = 0; in gralloc_alloc() local
214 bpp = 4; in gralloc_alloc()
217 bpp = 3; in gralloc_alloc()
221 bpp = 2; in gralloc_alloc()
226 size_t bpr = (w*bpp + (align-1)) & ~(align-1); in gralloc_alloc()
228 stride = bpr / bpp; in gralloc_alloc()
/hardware/qcom/media/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/msm8226/libgralloc/
Dgr.h130 int (*LINK_adreno_compute_padding) (int width, int bpp,
137 int bpp,
155 int *bpp);
Dalloc_controller.cpp147 int bpp = 4; in getAlignedWidthAndHeight() local
151 bpp = 3; in getAlignedWidthAndHeight()
154 bpp = 2; in getAlignedWidthAndHeight()
165 height, bpp, tile_enabled, in getAlignedWidthAndHeight()
171 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()
827 static void getUBwcBlockSize(int bpp, int& block_width, int& block_height) in getUBwcBlockSize() argument
832 switch(bpp) in getUBwcBlockSize()
848 ALOGE("%s: Unsupported bpp: %d", __FUNCTION__, bpp); in getUBwcBlockSize()
853 static unsigned int getUBwcMetaBufferSize(int width, int height, int bpp) in getUBwcMetaBufferSize() argument
859 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/display/msm8084/libgralloc/
Dgr.h130 int (*LINK_adreno_compute_padding) (int width, int bpp,
137 int bpp,
155 int *bpp);
Dalloc_controller.cpp147 int bpp = 4; in getAlignedWidthAndHeight() local
151 bpp = 3; in getAlignedWidthAndHeight()
154 bpp = 2; in getAlignedWidthAndHeight()
165 height, bpp, tile_enabled, in getAlignedWidthAndHeight()
171 aligned_w = LINK_adreno_compute_padding(width, bpp, in getAlignedWidthAndHeight()
/hardware/qcom/media/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/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()
Dgr.h99 int (*LINK_adreno_compute_padding) (int width, int bpp,
/hardware/qcom/display/msm8974/libgralloc/
Dalloc_controller.cpp117 int bpp = 4; in getStride() local
121 bpp = 3; in getStride()
124 bpp = 2; in getStride()
134 stride = LINK_adreno_compute_padding(stride, bpp, in getStride()
Dgr.h99 int (*LINK_adreno_compute_padding) (int width, int bpp,
/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/tangier/
DTngSpritePlane.cpp39 int bpp; in setDataBuffer() local
58 if (!PixelFormat::convertFormat(mapper.getFormat(), spriteFormat, bpp)) { in setDataBuffer()
67 linoff = srcY * stride + srcX * bpp; in setDataBuffer()
/hardware/ti/omap4-aah/camera/
DEncoder_libjpeg.cpp432 int bpp = 2; // for uyvy in encode() local
458 bpp = 1; in encode()
503 row_uv = src + out_width * out_height * bpp; in encode()
519 row_src = row_src + out_width*bpp; in encode()
524 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