Searched refs:BytesPerPixel (Results 1 – 5 of 5) sorted by relevance
250 const int BytesPerPixel = (Colors * BitsPerComponent + 7) / 8; in PNG_PredictorEncode() local278 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 …]
466 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()
83 static int BytesPerPixel(SrcConfig sc) { in BytesPerPixel() function
889 int srcBPP = SkIsAlign8(BitsPerPixel(sc)) ? BytesPerPixel(sc) : BitsPerPixel(sc); in CreateSwizzler()
1306 CV_Assert( imageMetaData.BytesPerPixel() == 3 ); // RGB in retrieveGrayImage()