Home
last modified time | relevance | path

Searched refs:BytesPerPixel (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_flate.cpp250 const int BytesPerPixel = (Colors * BitsPerComponent + 7) / 8; in PNG_PredictorEncode() local
278 if (byte >= BytesPerPixel) { in PNG_PredictorEncode()
279 left = pSrcData[byte - BytesPerPixel]; in PNG_PredictorEncode()
294 if (byte >= BytesPerPixel) { in PNG_PredictorEncode()
295 left = pSrcData[byte - BytesPerPixel]; in PNG_PredictorEncode()
306 if (byte >= BytesPerPixel) { in PNG_PredictorEncode()
307 left = pSrcData[byte - BytesPerPixel]; in PNG_PredictorEncode()
314 if (byte >= BytesPerPixel && row) { in PNG_PredictorEncode()
315 upper_left = pSrcData[byte - row_size - BytesPerPixel]; in PNG_PredictorEncode()
341 int BytesPerPixel = (bpc * nColors + 7) / 8; in PNG_PredictLine() local
[all …]
/external/skia/src/codec/
DSkPngCodec.cpp466 const int bpp = SkSwizzler::BytesPerPixel(fSrcConfig); in onGetPixels()
561 fStorage.reset(this->getInfo().width() * SkSwizzler::BytesPerPixel(this->srcConfig())); in onStartScanlineDecode()
632 fSrcRowBytes = this->getInfo().width() * SkSwizzler::BytesPerPixel(this->srcConfig()); in onStartScanlineDecode()
DSkSwizzler.h83 static int BytesPerPixel(SrcConfig sc) { in BytesPerPixel() function
DSkSwizzler.cpp889 int srcBPP = SkIsAlign8(BitsPerPixel(sc)) ? BytesPerPixel(sc) : BitsPerPixel(sc); in CreateSwizzler()
/external/opencv3/modules/videoio/src/
Dcap_openni.cpp1306 CV_Assert( imageMetaData.BytesPerPixel() == 3 ); // RGB in retrieveGrayImage()